Headphones vs Headset detection
#3
(03-19-2021, 03:42 AM)fernando_c_m Wrote:
(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
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "PinePhone Headset Jack"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 114 (KEY_VOLUMEDOWN)
    Event code 115 (KEY_VOLUMEUP)
    Event code 164 (KEY_PLAYPAUSE)
  Event type 5 (EV_SW)
    Event code 2 (SW_HEADPHONE_INSERT) state 0
    Event code 4 (SW_MICROPHONE_INSERT) state 0
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.

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.
  Reply


Messages In This Thread
Headphones vs Headset detection - by jmorris - 03-18-2021, 10:27 AM
RE: Headphones vs Headset detection - by jmorris - 03-19-2021, 10:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Headphones outputting mono only? Subsentient 10 13,136 06-26-2020, 06:07 AM
Last Post: Subsentient

Forum Jump:


Users browsing this thread: 1 Guest(s)