Headphone detection on the A33

Abierto
#133 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp
Área
embedded-iot

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C++
Estrellas
54
Forks
8
Merge medio
16 d 19 h
PR fusionados (30 d)
4

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CodeZombie/goodluckOS

Todos los issues de CodeZombie/goodluckOS

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.