alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: "Manolo Díaz" <diaz.manolo@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Raymond Yau <superquad.vortex2@gmail.com>,
	basinilya@gmail.com, alsa-devel@alsa-project.org,
	Miro Hodak <mhodak127@gmail.com>
Subject: Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4
Date: Thu, 17 Jan 2013 19:12:24 +0100	[thread overview]
Message-ID: <20130117191224.44794728@gmail.com> (raw)
In-Reply-To: <s5hfw1zomf2.wl%tiwai@suse.de>

El jue, 17 ene 2013 a las 16:32 horas
Takashi Iwai escribió:

>At Thu, 17 Jan 2013 09:59:20 -0500,
>Miro Hodak wrote:
>> 
>> On Thu, Jan 17, 2013 at 7:49 AM, Raymond Yau <superquad.vortex2@gmail.com>wrote:
>> 
>> >
>> > >
>> > > OK, now as far as Auto-Mute goes, should it do what expected when
>> > enabled - i.e. muting the speakers when headphones are connected to the
>> > front panel? I have tried that, does not seem to work.
>> > >
>> >
>> > Do your computer chassis have a hda front audio panel with Jack detection ?
>> >
>> > The front headphone Jack should return true when headphone Jack is plugged
>> >
>> > control.35 {
>> > iface CARD
>> > name 'Front Headphone Jack'
>> >
>> > value false
>> > comment {
>> > access read
>> > type BOOLEAN
>> > count 1
>> > }
>> > }
>> >
>> > All ADI codecs support impedance measurement
>> >
>> > Try the modified hda-jack-sense-test which need hda-analyzer
>> >
>> > http://thread.gmane.org/gmane.linux.alsa.devel/90911/focus=91115
>> >
>> 
>> Hmmm, ran into some python issues. Even hda-analyzer itself is not working:
>> ...
>> File "/dev/shm/hda-analyzer/hda_proc.py", line 143, in wrongfile
>>     raise ValueError, "wrong proc file format (%s)" % msg
>> ValueError: wrong proc file format (integer decode 'State of AFG node
>> 0x01:' ('Node '))
>
>Ah, it's a new proc file entry that has been added recently.
>hda-analyzer needs to be fixed.
>
>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

I Suppose that when auto-mute is enabled an HP independent is disabled,
inserting the HP jack should disable sound from front speakers. If so
then auto-mute doesn't work. Jack insertion/extraction events are well
detected for front speakers and HP.

#~ cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 4/4   #P:2
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
          <idle>-0     [001] d.h.   137.881919: hda_unsol_event: [0] res=8000000, res_ex=10
          <idle>-0     [001] d.h.   162.511102: hda_unsol_event: [0] res=8000000, res_ex=10
          <idle>-0     [001] d.h.   246.529813: hda_unsol_event: [0] res=4000000, res_ex=10
          <idle>-0     [001] d.h.   272.381719: hda_unsol_event: [0] res=4000000, res_ex=10

branch tested: test/hda-gen-parser

commit 6f4c53a1467c51966e06a1d29c6f0fee85d5c6f6
Merge: 920544e 29476558
Author: Takashi Iwai <tiwai@suse.de>
Date:   Thu Jan 17 09:56:33 2013 +0100

Regards,
-- 
Manolo Díaz
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2013-01-17 18:12 UTC|newest]

