[alsa-devel] hda_analyzer failed

Raymond Yau superquad.vortex2 at gmail.com
Wed Feb 6 09:10:56 CET 2013


2013-2-6 下午3:07 於 "Takashi Iwai" <tiwai at suse.de> 寫道:
>
> At Wed, 6 Feb 2013 13:35:37 +0800,
> Raymond Yau wrote:
> >
> > [1  <text/plain; UTF-8 (7bit)>]
> > >>
> > >>  > 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 '))
> > >>  >
> > >>  > Any ideas?
> > >>
> > >> This patch add lines which make the parser of hda_proc.py fail
> > >>
> > >>
> >
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commitdiff;h=f4f0a8c4783a0258f2d0020a67fd619ce41a02a3;hp=e4cc6153401fc59d6d4ca0317be5774bdbd399ba
> > >>
> > >
> > > Sigh, this is not the first time new stuff in the proc file crashes
> > hda_analyzer.
> > >
> > > Jaroslav, can you please fix hda_analyzer so that it ignores new
stuff in
> > the proc file instead of crashing, so we don't have this problem over
and
> > over again?
> > >
> >
> > I don`t understand why the parser have to ignore new stuff
>
> Because usually such a new entry is no critical item but extra
> information.  Of course, hda_analyzer can warn such entries.  But it's
> totally different from aborting as a fatal error.
>
> > BTW, why hda_proc query the connection list of vendor defined widget ?
> >
> >
http://git.kernel.org/?p=linux/kernel/git/tiwai/hda-emu.git;a=blob;f=codecs/ad1882-sparta;hb=HEAD
> >
> > Node 0x23 [Vendor Defined Widget] wcaps 0xf00100: Mono
> >    Connection: -22
>
> Unrelated topic.
>

Ad1988 also has this ( VREF Power-Down) Vendor defined Powers down the
internal and external VREF circuitry

If is confusing that 0x11 is displayed as selected

Node 0x23 [Vendor Defined Widget] wcaps 0xf00100: Mono
  Connection: 18
     0x11* 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x24 0x25 0x38 0x39 0x3a


More information about the Alsa-devel mailing list