Headphone detection on the A33

Offen
#133 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
42/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
cpp
Bereich
embedded-iot

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
C++
Sterne
54
Forks
8
Ø Merge
16 T. 19 Std.
Gemergte PRs (30 T.)
4

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CodeZombie/goodluckOS

Alle Issues in CodeZombie/goodluckOS

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.