Skip to contentSkip to conversation

snd-hda-intel no longer loads as of alsa-driver-hg20070728

Regression Michael Gerdau 2 participants 6 messages Jul 30, 2007 – Aug 10, 2007

lore
Share & tools
lore
#0 lore raw

Hi list,

snd-hda-intel does no longer load on my Dell XPS M1710 using alsa-driver-hg20070728. However it works without apparent problems with alsa-driver-hg20070727.

I'm running 2.6.22.1-cfs-v19 on a SuSE 10.2 x86_64.

Find attached an excerpt from /var/log/messages first loading hg20070727 followed by hg20070728.

If you need additional info drop me a note.

Best,
Michael

Signature · 5 lines
 Technosis GmbH, Geschäftsführer: Michael Gerdau, Tobias Dittmar
 Sitz Hamburg; HRB 89145 Amtsgericht Hamburg
 Vote against SPAM - see http://www.politik-digital.de/spam/
 Michael Gerdau       email: [email protected]
 GPG-keys available on request or at public keyserver
Jul 30 20:08:06 seneca kernel: PM: Adding info for No Bus:timer
Jul 30 20:08:06 seneca kernel: ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 21 (level, low) -> IRQ 21
Jul 30 20:08:06 seneca kernel: PCI: Setting latency timer of device 0000:00:1b.0 to 64
Jul 30 20:08:06 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:695: codec_mask = 0x3
Jul 30 20:08:06 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:1827: hda_codec: model 'ref' is selected for config 1028:1ce (Dell XPS M1710)
Jul 30 20:08:06 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 08 pin config 01c47010
Jul 30 20:08:06 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 09 pin config 01447010
Jul 30 20:08:06 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 0d pin config 0221401f
Jul 30 20:08:06 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 0e pin config 01114010
Jul 30 20:08:06 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 0f pin config 02a19020
Jul 30 20:08:06 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 10 pin config 01a19021
Jul 30 20:08:06 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 11 pin config 90100140
Jul 30 20:08:06 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 12 pin config 01813122
Jul 30 20:08:06 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:2331: autoconfig: line_outs=1 (0xe/0x0/0x0/0x0/0x0)
Jul 30 20:08:06 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:2335:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jul 30 20:08:06 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:2339:    hp_outs=1 (0xd/0x0/0x0/0x0/0x0)
Jul 30 20:08:06 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:2347:    inputs: mic=0x10, fmic=0xf, line=0x12, fline=0x0, cd=0x0, aux=0x0
Jul 30 20:08:06 seneca kernel: PM: Adding info for No Bus:card0
Jul 30 20:08:06 seneca kernel: PM: Adding info for No Bus:pcmC0D1p
Jul 30 20:08:06 seneca kernel: PM: Adding info for No Bus:pcmC0D1c
Jul 30 20:08:06 seneca kernel: PM: Adding info for No Bus:pcmC0D0p
Jul 30 20:08:06 seneca kernel: PM: Adding info for No Bus:pcmC0D0c
Jul 30 20:08:06 seneca kernel: PM: Adding info for No Bus:controlC0
Jul 30 20:08:06 seneca kernel: PM: Adding info for No Bus:seq
Jul 30 20:08:06 seneca kernel: PM: Adding info for No Bus:mixer
Jul 30 20:08:06 seneca kernel: PM: Adding info for No Bus:adsp
Jul 30 20:08:06 seneca kernel: PM: Adding info for No Bus:dsp
Jul 30 20:08:06 seneca kernel: PM: Adding info for No Bus:audio
Jul 30 20:08:18 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1185: azx_pcm_prepare: bufsize=0x4000, fragsize=0x2000, format=0x4011
Jul 30 20:08:18 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:631: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011
Jul 30 20:08:18 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:631: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011
Jul 30 20:08:18 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1185: azx_pcm_prepare: bufsize=0x4000, fragsize=0x2000, format=0x4011
Jul 30 20:08:18 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:631: hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x4011
Jul 30 20:08:18 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:631: hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x4011
Jul 30 20:08:21 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:631: hda_codec_setup_stream: NID=0x2, stream=0x0, channel=0, format=0x0
Jul 30 20:08:21 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:631: hda_codec_setup_stream: NID=0x5, stream=0x0, channel=0, format=0x0
Jul 30 20:08:21 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:631: hda_codec_setup_stream: NID=0x2, stream=0x0, channel=0, format=0x0
Jul 30 20:10:48 seneca su: (to root) mgd on /dev/pts/8
Jul 30 20:11:22 seneca kernel: PM: Removing info for No Bus:adsp
Jul 30 20:11:22 seneca kernel: PM: Removing info for No Bus:dsp
Jul 30 20:11:22 seneca kernel: PM: Removing info for No Bus:audio
Jul 30 20:11:22 seneca kernel: PM: Removing info for No Bus:mixer
Jul 30 20:11:22 seneca kernel: PM: Removing info for No Bus:seq
Jul 30 20:11:22 seneca kernel: PM: Removing info for No Bus:pcmC0D1p
Jul 30 20:11:22 seneca kernel: PM: Removing info for No Bus:pcmC0D1c
Jul 30 20:11:22 seneca kernel: PM: Removing info for No Bus:pcmC0D0p
Jul 30 20:11:22 seneca kernel: PM: Removing info for No Bus:pcmC0D0c
Jul 30 20:11:22 seneca kernel: PM: Removing info for No Bus:controlC0
Jul 30 20:11:22 seneca kernel: ACPI: PCI interrupt for device 0000:00:1b.0 disabled
Jul 30 20:11:22 seneca kernel: PM: Removing info for No Bus:card0
Jul 30 20:11:23 seneca kernel: PM: Removing info for No Bus:timer
Jul 30 20:11:23 seneca kernel: PM: Adding info for No Bus:timer
Jul 30 20:11:23 seneca kernel: ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 21 (level, low) -> IRQ 21
Jul 30 20:11:23 seneca kernel: PCI: Setting latency timer of device 0000:00:1b.0 to 64
Jul 30 20:11:23 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070728/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:708: codec_mask = 0x3
Jul 30 20:11:23 seneca kernel: hda-codec: No codec parser is available
Jul 30 20:11:23 seneca kernel: hda-codec: No codec parser is available
Jul 30 20:11:23 seneca kernel: ALSA /home/mgd/src/alsa-driver-hg20070728/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1039: hda-intel: no codecs initialized
Jul 30 20:11:23 seneca kernel: ACPI: PCI interrupt for device 0000:00:1b.0 disabled
Jul 30 20:11:23 seneca kernel: PM: Adding info for No Bus:seq

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#1 lore raw

