Headphones vs Headset detection - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Hardware (https://forum.pine64.org/forumdisplay.php?fid=122) +--- Thread: Headphones vs Headset detection (/showthread.php?tid=13428) |
Headphones vs Headset detection - jmorris - 03-18-2021 Got a question about how to nail down a problem. Have nice Sony noise canceling headphones and a cheap set of regular Sony headphones. Neither work in the Pinephone. A set of pack-in earbuds + mic from an old phone do. Manually flipping switches with alsamixer makes either set of the Sony headphones work. So after much exploration it seems Pinephone only detects a headset. The SoC has inputs for HP-DET and MIC-DET but the Pinephone schematics only show a connection to a headphone detection circuit in the physical jack. If the diagram of the jack is right it should be detecting either type of connection. evtest shows microphone detection when the headset is inserted but nothing on headphone insertion. Wondering if the current kernel even looks at the HP-DET signal? Does it instead use the button input for the MIC pin to also detect presence of a Mic? If it does, a headphone grounds the Mic signal so it should also be able to detect that case. RE: Headphones vs Headset detection - fernando_c_m - 03-19-2021 (03-18-2021, 10:27 AM)jmorris Wrote: evtest shows microphone detection when the headset is inserted but nothing on headphone insertion.I am not able to reproduce that. Pinephone Community Edition. Mobian running 5.11 kernel: First two entries are headphones. Last entry a headset. Code: Input driver version is 1.0.1 RE: Headphones vs Headset detection - jmorris - 03-19-2021 (03-19-2021, 03:42 AM)fernando_c_m Wrote:That second to last line is the key, I don't see that on PostmarketOS-Phosh. Thought everybody was running the same basic kernel. Apparently not.(03-18-2021, 10:27 AM)jmorris Wrote: evtest shows microphone detection when the headset is inserted but nothing on headphone insertion.I am not able to reproduce that. Pinephone Community Edition. Mobian running 5.11 kernel: Was already digging into ALSA's Use Case Manager to add a manual config. Instead the plan has to be to figure out what is different and get PMOS to pick up that change. Thanks. |