[alsa-devel] [PATCH] Enable Realtek ALC671 Codec

Rainer Koenig Rainer.Koenig at ts.fujitsu.com
Wed Apr 3 15:13:46 CEST 2013


On 03.04.2013 14:25, Takashi Iwai wrote:

>> - changed the conditional in alc_subsystem_id because it looked so
>>     strange to me when I tried to understand what is happening. :-)
>
> ... this isn't.  You should try to understand harder :)

I'm really trying hard to understand. The original source says that

	ass = codec->subsystem_id & 0xffff;

Masking out the lower 16bit of codecs subsytem-id in my case ass would 
be 11eb

	if ((ass != codec->bus->pci->subsystem_device) && (ass & 1))

comparing ((11eb !=  11eb) would fail so the whole if-construct fails 
and we don't do the next line that is

		goto do_sku;

Instead we complain about an invalid subsystem-id...?

Really, that is somewhat difficult to understand. Why is the subsystem 
ID that I find in /proc/asound/card0/codec#2 and that matches the 
subsystem device that I can see with 'lspci -vn' invalid???

What stuff do I need to take to understand this? ;-)

Regards
Rainer
-- 
Dipl.-Inf. (FH) Rainer Koenig
Project Manager Linux Clients
Dept. PDG WPS R&D SW OSE

Fujitsu Technology Solutions
Bürgermeister-Ullrich-Str. 100
86199 Augsburg
Germany

Telephone: +49-821-804-3321
Telefax:   +49-821-804-2131
Mail:      mailto:Rainer.Koenig at ts.fujitsu.com

Internet         ts.fujtsu.com
Company Details  ts.fujitsu.com/imprint.html


More information about the Alsa-devel mailing list