[alsa-devel] hda_analyzer failed
Takashi Iwai
tiwai at suse.de
Wed Feb 6 08:07:50 CET 2013
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.
Takashi
More information about the Alsa-devel
mailing list