At Mon, 30 Jul 2007 20:22:48 +0200,

Quoted 7 lines · Michael Gerdau

Hi list,

snd-hda-intel does no longer load on my Dell XPS M1710 using alsa-driver-hg20070728. However it works without apparent problems with alsa-driver-hg20070727.

Quoted 6 lines

I'm running 2.6.22.1-cfs-v19 on a SuSE 10.2 x86_64.

Find attached an excerpt from /var/log/messages first loading hg20070727 followed by hg20070728.

If you need additional info drop me a note.

Thanks for reporting.

This looks rather like a tempory problem at preparation of tarball. You should have get the correct driver by hgcompile instead of configure.

Takashi

#2 lore raw
Quoted 9 lines
Quoted 9 lines

snd-hda-intel does no longer load on my Dell XPS M1710 using alsa-driver-hg20070728. However it works without apparent problems with alsa-driver-hg20070727.

I'm running 2.6.22.1-cfs-v19 on a SuSE 10.2 x86_64.

Find attached an excerpt from /var/log/messages first loading hg20070727 followed by hg20070728.

Quoted 7 lines
Quoted 1 line

If you need additional info drop me a note.

Thanks for reporting.

This looks rather like a tempory problem at preparation of tarball. You should have get the correct driver by hgcompile instead of configure.

Hmm.

I tried
./hgcompile --with-sequencer=yes --with-debug=detect --with-cards=hda-intel,usb-audio --with-card-options=seq-rtctimer-default
which says
make: Für das Ziel »all-deps« ist nichts zu tun.
[means: nothing to do for target »all-deps«]
and then invokes
./configure --with-sequencer=yes --with-debug=detect --with-cards=hda-intel,usb-audio --with-card-options=seq-rtctimer-default

This works for alsa-driver-hg20070727 but does not work for any of the later versions I tried, including alsa-driver-hg20070810

How temporary is temporary then ;-) ?

FWIW here comes an excerpt from my /var/log/messages after trying to load hg20070810 followed by hg20070727.

