Sunday, 2026-08-02

*** n2klb_ is now known as n2klb01:57
sharks_Hey - has anyone got any experience debugging the headphone jack? Using the `Audio Output Chooser` app, we are able to manually redirect audio to the headphone jack, but Sailfish does not detect the presence of headphones and redirect audio automatically. The Headset Jack is present at `/dev/input/event6` and we see binary output garbage in that file on plugging and unpluging headphones.08:50
T42<elros34> use evdev_trace -t /dev/input/event6 for non garbage output09:39
sharks_Thanks, I didn't know about edev_trace. It seems the output from that is good --> https://paste.opensuse.org/pastes/3fe8750a05bd09:51
sharks_So I am confident that /dev/input/event* is working on both phones, but I don't know why Sailfish doesn't redirect audio on the 10V09:52
sharks_To clarify, that pastbin shows output of plugging in and then unplugging headphones on both devices09:52
T42<elros34> so maybe detection isn't broken. Don't you have other  event  devices which might get wrongly detected as a headphone?09:53
sharks_The event devices are slightly different between X10IV (https://paste.opensuse.org/pastes/856c1b84370e) and X10V (https://paste.opensuse.org/pastes/277f56faca9b)10:05
sharks_But I don't think anything could be wrongly detected?10:06
T42<elros34> you could use evdev_trace for this too. You can even check whether this node is used by dsme via evdev_trace -I10:10
sharks_Thanks elros, but juz has just informed me that it is in fact now working. It definitely wasn't this time yesterday, but he's restarted the phone since then so perhaps it was just a temporary hiccup on first boot? A bit like the issue we have with sensorfwd which doesn't work right on first boot.10:11
T42<elros34> next time try to restart ohmd to narrow the issue10:13
T42<elros34> for sensorfwd on one device I wait for udev device to appear but I guess you have binder sensors so this must be done differently. Maybe with binder-list10:16
sharks_Yeah we have aidl sensors10:17
sharks_I will ask juz to restart ohmd the next time he flashes and boots for the first time, but headphones seem to work across reboots for him now10:17
T42<elros34> maybe power down, power up instead reboot:P10:21
T42<elros34> But bugs on first boot are meh10:22
sharks_Yeah, I'm not too concerned about a couple of services being wonky on first boot. I've been using this X10IV as my only phone for weeks now and it's been rock solid since the second boot10:27

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!