[alsa-devel] Intel hda ICH7 not worked anymore after using wine

Takashi Iwai tiwai at suse.de
Mon Jul 9 17:13:26 CEST 2007


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 at suse.de>:
>     > At Mon, 9 Jul 2007 16:36:35 +0200,
>     > Xavi de Blas wrote:
>     > >
>     > > 2007/7/9, Takashi Iwai <tiwai at suse.de>:
>     > > > At Mon, 9 Jul 2007 15:58:30 +0200,
>     > > > Xavi de Blas wrote:
>     > > > >
>     > > > > 2007/7/9, Takashi Iwai <tiwai at suse.de>:
>     > > > > > At Mon, 9 Jul 2007 15:26:59 +0200,
>     > > > > > Xavi de Blas wrote:
>     > > > > > >
>     > > > > > > Hello
>     > > > > > >
>     > > > > > > 2007/7/9, Takashi Iwai <tiwai at 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 at alsa-project.org
>     http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 
> --                                                                                    
> Tobin Davis <tdavis at 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 },


More information about the Alsa-devel mailing list