Aug 10 14:42:47 localhost kernel: PM: Removing info for No Bus:seq
Aug 10 14:42:47 localhost kernel: PM: Removing info for No Bus:timer
Aug 10 14:42:48 localhost kernel: PM: Adding info for No Bus:timer
Aug 10 14:42:48 localhost kernel: ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 21 (level, low) -> IRQ 21
Aug 10 14:42:48 localhost kernel: PCI: Setting latency timer of device 0000:00:1b.0 to 64
Aug 10 14:42:48 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070810/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:708: codec_mask = 0x3
Aug 10 14:42:48 localhost kernel: hda-codec: No codec parser is available
Aug 10 14:42:48 localhost kernel: hda-codec: No codec parser is available
Aug 10 14:42:48 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070810/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1039: hda-intel: no codecs initialized
Aug 10 14:42:48 localhost kernel: ACPI: PCI interrupt for device 0000:00:1b.0 disabled
Aug 10 14:42:48 localhost kernel: PM: Adding info for No Bus:seq
Aug 10 14:49:23 localhost su: (to root) mgd on /dev/pts/8
Aug 10 14:49:33 localhost kernel: PM: Removing info for No Bus:seq
Aug 10 14:49:33 localhost kernel: PM: Removing info for No Bus:timer
Aug 10 14:49:33 localhost kernel: PM: Adding info for No Bus:timer
Aug 10 14:49:33 localhost kernel: ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 21 (level, low) -> IRQ 21
Aug 10 14:49:33 localhost kernel: PCI: Setting latency timer of device 0000:00:1b.0 to 64
Aug 10 14:49:33 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:695: codec_mask = 0x3
Aug 10 14:49:33 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:1827: hda_codec: model 'ref' is selected for config 1028:1ce (Dell XPS M1710)
Aug 10 14:49:33 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 08 pin config 01c47010
Aug 10 14:49:33 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 09 pin config 01447010
Aug 10 14:49:33 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 0d pin config 0221401f
Aug 10 14:49:33 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 0e pin config 01114010
Aug 10 14:49:33 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 0f pin config 02a19020
Aug 10 14:49:33 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 10 pin config 01a19021
Aug 10 14:49:33 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 11 pin config 90100140
Aug 10 14:49:33 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:841: hda_codec: pin nid 12 pin config 01813122
Aug 10 14:49:33 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:2331: autoconfig: line_outs=1 (0xe/0x0/0x0/0x0/0x0)
Aug 10 14:49:33 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:2335:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Aug 10 14:49:33 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:2339:    hp_outs=1 (0xd/0x0/0x0/0x0/0x0)
Aug 10 14:49:33 localhost kernel: ALSA /home/mgd/src/alsa-driver-hg20070727/pci/hda/hda_codec.c:2347:    inputs: mic=0x10, fmic=0xf, line=0x12, fline=0x0, cd=0x0, aux=0x0
Aug 10 14:49:33 localhost kernel: PM: Adding info for No Bus:card0
Aug 10 14:49:33 localhost kernel: PM: Adding info for No Bus:pcmC0D1p
Aug 10 14:49:33 localhost kernel: PM: Adding info for No Bus:pcmC0D1c
Aug 10 14:49:33 localhost kernel: PM: Adding info for No Bus:pcmC0D0p
Aug 10 14:49:33 localhost kernel: PM: Adding info for No Bus:pcmC0D0c
Aug 10 14:49:33 localhost kernel: PM: Adding info for No Bus:controlC0
Aug 10 14:49:33 localhost kernel: PM: Adding info for No Bus:seq
Aug 10 14:49:34 localhost kernel: PM: Adding info for No Bus:mixer
Aug 10 14:49:34 localhost kernel: PM: Adding info for No Bus:adsp
Aug 10 14:49:34 localhost kernel: PM: Adding info for No Bus:dsp
Aug 10 14:49:34 localhost kernel: PM: Adding info for No Bus:audio

Anything I can do to help track down the problem ?

Best,
Michael

Signature · 5 lines
 Technosis GmbH, Geschäftsführer: Heiko Gerdau, Tobias Dittmar
 Sitz Hamburg; HRB 89145 Amtsgericht Hamburg
 Vote against SPAM - see http://www.politik-digital.de/spam/
 Michael Gerdau       email: [email protected]
 GPG-keys available on request or at public keyserver

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#3 lore raw

At Fri, 10 Aug 2007 14:57:49 +0200,

Quoted 18 lines · Michael Gerdau
Quoted 10 lines
Quoted 10 lines

snd-hda-intel does no longer load on my Dell XPS M1710 using alsa-driver-hg20070728. However it works without apparent problems with alsa-driver-hg20070727.

