You are not logged in.
hi,
i just want to know whether there is a package that can test if the headphone is plugged in or not?
both of lsusb and dmesg dont work.
thanks for your help and post.
Last edited by yjcong (2012-09-24 07:01:56)
Offline
You could try to make sense of CONFIG_SND_KCTL_JACK.
Offline
Try acpi_listen, just in case it generates an acpi event.
Offline
Try acpi_listen, just in case it generates an acpi event.
thanks for help.
i installed acpid, and found out this is kind of a monitor
Offline
You could try to make sense of CONFIG_SND_KCTL_JACK.
thank your for your link.
i know how to solve my question.
amixer scontrols
to find the corresponding name. then
amixer set "Headphone Jack Sense" off
to disable it no matter the headphone is plugged in or not.
these will be coded into my "alarm" script for nap.
Offline