Plug/unplug events of headphone
apolenary at gmail.com
Sat Sep 14 11:13:11 EDT 2013
Thanks for reply.
I have problem with headphone on my laptop.
I can not listen sound from speakers after reboot laptop if I power off
laptop with headphone.
And I need to plug/unplug headphone to listen music from speakers.
2013/9/15 <Valdis.Kletnieks at vt.edu>
> On Sun, 15 Sep 2013 01:12:30 +1100, Dmitry Kolesov said:
> > I want to catch plug/unplug events of headphone.
> > Could anybody explain where I need to search?
> If you explained a bit more what you're trying to do, we'd be able to
> give better advice.
> Are you trying to catch them from userspace, or inside the kernel? And
> what do you want to do once you catch the event?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernelnewbies