[alsa-devel] Intel hda ICH7 not worked anymore after using wine
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:
Should the new kernel 2.6.22 help me?
http://kernelnewbies.org/Linux_2_6_22#head-0d133cda430e5d18f1c72dd3cfaa6a920...
Thanks
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:
The codec isn't handled via the proper support code but only by the generic parser. It won't work for Thinkpad.
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
Hello
2007/7/9, Takashi Iwai tiwai@suse.de:
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:
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
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
Takashi
At Mon, 9 Jul 2007 15:26:59 +0200, Xavi de Blas wrote:
Hello
2007/7/9, Takashi Iwai tiwai@suse.de:
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:
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.
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
2007/7/9, Takashi Iwai tiwai@suse.de:
At Mon, 9 Jul 2007 15:26:59 +0200, Xavi de Blas wrote:
Hello
2007/7/9, Takashi Iwai tiwai@suse.de:
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:
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?
Thanks again
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
At Mon, 9 Jul 2007 15:58:30 +0200, Xavi de Blas wrote:
2007/7/9, Takashi Iwai tiwai@suse.de:
At Mon, 9 Jul 2007 15:26:59 +0200, Xavi de Blas wrote:
Hello
2007/7/9, Takashi Iwai tiwai@suse.de:
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:
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.
Takashi
2007/7/9, Takashi Iwai tiwai@suse.de:
At Mon, 9 Jul 2007 15:58:30 +0200, Xavi de Blas wrote:
2007/7/9, Takashi Iwai tiwai@suse.de:
At Mon, 9 Jul 2007 15:26:59 +0200, Xavi de Blas wrote:
Hello
2007/7/9, Takashi Iwai tiwai@suse.de:
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:
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
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
Takashi
At Mon, 9 Jul 2007 16:36:35 +0200, Xavi de Blas wrote:
2007/7/9, Takashi Iwai tiwai@suse.de:
At Mon, 9 Jul 2007 15:58:30 +0200, Xavi de Blas wrote:
2007/7/9, Takashi Iwai tiwai@suse.de:
At Mon, 9 Jul 2007 15:26:59 +0200, Xavi de Blas wrote:
Hello
2007/7/9, Takashi Iwai tiwai@suse.de:
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...
Takashi
2007/7/9, Takashi Iwai tiwai@suse.de:
At Mon, 9 Jul 2007 16:36:35 +0200, Xavi de Blas wrote:
2007/7/9, Takashi Iwai tiwai@suse.de:
At Mon, 9 Jul 2007 15:58:30 +0200, Xavi de Blas wrote:
2007/7/9, Takashi Iwai tiwai@suse.de:
At Mon, 9 Jul 2007 15:26:59 +0200, Xavi de Blas wrote:
Hello
2007/7/9, Takashi Iwai tiwai@suse.de: > 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
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
On Mon, 2007-07-09 at 16:56 +0200, Xavi de Blas wrote:
2007/7/9, Takashi Iwai tiwai@suse.de:
At Mon, 9 Jul 2007 16:36:35 +0200, Xavi de Blas wrote:
2007/7/9, Takashi Iwai tiwai@suse.de:
At Mon, 9 Jul 2007 15:58:30 +0200, Xavi de Blas wrote:
2007/7/9, Takashi Iwai tiwai@suse.de:
At Mon, 9 Jul 2007 15:26:59 +0200, Xavi de Blas wrote: > > Hello > > 2007/7/9, Takashi Iwai tiwai@suse.de: > > 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 Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Mon, 09 Jul 2007 08:07:19 -0700, Tobin Davis wrote:
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.
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
Tobin
On Mon, 2007-07-09 at 16:56 +0200, Xavi de Blas wrote:
2007/7/9, Takashi Iwai <tiwai@suse.de>: > At Mon, 9 Jul 2007 16:36:35 +0200, > Xavi de Blas wrote: > > > > 2007/7/9, Takashi Iwai <tiwai@suse.de>: > > > At Mon, 9 Jul 2007 15:58:30 +0200, > > > Xavi de Blas wrote: > > > > > > > > 2007/7/9, Takashi Iwai <tiwai@suse.de>: > > > > > At Mon, 9 Jul 2007 15:26:59 +0200, > > > > > Xavi de Blas wrote: > > > > > > > > > > > > Hello > > > > > > > > > > > > 2007/7/9, Takashi Iwai <tiwai@suse.de>: > > > > > > > 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 Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
-- Tobin Davis tdavis@dsl-only.net
[2 LenovoX60S.patch <text/x-patch; UTF-8 (7bit)>] diff -r 42d31b8a307d pci/hda/patch_analog.c --- a/pci/hda/patch_analog.c Thu Jul 05 13:10:51 2007 +0200 +++ b/pci/hda/patch_analog.c Mon Jul 09 08:05:56 2007 -0700 @@ -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 },
2007/7/9, Tobin Davis tdavis@dsl-only.net:
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)
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
On Mon, 2007-07-09 at 17:25 +0200, Xavi de Blas wrote:
2007/7/9, Tobin Davis tdavis@dsl-only.net:
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)
participants (3)
-
Takashi Iwai
-
Tobin Davis
-
Xavi de Blas