All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Anders Rønningen" <andersronningen@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Jiang zhe <zhe.jiang@intel.com>,
	alsa-devel@alsa-project.org,
	Matthew Ranostay <mranostay@embeddedalley.com>
Subject: Re: [PATCH] hda: STAC927x invalid association value
Date: Thu, 21 Feb 2008 16:17:53 +0100	[thread overview]
Message-ID: <47BD9621.5040101@gmail.com> (raw)
In-Reply-To: <s5hfxvmss9c.wl%tiwai@suse.de>

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@embeddedalley.com>
>>     
>
> 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 */
>>
>>     

  reply	other threads:[~2008-02-21 15:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-20 22:07 [PATCH] hda: STAC927x invalid association value Matthew Ranostay
2008-02-21  7:06 ` Takashi Iwai
2008-02-21 15:17   ` Anders Rønningen [this message]
2008-02-21 15:32     ` Takashi Iwai
2008-02-23 22:29       ` Anders Rønningen
2008-02-24  9:27         ` Takashi Iwai
2008-02-24 10:44           ` Anders Rønningen
2008-02-25  5:11         ` Jiang zhe
2008-02-25  6:15           ` Anders Rønningen

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=47BD9621.5040101@gmail.com \
    --to=andersronningen@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=mranostay@embeddedalley.com \
    --cc=tiwai@suse.de \
    --cc=zhe.jiang@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.