Headphone detection on the A33

Đang mở
#133 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
embedded-iot

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C++
Star
54
Fork
8
Merge trung bình
16 ngày 19 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CodeZombie/goodluckOS

Tất cả issue của CodeZombie/goodluckOS

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.