Thread overview: 91+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-13 18:05 HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4 Miro Hodak
2013-01-14  3:42 ` Raymond Yau
2013-01-14 11:03   ` Takashi Iwai
2013-01-14 13:46     ` Raymond Yau
2013-01-14 14:18       ` Takashi Iwai
2013-01-15  7:59         ` Takashi Iwai
2013-01-16  2:04           ` Raymond Yau
2013-01-16  6:47             ` Takashi Iwai
2013-01-16  7:19               ` Raymond Yau
2013-01-16  7:24                 ` Takashi Iwai
2013-01-14 11:37   ` Clemens Ladisch
2013-01-14 12:31   ` Manolo Díaz
2013-01-14 12:48     ` Takashi Iwai
2013-01-14 12:59       ` Manolo Díaz
2013-01-14 13:03         ` Takashi Iwai
2013-01-14 13:10           ` Manolo Díaz
2013-01-14 16:23           ` Manolo Díaz
2013-01-15  0:42             ` Raymond Yau
2013-01-15  8:53               ` Manolo Díaz
2013-01-16  1:52                 ` Raymond Yau
2013-01-16  8:49                   ` Manolo Díaz
2013-01-16  8:54                     ` Takashi Iwai
2013-01-16 12:37                       ` Raymond Yau
2013-01-16 12:39                       ` Manolo Díaz
2013-01-16 12:54                         ` Takashi Iwai
2013-01-16 13:04                           ` Manolo Díaz
2013-01-16 13:16                             ` Takashi Iwai
2013-01-16 13:55                               ` Manolo Díaz
2013-01-16 14:20                                 ` Takashi Iwai
2013-01-17  3:51                                   ` Raymond Yau
2013-01-17  6:30                                     ` Takashi Iwai
2013-01-17  6:40                                       ` Raymond Yau
2013-01-17  6:49                                         ` Takashi Iwai
2013-01-17  8:10                                           ` Miro Hodak
2013-01-17  9:04                                             ` Takashi Iwai
2013-01-17  9:24                                               ` Miro Hodak
2013-01-17  9:29                                                 ` Takashi Iwai
2013-01-17  9:42                                                   ` Miro Hodak
2013-01-17  9:55                                                     ` Takashi Iwai
2013-01-17 10:17                                                       ` Miro Hodak
2013-01-17 10:21                                                         ` Takashi Iwai
2013-01-17 10:32                                                           ` Miro Hodak
2013-01-17 11:09                                                             ` Takashi Iwai
2013-01-17 12:49                                                             ` Raymond Yau
2013-01-17 14:59                                                               ` Miro Hodak
2013-01-17 15:29                                                                 ` Raymond Yau
2013-01-17 15:33                                                                   ` hda_analyzer (was: Re: HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4) David Henningsson
2013-01-17 15:32                                                                 ` HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4 Takashi Iwai
2013-01-17 18:12                                                                   ` Manolo Díaz [this message]
2013-01-17 19:51                                                                     ` Miro Hodak
2013-01-17 21:12                                                                       ` ALSA versions versus kernel versions Daniel Griscom
2013-01-17 20:16                                                                     ` HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4 Takashi Iwai
     [not found]                                                                       ` <20130117214043.5a1574ee@gmail.com>
2013-01-18  4:20                                                                         ` Miro Hodak
2013-01-18  7:04                                                                         ` Takashi Iwai
2013-01-18  7:31                                                                           ` Miro Hodak
2013-01-18  8:08                                                                             ` Manolo Díaz
2013-01-18  8:14                                                                               ` Miro Hodak
2013-01-18 10:17                                                                                 ` Takashi Iwai
2013-01-18 12:37                                                                                   ` Manolo Díaz
2013-01-18 13:49                                                                                     ` Takashi Iwai
2013-01-18 14:49                                                                                       ` Raymond Yau
2013-01-18 15:30                                                                                         ` Takashi Iwai
2013-01-18 16:48                                                                                           ` Manolo Díaz
2013-01-18 16:58                                                                                             ` Takashi Iwai
2013-01-18 17:51                                                                                               ` Manolo Díaz
2013-01-18 18:20                                                                                                 ` Manolo Díaz
2013-01-18 18:45                                                                                                   ` Takashi Iwai
     [not found]                                                                                                     ` <CA+S_cwrH6mjunDsn2w76Vpyk7XovOKpH0k_KoU_8SXjmisLAYw@mail.gmail.com>
2013-01-19  5:49                                                                                                       ` Raymond Yau
2013-01-19 11:12                                                                                                         ` Takashi Iwai
2013-01-19 11:11                                                                                                       ` Takashi Iwai
2013-01-20 19:54                                                                                                         ` Miro Hodak
2013-01-21  4:01                                                                                                           ` Raymond Yau
2013-01-21  8:18                                                                                                           ` Takashi Iwai
2013-01-21  8:54                                                                                                             ` Miro Hodak
2013-01-21  9:18                                                                                                               ` Raymond Yau
2013-01-21 17:08                                                                                                                 ` Miro Hodak
2013-01-21 17:29                                                                                                                   ` Takashi Iwai
2013-01-21 17:44                                                                                                                     ` Miro Hodak
2013-01-21 19:11                                                                                                                       ` Miro Hodak
2013-01-21 20:21                                                                                                                         ` Takashi Iwai
2013-01-22  7:05                                                                                                                           ` Takashi Iwai
2013-01-22  8:14                                                                                                                             ` Miro Hodak
2013-01-22  8:58                                                                                                                               ` Takashi Iwai
2013-01-22 10:06                                                                                                                                 ` Miro Hodak
2013-01-22 10:12                                                                                                                                   ` Takashi Iwai
2013-01-19  2:39                                                                                           ` Raymond Yau
2013-01-19 11:09                                                                                             ` Takashi Iwai
2013-01-19 12:37                                                                                               ` Raymond Yau
2013-01-19 16:56                                                                                                 ` Takashi Iwai
2013-01-18  7:43                                             ` Raymond Yau
2013-01-15  7:27             ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130117191224.44794728@gmail.com \
    --to=diaz.manolo@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=basinilya@gmail.com \
    --cc=mhodak127@gmail.com \
    --cc=superquad.vortex2@gmail.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).