* No more Intel HDA soundcard
@ 2009-02-28 18:44 Alexey Dobriyan
2009-03-01 10:00 ` Takashi Iwai
0 siblings, 1 reply; 7+ messages in thread
From: Alexey Dobriyan @ 2009-02-28 18:44 UTC (permalink / raw)
To: tiwai; +Cc: linux-kernel, akpm, torvalds
The following commit results in soundcard detection failing with -EBUSY
commit 34c25350acfc792747e861d1e36874abf7e73255
Author: Takashi Iwai <tiwai@suse.de>
Date: Tue Oct 28 11:38:58 2008 +0100
ALSA: hda - Remove old codec-probe limitation
Removed the old workaround to avoid the non-existing codec slot.
The current code should work without that workaround. If any,
we can add a quirk table.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
I fixed up this (and got sound back) but suspect the following is not right.
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -1224,6 +1224,7 @@ static void azx_stop_chip(struct azx *chip);
/* number of codec slots for each chipset: 0 = default slots (i.e. 4) */
static unsigned int azx_max_codecs[AZX_NUM_DRIVERS] __devinitdata = {
+ [AZX_DRIVER_ICH] = 3,
[AZX_DRIVER_TERA] = 1,
};
dmesg from fixed up kernel:
[ 5.362853] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 5.362963] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 5.395164] hda_codec: Unknown model for ALC268, trying auto-probe from BIOS...
[ 5.464685] ALSA device list:
[ 5.464756] #0: HDA Intel at 0xf6700000 irq 22
dmesg from broken kernel:
Advanced Linux Sound Architecture Driver Version 1.0.18a.
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
hda_codec: Unknown model for ALC268, trying auto-probe from BIOS...
hda_codec: Unknown model for ALC268, trying auto-probe from BIOS...
hda_codec: Cannot set up configuration from BIOS. Using base mode...
SPDIF already defined
HDA Intel 0000:00:1b.0: PCI INT A disabled
HDA Intel: probe of 0000:00:1b.0 failed with error -16
ALSA device list:
No soundcards found.
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03)
Subsystem: Toshiba America Info Systems Device [1179:ff00]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 22
Region 0: Memory at f6700000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: No more Intel HDA soundcard
2009-02-28 18:44 No more Intel HDA soundcard Alexey Dobriyan
@ 2009-03-01 10:00 ` Takashi Iwai
2009-03-01 10:41 ` Alexey Dobriyan
0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2009-03-01 10:00 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: linux-kernel, akpm, torvalds
At Sat, 28 Feb 2009 21:44:12 +0300,
Alexey Dobriyan wrote:
>
> The following commit results in soundcard detection failing with -EBUSY
>
> commit 34c25350acfc792747e861d1e36874abf7e73255
> Author: Takashi Iwai <tiwai@suse.de>
> Date: Tue Oct 28 11:38:58 2008 +0100
>
> ALSA: hda - Remove old codec-probe limitation
>
> Removed the old workaround to avoid the non-existing codec slot.
> The current code should work without that workaround. If any,
> we can add a quirk table.
>
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
>
> I fixed up this (and got sound back) but suspect the following is not right.
>
> --- a/sound/pci/hda/hda_intel.c
> +++ b/sound/pci/hda/hda_intel.c
> @@ -1224,6 +1224,7 @@ static void azx_stop_chip(struct azx *chip);
>
> /* number of codec slots for each chipset: 0 = default slots (i.e. 4) */
> static unsigned int azx_max_codecs[AZX_NUM_DRIVERS] __devinitdata = {
> + [AZX_DRIVER_ICH] = 3,
> [AZX_DRIVER_TERA] = 1,
> };
Right, it's no good solution as you expected ;)
The problem is that your patch will disable the all HDMI devices that are
newly supported on 2.6.29.
Is your machine Toshiba X200, found in bug 12735 ??
http://bugzilla.kernel.org/show_bug.cgi?id=12735
If yes, could you try the patch below?
Also, it'd be helpful if you can try sound git tree (master branch):
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
that contains the very latest driver. This should work as is.
thanks,
Takashi
---
>From ea525d89f74737ebc3674184c6d3c30f9e7c7a6f Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Sun, 1 Mar 2009 10:55:44 +0100
Subject: [PATCH] ALSA: hda - Add probe_mask default for Toshiba laptop with ALC268
Some Toshiba laptops have another ALC268 codec on slot#3 that conflicts
with the primary codec. The codec#3 is for the digital I/O, and should
be fixed by the driver, but it'd need a bunch of changes.
So, let's fix the probe problem temporarily by setting the default
probe_mask value.
Reference: kernel bugzilla #12735
http://bugzilla.kernel.org/show_bug.cgi?id=12735
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
sound/pci/hda/hda_intel.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index c8d9178..5e909e0 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2095,6 +2095,8 @@ static struct snd_pci_quirk probe_mask_list[] __devinitdata = {
SND_PCI_QUIRK(0x1028, 0x20ac, "Dell Studio Desktop", 0x01),
/* including bogus ALC268 in slot#2 that conflicts with ALC888 */
SND_PCI_QUIRK(0x17c0, 0x4085, "Medion MD96630", 0x01),
+ /* conflict of ALC268 in slot#3 (digital I/O); a temporary fix */
+ SND_PCI_QUIRK(0x1179, 0xff00, "Toshiba laptop", 0x03),
{}
};
--
1.6.1.3
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: No more Intel HDA soundcard
2009-03-01 10:00 ` Takashi Iwai
@ 2009-03-01 10:41 ` Alexey Dobriyan
2009-03-01 20:25 ` Takashi Iwai
0 siblings, 1 reply; 7+ messages in thread
From: Alexey Dobriyan @ 2009-03-01 10:41 UTC (permalink / raw)
To: Takashi Iwai; +Cc: linux-kernel, akpm, torvalds
On Sun, Mar 01, 2009 at 11:00:35AM +0100, Takashi Iwai wrote:
> At Sat, 28 Feb 2009 21:44:12 +0300,
> Alexey Dobriyan wrote:
> >
> > The following commit results in soundcard detection failing with -EBUSY
> >
> > commit 34c25350acfc792747e861d1e36874abf7e73255
> > Author: Takashi Iwai <tiwai@suse.de>
> > Date: Tue Oct 28 11:38:58 2008 +0100
> >
> > ALSA: hda - Remove old codec-probe limitation
> >
> > Removed the old workaround to avoid the non-existing codec slot.
> > The current code should work without that workaround. If any,
> > we can add a quirk table.
> >
> > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> >
> > I fixed up this (and got sound back) but suspect the following is not right.
> >
> > --- a/sound/pci/hda/hda_intel.c
> > +++ b/sound/pci/hda/hda_intel.c
> > @@ -1224,6 +1224,7 @@ static void azx_stop_chip(struct azx *chip);
> >
> > /* number of codec slots for each chipset: 0 = default slots (i.e. 4) */
> > static unsigned int azx_max_codecs[AZX_NUM_DRIVERS] __devinitdata = {
> > + [AZX_DRIVER_ICH] = 3,
> > [AZX_DRIVER_TERA] = 1,
> > };
>
> Right, it's no good solution as you expected ;)
> The problem is that your patch will disable the all HDMI devices that are
> newly supported on 2.6.29.
>
> Is your machine Toshiba X200, found in bug 12735 ??
> http://bugzilla.kernel.org/show_bug.cgi?id=12735
>
> If yes, could you try the patch below?
>
> Also, it'd be helpful if you can try sound git tree (master branch):
> git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
> that contains the very latest driver. This should work as is.
Sound works as is, alsamixer refuses to start with
ALSA lib simple_none.c:1491:(simple_add1) helem (MIXER,'Beep Playback Switch',0,3,0) appears twice or more
alsamixer: function snd_mixer_load failed: Invalid argument
execve("/usr/bin/alsamixer", ["alsamixer"], [/* 28 vars */]) = 0
brk(0) = 0x9c47000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f70000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=42149, ...}) = 0
mmap2(NULL, 42149, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f65000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libncurses.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\243\0\0004\0\0\0\344"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=202188, ...}) = 0
mmap2(NULL, 202004, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f33000
mmap2(0xb7f62000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2f) = 0xb7f62000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libasound.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\3\2\0004\0\0\0\270"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=790768, ...}) = 0
mmap2(NULL, 793768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e71000
mmap2(0xb7f2e000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xbc) = 0xb7f2e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@4\0\0004\0\0\0P"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=149328, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e70000
mmap2(NULL, 151680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e4a000
mmap2(0xb7e6e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23) = 0xb7e6e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\n\0\0004\0\0\0H"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9680, ...}) = 0
mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e46000
mmap2(0xb7e48000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7e48000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000H\0\0004\0\0\0\330"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=116414, ...}) = 0
mmap2(NULL, 98784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e2d000
mmap2(0xb7e42000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14) = 0xb7e42000
mmap2(0xb7e44000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e44000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260e\1\0004\0\0\0\4"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1413540, ...}) = 0
mmap2(NULL, 1418864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7cd2000
mmap2(0xb7e27000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x155) = 0xb7e27000
mmap2(0xb7e2a000, 9840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e2a000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/librt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\31\0\0004\0\0\0\240"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=30624, ...}) = 0
mmap2(NULL, 33360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7cc9000
mmap2(0xb7cd0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7cd0000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cc8000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cc7000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7cc76b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7e27000, 4096, PROT_READ) = 0
munmap(0xb7f65000, 42149) = 0
set_tid_address(0xb7cc76f8) = 2322
set_robust_list(0xb7cc7700, 0xc) = 0
futex(0xbf88b7e0, FUTEX_WAKE_PRIVATE, 1) = 0
rt_sigaction(SIGRTMIN, {0xb7e312e0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb7e31720, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="x200", ...}) = 0
brk(0) = 0x9c47000
brk(0x9c68000) = 0x9c68000
stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8617, ...}) = 0
open("/usr/share/alsa/alsa.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=8617, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f6f000
read(3, "#\n# ALSA library configuration f"..., 4096) = 4096
read(3, " refer\n\t\t\t\tname defaults.pcm.devi"..., 4096) = 4096
read(3, "fault {\n\t\t\t@func refer\n\t\t\tname de"..., 4096) = 425
read(3, ""..., 4096) = 0
read(3, ""..., 4096) = 0
close(3) = 0
munmap(0xb7f6f000, 4096) = 0
futex(0xb7e49070, FUTEX_WAKE_PRIVATE, 2147483647) = 0
access("/etc/asound.conf", R_OK) = -1 ENOENT (No such file or directory)
access("/home/ad/.asoundrc", R_OK) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC0", O_RDONLY) = 3
close(3) = 0
open("/dev/snd/controlC0", O_RDWR) = 3
ioctl(3, USBDEVFS_CONTROL, 0xbf88b468) = 0
ioctl(3, UI_DEV_CREATE, 0xbf88b560) = 0
close(3) = 0
stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8617, ...}) = 0
open("/dev/snd/controlC0", O_RDONLY) = 3
close(3) = 0
open("/dev/snd/controlC0", O_RDWR) = 3
ioctl(3, USBDEVFS_CONTROL, 0xbf88b408) = 0
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
ioctl(3, USBDEVFS_RELEASEINTERFACE, 0xbf88b4d4) = 0
ioctl(3, USBDEVFS_RELEASEINTERFACE, 0xbf88b4d4) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad50) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad40) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad50) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad50) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad40) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad50) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad40) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad40) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad40) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad50) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad40) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad50) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad40) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad40) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad50) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad50) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad40) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad50) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad40) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad50) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad50) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad50) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad50) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
ioctl(3, USBDEVFS_IOCTL, 0xbf88ad50) = 0
ioctl(3, USBDEVFS_CONNECTINFO, 0xbf88b1d0) = 0
write(2, "ALSA lib simple_none.c:1491:(simp"..., 42) = 42
write(2, "helem (MIXER,'Beep Playback Switc"..., 64) = 64
write(2, "\n"..., 1) = 1
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f6f000
write(1, "\n"..., 1) = 1
write(2, "alsamixer: function snd_mixer_loa"..., 60) = 60
exit_group(2) = ?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: No more Intel HDA soundcard
2009-03-01 10:41 ` Alexey Dobriyan
@ 2009-03-01 20:25 ` Takashi Iwai
2009-03-01 21:02 ` Alexey Dobriyan
2009-03-01 21:18 ` Alexey Dobriyan
0 siblings, 2 replies; 7+ messages in thread
From: Takashi Iwai @ 2009-03-01 20:25 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: linux-kernel, akpm, torvalds
At Sun, 1 Mar 2009 13:41:38 +0300,
Alexey Dobriyan wrote:
>
> On Sun, Mar 01, 2009 at 11:00:35AM +0100, Takashi Iwai wrote:
> > At Sat, 28 Feb 2009 21:44:12 +0300,
> > Alexey Dobriyan wrote:
> > >
> > > The following commit results in soundcard detection failing with -EBUSY
> > >
> > > commit 34c25350acfc792747e861d1e36874abf7e73255
> > > Author: Takashi Iwai <tiwai@suse.de>
> > > Date: Tue Oct 28 11:38:58 2008 +0100
> > >
> > > ALSA: hda - Remove old codec-probe limitation
> > >
> > > Removed the old workaround to avoid the non-existing codec slot.
> > > The current code should work without that workaround. If any,
> > > we can add a quirk table.
> > >
> > > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > >
> > > I fixed up this (and got sound back) but suspect the following is not right.
> > >
> > > --- a/sound/pci/hda/hda_intel.c
> > > +++ b/sound/pci/hda/hda_intel.c
> > > @@ -1224,6 +1224,7 @@ static void azx_stop_chip(struct azx *chip);
> > >
> > > /* number of codec slots for each chipset: 0 = default slots (i.e. 4) */
> > > static unsigned int azx_max_codecs[AZX_NUM_DRIVERS] __devinitdata = {
> > > + [AZX_DRIVER_ICH] = 3,
> > > [AZX_DRIVER_TERA] = 1,
> > > };
> >
> > Right, it's no good solution as you expected ;)
> > The problem is that your patch will disable the all HDMI devices that are
> > newly supported on 2.6.29.
> >
> > Is your machine Toshiba X200, found in bug 12735 ??
> > http://bugzilla.kernel.org/show_bug.cgi?id=12735
> >
> > If yes, could you try the patch below?
> >
> > Also, it'd be helpful if you can try sound git tree (master branch):
> > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
> > that contains the very latest driver. This should work as is.
>
> Sound works as is, alsamixer refuses to start with
Is this the result of what?
Could you check whether the patch for 2.6.29 works at first?
It's the highest priority. Then, try sound git tree (without the
patch), and give alsa-info output after probe_only=1 option.
thanks,
Takashi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: No more Intel HDA soundcard
2009-03-01 20:25 ` Takashi Iwai
@ 2009-03-01 21:02 ` Alexey Dobriyan
2009-03-02 7:10 ` Takashi Iwai
2009-03-01 21:18 ` Alexey Dobriyan
1 sibling, 1 reply; 7+ messages in thread
From: Alexey Dobriyan @ 2009-03-01 21:02 UTC (permalink / raw)
To: Takashi Iwai; +Cc: linux-kernel, akpm, torvalds
On Sun, Mar 01, 2009 at 09:25:44PM +0100, Takashi Iwai wrote:
> At Sun, 1 Mar 2009 13:41:38 +0300,
> Alexey Dobriyan wrote:
> >
> > On Sun, Mar 01, 2009 at 11:00:35AM +0100, Takashi Iwai wrote:
> > > At Sat, 28 Feb 2009 21:44:12 +0300,
> > > Alexey Dobriyan wrote:
> > > >
> > > > The following commit results in soundcard detection failing with -EBUSY
> > > >
> > > > commit 34c25350acfc792747e861d1e36874abf7e73255
> > > > Author: Takashi Iwai <tiwai@suse.de>
> > > > Date: Tue Oct 28 11:38:58 2008 +0100
> > > >
> > > > ALSA: hda - Remove old codec-probe limitation
> > > >
> > > > Removed the old workaround to avoid the non-existing codec slot.
> > > > The current code should work without that workaround. If any,
> > > > we can add a quirk table.
> > > >
> > > > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > > >
> > > > I fixed up this (and got sound back) but suspect the following is not right.
> > > >
> > > > --- a/sound/pci/hda/hda_intel.c
> > > > +++ b/sound/pci/hda/hda_intel.c
> > > > @@ -1224,6 +1224,7 @@ static void azx_stop_chip(struct azx *chip);
> > > >
> > > > /* number of codec slots for each chipset: 0 = default slots (i.e. 4) */
> > > > static unsigned int azx_max_codecs[AZX_NUM_DRIVERS] __devinitdata = {
> > > > + [AZX_DRIVER_ICH] = 3,
> > > > [AZX_DRIVER_TERA] = 1,
> > > > };
> > >
> > > Right, it's no good solution as you expected ;)
> > > The problem is that your patch will disable the all HDMI devices that are
> > > newly supported on 2.6.29.
> > >
> > > Is your machine Toshiba X200, found in bug 12735 ??
> > > http://bugzilla.kernel.org/show_bug.cgi?id=12735
> > >
> > > If yes, could you try the patch below?
> > >
> > > Also, it'd be helpful if you can try sound git tree (master branch):
> > > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
> > > that contains the very latest driver. This should work as is.
> >
> > Sound works as is, alsamixer refuses to start with
>
> Is this the result of what?
>
> Could you check whether the patch for 2.6.29 works at first?
Patch works fine.
> Then, try sound git tree (without the patch), and give alsa-info output
> after probe_only=1 option.
With git tree, sound works, alsamixer refuses to start.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: No more Intel HDA soundcard
2009-03-01 20:25 ` Takashi Iwai
2009-03-01 21:02 ` Alexey Dobriyan
@ 2009-03-01 21:18 ` Alexey Dobriyan
1 sibling, 0 replies; 7+ messages in thread
From: Alexey Dobriyan @ 2009-03-01 21:18 UTC (permalink / raw)
To: Takashi Iwai; +Cc: linux-kernel, akpm, torvalds
On Sun, Mar 01, 2009 at 09:25:44PM +0100, Takashi Iwai wrote:
> At Sun, 1 Mar 2009 13:41:38 +0300,
> Alexey Dobriyan wrote:
> >
> > On Sun, Mar 01, 2009 at 11:00:35AM +0100, Takashi Iwai wrote:
> > > At Sat, 28 Feb 2009 21:44:12 +0300,
> > > Alexey Dobriyan wrote:
> > > >
> > > > The following commit results in soundcard detection failing with -EBUSY
> > > >
> > > > commit 34c25350acfc792747e861d1e36874abf7e73255
> > > > Author: Takashi Iwai <tiwai@suse.de>
> > > > Date: Tue Oct 28 11:38:58 2008 +0100
> > > >
> > > > ALSA: hda - Remove old codec-probe limitation
> > > >
> > > > Removed the old workaround to avoid the non-existing codec slot.
> > > > The current code should work without that workaround. If any,
> > > > we can add a quirk table.
> > > >
> > > > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > > >
> > > > I fixed up this (and got sound back) but suspect the following is not right.
> > > >
> > > > --- a/sound/pci/hda/hda_intel.c
> > > > +++ b/sound/pci/hda/hda_intel.c
> > > > @@ -1224,6 +1224,7 @@ static void azx_stop_chip(struct azx *chip);
> > > >
> > > > /* number of codec slots for each chipset: 0 = default slots (i.e. 4) */
> > > > static unsigned int azx_max_codecs[AZX_NUM_DRIVERS] __devinitdata = {
> > > > + [AZX_DRIVER_ICH] = 3,
> > > > [AZX_DRIVER_TERA] = 1,
> > > > };
> > >
> > > Right, it's no good solution as you expected ;)
> > > The problem is that your patch will disable the all HDMI devices that are
> > > newly supported on 2.6.29.
> > >
> > > Is your machine Toshiba X200, found in bug 12735 ??
> > > http://bugzilla.kernel.org/show_bug.cgi?id=12735
> > >
> > > If yes, could you try the patch below?
> > >
> > > Also, it'd be helpful if you can try sound git tree (master branch):
> > > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
> > > that contains the very latest driver. This should work as is.
> >
> > Sound works as is, alsamixer refuses to start with
>
> Is this the result of what?
>
> Could you check whether the patch for 2.6.29 works at first?
> It's the highest priority. Then, try sound git tree (without the
> patch), and give alsa-info output after probe_only=1 option.
Here it is:
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.56
!!################################
!!Script ran on: Sun Mar 1 21:16:56 UTC 2009
!!Linux Distribution
!!------------------
Debian GNU/Linux 5.0 \n \l
!!Kernel Information
!!------------------
Kernel release: 2.6.29-rc6-hda
Operating System: GNU/Linux
Architecture: i686
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: 1.0.19
Library version:
Utilities version: 1.0.16
!!Loaded ALSA modules
!!-------------------
!!Sound Servers on this system
!!----------------------------
No sound servers found.
!!Soundcards recognised by ALSA
!!-----------------------------
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf6700000 irq 22
!!PCI Soundcards installed in the system
!!--------------------------------------
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
12:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------
00:1b.0 0403: 8086:284b (rev 03)
Subsystem: 1179:ff00
!!Loaded sound module options
!!--------------------------
!!HDA-Intel Codec information
!!---------------------------
--startcollapse--
Codec: Not Set
Address: 0
Vendor Id: 0x10ec0268
Subsystem Id: 0x1179ff0a
Revision Id: 0x100003
No Modem Function Group found
Default PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
Converter: stream=0, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
Converter: stream=0, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:
rates [0x5e0]: 44100 48000 88200 96000 192000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCM
Node 0x07 [Audio Input] wcaps 0x100111: Stereo
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 1
0x24
Node 0x08 [Audio Input] wcaps 0x100111: Stereo
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 1
0x23
Node 0x09 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0d [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0e [Audio Mixer] wcaps 0x20010a: Mono Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00]
Connection: 1
0x02
Node 0x0f [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2
0x02 0x1d
Node 0x10 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80]
Connection: 3
0x03 0x1d 0x02
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x13 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0001003c: IN OUT HP EAPD Detect
EAPD 0x0:
Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
Conn = ATAPI, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x0f
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0001003c: IN OUT HP EAPD Detect
EAPD 0x0:
Pin Default 0x0221101f: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x1, Sequence = 0xf
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x10
Node 0x16 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80]
Pincap 0x00000010: OUT
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Connection: 1
0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x02, stepsize=0x4f, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00003734: IN OUT Detect
Vref caps: HIZ 50 GRD 80 100
Pin Default 0x02a11830: [Jack] Mic at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x3, Sequence = 0x0
Pin-ctls: 0x21: IN VREF_50
Unsolicited: tag=00, enabled=0
Connection: 1
0x02
Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x02, stepsize=0x4f, mute=0
Amp-In vals: [0x00 0x00]
Pincap 0x00003724: IN Detect
Vref caps: HIZ 50 GRD 80 100
Pin Default 0x99a30931: [Fixed] Mic at Int ATAPI
Conn = ATAPI, Color = Unknown
DefAssociation = 0x3, Sequence = 0x1
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=00, enabled=0
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x02, stepsize=0x4f, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00003734: IN OUT Detect
Vref caps: HIZ 50 GRD 80 100
Pin Default 0x0281103e: [Jack] Line In at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x3, Sequence = 0xe
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=00, enabled=0
Connection: 1
0x02
Node 0x1b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x00000020: IN
Pin Default 0x4016852d: [N/A] Speaker at Ext N/A
Conn = Digital, Color = Purple
DefAssociation = 0x2, Sequence = 0xd
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400380: Mono Digital
Pincap 0x00000010: OUT
Pin Default 0x02451120: [Jack] SPDIF Out at Ext Front
Conn = Optical, Color = Black
DefAssociation = 0x2, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1
0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=10
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x23 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x01 0x01]
Connection: 7
0x18 0x19 0x1a 0x1c 0x14 0x15* 0x12
Node 0x24 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x01 0x01]
Connection: 7
0x18 0x19 0x1a 0x1c 0x14* 0x15 0x13
Codec: Not Set
Address: 1
Vendor Id: 0x11c11040
Subsystem Id: 0x11790001
Revision Id: 0x100200
Modem Function Group: 0x1
Codec: Not Set
Address: 3
Vendor Id: 0x10ec0268
Subsystem Id: 0x1179ff0e
Revision Id: 0x100003
No Modem Function Group found
Default PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
Converter: stream=0, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
Converter: stream=0, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:
rates [0x5e0]: 44100 48000 88200 96000 192000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCM
Node 0x07 [Audio Input] wcaps 0x100111: Stereo
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 1
0x24
Node 0x08 [Audio Input] wcaps 0x100111: Stereo
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 1
0x23
Node 0x09 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0d [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0e [Audio Mixer] wcaps 0x20010a: Mono Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00]
Connection: 1
0x02
Node 0x0f [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2
0x02 0x1d
Node 0x10 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80]
Connection: 3
0x03 0x1d 0x02
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x13 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0001003c: IN OUT HP EAPD Detect
EAPD 0x0:
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x0f
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0001003c: IN OUT HP EAPD Detect
EAPD 0x0:
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x10
Node 0x16 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80]
Pincap 0x00000010: OUT
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Connection: 1
0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x02, stepsize=0x4f, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00003734: IN OUT Detect
Vref caps: HIZ 50 GRD 80 100
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x21: IN VREF_50
Unsolicited: tag=00, enabled=0
Connection: 1
0x02
Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x02, stepsize=0x4f, mute=0
Amp-In vals: [0x00 0x00]
Pincap 0x00003724: IN Detect
Vref caps: HIZ 50 GRD 80 100
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=00, enabled=0
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x02, stepsize=0x4f, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00003734: IN OUT Detect
Vref caps: HIZ 50 GRD 80 100
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=00, enabled=0
Connection: 1
0x02
Node 0x1b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x00000020: IN
Pin Default 0x40010005: [N/A] Line Out at Ext N/A
Conn = 1/8, Color = Unknown
DefAssociation = 0x0, Sequence = 0x5
Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400380: Mono Digital
Pincap 0x00000010: OUT
Pin Default 0x18561110: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Black
DefAssociation = 0x1, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1
0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=10
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x23 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x01 0x01]
Connection: 7
0x18 0x19 0x1a 0x1c 0x14 0x15* 0x12
Node 0x24 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x01 0x01]
Connection: 7
0x18 0x19 0x1a 0x1c 0x14* 0x15 0x13
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 0 Mar 2 00:11 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 33 Mar 2 00:10 /dev/snd/timer
!!Aplay/Arecord output
!!------------
APLAY
**** List of PLAYBACK Hardware Devices ****
ARECORD
**** List of CAPTURE Hardware Devices ****
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [Intel]
Card hw:0 'Intel'/'HDA Intel at 0xf6700000 irq 22'
Mixer name : ''
Components : 'HDA:10ec0268,1179ff0a,00100003 HDA:11c11040,11790001,00100200 HDA:10ec0268,1179ff0e,00100003'
Controls : 2
Simple ctrls : 2
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 60 [50%] [0.00dB]
Front Right: Capture 60 [50%] [0.00dB]
!!Alsactl output
!!-------------
--startcollapse--
state.Intel {
control.1 {
comment.access 'read write user'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
comment.tlv '0000000100000008ffffec1400000014'
comment.dbmin -5100
comment.dbmax 0
iface MIXER
name 'PCM Playback Volume'
value.0 255
value.1 255
}
control.2 {
comment.access 'read write user'
comment.type INTEGER
comment.count 2
comment.range '0 - 120'
comment.tlv '0000000100000008fffff44800000032'
comment.dbmin -3000
comment.dbmax 3000
iface MIXER
name 'Digital Capture Volume'
value.0 60
value.1 60
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
Module
snd_hda_intel
nfs
lockd
sunrpc
snd_pcm_oss
snd_mixer_oss
loop
hid_pl
hid_cypress
hid_zpff
hid_gyration
hid_sony
hid_ntrig
hid_samsung
hid_microsoft
hid_tmff
hid_monterey
hid_ezkey
hid_apple
hid_a4tech
hid_logitech
ff_memless
hid_cherry
hid_sunplus
hid_petalynx
hid_belkin
usbhid
hid_chicony
hid
snd_hda_codec_realtek
snd_hda_codec
psmouse
snd_pcm
snd_timer
snd_page_alloc
serio_raw
ac
video
output
uhci_hcd
battery
button
evdev
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: No more Intel HDA soundcard
2009-03-01 21:02 ` Alexey Dobriyan
@ 2009-03-02 7:10 ` Takashi Iwai
0 siblings, 0 replies; 7+ messages in thread
From: Takashi Iwai @ 2009-03-02 7:10 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: linux-kernel, akpm, torvalds
At Mon, 2 Mar 2009 00:02:58 +0300,
Alexey Dobriyan wrote:
>
> On Sun, Mar 01, 2009 at 09:25:44PM +0100, Takashi Iwai wrote:
> > At Sun, 1 Mar 2009 13:41:38 +0300,
> > Alexey Dobriyan wrote:
> > >
> > > On Sun, Mar 01, 2009 at 11:00:35AM +0100, Takashi Iwai wrote:
> > > > At Sat, 28 Feb 2009 21:44:12 +0300,
> > > > Alexey Dobriyan wrote:
> > > > >
> > > > > The following commit results in soundcard detection failing with -EBUSY
> > > > >
> > > > > commit 34c25350acfc792747e861d1e36874abf7e73255
> > > > > Author: Takashi Iwai <tiwai@suse.de>
> > > > > Date: Tue Oct 28 11:38:58 2008 +0100
> > > > >
> > > > > ALSA: hda - Remove old codec-probe limitation
> > > > >
> > > > > Removed the old workaround to avoid the non-existing codec slot.
> > > > > The current code should work without that workaround. If any,
> > > > > we can add a quirk table.
> > > > >
> > > > > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > > > >
> > > > > I fixed up this (and got sound back) but suspect the following is not right.
> > > > >
> > > > > --- a/sound/pci/hda/hda_intel.c
> > > > > +++ b/sound/pci/hda/hda_intel.c
> > > > > @@ -1224,6 +1224,7 @@ static void azx_stop_chip(struct azx *chip);
> > > > >
> > > > > /* number of codec slots for each chipset: 0 = default slots (i.e. 4) */
> > > > > static unsigned int azx_max_codecs[AZX_NUM_DRIVERS] __devinitdata = {
> > > > > + [AZX_DRIVER_ICH] = 3,
> > > > > [AZX_DRIVER_TERA] = 1,
> > > > > };
> > > >
> > > > Right, it's no good solution as you expected ;)
> > > > The problem is that your patch will disable the all HDMI devices that are
> > > > newly supported on 2.6.29.
> > > >
> > > > Is your machine Toshiba X200, found in bug 12735 ??
> > > > http://bugzilla.kernel.org/show_bug.cgi?id=12735
> > > >
> > > > If yes, could you try the patch below?
> > > >
> > > > Also, it'd be helpful if you can try sound git tree (master branch):
> > > > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
> > > > that contains the very latest driver. This should work as is.
> > >
> > > Sound works as is, alsamixer refuses to start with
> >
> > Is this the result of what?
> >
> > Could you check whether the patch for 2.6.29 works at first?
>
> Patch works fine.
Good to hear.
Now applied to fix/hda branch for the next pull request.
> > Then, try sound git tree (without the patch), and give alsa-info output
> > after probe_only=1 option.
>
> With git tree, sound works, alsamixer refuses to start.
Could you try sound git tree again? I guess it's fixed now.
Thanks,
Takashi
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-03-02 7:10 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-28 18:44 No more Intel HDA soundcard Alexey Dobriyan
2009-03-01 10:00 ` Takashi Iwai
2009-03-01 10:41 ` Alexey Dobriyan
2009-03-01 20:25 ` Takashi Iwai
2009-03-01 21:02 ` Alexey Dobriyan
2009-03-02 7:10 ` Takashi Iwai
2009-03-01 21:18 ` Alexey Dobriyan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®