[alsa-devel] HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
Miro Hodak
mhodak127 at gmail.com
Thu Jan 17 20:51:42 CET 2013
> El jue, 17 ene 2013 a las 16:32 horas
> Takashi Iwai escribió:
> >
> >In anyway, only for checking the presence unsolicited events, you can
> >do without extra program. Suppose you built your kernel with the
> >tracing support. See "Tracepoints" option in
> >Documentation/sound/alsa/HD-Audio.txt.
> >
> > # echo 1 > /sys/kernel/debug/tracing/events/hda/hda_unsol_event/enable
> >
> > (plug and unplug your headphone jacks)
> >
> > # cat /sys/kernel/debug/tracing/trace
> >
> >If you see some hda_unsol_event lines there, it implies that the jack
> >detection basically works in hardware level.
> >
> >
> >Takashi
>
>
> My test:
HP Independent disabled, Auto-Mute enabled. When plugging front headphones,
sound is in both devices. Yet tracing shows that jack detection is being
picked up (one plug and unplug event):
miro2 miro # cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 2/2 #P:8
#
# _-----=> irqs-off
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| / delay
# TASK-PID CPU# |||| TIMESTAMP FUNCTION
# | | | |||| | |
<idle>-0 [000] d.h. 339.442694: hda_unsol_event: [0]
res=4000000, res_ex=10
<idle>-0 [000] d.h. 345.727502: hda_unsol_event: [0]
res=4000000, res_ex=10
So, somehow auto-muting appears non-functional ...
More information about the Alsa-devel
mailing list