<div dir="ltr"><div>(Added list back again)</div><div dir="ltr"><br></div><div dir="ltr">On Mon, Sep 13, 2021 at 1:55 PM Ryan McClue <<a href="mailto:re.mcclue@protonmail.com" target="_blank">re.mcclue@protonmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Thank you for the response Mantas.<br></div><div>If I change the nl_groups to 2, it prints libudev a handle of times and I then get a segfault.<br></div><div>In regards to this picking up all devices: if I add/remove my Bose speakers connected with a stereo jack cable, this does not appear in the messages. Can this be detected?</div><div><br></div></blockquote><div><br></div><div>Speakers aren't seen as a standalone device (the audio jack is really just an audio jack, not a device bus). You should be able detect when speakers are connected, but you'll do this through audio mixer events from ALSA (I'm not sure how PulseAudio does it, but something /dev/snd/control*), or alternatively through evdev (there's a /dev/input/event* node which produces SW_HEADPHONE_INSERT) – but not through device uevents.</div><div><br></div></div>-- <br><div dir="ltr"><div dir="ltr">Mantas Mikulėnas</div></div></div>