Headphone detection on the A33

オープン
#133 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp
領域
embedded-iot

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
C++
スター
54
フォーク
8
平均マージ
16日 19時間
マージ済み PR(30日)
4

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CodeZombie/goodluckOS のほかの issue

CodeZombie/goodluckOS の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。