Re: [PATCH] hda: STAC927x invalid association value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I tried with "alsa-driver-hg20080221", and now left HP and internal 
speakers are gone again.

dmesg:
[   15.444000] ALSA 
/mnt/storage/source/alsa/alsa-driver-hg20080221/pci/hda/hda_codec.c:2994: 
autoconfig: line_outs=1 (0xf/0x0/0x0/0x0/0x0)
[   15.444000] ALSA 
/mnt/storage/source/alsa/alsa-driver-hg20080221/pci/hda/hda_codec.c:2998:    
speaker_outs=1 (0xd/0x0/0x0/0x0/0x0)
[   15.444000] ALSA 
/mnt/storage/source/alsa/alsa-driver-hg20080221/pci/hda/hda_codec.c:3002:    
hp_outs=1 (0xa/0xf/0x0/0x0/0x0)
[   15.444000] ALSA 
/mnt/storage/source/alsa/alsa-driver-hg20080221/pci/hda/hda_codec.c:3003:    
mono: mono_out=0x0
[   15.444000] ALSA 
/mnt/storage/source/alsa/alsa-driver-hg20080221/pci/hda/hda_codec.c:3011:    
inputs: mic=0xe, fmic=0x0, line=0x0, fline=0x0, cd=0x0, aux=0x0
[   15.448000] ALSA 
/mnt/storage/source/alsa/alsa-driver-hg20080221/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:2222: 
dac_nids=2 (0x5/0x4/0x0/0x0/0x0)

alsa-info.sh
http://pastebin.ca/912640

Was this sw with the fix?

- Anders

Takashi Iwai wrote:
> At Wed, 20 Feb 2008 17:07:17 -0500,
> Matthew Ranostay wrote:
>   
>> STAC_DELL_BIOS quirks were setting the association value wrong for port 0x0f, which prevented it from
>> being included in hp_outs[].
>>
>> Signed-off-by: Matthew Ranostay <mranostay@xxxxxxxxxxxxxxxxx>
>>     
>
> Applied to HG tree.
> Hopefully this fixes the problem with Dell XP M1530...
>
> Thanks,
>
> Takashi
>
>   
>> ---
>> diff -r 30701aaf404c pci/hda/patch_sigmatel.c
>> --- a/pci/hda/patch_sigmatel.c	Wed Feb 20 12:13:29 2008 +0100
>> +++ b/pci/hda/patch_sigmatel.c	Wed Feb 20 15:01:35 2008 -0700
>> @@ -3630,7 +3630,7 @@ static int patch_stac927x(struct hda_cod
>>  		break;
>>  	case STAC_DELL_BIOS:
>>  		/* correct the front output jack as a hp out */
>> -		stac92xx_set_config_reg(codec, 0x0f, 0x02270110);
>> +		stac92xx_set_config_reg(codec, 0x0f, 0x0227011f);
>>  		/* correct the front input jack as a mic */
>>  		stac92xx_set_config_reg(codec, 0x0e, 0x02a79130);
>>  		/* fallthru */
>>
>>     
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux