/srv/irclogs.ubuntu.com/2020/07/09/#ubuntustudio-devel.txt

EickmeyerOvenWerks: Cool!00:16
OvenWerksEickmeyer: I have one problem... I can detect when HP are plugged in, but not if they are plugged in at startup00:22
studiobot<teward001> here's a question: is there even a mechanism that could be used to DETERMINE if it's plugged in or not at startup00:23
studiobot<teward001> because I know there's system-level detect triggers for "new device plugged in" during initial handshakes to make it work00:23
studiobot<teward001> but not sure if there's an exposed flag or such to that end that indicates 'connected' at boot, at least at a way you'd be able to do it easily00:23
studiobot<teward001> 'course you guys know more about it than I do :)00:24
studiobot<teward001> *lurks more*00:24
OvenWerksEickmeyer: I am also wondering if I should monitor anything that gets connected to the speaker output and auto reconnect that to the hp device (if they differ)00:24
OvenWerksteward: yeah, I can find a one line difference in /proc/asound/PCH/codec#0.00:25
OvenWerksThe only problem is if it is there in the same place on all (or even most) systems00:28
Eickmeyer@teward001: Yeah, HP = headphones, and that gets reported by the hardware weirdly.00:29
OvenWerksso Control: name="Front Playback Switch" has Pin-ctls: 0x00: that changed depending on plugged...00:35
OvenWerksbut: Control: name="Headphone Playback Switch" does not change :P00:35
studiobot<teward001> Eickmeyer: yep, it does 😜00:36
studiobot<teward001> 'course... depending on the headphones, mine're USB-C and probably aren't going to get reported right anyways XD00:36
studiobot<teward001> *shot*00:36
OvenWerksActually, I can deal with USB headphones00:37
Eickmeyer@teward001: It's been something we've been working on for quite some time. Users are reporting difficulty when they have Jack running and want to use their headphones: nothing is switching it.00:37
Eickmeyer@teward001: USB headphones are easier to deal with.00:37
OvenWerksif the device exists... usb headphones are in :)00:37

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!