| *** n2klb_ is now known as n2klb | 01: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 output | 09:39 |
| sharks_ | Thanks, I didn't know about edev_trace. It seems the output from that is good --> https://paste.opensuse.org/pastes/3fe8750a05bd | 09: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 10V | 09:52 |
| sharks_ | To clarify, that pastbin shows output of plugging in and then unplugging headphones on both devices | 09: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 -I | 10: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 issue | 10: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-list | 10:16 |
| sharks_ | Yeah we have aidl sensors | 10: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 now | 10:17 |
| T42 | <elros34> maybe power down, power up instead reboot:P | 10:21 |
| T42 | <elros34> But bugs on first boot are meh | 10: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 boot | 10:27 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!