Skip to contentSkip to conversation

Intel hda ICH7 not worked anymore after using wine

DISCUSSION Xavi de Blas 3 participants 13 messages Jul 9, 2007

lore
Share & tools
lore
#0 lore raw

Hello, I installed Wine on my Ubuntu Feisty on IBM-lenovo X60s, and after reboot, sound never worked again.

I tried to activate and to hide modem on the bios. I tried to stop machine, take off battery, wait 10s, put battery again, and boot without the power cable connected... and i tried lots of things from ubuntuforums. I reinstalled feisty and sound doesn't work.

I used alsa-info.sh script, here is the result:

http://pastebin.ca/610317

Should the new kernel 2.6.22 help me?

http://kernelnewbies.org/Linux_2_6_22#head-0d133cda430e5d18f1c72dd3cfaa6a9206be4ba9

Thanks

#1 lore raw

At Mon, 9 Jul 2007 14:16:43 +0200,

Quoted 4 lines · Xavi de Blas

Hello, I installed Wine on my Ubuntu Feisty on IBM-lenovo X60s, and after reboot, sound never worked again.

Quoted 8 lines

I tried to activate and to hide modem on the bios. I tried to stop machine, take off battery, wait 10s, put battery again, and boot without the power cable connected... and i tried lots of things from ubuntuforums. I reinstalled feisty and sound doesn't work.

I used alsa-info.sh script, here is the result:

http://pastebin.ca/610317

The codec isn't handled via the proper support code but only by the generic parser. It won't work for Thinkpad.

Quoted 1 line

Should the new kernel 2.6.22 help me?

