Headphone detection on the A33

Aberta
#133 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
42/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
cpp
Domínio
embedded-iot

Direção de pesquisa

The issue describes headset detection through the A33 vendor kernel's PRCM jack-detect block, with ADC readings and an interrupt flag, but names no project files or tests. First inspect the board's audio and PRCM code and compare it with the vendor kernel's headset driver. Done means detecting both plug and unplug events on the A33 console; the issue says testing is still in progress.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Following up on #7 and #46: there is a way to detect the headphones on the A33 after all. The vendor kernel's headset driver uses a jack-detect block in the PRCM, not the registers at the A64's offsets that I had checked before, and on my v1.1 it responds: the ADC reads 10 with nothing in the jack and 0 with headphones plugged in, and it raises an interrupt flag in both directions. The jack has a normally closed contact to the codec's HBIAS pin, no GPIO involved.

I'm testing a few options on my console and it looks promising. I'll post updates here after testing.

Linguagem predominante
C++
Estrelas
54
Forks
8
Merge médio
16d 19h
PRs com merge (30d)
4

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de CodeZombie/goodluckOS

Todas as issues de CodeZombie/goodluckOS

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.