I'm running 2.6.22.1-cfs-v19 on a SuSE 10.2 x86_64.

Find attached an excerpt from /var/log/messages first loading hg20070727 followed by hg20070728.

Quoted 7 lines
Quoted 1 line

If you need additional info drop me a note.

Thanks for reporting.

This looks rather like a tempory problem at preparation of tarball. You should have get the correct driver by hgcompile instead of configure.

Quoted 7 lines

Hmm.

I tried
./hgcompile --with-sequencer=yes --with-debug=detect --with-cards=hda-intel,usb-audio --with-card-options=seq-rtctimer-default
which says
make: Für das Ziel »all-deps« ist nichts zu tun.
[means: nothing to do for target »all-deps«]

You don't need hgcompile. It was a tentative solution for that broken tarball.

Quoted 7 lines

and then invokes
./configure --with-sequencer=yes --with-debug=detect --with-cards=hda-intel,usb-audio --with-card-options=seq-rtctimer-default

This works for alsa-driver-hg20070727 but does not work for any of the later versions I tried, including alsa-driver-hg20070810

How temporary is temporary then ;-) ?

The reason is that you are passing wrong configure options.

With --with-card-options, you have to give _all_ necessary options. When once this option is passed, it resets the all once. In the case of hda-intel, the following options should be passed in addition appropriately: hda-hwdep, hda-codec-realtek, hda-codec-analog, hda-codec-sigmatel, hda-codec-via, hda-codec-atihdmi, hda-codec-conexant, hda-codec-cmedia, hda-codec-si3054, hda-generic.
Yeah, there are lots of them. So, simply stop passing --with-card-options=... if you are not sure what you're doing :) Then all options are enabled as default.

Takashi

#4 lore raw
Quoted 8 lines
Quoted 4 lines
  ./configure --with-sequencer=yes --with-debug=detect --with-cards=hda-intel,usb-audio --with-card-options=seq-rtctimer-default

This works for alsa-driver-hg20070727 but does not work for any of the later versions I tried, including alsa-driver-hg20070810

The reason is that you are passing wrong configure options.

With --with-card-options, you have to give _all_ necessary options.

I'm not disputing that statement. However I'd like point out this is a change in behaviour of configure which seems to have occured between hg20070727 and hg20070728. It also is a change w/r to how the current released version behaves.

Quoted 9 lines

When once this option is passed, it resets the all once. In the case of hda-intel, the following options should be passed in addition appropriately: hda-hwdep, hda-codec-realtek, hda-codec-analog, hda-codec-sigmatel, hda-codec-via, hda-codec-atihdmi, hda-codec-conexant, hda-codec-cmedia, hda-codec-si3054, hda-generic.
Yeah, there are lots of them. So, simply stop passing --with-card-options=... if you are not sure what you're doing :) Then all options are enabled as default.

I'm happy to stop using --with-card-options=...
I only added it because at some point in the past it had been required for adding seq-rtctimer-default.

Assuming that's no longer needed I will remove it from my build scripts.

Best,
Michael

Signature · 5 lines
 Technosis GmbH, Geschäftsführer: Heiko Gerdau, Tobias Dittmar
 Sitz Hamburg; HRB 89145 Amtsgericht Hamburg
 Vote against SPAM - see http://www.politik-digital.de/spam/
 Michael Gerdau       email: [email protected]
 GPG-keys available on request or at public keyserver

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#5 lore raw

At Fri, 10 Aug 2007 18:33:14 +0200,

Quoted 7 lines · Michael Gerdau

[1 <text/plain; iso-8859-1 (quoted-printable)>]

Quoted 5 lines
Quoted 4 lines
  ./configure --with-sequencer=yes --with-debug=detect --with-cards=hda-intel,usb-audio --with-card-options=seq-rtctimer-default

This works for alsa-driver-hg20070727 but does not work for any of the later versions I tried, including alsa-driver-hg20070810

Quoted 8 lines
Quoted 3 lines

The reason is that you are passing wrong configure options.

With --with-card-options, you have to give _all_ necessary options.

I'm not disputing that statement. However I'd like point out this is a change in behaviour of configure which seems to have occured between hg20070727 and hg20070728. It also is a change w/r to how the current released version behaves.

No, the behavior hasn't been changed. The configure always drops all unspecified options when you pass --with-card-option.

Since the new options were added between two versions, they were ignored because you pass the option explicitly. That brought the unexpected driver behavior.

Takashi