03-18-2021, 10:27 AM
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.
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.