X60 is known to work with recent kernels (but you'd better to give probe_mask=1 option to avoid the modem codec).

Takashi

#2 lore raw

Hello

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 11 lines

At Mon, 9 Jul 2007 14:16:43 +0200,

Quoted 9 lines · Xavi de Blas

Hello, I installed Wine on my Ubuntu Feisty on IBM-lenovo X60s, and after reboot, sound never worked again.

I tried to activate and to hide modem on the bios. I tried to stop machine, take off battery, wait 10s, put battery again, and boot without the power cable connected... and i tried lots of things from ubuntuforums. I reinstalled feisty and sound doesn't work.

Quoted 7 lines
Quoted 3 lines

I used alsa-info.sh script, here is the result:

http://pastebin.ca/610317

The codec isn't handled via the proper support code but only by the generic parser. It won't work for Thinkpad.

I'm not sure if i understood... then, no solution for me now?

should i try the alsa svn code?

Quoted 5 lines
Quoted 1 line

Should the new kernel 2.6.22 help me?

X60 is known to work with recent kernels (but you'd better to give probe_mask=1 option to avoid the modem codec).

I tried, rebooted and pastebin changed:
http://pastebin.ca/610387

This doesn't exist now:
# Codec: Conexant ID 2bfa
# Address: 1
# Vendor Id: 0x14f12bfa
# Subsystem Id: 0x17aa201b
# Revision Id: 0x90000

But still no sound.

I have this at the end of /etc/modprobe.d/alsa-base

options snd-hda-intel probe_mask=1 single_cmd=1 model=laptop-eapd

I have also a /etc/modprobe.d/snd-hda-intel.modprobe
with this:
options snd-hda-intel probe_mask=1 index=0 single_cmd=1 model=laptop-eapd

On dmesg there's this error two times (i suppose one for each one of the files on modprobe.d):

$ dmesg | grep hda
[   24.932000] ALSA
/usr/local/src/alsa-src/alsa-driver-1.0.14/pci/hda/hda_codec.c:208:
hda_codec: invalid dep_range_val 53:1a
[  111.080000] ALSA
/usr/local/src/alsa-src/alsa-driver-1.0.14/pci/hda/hda_codec.c:208:
hda_codec: invalid dep_range_val 53:1a

Any idea? thanks

Quoted 3 lines

Takashi

#3 lore raw

At Mon, 9 Jul 2007 15:26:59 +0200,

Quoted 37 lines · Xavi de Blas

Hello

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 11 lines

At Mon, 9 Jul 2007 14:16:43 +0200,

Quoted 9 lines · Xavi de Blas

Hello, I installed Wine on my Ubuntu Feisty on IBM-lenovo X60s, and after reboot, sound never worked again.

I tried to activate and to hide modem on the bios. I tried to stop machine, take off battery, wait 10s, put battery again, and boot without the power cable connected... and i tried lots of things from ubuntuforums. I reinstalled feisty and sound doesn't work.

Quoted 7 lines
Quoted 3 lines

I used alsa-info.sh script, here is the result:

http://pastebin.ca/610317

The codec isn't handled via the proper support code but only by the generic parser. It won't work for Thinkpad.

I'm not sure if i understood... then, no solution for me now?

should i try the alsa svn code?

Quoted 5 lines
Quoted 1 line

Should the new kernel 2.6.22 help me?

X60 is known to work with recent kernels (but you'd better to give probe_mask=1 option to avoid the modem codec).

I tried, rebooted and pastebin changed:
http://pastebin.ca/610387

Quoted 6 lines

This doesn't exist now:
# Codec: Conexant ID 2bfa
# Address: 1
# Vendor Id: 0x14f12bfa
# Subsystem Id: 0x17aa201b
# Revision Id: 0x90000

Err, it's a modem codec. Pass probe_mask=2 instead, then.

Quoted 9 lines

But still no sound.

I have this at the end of /etc/modprobe.d/alsa-base

options snd-hda-intel probe_mask=1 single_cmd=1 model=laptop-eapd

I have also a /etc/modprobe.d/snd-hda-intel.modprobe
with this:
options snd-hda-intel probe_mask=1 index=0 single_cmd=1 model=laptop-eapd

Don't add any options except for probe_mask. (Even you don't need probe_mask option for most cases.)

Takashi

#4 lore raw

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 39 lines

At Mon, 9 Jul 2007 15:26:59 +0200,

Quoted 37 lines · Xavi de Blas

Hello

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 11 lines

At Mon, 9 Jul 2007 14:16:43 +0200,

Quoted 9 lines · Xavi de Blas

Hello, I installed Wine on my Ubuntu Feisty on IBM-lenovo X60s, and after reboot, sound never worked again.

I tried to activate and to hide modem on the bios. I tried to stop machine, take off battery, wait 10s, put battery again, and boot without the power cable connected... and i tried lots of things from ubuntuforums. I reinstalled feisty and sound doesn't work.

Quoted 7 lines
Quoted 3 lines

I used alsa-info.sh script, here is the result:

http://pastebin.ca/610317

The codec isn't handled via the proper support code but only by the generic parser. It won't work for Thinkpad.

I'm not sure if i understood... then, no solution for me now?

should i try the alsa svn code?

Quoted 5 lines
Quoted 1 line

Should the new kernel 2.6.22 help me?

X60 is known to work with recent kernels (but you'd better to give probe_mask=1 option to avoid the modem codec).

I tried, rebooted and pastebin changed:
http://pastebin.ca/610387

Quoted 9 lines
Quoted 6 lines

This doesn't exist now:
# Codec: Conexant ID 2bfa
# Address: 1
# Vendor Id: 0x14f12bfa
# Subsystem Id: 0x17aa201b
# Revision Id: 0x90000

Err, it's a modem codec. Pass probe_mask=2 instead, then.

Now i have still no sound. But there's no messages about hda on dmesg

$ dmesg | grep -i hda
$ tail -2 /etc/modprobe.d/alsa-base
options snd-hda-intel probe_mask=2

I commented the /etc/modprobe.d/snd-hda-intel.modprobe

On pastebin:
http://pastebin.ca/610431

The "HDA-Intel Codec information" changed a lot.

Still any ideas?

Thanks again

Quoted 17 lines
Quoted 10 lines

But still no sound.

I have this at the end of /etc/modprobe.d/alsa-base

options snd-hda-intel probe_mask=1 single_cmd=1 model=laptop-eapd

I have also a /etc/modprobe.d/snd-hda-intel.modprobe
with this:
options snd-hda-intel probe_mask=1 index=0 single_cmd=1 model=laptop-eapd

Don't add any options except for probe_mask. (Even you don't need probe_mask option for most cases.)

Takashi

#5 lore raw

At Mon, 9 Jul 2007 15:58:30 +0200,

Quoted 58 lines · Xavi de Blas

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 39 lines

At Mon, 9 Jul 2007 15:26:59 +0200,

Quoted 37 lines · Xavi de Blas

Hello

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 11 lines

At Mon, 9 Jul 2007 14:16:43 +0200,

Quoted 9 lines · Xavi de Blas

Hello, I installed Wine on my Ubuntu Feisty on IBM-lenovo X60s, and after reboot, sound never worked again.

I tried to activate and to hide modem on the bios. I tried to stop machine, take off battery, wait 10s, put battery again, and boot without the power cable connected... and i tried lots of things from ubuntuforums. I reinstalled feisty and sound doesn't work.

Quoted 7 lines
Quoted 3 lines

I used alsa-info.sh script, here is the result:

http://pastebin.ca/610317

The codec isn't handled via the proper support code but only by the generic parser. It won't work for Thinkpad.

I'm not sure if i understood... then, no solution for me now?

should i try the alsa svn code?

Quoted 5 lines
Quoted 1 line

Should the new kernel 2.6.22 help me?

X60 is known to work with recent kernels (but you'd better to give probe_mask=1 option to avoid the modem codec).

I tried, rebooted and pastebin changed:
http://pastebin.ca/610387

Quoted 9 lines
Quoted 6 lines

This doesn't exist now:
# Codec: Conexant ID 2bfa
# Address: 1
# Vendor Id: 0x14f12bfa
# Subsystem Id: 0x17aa201b
# Revision Id: 0x90000

Err, it's a modem codec. Pass probe_mask=2 instead, then.

Now i have still no sound. But there's no messages about hda on dmesg

$ dmesg | grep -i hda
$ tail -2 /etc/modprobe.d/alsa-base
options snd-hda-intel probe_mask=2
Quoted 8 lines

I commented the /etc/modprobe.d/snd-hda-intel.modprobe

On pastebin:
http://pastebin.ca/610431

The "HDA-Intel Codec information" changed a lot.

Still any ideas?

It's really from 2.6.22 kernel? I won't debug 2.6.20 kernel drivers unless you build ALSA 1.0.14 driver from tarball separately.

Once after upgrading 2.6.22 kernel, try at first without any module options for snd-hda-intel. Check /proc/asound/card0/codec#* file (if any) whether it recogizes AD1981 codec. If not, play with probe_mask option. Once after the module gets loaded, then make sure that you unmuted / adjusted the mixer volumes. Use aplay or speaker-test for testing. Finally, if it still doesn't work, report again.

Takashi

#6 lore raw

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 72 lines

At Mon, 9 Jul 2007 15:58:30 +0200,

Quoted 58 lines · Xavi de Blas

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 39 lines

At Mon, 9 Jul 2007 15:26:59 +0200,

Quoted 37 lines · Xavi de Blas

Hello

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 11 lines

At Mon, 9 Jul 2007 14:16:43 +0200,

Quoted 9 lines · Xavi de Blas

Hello, I installed Wine on my Ubuntu Feisty on IBM-lenovo X60s, and after reboot, sound never worked again.

I tried to activate and to hide modem on the bios. I tried to stop machine, take off battery, wait 10s, put battery again, and boot without the power cable connected... and i tried lots of things from ubuntuforums. I reinstalled feisty and sound doesn't work.

Quoted 7 lines
Quoted 3 lines

I used alsa-info.sh script, here is the result:

http://pastebin.ca/610317

The codec isn't handled via the proper support code but only by the generic parser. It won't work for Thinkpad.

I'm not sure if i understood... then, no solution for me now?

should i try the alsa svn code?

Quoted 5 lines
Quoted 1 line

Should the new kernel 2.6.22 help me?

X60 is known to work with recent kernels (but you'd better to give probe_mask=1 option to avoid the modem codec).

I tried, rebooted and pastebin changed:
http://pastebin.ca/610387

Quoted 9 lines
Quoted 6 lines

This doesn't exist now:
# Codec: Conexant ID 2bfa
# Address: 1
# Vendor Id: 0x14f12bfa
# Subsystem Id: 0x17aa201b
# Revision Id: 0x90000

Err, it's a modem codec. Pass probe_mask=2 instead, then.

Now i have still no sound. But there's no messages about hda on dmesg

$ dmesg | grep -i hda
$ tail -2 /etc/modprobe.d/alsa-base
options snd-hda-intel probe_mask=2
Quoted 8 lines

I commented the /etc/modprobe.d/snd-hda-intel.modprobe

On pastebin:
http://pastebin.ca/610431

The "HDA-Intel Codec information" changed a lot.

Still any ideas?

It's really from 2.6.22 kernel? I won't debug 2.6.20 kernel drivers unless you build ALSA 1.0.14 driver from tarball separately.

Quoted 7 lines

Once after upgrading 2.6.22 kernel, try at first without any module options for snd-hda-intel. Check /proc/asound/card0/codec#* file (if any) whether it recogizes AD1981 codec. If not, play with probe_mask option. Once after the module gets loaded, then make sure that you unmuted / adjusted the mixer volumes. Use aplay or speaker-test for testing. Finally, if it still doesn't work, report again.

No, it's this kernel:

$ uname -a
Linux corall 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux

I asked about upgrading to 2.6.22, but i'm still on 2.6.20

But i built alsa 1.0.14 separately

My asound/card... is:

$ cat /proc/asound/card0/codec#*
Codec: Conexant ID 2bfa
Address: 1
Vendor Id: 0x14f12bfa
Subsystem Id: 0x17aa201b
Revision Id: 0x90000

If you can help me now, i will be glad, if not, i will try to upload to 2.6.22 as soon as possible. Thanks

Xavi

Quoted 3 lines

Takashi

#7 lore raw

At Mon, 9 Jul 2007 16:36:35 +0200,

Quoted 83 lines · Xavi de Blas

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 72 lines

At Mon, 9 Jul 2007 15:58:30 +0200,

Quoted 58 lines · Xavi de Blas

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 39 lines

At Mon, 9 Jul 2007 15:26:59 +0200,

Quoted 37 lines · Xavi de Blas

Hello

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 11 lines

At Mon, 9 Jul 2007 14:16:43 +0200,

Quoted 9 lines · Xavi de Blas

Hello, I installed Wine on my Ubuntu Feisty on IBM-lenovo X60s, and after reboot, sound never worked again.

I tried to activate and to hide modem on the bios. I tried to stop machine, take off battery, wait 10s, put battery again, and boot without the power cable connected... and i tried lots of things from ubuntuforums. I reinstalled feisty and sound doesn't work.

Quoted 7 lines
Quoted 3 lines

I used alsa-info.sh script, here is the result:

http://pastebin.ca/610317

The codec isn't handled via the proper support code but only by the generic parser. It won't work for Thinkpad.

I'm not sure if i understood... then, no solution for me now?

should i try the alsa svn code?

Quoted 5 lines
Quoted 1 line

Should the new kernel 2.6.22 help me?

X60 is known to work with recent kernels (but you'd better to give probe_mask=1 option to avoid the modem codec).

I tried, rebooted and pastebin changed:
http://pastebin.ca/610387

Quoted 9 lines
Quoted 6 lines

This doesn't exist now:
# Codec: Conexant ID 2bfa
# Address: 1
# Vendor Id: 0x14f12bfa
# Subsystem Id: 0x17aa201b
# Revision Id: 0x90000

Err, it's a modem codec. Pass probe_mask=2 instead, then.

Now i have still no sound. But there's no messages about hda on dmesg

$ dmesg | grep -i hda
$ tail -2 /etc/modprobe.d/alsa-base
options snd-hda-intel probe_mask=2
Quoted 8 lines

I commented the /etc/modprobe.d/snd-hda-intel.modprobe

On pastebin:
http://pastebin.ca/610431

The "HDA-Intel Codec information" changed a lot.

Still any ideas?

It's really from 2.6.22 kernel? I won't debug 2.6.20 kernel drivers unless you build ALSA 1.0.14 driver from tarball separately.

Quoted 7 lines

Once after upgrading 2.6.22 kernel, try at first without any module options for snd-hda-intel. Check /proc/asound/card0/codec#* file (if any) whether it recogizes AD1981 codec. If not, play with probe_mask option. Once after the module gets loaded, then make sure that you unmuted / adjusted the mixer volumes. Use aplay or speaker-test for testing. Finally, if it still doesn't work, report again.

Quoted 7 lines

No, it's this kernel:

$ uname -a
Linux corall 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux

I asked about upgrading to 2.6.22, but i'm still on 2.6.20

But i built alsa 1.0.14 separately

Then it should work definitely... at least on Thinkpad X60.

Quoted 11 lines

My asound/card... is:

$ cat /proc/asound/card0/codec#*
Codec: Conexant ID 2bfa
Address: 1
Vendor Id: 0x14f12bfa
Subsystem Id: 0x17aa201b
Revision Id: 0x90000

If you can help me now, i will be glad, if not, i will try to upload to 2.6.22 as soon as possible. Thanks

Remove all module options for snd-hda-intel. That's the first step. After loading the module, see the file /sys/modules/snd_hda_intel/parameters/probe_mask. This value should be -1 (not 1 or 2).

Honestly, this is a kind of topic that is handled on alsa-users ML...

Takashi

#8 lore raw

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 108 lines

At Mon, 9 Jul 2007 16:36:35 +0200,

Quoted 83 lines · Xavi de Blas

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 72 lines

At Mon, 9 Jul 2007 15:58:30 +0200,

Quoted 58 lines · Xavi de Blas

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 39 lines

At Mon, 9 Jul 2007 15:26:59 +0200,

Quoted 37 lines · Xavi de Blas

Hello

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 11 lines

At Mon, 9 Jul 2007 14:16:43 +0200,

Quoted 9 lines · Xavi de Blas

Hello, I installed Wine on my Ubuntu Feisty on IBM-lenovo X60s, and after reboot, sound never worked again.

I tried to activate and to hide modem on the bios. I tried to stop machine, take off battery, wait 10s, put battery again, and boot without the power cable connected... and i tried lots of things from ubuntuforums. I reinstalled feisty and sound doesn't work.

Quoted 7 lines
Quoted 3 lines

I used alsa-info.sh script, here is the result:

http://pastebin.ca/610317

The codec isn't handled via the proper support code but only by the generic parser. It won't work for Thinkpad.

I'm not sure if i understood... then, no solution for me now?

should i try the alsa svn code?

Quoted 5 lines
Quoted 1 line

Should the new kernel 2.6.22 help me?

X60 is known to work with recent kernels (but you'd better to give probe_mask=1 option to avoid the modem codec).

I tried, rebooted and pastebin changed:
http://pastebin.ca/610387

Quoted 9 lines
Quoted 6 lines

This doesn't exist now:
# Codec: Conexant ID 2bfa
# Address: 1
# Vendor Id: 0x14f12bfa
# Subsystem Id: 0x17aa201b
# Revision Id: 0x90000

Err, it's a modem codec. Pass probe_mask=2 instead, then.

Now i have still no sound. But there's no messages about hda on dmesg

$ dmesg | grep -i hda
$ tail -2 /etc/modprobe.d/alsa-base
options snd-hda-intel probe_mask=2
Quoted 8 lines

I commented the /etc/modprobe.d/snd-hda-intel.modprobe

On pastebin:
http://pastebin.ca/610431

The "HDA-Intel Codec information" changed a lot.

Still any ideas?

It's really from 2.6.22 kernel? I won't debug 2.6.20 kernel drivers unless you build ALSA 1.0.14 driver from tarball separately.

Quoted 7 lines

Once after upgrading 2.6.22 kernel, try at first without any module options for snd-hda-intel. Check /proc/asound/card0/codec#* file (if any) whether it recogizes AD1981 codec. If not, play with probe_mask option. Once after the module gets loaded, then make sure that you unmuted / adjusted the mixer volumes. Use aplay or speaker-test for testing. Finally, if it still doesn't work, report again.

Quoted 7 lines

No, it's this kernel:

$ uname -a
Linux corall 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux

I asked about upgrading to 2.6.22, but i'm still on 2.6.20

But i built alsa 1.0.14 separately

Then it should work definitely... at least on Thinkpad X60.

Quoted 11 lines

My asound/card... is:

$ cat /proc/asound/card0/codec#*
Codec: Conexant ID 2bfa
Address: 1
Vendor Id: 0x14f12bfa
Subsystem Id: 0x17aa201b
Revision Id: 0x90000

If you can help me now, i will be glad, if not, i will try to upload to 2.6.22 as soon as possible. Thanks

Quoted 7 lines

Remove all module options for snd-hda-intel. That's the first step. After loading the module, see the file /sys/modules/snd_hda_intel/parameters/probe_mask. This value should be -1 (not 1 or 2).

Honestly, this is a kind of topic that is handled on alsa-users ML...

I continue on that list, thanks Takashi

Quoted 3 lines

Takashi

#9 lore raw

Sorry for missing this thread. I just woke up.

I looked at your first pastebin output, and the actual audio codec shows up as 0x51d41981, when it should be 0x11d41981. This is why the Analog driver patch isn't detecting it.

Can you try this patch against alsa-driver-1.0.14? It should detect this codec. Still not sure why it is misconfigured, unless there is a bios issue.

Tobin

Quoted 126 lines · Xavi de Blas

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 108 lines

At Mon, 9 Jul 2007 16:36:35 +0200,

Quoted 83 lines · Xavi de Blas

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 72 lines

At Mon, 9 Jul 2007 15:58:30 +0200,

Quoted 58 lines · Xavi de Blas

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 39 lines

At Mon, 9 Jul 2007 15:26:59 +0200,

Quoted 37 lines · Xavi de Blas

Hello

2007/7/9, Takashi Iwai <[email protected]>:

Quoted 11 lines

At Mon, 9 Jul 2007 14:16:43 +0200,

Quoted 9 lines · Xavi de Blas

Hello, I installed Wine on my Ubuntu Feisty on IBM-lenovo X60s, and after reboot, sound never worked again.

I tried to activate and to hide modem on the bios. I tried to stop machine, take off battery, wait 10s, put battery again, and boot without the power cable connected... and i tried lots of things from ubuntuforums. I reinstalled feisty and sound doesn't work.

Quoted 7 lines
Quoted 3 lines

I used alsa-info.sh script, here is the result:

http://pastebin.ca/610317

The codec isn't handled via the proper support code but only by the generic parser. It won't work for Thinkpad.

I'm not sure if i understood... then, no solution for me now?

should i try the alsa svn code?

Quoted 5 lines
Quoted 1 line

Should the new kernel 2.6.22 help me?

X60 is known to work with recent kernels (but you'd better to give probe_mask=1 option to avoid the modem codec).

I tried, rebooted and pastebin changed:
http://pastebin.ca/610387

Quoted 9 lines
Quoted 6 lines

This doesn't exist now:
# Codec: Conexant ID 2bfa
# Address: 1
# Vendor Id: 0x14f12bfa
# Subsystem Id: 0x17aa201b
# Revision Id: 0x90000

Err, it's a modem codec. Pass probe_mask=2 instead, then.

Now i have still no sound. But there's no messages about hda on dmesg

$ dmesg | grep -i hda
$ tail -2 /etc/modprobe.d/alsa-base
options snd-hda-intel probe_mask=2
Quoted 8 lines

I commented the /etc/modprobe.d/snd-hda-intel.modprobe

On pastebin:
http://pastebin.ca/610431

The "HDA-Intel Codec information" changed a lot.

Still any ideas?

It's really from 2.6.22 kernel? I won't debug 2.6.20 kernel drivers unless you build ALSA 1.0.14 driver from tarball separately.

Quoted 7 lines

Once after upgrading 2.6.22 kernel, try at first without any module options for snd-hda-intel. Check /proc/asound/card0/codec#* file (if any) whether it recogizes AD1981 codec. If not, play with probe_mask option. Once after the module gets loaded, then make sure that you unmuted / adjusted the mixer volumes. Use aplay or speaker-test for testing. Finally, if it still doesn't work, report again.

Quoted 7 lines

No, it's this kernel:

$ uname -a
Linux corall 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux

I asked about upgrading to 2.6.22, but i'm still on 2.6.20

But i built alsa 1.0.14 separately

Then it should work definitely... at least on Thinkpad X60.

Quoted 11 lines

My asound/card... is:

$ cat /proc/asound/card0/codec#*
Codec: Conexant ID 2bfa
Address: 1
Vendor Id: 0x14f12bfa
Subsystem Id: 0x17aa201b
Revision Id: 0x90000

If you can help me now, i will be glad, if not, i will try to upload to 2.6.22 as soon as possible. Thanks

Quoted 7 lines

Remove all module options for snd-hda-intel. That's the first step. After loading the module, see the file /sys/modules/snd_hda_intel/parameters/probe_mask. This value should be -1 (not 1 or 2).

Honestly, this is a kind of topic that is handled on alsa-users ML...

I continue on that list, thanks Takashi

Quoted 3 lines

Takashi

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

Signature · 1 line
Tobin Davis <[email protected]>
pci/hda/patch_analog.c +1 -0
diff -r 42d31b8a307d pci/hda/patch_analog.c
@@ -3402,6 +3402,7 @@ struct hda_codec_preset snd_hda_preset_a
 	{ .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
 	{ .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
 	{ .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
+	{ .id = 0x51d41981, .name = "AD1981", .patch = patch_ad1981 },
 	{ .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
 	{ .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
 	{ .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },

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

#10 lore raw

At Mon, 09 Jul 2007 08:07:19 -0700,

Quoted 6 lines · Tobin Davis

Sorry for missing this thread. I just woke up.

I looked at your first pastebin output, and the actual audio codec shows up as 0x51d41981, when it should be 0x11d41981. This is why the Analog driver patch isn't detecting it.

Ah, good catch.

Quoted 2 lines

Can you try this patch against alsa-driver-1.0.14? It should detect this codec. Still not sure why it is misconfigured, unless there is a bios issue.

Yes, I guess it's some breakage in the BIOS, or possibly a problem of RAM. Since I've never heard of this problem, I highly suspect it's Xavi's hardware-specific problem. A memory test via memtest is recommended.

Takashi

Quoted 148 lines

Tobin

On Mon, 2007-07-09 at 16:56 +0200, Xavi de Blas wrote:

    2007/7/9, Takashi Iwai <[email protected]>:
    > At Mon, 9 Jul 2007 16:36:35 +0200,
    > Xavi de Blas wrote:
    > >
    > > 2007/7/9, Takashi Iwai <[email protected]>:
    > > > At Mon, 9 Jul 2007 15:58:30 +0200,
    > > > Xavi de Blas wrote:
    > > > >
    > > > > 2007/7/9, Takashi Iwai <[email protected]>:
    > > > > > At Mon, 9 Jul 2007 15:26:59 +0200,
    > > > > > Xavi de Blas wrote:
    > > > > > >
    > > > > > > Hello
    > > > > > >
    > > > > > > 2007/7/9, Takashi Iwai <[email protected]>:
    > > > > > > > At Mon, 9 Jul 2007 14:16:43 +0200,
    > > > > > > > Xavi de Blas wrote:
    > > > > > > > >
    > > > > > > > > Hello, I installed Wine on my Ubuntu Feisty on IBM-lenovo X60s, and
    > > > > > > > > after reboot, sound never worked again.
    > > > > > > > >
    > > > > > > > > I tried to activate and to hide modem on the bios. I tried to stop
    > > > > > > > > machine, take off battery, wait 10s, put battery again, and boot
    > > > > > > > > without the power cable connected... and i tried lots of things from
    > > > > > > > > ubuntuforums. I reinstalled feisty and sound doesn't work.
    > > > > > > > >
    > > > > > > > > I used alsa-info.sh script, here is the result:
    > > > > > > > >
    > > > > > > > > http://pastebin.ca/610317
    > > > > > > >
    > > > > > > > The codec isn't handled via the proper support code but only by the
    > > > > > > > generic parser.  It won't work for Thinkpad.
    > > > > > > >
    > > > > > >
    > > > > > > I'm not sure if i understood... then, no solution for me now?
    > > > > > >
    > > > > > > should i try the alsa svn code?
    > > > > > >
    > > > > > >
    > > > > > > > > Should the new kernel 2.6.22 help me?
    > > > > > > >
    > > > > > > > X60 is known to work with recent kernels (but you'd better to give
    > > > > > > > probe_mask=1 option to avoid the modem codec).
    > > > > > > >
    > > > > > >
    > > > > > > I tried, rebooted and pastebin changed:
    > > > > > > http://pastebin.ca/610387
    > > > > > >
    > > > > > > This doesn't exist now:
    > > > > > > # Codec: Conexant ID 2bfa
    > > > > > > # Address: 1
    > > > > > > # Vendor Id: 0x14f12bfa
    > > > > > > # Subsystem Id: 0x17aa201b
    > > > > > > # Revision Id: 0x90000
    > > > > >
    > > > > > Err, it's a modem codec.  Pass probe_mask=2 instead, then.
    > > > > >
    > > > >
    > > > > Now i have still no sound. But there's no messages about hda on dmesg
    > > > >
    > > > > $ dmesg | grep -i hda
    > > > >
    > > > > $ tail -2 /etc/modprobe.d/alsa-base
    > > > > options snd-hda-intel probe_mask=2
    > > > >
    > > > > I commented the /etc/modprobe.d/snd-hda-intel.modprobe
    > > > >
    > > > > On pastebin:
    > > > > http://pastebin.ca/610431
    > > > >
    > > > > The "HDA-Intel Codec information" changed a lot.
    > > > >
    > > > > Still any ideas?
    > > >
    > > > It's really from 2.6.22 kernel?  I won't debug 2.6.20 kernel drivers
    > > > unless you build ALSA 1.0.14 driver from tarball separately.
    > > >
    > > > Once after upgrading 2.6.22 kernel, try at first without any module
    > > > options for snd-hda-intel.  Check /proc/asound/card0/codec#* file (if
    > > > any) whether it recogizes AD1981 codec.  If not, play with probe_mask
    > > > option.  Once after the module gets loaded, then make sure that you
    > > > unmuted / adjusted the mixer volumes.  Use aplay or speaker-test for
    > > > testing.  Finally, if it still doesn't work, report again.
    > > >
    > >
    > >
    > > No, it's this kernel:
    > > $ uname -a
    > > Linux corall 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux
    > >
    > > I asked about upgrading to 2.6.22, but i'm still on 2.6.20
    > >
    > > But i built alsa 1.0.14 separately
    >
    > Then it should work definitely... at least on Thinkpad X60.
    >
    >
    > > My asound/card... is:
    > >
    > > $ cat /proc/asound/card0/codec#*
    > > Codec: Conexant ID 2bfa
    > > Address: 1
    > > Vendor Id: 0x14f12bfa
    > > Subsystem Id: 0x17aa201b
    > > Revision Id: 0x90000
    > >
    > > If you can help me now, i will be glad, if not, i will try to upload
    > > to 2.6.22 as soon as possible. Thanks
    >
    > Remove all module options for snd-hda-intel.  That's the first step.
    > After loading the module, see the file
    > /sys/modules/snd_hda_intel/parameters/probe_mask.  This value should
    > be -1 (not 1 or 2).
    >
    > Honestly, this is a kind of topic that is handled on alsa-users ML...
    >
    
    I continue on that list, thanks Takashi
    
    >
    > Takashi
    >
    _______________________________________________
    Alsa-devel mailing list
    [email protected]
    http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Signature · 5 lines
Tobin Davis <[email protected]>                                                     


[2 LenovoX60S.patch <text/x-patch; UTF-8 (7bit)>]
diff -r 42d31b8a307d pci/hda/patch_analog.c
pci/hda/patch_analog.c +1 -0
@@ -3402,6 +3402,7 @@ struct hda_codec_preset snd_hda_preset_a
 	{ .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
 	{ .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
 	{ .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
+	{ .id = 0x51d41981, .name = "AD1981", .patch = patch_ad1981 },
 	{ .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
 	{ .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
 	{ .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },
#11 lore raw
In reply to Tobin Davis

2007/7/9, Tobin Davis <[email protected]>:

Quoted 10 lines

Sorry for missing this thread. I just woke up.

I looked at your first pastebin output, and the actual audio codec shows up as 0x51d41981, when it should be 0x11d41981. This is why the Analog driver patch isn't detecting it.

Can you try this patch against alsa-driver-1.0.14? It should detect this codec. Still not sure why it is misconfigured, unless there is a bios issue.

I'm afraid, probably when i tried the Linuxant codecs for the modem it broke the bios. Not sure, but sound worked, and continued working some reboots later. But when i tried a few things with wine and rebooted, sound never worked again

When i aply the patch (probably i don't do it good) there are problems:

xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14$ cat
LenovoX60S.patch | patch -p1
patching file pci/hda/patch_analog.c
Hunk #1 FAILED at 3402.
1 out of 1 hunk FAILED -- saving rejects to file pci/hda/patch_analog.c.rej
xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14/pci/hda$ cat
patch_analog.c.rej
*************** struct hda_codec_preset snd_hda_preset_a
*** 3402,3407 ****
       { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
       { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
       { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
       { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
       { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
       { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },
--- 3402,3408 ----
       { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
       { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
       { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
+       { .id = 0x51d41981, .name = "AD1981", .patch = patch_ad1981 },
       { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
       { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
       { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },

The patch is ok?

Thanks

(Tobin sorry for sending messge two times)

#12 lore raw

Patch needs to be applied as follows:

        cd alsa-driver-1.0.14/alsa-kernel
        patch -p1 < LenovoX60S.patch
        cd ..

Then you can rerun configure && make && make install.

Tobin

Quoted 52 lines · Xavi de Blas

2007/7/9, Tobin Davis <[email protected]>:

Quoted 10 lines

Sorry for missing this thread. I just woke up.

I looked at your first pastebin output, and the actual audio codec shows up as 0x51d41981, when it should be 0x11d41981. This is why the Analog driver patch isn't detecting it.

Can you try this patch against alsa-driver-1.0.14? It should detect this codec. Still not sure why it is misconfigured, unless there is a bios issue.

I'm afraid, probably when i tried the Linuxant codecs for the modem it broke the bios. Not sure, but sound worked, and continued working some reboots later. But when i tried a few things with wine and rebooted, sound never worked again

When i aply the patch (probably i don't do it good) there are problems:

xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14$ cat
LenovoX60S.patch | patch -p1
patching file pci/hda/patch_analog.c
Hunk #1 FAILED at 3402.
1 out of 1 hunk FAILED -- saving rejects to file pci/hda/patch_analog.c.rej
xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14/pci/hda$ cat
patch_analog.c.rej
*************** struct hda_codec_preset snd_hda_preset_a
*** 3402,3407 ****
       { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
       { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
       { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
       { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
       { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
       { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },
--- 3402,3408 ----
       { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
       { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
       { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
+       { .id = 0x51d41981, .name = "AD1981", .patch = patch_ad1981 },
       { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
       { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
       { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },

The patch is ok?

Thanks

(Tobin sorry for sending messge two times)

Signature · 1 line
Tobin Davis <[email protected]>