All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Anders Rønningen" <andersronningen@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, anders.ronningen@gmail.com
Subject: Re: Problem with DELL XPS M1530
Date: Wed, 20 Feb 2008 16:14:43 +0100	[thread overview]
Message-ID: <47BC43E3.5010501@gmail.com> (raw)
In-Reply-To: <s5hablvsque.wl%tiwai@suse.de>

Hi again. Here's the results of the testing.

1. alsa-driver-hg20080217, --with-debug=full and the 
"SND_PCI_QUIRK(PCI_VENDOR_ID_DELL,  0x022e, "Dell     ", 
STAC_DELL_BIOS)," line in patch_sigmatel.c commented out.

dmesg output:

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

alsa-info.sh

http://pastebin.ca/911134

2. alsa-driver 1.0.16, --with-debug=full, but else unmodified.

dmesg output:

[   14.452000] ALSA 
/mnt/storage/source/alsa/alsa-driver-1.0.16/pci/hda/hda_codec.c:2894: 
autoconfig: line_outs=1 (0xd/0x0/0x0/0x0/0x0)
[   14.452000] ALSA 
/mnt/storage/source/alsa/alsa-driver-1.0.16/pci/hda/hda_codec.c:2898:    
speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   14.452000] ALSA 
/mnt/storage/source/alsa/alsa-driver-1.0.16/pci/hda/hda_codec.c:2902:    
hp_outs=2 (0xf/0xa/0x0/0x0/0x0)
[   14.452000] ALSA 
/mnt/storage/source/alsa/alsa-driver-1.0.16/pci/hda/hda_codec.c:2903:    
mono: mono_out=0x0
[   14.452000] ALSA 
/mnt/storage/source/alsa/alsa-driver-1.0.16/pci/hda/hda_codec.c:2911:    
inputs: mic=0xe, fmic=0x0, line=0x0, fline=0x0, cd=0x0, aux=0x0
[   14.456000] ALSA 
/mnt/storage/source/alsa/alsa-driver-1.0.16/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:2212: 
dac_nids=3 (0x5/0x2/0x4/0x0/0x0)

alsa-info.sh

http://pastebin.ca/911147

Now the odd thing is that after the last compile of alsa-driver 1.0.16 
... stuff works! Both HP jacks, the internal speakers and the mic work 
just fine. I don't really know what to make of it, since all I have done 
is compile like I did earlier and reboot...


- Anders

Takashi Iwai wrote:
> At Wed, 20 Feb 2008 13:30:06 +0100,
> =?ISO-8859-1?Q?Anders_R=F8nningen?= wrote:
>   
>> I'll do the tests when I get home from work. Just wanted to check that I
>> understood the instructions.
>>
>> The problem is like you said. The left HP and the internal speakers never
>> give any sound, regardless of whether the right HP is connected.
>>
>> You want me to:
>> 1. remove the mentioned line from alsa-kernel/pci/hda/patch_sigmatel.c.
>> 2. configure and build the driver with full debug
>> 3. reboot, run alsa-info.sh and upload the output
>>
>> Is that right?
>>     
>
> Yes.
>
>   
>>> No difference in the output but there must be a difference in the codec
>>>       
>> setting.
>> You mean before and after I remove the line from patch_sigmatel.c?
>>     
>
> In each case whatever you change something.  I have to check the codec
> state whether the surround volume really does the right job as
> expected. 
> Also, we need to check the state with and without the code in
> patch_sigmatel.c, with and without HP plugged.
>
> Also, try the original 1.0.16 and get alsa-info.sh as well.
>
> Yeah, there are lots of required tests.  That's why it's so nasty to
> debug this kind of problem...
>
>   
>>> What is the original configuration of pin 0xf?
>>>       
>> How can I know/find out this?
>>     
>
> This can be found from alsa-info.sh.
>
>
> thanks,
>
> Takashi
>   

  reply	other threads:[~2008-02-20 15:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1203505202.15472.alsa-devel@alsa-project.org>
2008-02-20 12:30 ` Alsa-devel Digest, Vol 12, Issue 70 Anders Rønningen
2008-02-20 13:24   ` Problem with DELL XPS M1530 Takashi Iwai
2008-02-20 15:14     ` Anders Rønningen [this message]
2008-02-20 15:55       ` Takashi Iwai
2008-02-21  2:58         ` Jiang zhe
2008-02-21  7:01           ` Takashi Iwai
2008-02-19 16:24 Anders Rønningen
2008-02-19 16:37 ` Takashi Iwai
2008-02-19 18:25   ` Anders Rønningen
2008-02-20  9:49     ` Jiang zhe
2008-02-20 10:50       ` Takashi Iwai
2008-02-21  3:06         ` Jiang zhe
2008-02-21  7:00           ` Takashi Iwai
2008-02-20 10:52     ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2008-02-18 16:42 Travis Place
2008-02-18 16:48 ` Takashi Iwai
2008-02-18 18:02   ` Travis Place

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=47BC43E3.5010501@gmail.com \
    --to=andersronningen@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=anders.ronningen@gmail.com \
    --cc=tiwai@suse.de \
    /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.