Skip to contentSkip to conversation

BUG in >=1.0.13rc1

DISCUSSION [email protected] 4 participants 11 messages Dec 27, 2006 – Feb 22, 2007 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

I own a toshiba L35 laptop, with a ATI SB450 sound card in it.

This card functions "adequately" with alsa 1.0.12.
it gets the "
ALSA /usr/src/alsa-driver-1.0.12/pci/hda/hda_codec.c:213: hda_codec: invalid dep_range_val 0:7fff
" errors scrolling off the screen, as reported by others,
and plays through the speakers only. this laptop has a mic (untested) and a headphone jack. plugging headphones in does stop the speakers, but dosent produce sound through the headphones.

however, switching to 1.0.13rc1 or newer (tried up to 1.0.14rc1) causes a kernel panic right after those errors stop. sound does not function in these versions.

I've tried the disable_msi=1 option, however, i was not getting a "nobody cared" message before, and turning this option on does nothing. So, i'm thinking this dosent have to do with the MSI changes recently.

the panic is as follows:

BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
f8b7b4e8
*pde = 00000000
Oops: 0002 [#1]
SMP 
Modules linked in: snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc nfs nfsd exportfs lockd nfs_acl sunrpc ipv6 dm_snapshot dm_mirror dm_mod usbhid uhci_hcd usbkbd orinoco_cs orinoco hermes tsdev joydev pcmcia firmware_class yenta_socket rsrc_nonstatic pcmcia_core i2c_piix4 shpchp pci_hotplug psmouse ati_agp agpgart i2c_core evdev serio_raw pcspkr rtc ext3 jbd mbcache ide_cd cdrom 8139cp sd_mod 8139too mii atiixp ehci_hcd ohci_hcd sata_sil usbcore libata scsi_mod generic ide_core thermal processor fan
CPU:    0
EIP:    0060:[<f8b7b4e8>]    Not tainted VLI
EFLAGS: 00010202   (2.6.18 #1) 

EIP is at get_input_type+0x67/0x85 [snd_hda_codec]
eax: 00000007 ebx: dfd169c0 ecx: 00000001 edx: 00000000
esi: 00000000 edi: f8b836c5 ebp: f7bce880 esp: f5017d3c
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 2367, ti=f5016000 task=f75ba000 task.ti=f5016000)

Stack: 00000001 f8b7bea2 0000032d dfd16a40 dfd169c0 dfd169e4 f50e2800 00000000 
       00000286 00000000 ffffe000 f5017d84 f5746ec0 00010000 00000002 c01b769c 
       f57468c0 c0185edb 0000032d 00008000 f57468c0 c0186316 f5746ec0 f5746940 
Call Trace:
 [<f8b7bea2>] build_generic_controls+0x1ed/0x2c9 [snd_hda_codec]
 [<c01b769c>] idr_get_new+0xa/0x26
 [<c0185edb>] proc_register+0x6e/0xfa
 [<c0186316>] create_proc_entry+0x87/0x9a
 [<f8a43757>] snd_create_proc_entry+0x8/0x14 [snd]
 [<f8a437fd>] snd_info_register+0x9a/0x9f [snd]
 [<f8b3eef1>] snd_pcm_lib_preallocate_pages+0xbf/0xd8 [snd_pcm]
 [<f8b3ef39>] snd_pcm_lib_preallocate_pages_for_all+0x2f/0x4c [snd_pcm]
 [<f8a54a9d>] create_codec_pcm+0xd8/0xf5 [snd_hda_intel]
 [<f8b7b0e0>] snd_hda_build_controls+0x16/0x67 [snd_hda_codec]
 [<f8a55311>] azx_probe+0x71d/0x72f [snd_hda_intel]
 [<f8a54604>] azx_send_cmd+0x0/0xd6 [snd_hda_intel]
 [<f8a54504>] azx_get_response+0x0/0x100 [snd_hda_intel]
 [<c01c1420>] pci_match_device+0x10/0xac
 [<c02107d4>] __driver_attach+0x0/0x5d
 [<c01c1508>] pci_device_probe+0x36/0x57
 [<c0210735>] driver_probe_device+0x42/0x8b
 [<c021080c>] __driver_attach+0x38/0x5d
 [<c0210256>] bus_for_each_dev+0x33/0x55
 [<c021069f>] driver_attach+0x11/0x13
 [<c02107d4>] __driver_attach+0x0/0x5d
 [<c020ff6f>] bus_add_driver+0x64/0xfd
 [<c01c1644>] __pci_register_driver+0x47/0x63
 [<c01358f5>] sys_init_module+0x16c3/0x1846
 [<c0102c7b>] syscall_call+0x7/0xb
Code: f9 02 b8 4c 35 b8 f8 eb 17 ba 51 35 b8 f8 eb 35 83 e1 0f ba 54 35 b8 f8 83 f9 02 b8 5e 35 b8 f8 0f 45 d0 eb 20 f6 43 15 10 74 03 <83> 0a 04 83 e1 0f ba 62 35 b8 f8 83 f9 02 b8 6c 35 b8 f8 eb e0 
EIP: [<f8b7b4e8>] get_input_type+0x67/0x85 [snd_hda_codec] SS:ESP 0068:f5017d3c

lspci is as follows:
00:00.0 Host bridge: ATI Technologies Inc Unknown device 5a31 (rev 01)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:12.0 IDE interface: ATI Technologies Inc ATI 4379 Serial ATA Controller (rev 80) 00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80) 00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80) 00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80) 00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 82)
00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI (rev 80) 00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80) 00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80) 01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M] 09:01.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01) 09:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 09:04.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01) (ignore the second TI cardbus controller, its a replacement wireless card)

the kernel .config is stolen from debian's 2.6.18-3-686 package, and the source is debian's linux-source-2.6.18.

i'm on list for the duration of this issue.

Julia Longtin <[email protected]>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#1 lore raw

Could you send some more information? What I'd like to see is the output from "lspci -s 0:14.2 -vn" and "cat /proc/asound/card0/codec*".

It appears that you have a problem similar to one I'm working on for a new codec (which hasn't been added to the alsa tree yet). This might help me fix that issue and yours as well.

Thanks,

Tobin Davis

Quoted 95 lines · On Wed, 2006-12-27 at 16:00 -0600, [email protected] wrote:

I own a toshiba L35 laptop, with a ATI SB450 sound card in it.

This card functions "adequately" with alsa 1.0.12.
it gets the "
ALSA /usr/src/alsa-driver-1.0.12/pci/hda/hda_codec.c:213: hda_codec: invalid dep_range_val 0:7fff
" errors scrolling off the screen, as reported by others,
and plays through the speakers only. this laptop has a mic (untested) and a headphone jack. plugging headphones in does stop the speakers, but dosent produce sound through the headphones.

however, switching to 1.0.13rc1 or newer (tried up to 1.0.14rc1) causes a kernel panic right after those errors stop. sound does not function in these versions.

I've tried the disable_msi=1 option, however, i was not getting a "nobody cared" message before, and turning this option on does nothing. So, i'm thinking this dosent have to do with the MSI changes recently.

the panic is as follows:

BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
f8b7b4e8
*pde = 00000000
Oops: 0002 [#1]
SMP 
Modules linked in: snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc nfs nfsd exportfs lockd nfs_acl sunrpc ipv6 dm_snapshot dm_mirror dm_mod usbhid uhci_hcd usbkbd orinoco_cs orinoco hermes tsdev joydev pcmcia firmware_class yenta_socket rsrc_nonstatic pcmcia_core i2c_piix4 shpchp pci_hotplug psmouse ati_agp agpgart i2c_core evdev serio_raw pcspkr rtc ext3 jbd mbcache ide_cd cdrom 8139cp sd_mod 8139too mii atiixp ehci_hcd ohci_hcd sata_sil usbcore libata scsi_mod generic ide_core thermal processor fan
CPU:    0
EIP:    0060:[<f8b7b4e8>]    Not tainted VLI
EFLAGS: 00010202   (2.6.18 #1) 

EIP is at get_input_type+0x67/0x85 [snd_hda_codec]
eax: 00000007 ebx: dfd169c0 ecx: 00000001 edx: 00000000
esi: 00000000 edi: f8b836c5 ebp: f7bce880 esp: f5017d3c
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 2367, ti=f5016000 task=f75ba000 task.ti=f5016000)

Stack: 00000001 f8b7bea2 0000032d dfd16a40 dfd169c0 dfd169e4 f50e2800 00000000 
       00000286 00000000 ffffe000 f5017d84 f5746ec0 00010000 00000002 c01b769c 
       f57468c0 c0185edb 0000032d 00008000 f57468c0 c0186316 f5746ec0 f5746940 
Call Trace:
 [<f8b7bea2>] build_generic_controls+0x1ed/0x2c9 [snd_hda_codec]
 [<c01b769c>] idr_get_new+0xa/0x26
 [<c0185edb>] proc_register+0x6e/0xfa
 [<c0186316>] create_proc_entry+0x87/0x9a
 [<f8a43757>] snd_create_proc_entry+0x8/0x14 [snd]
 [<f8a437fd>] snd_info_register+0x9a/0x9f [snd]
 [<f8b3eef1>] snd_pcm_lib_preallocate_pages+0xbf/0xd8 [snd_pcm]
 [<f8b3ef39>] snd_pcm_lib_preallocate_pages_for_all+0x2f/0x4c [snd_pcm]
 [<f8a54a9d>] create_codec_pcm+0xd8/0xf5 [snd_hda_intel]
 [<f8b7b0e0>] snd_hda_build_controls+0x16/0x67 [snd_hda_codec]
 [<f8a55311>] azx_probe+0x71d/0x72f [snd_hda_intel]
 [<f8a54604>] azx_send_cmd+0x0/0xd6 [snd_hda_intel]
 [<f8a54504>] azx_get_response+0x0/0x100 [snd_hda_intel]
 [<c01c1420>] pci_match_device+0x10/0xac
 [<c02107d4>] __driver_attach+0x0/0x5d
 [<c01c1508>] pci_device_probe+0x36/0x57
 [<c0210735>] driver_probe_device+0x42/0x8b
 [<c021080c>] __driver_attach+0x38/0x5d
 [<c0210256>] bus_for_each_dev+0x33/0x55
 [<c021069f>] driver_attach+0x11/0x13
 [<c02107d4>] __driver_attach+0x0/0x5d
 [<c020ff6f>] bus_add_driver+0x64/0xfd
 [<c01c1644>] __pci_register_driver+0x47/0x63
 [<c01358f5>] sys_init_module+0x16c3/0x1846
 [<c0102c7b>] syscall_call+0x7/0xb
Code: f9 02 b8 4c 35 b8 f8 eb 17 ba 51 35 b8 f8 eb 35 83 e1 0f ba 54 35 b8 f8 83 f9 02 b8 5e 35 b8 f8 0f 45 d0 eb 20 f6 43 15 10 74 03 <83> 0a 04 83 e1 0f ba 62 35 b8 f8 83 f9 02 b8 6c 35 b8 f8 eb e0 
EIP: [<f8b7b4e8>] get_input_type+0x67/0x85 [snd_hda_codec] SS:ESP 0068:f5017d3c

lspci is as follows:
00:00.0 Host bridge: ATI Technologies Inc Unknown device 5a31 (rev 01)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:12.0 IDE interface: ATI Technologies Inc ATI 4379 Serial ATA Controller (rev 80) 00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80) 00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80) 00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80) 00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 82)
00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI (rev 80) 00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80) 00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80) 01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M] 09:01.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01) 09:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 09:04.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01) (ignore the second TI cardbus controller, its a replacement wireless card)

the kernel .config is stolen from debian's 2.6.18-3-686 package, and the source is debian's linux-source-2.6.18.

i'm on list for the duration of this issue.

Julia Longtin <[email protected]>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#2 lore raw

you asked for it. :)

output from alsa 1.0.13rc1:

lspci -s 0:14.2:
00:14.2 0403: 1002:437b (rev 01)
Subsystem: 1179:ff31
Flags: bus master, slow devsel, latency 64, IRQ 209
Memory at c0400000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-

cat /proc/asound/card0/codec*:
cat: /proc/asound/card0/codec*: No such file or directory

output from alsa 1.0.12:

lspci -vs 0:14.2:
00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
Subsystem: Toshiba America Info Systems Unknown device ff31
Flags: bus master, slow devsel, latency 64, IRQ 201
Memory at c0400000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-

cat /proc/asound/card0/codec*:
Codec: Realtek ID 862
Address: 0
Vendor Id: 0x10ec0862
Subsystem Id: 0x1179820d
Revision Id: 0x100001
Default PCM: rates 0x160, bits 0x0e, types 0x1 Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x38 0x38]
PCM: rates 0x160, bits 0x0e, types 0x1
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]
PCM: rates 0x160, bits 0x0e, types 0x1
Node 0x04 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x40 0x40]
PCM: rates 0x160, bits 0x0e, types 0x1
Node 0x05 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x40 0x40]
PCM: rates 0x160, bits 0x0e, types 0x1
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
PCM: rates 0x160, bits 0x1e, types 0x1
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x16 0x16]
PCM: rates 0x160, bits 0x06, types 0x1
Connection: 1

     0x22

Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 6

     0x18 0x19 0x1a 0x1b 0x1c 0x1d

Node 0x0c [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 0x0b

Node 0x0d [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

     0x03 0x0b

Node 0x0e [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

     0x04 0x0b

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

     0x05 0x0b

Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00]
Pincap 0x081003c: IN OUT HP EAPD Detect
Pin Default 0x99030110: [Fixed] Line Out at Int ATAPI
Conn = ATAPI, Color = Unknown
Pin-ctls: 0xc0: OUT HP
Connection: 1

     0x0c

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 0x0810034: IN OUT EAPD Detect
Pin Default 0x01014030: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
Pin-ctls: 0x20: IN
Connection: 1

     0x0d

Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0834: IN OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Connection: 1

     0x0e

Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0834: IN OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Connection: 1

     0x0f

Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x03 0x03]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x081734: IN OUT Detect
Pin Default 0x01a19820: [Jack] Mic at Ext Rear
Conn = 1/8, Color = Pink
Pin-ctls: 0x20: IN
Connection: 1

     0x0e

Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x08173c: IN OUT HP Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Connection: 2

     0x0c* 0x0f

Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0834: IN OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Connection: 1

     0x0d

Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x08173c: IN OUT HP Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Connection: 2

     0x0c* 0x0f

Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x0820: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x0820: IN
Pin Default 0x9983012f: [Fixed] Line In at Int ATAPI
Conn = ATAPI, Color = Unknown
Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
Pincap 0x0810: OUT
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x40: OUT
Connection: 1

     0x06

Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [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] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 11

     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b

Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x26 [Vendor Defined Widget] wcaps 0xf00000: Mono
Codec: Generic 11c1 ID 1040
Address: 1
Vendor Id: 0x11c11040
Subsystem Id: 0x11790001
Revision Id: 0x100200
Codec: Generic ffff ID ffff
Address: 3
Vendor Id: 0xffffffff
Subsystem Id: 0xffffffff
Revision Id: 0xffffffff
Default PCM: rates 0x160, bits 0x0e, types 0x1
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x02 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x03 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x04 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x05 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x06 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x07 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x08 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x09 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x0a [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x0b [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x0c [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x0d [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x0e [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x0f [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x10 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x11 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x12 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x13 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x14 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x15 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x16 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x17 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x18 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x19 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x1a [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x1b [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x1c [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x1d [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x1e [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x1f [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x20 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x21 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x22 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x23 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x24 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x25 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x26 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

after seeing that kind of detail, its worth noting, this is a laptop, with just a headphone jack, a mic in, and built-in speakers.

there are no connectors on the back. :)

Julia Longtin <[email protected]>

Quoted 99 lines · Tobin Davis

Could you send some more information? What I'd like to see is the output from "lspci -s 0:14.2 -vn" and "cat /proc/asound/card0/codec*".

It appears that you have a problem similar to one I'm working on for a new codec (which hasn't been added to the alsa tree yet). This might help me fix that issue and yours as well.

Thanks,

Tobin Davis

Quoted 86 lines · On Wed, 2006-12-27 at 16:00 -0600, [email protected] wrote:

I own a toshiba L35 laptop, with a ATI SB450 sound card in it.

This card functions "adequately" with alsa 1.0.12.
it gets the "
ALSA /usr/src/alsa-driver-1.0.12/pci/hda/hda_codec.c:213: hda_codec: invalid dep_range_val 0:7fff
" errors scrolling off the screen, as reported by others,
and plays through the speakers only. this laptop has a mic (untested) and a headphone jack. plugging headphones in does stop the speakers, but dosent produce sound through the headphones.

however, switching to 1.0.13rc1 or newer (tried up to 1.0.14rc1) causes a kernel panic right after those errors stop. sound does not function in these versions.

I've tried the disable_msi=1 option, however, i was not getting a "nobody cared" message before, and turning this option on does nothing. So, i'm thinking this dosent have to do with the MSI changes recently.

the panic is as follows:

BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
f8b7b4e8
*pde = 00000000
Oops: 0002 [#1]
SMP 
Modules linked in: snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc nfs nfsd exportfs lockd nfs_acl sunrpc ipv6 dm_snapshot dm_mirror dm_mod usbhid uhci_hcd usbkbd orinoco_cs orinoco hermes tsdev joydev pcmcia firmware_class yenta_socket rsrc_nonstatic pcmcia_core i2c_piix4 shpchp pci_hotplug psmouse ati_agp agpgart i2c_core evdev serio_raw pcspkr rtc ext3 jbd mbcache ide_cd cdrom 8139cp sd_mod 8139too mii atiixp ehci_hcd ohci_hcd sata_sil usbcore libata scsi_mod generic ide_core thermal processor fan
CPU:    0
EIP:    0060:[<f8b7b4e8>]    Not tainted VLI
EFLAGS: 00010202   (2.6.18 #1) 

EIP is at get_input_type+0x67/0x85 [snd_hda_codec]
eax: 00000007 ebx: dfd169c0 ecx: 00000001 edx: 00000000
esi: 00000000 edi: f8b836c5 ebp: f7bce880 esp: f5017d3c
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 2367, ti=f5016000 task=f75ba000 task.ti=f5016000)

Stack: 00000001 f8b7bea2 0000032d dfd16a40 dfd169c0 dfd169e4 f50e2800 00000000 
       00000286 00000000 ffffe000 f5017d84 f5746ec0 00010000 00000002 c01b769c 
       f57468c0 c0185edb 0000032d 00008000 f57468c0 c0186316 f5746ec0 f5746940 
Call Trace:
 [<f8b7bea2>] build_generic_controls+0x1ed/0x2c9 [snd_hda_codec]
 [<c01b769c>] idr_get_new+0xa/0x26
 [<c0185edb>] proc_register+0x6e/0xfa
 [<c0186316>] create_proc_entry+0x87/0x9a
 [<f8a43757>] snd_create_proc_entry+0x8/0x14 [snd]
 [<f8a437fd>] snd_info_register+0x9a/0x9f [snd]
 [<f8b3eef1>] snd_pcm_lib_preallocate_pages+0xbf/0xd8 [snd_pcm]
 [<f8b3ef39>] snd_pcm_lib_preallocate_pages_for_all+0x2f/0x4c [snd_pcm]
 [<f8a54a9d>] create_codec_pcm+0xd8/0xf5 [snd_hda_intel]
 [<f8b7b0e0>] snd_hda_build_controls+0x16/0x67 [snd_hda_codec]
 [<f8a55311>] azx_probe+0x71d/0x72f [snd_hda_intel]
 [<f8a54604>] azx_send_cmd+0x0/0xd6 [snd_hda_intel]
 [<f8a54504>] azx_get_response+0x0/0x100 [snd_hda_intel]
 [<c01c1420>] pci_match_device+0x10/0xac
 [<c02107d4>] __driver_attach+0x0/0x5d
 [<c01c1508>] pci_device_probe+0x36/0x57
 [<c0210735>] driver_probe_device+0x42/0x8b
 [<c021080c>] __driver_attach+0x38/0x5d
 [<c0210256>] bus_for_each_dev+0x33/0x55
 [<c021069f>] driver_attach+0x11/0x13
 [<c02107d4>] __driver_attach+0x0/0x5d
 [<c020ff6f>] bus_add_driver+0x64/0xfd
 [<c01c1644>] __pci_register_driver+0x47/0x63
 [<c01358f5>] sys_init_module+0x16c3/0x1846
 [<c0102c7b>] syscall_call+0x7/0xb
Code: f9 02 b8 4c 35 b8 f8 eb 17 ba 51 35 b8 f8 eb 35 83 e1 0f ba 54 35 b8 f8 83 f9 02 b8 5e 35 b8 f8 0f 45 d0 eb 20 f6 43 15 10 74 03 <83> 0a 04 83 e1 0f ba 62 35 b8 f8 83 f9 02 b8 6c 35 b8 f8 eb e0 
EIP: [<f8b7b4e8>] get_input_type+0x67/0x85 [snd_hda_codec] SS:ESP 0068:f5017d3c

lspci is as follows:
00:00.0 Host bridge: ATI Technologies Inc Unknown device 5a31 (rev 01)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:12.0 IDE interface: ATI Technologies Inc ATI 4379 Serial ATA Controller (rev 80) 00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80) 00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80) 00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80) 00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 82)
00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI (rev 80) 00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80) 00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80) 01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M] 09:01.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01) 09:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 09:04.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01) (ignore the second TI cardbus controller, its a replacement wireless card)

the kernel .config is stolen from debian's 2.6.18-3-686 package, and the source is debian's linux-source-2.6.18.

i'm on list for the duration of this issue.

Julia Longtin <[email protected]>

Quoted 12 lines
Quoted 9 lines

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#3 lore raw

here is the set of output i was asked for the last time. only, with the new version.

this is the card broken.

faiserver:~# lspci -vs 0:14.2
00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
        Subsystem: Toshiba America Info Systems Unknown device ff31
        Flags: bus master, slow devsel, latency 64, IRQ 11
        Memory at c0400000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
faiserver:~# cat /proc/asound/card0/codec#0 
Codec: Realtek ALC861-VD
Address: 0
Vendor Id: 0x10ec0862
Subsystem Id: 0x1179820d
Revision Id: 0x100001
Default PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x20 0x1e]
  PCM:
    rates [0x160]: 44100 48000 96000
    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:  [0x00 0x00]
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x00 0x00]
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x05 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x00 0x00]
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x14 0x14]
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 1
     0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x82 0x82] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x80 0x80]
  Connection: 6
     0x18 0x19 0x1a 0x1b 0x1c 0x1d
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x05 0x0b
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x081003c: IN OUT HP EAPD Detect
  Pin Default 0x99030110: [Fixed] Line Out at Int ATAPI
    Conn = ATAPI, Color = Unknown
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0c
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 0x0810034: IN OUT EAPD Detect
  Pin Default 0x01014030: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
  Pin-ctls: 0x20: IN
  Connection: 1
     0x0d
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0834: IN OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Connection: 1
     0x0e
Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0834: IN OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Connection: 1
     0x0f
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x081734: IN OUT Detect
  Pin Default 0x01a19820: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
  Pin-ctls: 0x24: IN
  Connection: 1
     0x0e
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173c: IN OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Connection: 2
     0x0c* 0x0f
Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0834: IN OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Connection: 1
     0x0d
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173c: IN OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Connection: 2
     0x0c* 0x0f
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0820: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x0820: IN
  Pin Default 0x9983012f: [Fixed] Line In at Int ATAPI
    Conn = ATAPI, Color = Unknown
  Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
  Pincap 0x0810: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x26 [Vendor Defined Widget] wcaps 0xf00000: Mono

the following is the last email i sent to the list reguarding this laptop. this is it "working". good luck debugging this one. ;)

Julia Longtin <[email protected]>

Quoted 628 lines · On Wed, Dec 27, 2006 at 05:54:05PM -0600, [email protected] wrote:

you asked for it. :)

output from alsa 1.0.13rc1:

lspci -s 0:14.2:
00:14.2 0403: 1002:437b (rev 01)
Subsystem: 1179:ff31
Flags: bus master, slow devsel, latency 64, IRQ 209
Memory at c0400000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-

cat /proc/asound/card0/codec*:
cat: /proc/asound/card0/codec*: No such file or directory

output from alsa 1.0.12:

lspci -vs 0:14.2:
00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
Subsystem: Toshiba America Info Systems Unknown device ff31
Flags: bus master, slow devsel, latency 64, IRQ 201
Memory at c0400000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-

cat /proc/asound/card0/codec*:
Codec: Realtek ID 862
Address: 0
Vendor Id: 0x10ec0862
Subsystem Id: 0x1179820d
Revision Id: 0x100001
Default PCM: rates 0x160, bits 0x0e, types 0x1 Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x38 0x38]
PCM: rates 0x160, bits 0x0e, types 0x1
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]
PCM: rates 0x160, bits 0x0e, types 0x1
Node 0x04 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x40 0x40]
PCM: rates 0x160, bits 0x0e, types 0x1
Node 0x05 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x40 0x40]
PCM: rates 0x160, bits 0x0e, types 0x1
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
PCM: rates 0x160, bits 0x1e, types 0x1
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x16 0x16]
PCM: rates 0x160, bits 0x06, types 0x1
Connection: 1

     0x22

Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 6

     0x18 0x19 0x1a 0x1b 0x1c 0x1d

Node 0x0c [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 0x0b

Node 0x0d [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

     0x03 0x0b

Node 0x0e [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

     0x04 0x0b

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

     0x05 0x0b

Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00]
Pincap 0x081003c: IN OUT HP EAPD Detect
Pin Default 0x99030110: [Fixed] Line Out at Int ATAPI
Conn = ATAPI, Color = Unknown
Pin-ctls: 0xc0: OUT HP
Connection: 1

     0x0c

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 0x0810034: IN OUT EAPD Detect
Pin Default 0x01014030: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
Pin-ctls: 0x20: IN
Connection: 1

     0x0d

Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0834: IN OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Connection: 1

     0x0e

Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0834: IN OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Connection: 1

     0x0f

Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x03 0x03]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x081734: IN OUT Detect
Pin Default 0x01a19820: [Jack] Mic at Ext Rear
Conn = 1/8, Color = Pink
Pin-ctls: 0x20: IN
Connection: 1

     0x0e

Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x08173c: IN OUT HP Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Connection: 2

     0x0c* 0x0f

Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0834: IN OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Connection: 1

     0x0d

Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x08173c: IN OUT HP Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Connection: 2

     0x0c* 0x0f

Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x0820: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x0820: IN
Pin Default 0x9983012f: [Fixed] Line In at Int ATAPI
Conn = ATAPI, Color = Unknown
Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
Pincap 0x0810: OUT
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x40: OUT
Connection: 1

     0x06

Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [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] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 11

     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b

Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x26 [Vendor Defined Widget] wcaps 0xf00000: Mono
Codec: Generic 11c1 ID 1040
Address: 1
Vendor Id: 0x11c11040
Subsystem Id: 0x11790001
Revision Id: 0x100200
Codec: Generic ffff ID ffff
Address: 3
Vendor Id: 0xffffffff
Subsystem Id: 0xffffffff
Revision Id: 0xffffffff
Default PCM: rates 0x160, bits 0x0e, types 0x1
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x02 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x03 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x04 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x05 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x06 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x07 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x08 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x09 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x0a [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x0b [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x0c [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x0d [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x0e [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x0f [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x10 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x11 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x12 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x13 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x14 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x15 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x16 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x17 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x18 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x19 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x1a [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x1b [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x1c [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x1d [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x1e [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x1f [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x20 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x21 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x22 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x23 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x24 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x25 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

Node 0x26 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
Amp-In caps: N/A
Amp-In vals:
Amp-Out caps: N/A
Amp-Out vals: [0xffffffff 0xffffffff]
Power: 0xffffffff
Connection: 0

after seeing that kind of detail, its worth noting, this is a laptop, with just a headphone jack, a mic in, and built-in speakers.

there are no connectors on the back. :)

Julia Longtin <[email protected]>

Quoted 99 lines · Tobin Davis

Could you send some more information? What I'd like to see is the output from "lspci -s 0:14.2 -vn" and "cat /proc/asound/card0/codec*".

It appears that you have a problem similar to one I'm working on for a new codec (which hasn't been added to the alsa tree yet). This might help me fix that issue and yours as well.

Thanks,

Tobin Davis

Quoted 86 lines · On Wed, 2006-12-27 at 16:00 -0600, [email protected] wrote:

I own a toshiba L35 laptop, with a ATI SB450 sound card in it.

This card functions "adequately" with alsa 1.0.12.
it gets the "
ALSA /usr/src/alsa-driver-1.0.12/pci/hda/hda_codec.c:213: hda_codec: invalid dep_range_val 0:7fff
" errors scrolling off the screen, as reported by others,
and plays through the speakers only. this laptop has a mic (untested) and a headphone jack. plugging headphones in does stop the speakers, but dosent produce sound through the headphones.

however, switching to 1.0.13rc1 or newer (tried up to 1.0.14rc1) causes a kernel panic right after those errors stop. sound does not function in these versions.

I've tried the disable_msi=1 option, however, i was not getting a "nobody cared" message before, and turning this option on does nothing. So, i'm thinking this dosent have to do with the MSI changes recently.

the panic is as follows:

BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
f8b7b4e8
*pde = 00000000
Oops: 0002 [#1]
SMP 
Modules linked in: snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc nfs nfsd exportfs lockd nfs_acl sunrpc ipv6 dm_snapshot dm_mirror dm_mod usbhid uhci_hcd usbkbd orinoco_cs orinoco hermes tsdev joydev pcmcia firmware_class yenta_socket rsrc_nonstatic pcmcia_core i2c_piix4 shpchp pci_hotplug psmouse ati_agp agpgart i2c_core evdev serio_raw pcspkr rtc ext3 jbd mbcache ide_cd cdrom 8139cp sd_mod 8139too mii atiixp ehci_hcd ohci_hcd sata_sil usbcore libata scsi_mod generic ide_core thermal processor fan
CPU:    0
EIP:    0060:[<f8b7b4e8>]    Not tainted VLI
EFLAGS: 00010202   (2.6.18 #1) 

EIP is at get_input_type+0x67/0x85 [snd_hda_codec]
eax: 00000007 ebx: dfd169c0 ecx: 00000001 edx: 00000000
esi: 00000000 edi: f8b836c5 ebp: f7bce880 esp: f5017d3c
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 2367, ti=f5016000 task=f75ba000 task.ti=f5016000)

Stack: 00000001 f8b7bea2 0000032d dfd16a40 dfd169c0 dfd169e4 f50e2800 00000000 
       00000286 00000000 ffffe000 f5017d84 f5746ec0 00010000 00000002 c01b769c 
       f57468c0 c0185edb 0000032d 00008000 f57468c0 c0186316 f5746ec0 f5746940 
Call Trace:
 [<f8b7bea2>] build_generic_controls+0x1ed/0x2c9 [snd_hda_codec]
 [<c01b769c>] idr_get_new+0xa/0x26
 [<c0185edb>] proc_register+0x6e/0xfa
 [<c0186316>] create_proc_entry+0x87/0x9a
 [<f8a43757>] snd_create_proc_entry+0x8/0x14 [snd]
 [<f8a437fd>] snd_info_register+0x9a/0x9f [snd]
 [<f8b3eef1>] snd_pcm_lib_preallocate_pages+0xbf/0xd8 [snd_pcm]
 [<f8b3ef39>] snd_pcm_lib_preallocate_pages_for_all+0x2f/0x4c [snd_pcm]
 [<f8a54a9d>] create_codec_pcm+0xd8/0xf5 [snd_hda_intel]
 [<f8b7b0e0>] snd_hda_build_controls+0x16/0x67 [snd_hda_codec]
 [<f8a55311>] azx_probe+0x71d/0x72f [snd_hda_intel]
 [<f8a54604>] azx_send_cmd+0x0/0xd6 [snd_hda_intel]
 [<f8a54504>] azx_get_response+0x0/0x100 [snd_hda_intel]
 [<c01c1420>] pci_match_device+0x10/0xac
 [<c02107d4>] __driver_attach+0x0/0x5d
 [<c01c1508>] pci_device_probe+0x36/0x57
 [<c0210735>] driver_probe_device+0x42/0x8b
 [<c021080c>] __driver_attach+0x38/0x5d
 [<c0210256>] bus_for_each_dev+0x33/0x55
 [<c021069f>] driver_attach+0x11/0x13
 [<c02107d4>] __driver_attach+0x0/0x5d
 [<c020ff6f>] bus_add_driver+0x64/0xfd
 [<c01c1644>] __pci_register_driver+0x47/0x63
 [<c01358f5>] sys_init_module+0x16c3/0x1846
 [<c0102c7b>] syscall_call+0x7/0xb
Code: f9 02 b8 4c 35 b8 f8 eb 17 ba 51 35 b8 f8 eb 35 83 e1 0f ba 54 35 b8 f8 83 f9 02 b8 5e 35 b8 f8 0f 45 d0 eb 20 f6 43 15 10 74 03 <83> 0a 04 83 e1 0f ba 62 35 b8 f8 83 f9 02 b8 6c 35 b8 f8 eb e0 
EIP: [<f8b7b4e8>] get_input_type+0x67/0x85 [snd_hda_codec] SS:ESP 0068:f5017d3c

lspci is as follows:
00:00.0 Host bridge: ATI Technologies Inc Unknown device 5a31 (rev 01)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:12.0 IDE interface: ATI Technologies Inc ATI 4379 Serial ATA Controller (rev 80) 00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80) 00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80) 00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80) 00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 82)
00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI (rev 80) 00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80) 00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80) 01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M] 09:01.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01) 09:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 09:04.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01) (ignore the second TI cardbus controller, its a replacement wireless card)

the kernel .config is stolen from debian's 2.6.18-3-686 package, and the source is debian's linux-source-2.6.18.

i'm on list for the duration of this issue.

Julia Longtin <[email protected]>

Quoted 12 lines
Quoted 9 lines

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 7 lines · Jakub Schmidtke
Quoted 2 lines · you

the following is the last email i sent to the list reguarding this laptop. this is it "working". good luck debugging this one. ;)

Hi.

Quoted 7 lines

It would be much easier to compare those outputs if they were from similar revision of ALSA. The format has changed and is different in those two listings you have sent. Could you remove the line I have mentioned (the one at the end of patch_realtek.c file with .id = 0x10ec0862 in it? Just remove the line, recompile and reinstall the driver. It should work without that line the way it used to work before the patch, and the output of codec#0 would be in the same format :)

done and done.

sound now works, with that line removed.

faiserver:/usr/src/hg/alsa-driver#  cat /proc/asound/card0/codec#0
Codec: Realtek ID 862
Address: 0
Vendor Id: 0x10ec0862
Subsystem Id: 0x1179820d
Revision Id: 0x100001
Default PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x34 0x34]
  PCM:
    rates [0x160]: 44100 48000 96000
    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]
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x05 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x14 0x14]
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 1
     0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 6
     0x18 0x19 0x1a 0x1b 0x1c 0x1d
Node 0x0c [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 0x0b
Node 0x0d [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
     0x03 0x0b
Node 0x0e [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
     0x04 0x0b
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
     0x05 0x0b
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x081003c: IN OUT HP EAPD Detect
  Pin Default 0x99030110: [Fixed] Line Out at Int ATAPI
    Conn = ATAPI, Color = Unknown
  Pin-ctls: 0xc0: OUT HP
  Connection: 1
     0x0c
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 0x0810034: IN OUT EAPD Detect
  Pin Default 0x01014030: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
  Pin-ctls: 0x20: IN
  Connection: 1
     0x0d
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0834: IN OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Connection: 1
     0x0e
Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0834: IN OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Connection: 1
     0x0f
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x03 0x03]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x081734: IN OUT Detect
  Pin Default 0x01a19820: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
  Pin-ctls: 0x24: IN
  Connection: 1
     0x0e
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173c: IN OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Connection: 2
     0x0c* 0x0f
Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0834: IN OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Connection: 1
     0x0d
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173c: IN OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Connection: 2
     0x0c* 0x0f
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0820: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x0820: IN
  Pin Default 0x9983012f: [Fixed] Line In at Int ATAPI
    Conn = ATAPI, Color = Unknown
  Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
  Pincap 0x0810: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [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] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x26 [Vendor Defined Widget] wcaps 0xf00000: Mono

i hope this helps. wish it'd help more, and make my headphone port work. ;P

Julia Longtin <[email protected]>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#6 lore raw

I am lost :)

I have compared the codec files from mine laptop and with the one you sent. I used codec files generated by generic support.

And for my laptop it makes sense:

Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Pin Default 0x01a1183f: [Jack] Mic at Ext Rear
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Pin Default 0x99a30130: [Fixed] Mic at Int ATAPI
Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x01811031: [Jack] Line In at Ext Rear
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Pin Default 0x0121101f: [Jack] HP Out at Ext Rear
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pin Default 0x593301f0: [N/A] CD at Int ATAPI
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pin Default 0x598301f0: [N/A] Line In at Int ATAPI
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
Pin Default 0x99430120: [Fixed] SPDIF Out at Int ATAPI

And, if I understand those correctly, it says that I have one internal speaker (0x14), one internal Mic (0x19), one jack for another mic (0x18), one jack for line in (0x1a), and one jack for HP (0x1b). And this is correct, I have built-in speaker and microphone, and 3 jacks - one for HP, one for line-in and one for external mic. Oh, and this listing says that I have one internal digital output which I am not aware of ;)

But when I examine yours listing, it is... strange:

Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x99030110: [Fixed] Line Out at Int ATAPI
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x01014030: [Jack] Line Out at Ext Rear
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Pin Default 0x01a19820: [Jack] Mic at Ext Rear
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pin Default 0x9983012f: [Fixed] Line In at Int ATAPI
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

It says, that you have internal line-out (speaker, maybe?), one jack for line out, one jack for mic, and internal line-in (maybe internal mic?). So it just looks wrong.... What input/outputs do you have? Do you have internal mixer? And this listing doesn't say anything about headphones...

Since this autodetection stuff is based on BIOS (at least it says it is ;) ), maybe you could try upgrading your BIOS?

Can you get any sound out of any external inputs/outputs? Or maybethe mixer which controls your speaker volume is described in a different way? What happens if you max all the mixer settings, to get max volume (and unmuted) everywhere?
I can see that in the codec#0 from not working state you have most of your audio outputs muted, whereas they are at max volume in working state. Maybe the right output is just muted? :)

Has anybody any idea what might be a reason of such Pin Defaults? Why would it be correct for one laptop, and... at least strange for another? In both cases the generic support was used.

As I said, my adventure with ALSA and hda-intel started about two weeks ago, so maybe I am missing something obvious here? :)

I have also one more guess - if unmuting and changing volume in all of the lines doesn't change anything, maybe some of the mixers are just unavailable because detected (as the listing says: N/A) that they are not present, and muted by default. Maybe changing the driver to max all the volume levels and unmute everything by default would help, but then you wouldn't have any volume control anyway (?) :)

Hmm.. enough of that guessing for now, maybe someone more competent would come and tell what is wrong here? :P

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#7 lore raw

At Sat, 17 Feb 2007 06:19:30 +0100,

Quoted 65 lines · Jakub Schmidtke

I am lost :)

I have compared the codec files from mine laptop and with the one you sent. I used codec files generated by generic support.

And for my laptop it makes sense:

Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Pin Default 0x01a1183f: [Jack] Mic at Ext Rear
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Pin Default 0x99a30130: [Fixed] Mic at Int ATAPI
Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x01811031: [Jack] Line In at Ext Rear
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Pin Default 0x0121101f: [Jack] HP Out at Ext Rear
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pin Default 0x593301f0: [N/A] CD at Int ATAPI
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pin Default 0x598301f0: [N/A] Line In at Int ATAPI
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
Pin Default 0x99430120: [Fixed] SPDIF Out at Int ATAPI

And, if I understand those correctly, it says that I have one internal speaker (0x14), one internal Mic (0x19), one jack for another mic (0x18), one jack for line in (0x1a), and one jack for HP (0x1b). And this is correct, I have built-in speaker and microphone, and 3 jacks - one for HP, one for line-in and one for external mic. Oh, and this listing says that I have one internal digital output which I am not aware of ;)

But when I examine yours listing, it is... strange:

Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x99030110: [Fixed] Line Out at Int ATAPI
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x01014030: [Jack] Line Out at Ext Rear
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Pin Default 0x01a19820: [Jack] Mic at Ext Rear
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pin Default 0x9983012f: [Fixed] Line In at Int ATAPI
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

Quoted 2 lines

It says, that you have internal line-out (speaker, maybe?), one jack for line out, one jack for mic, and internal line-in (maybe internal mic?).

Your guess is likely correct. The hda_generic.c parser would understand in that way (assuming it was actually used).

Quoted 2 lines

So it just looks wrong.... What input/outputs do you have? Do you have internal mixer? And this listing doesn't say anything about headphones...

If the generic parser did ever work, it means that the default pin config is (somehow) correct -- at least for the output he tested.

Julia, please build the driver with --with-debug=detect, and you'll get more verbose kernel messages when loading the driver. It will show which pins are detected and how assigned.

Try both cases with and without ALC861VD/660VD patch, and show the relevant logs. Then we'll have a bit more clue.

thanks,

Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#8 lore raw
In reply to [email protected]

At Wed, 27 Dec 2006 16:00:22 -0600,

Quoted 31 lines · [email protected] wrote:

I own a toshiba L35 laptop, with a ATI SB450 sound card in it.

This card functions "adequately" with alsa 1.0.12.
it gets the "
ALSA /usr/src/alsa-driver-1.0.12/pci/hda/hda_codec.c:213: hda_codec: invalid dep_range_val 0:7fff
" errors scrolling off the screen, as reported by others,
and plays through the speakers only. this laptop has a mic (untested) and a headphone jack. plugging headphones in does stop the speakers, but dosent produce sound through the headphones.

however, switching to 1.0.13rc1 or newer (tried up to 1.0.14rc1) causes a kernel panic right after those errors stop. sound does not function in these versions.

I've tried the disable_msi=1 option, however, i was not getting a "nobody cared" message before, and turning this option on does nothing. So, i'm thinking this dosent have to do with the MSI changes recently.

the panic is as follows:

BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
f8b7b4e8
*pde = 00000000
Oops: 0002 [#1]
SMP 
Modules linked in: snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc nfs nfsd exportfs lockd nfs_acl sunrpc ipv6 dm_snapshot dm_mirror dm_mod usbhid uhci_hcd usbkbd orinoco_cs orinoco hermes tsdev joydev pcmcia firmware_class yenta_socket rsrc_nonstatic pcmcia_core i2c_piix4 shpchp pci_hotplug psmouse ati_agp agpgart i2c_core evdev serio_raw pcspkr rtc ext3 jbd mbcache ide_cd cdrom 8139cp sd_mod 8139too mii atiixp ehci_hcd ohci_hcd sata_sil usbcore libata scsi_mod generic ide_core thermal processor fan
CPU:    0
EIP:    0060:[<f8b7b4e8>]    Not tainted VLI
EFLAGS: 00010202   (2.6.18 #1) 

EIP is at get_input_type+0x67/0x85 [snd_hda_codec]
eax: 00000007 ebx: dfd169c0 ecx: 00000001 edx: 00000000
esi: 00000000 edi: f8b836c5 ebp: f7bce880 esp: f5017d3c
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 2367, ti=f5016000 task=f75ba000 task.ti=f5016000)

Quoted 5 lines
Stack: 00000001 f8b7bea2 0000032d dfd16a40 dfd169c0 dfd169e4 f50e2800 00000000 
       00000286 00000000 ffffe000 f5017d84 f5746ec0 00010000 00000002 c01b769c 
       f57468c0 c0185edb 0000032d 00008000 f57468c0 c0186316 f5746ec0 f5746940 
Call Trace:
 [<f8b7bea2>] build_generic_controls+0x1ed/0x2c9 [snd_hda_codec]

Could you try ALSA HG version?
There was a bug in hda_generic.c that may cause Oops, and got fixed recently after 1.0.14rc1.

Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#9 lore raw
Quoted 39 lines · Takashi Iwai

At Wed, 27 Dec 2006 16:00:22 -0600,

Quoted 31 lines · [email protected] wrote:

I own a toshiba L35 laptop, with a ATI SB450 sound card in it.

This card functions "adequately" with alsa 1.0.12.
it gets the "
ALSA /usr/src/alsa-driver-1.0.12/pci/hda/hda_codec.c:213: hda_codec: invalid dep_range_val 0:7fff
" errors scrolling off the screen, as reported by others,
and plays through the speakers only. this laptop has a mic (untested) and a headphone jack. plugging headphones in does stop the speakers, but dosent produce sound through the headphones.

however, switching to 1.0.13rc1 or newer (tried up to 1.0.14rc1) causes a kernel panic right after those errors stop. sound does not function in these versions.

I've tried the disable_msi=1 option, however, i was not getting a "nobody cared" message before, and turning this option on does nothing. So, i'm thinking this dosent have to do with the MSI changes recently.

the panic is as follows:

BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
f8b7b4e8
*pde = 00000000
Oops: 0002 [#1]
SMP 
Modules linked in: snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc nfs nfsd exportfs lockd nfs_acl sunrpc ipv6 dm_snapshot dm_mirror dm_mod usbhid uhci_hcd usbkbd orinoco_cs orinoco hermes tsdev joydev pcmcia firmware_class yenta_socket rsrc_nonstatic pcmcia_core i2c_piix4 shpchp pci_hotplug psmouse ati_agp agpgart i2c_core evdev serio_raw pcspkr rtc ext3 jbd mbcache ide_cd cdrom 8139cp sd_mod 8139too mii atiixp ehci_hcd ohci_hcd sata_sil usbcore libata scsi_mod generic ide_core thermal processor fan
CPU:    0
EIP:    0060:[<f8b7b4e8>]    Not tainted VLI
EFLAGS: 00010202   (2.6.18 #1) 

EIP is at get_input_type+0x67/0x85 [snd_hda_codec]
eax: 00000007 ebx: dfd169c0 ecx: 00000001 edx: 00000000
esi: 00000000 edi: f8b836c5 ebp: f7bce880 esp: f5017d3c
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 2367, ti=f5016000 task=f75ba000 task.ti=f5016000)

Quoted 5 lines
Stack: 00000001 f8b7bea2 0000032d dfd16a40 dfd169c0 dfd169e4 f50e2800 00000000 
       00000286 00000000 ffffe000 f5017d84 f5746ec0 00010000 00000002 c01b769c 
       f57468c0 c0185edb 0000032d 00008000 f57468c0 c0186316 f5746ec0 f5746940 
Call Trace:
 [<f8b7bea2>] build_generic_controls+0x1ed/0x2c9 [snd_hda_codec]
Quoted 6 lines

Could you try ALSA HG version?
There was a bug in hda_generic.c that may cause Oops, and got fixed recently after 1.0.14rc1.

Takashi

well, thats somewhat better.

note: a hint that you need to download alsa-kernel to compile alsa-driver from hg would be nice.

same behavior as 1.0.12, only, of course, more debugging is turned on in this version.

which means, i have sound, through the speakers, no headphone jack functioning, and no kernel oops.

the last output of loading the module reads as follows:

Dec 28 18:56:04 faiserver kernel: ALSA /usr/src/hg/alsa-driver/pci/hda/hda_codec.c:216: hda_codec: invalid dep_range_val 0:7fff
Dec 28 18:56:04 faiserver kernel: ALSA /usr/src/hg/alsa-driver/pci/hda/hda_codec.c:216: hda_codec: invalid dep_range_val 0:7fff
Dec 28 18:56:04 faiserver kernel: ALSA /usr/src/hg/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:623: hda-intel: get_response timeout: IRS=0x0
Dec 28 18:56:04 faiserver kernel: ALSA /usr/src/hg/alsa-driver/pci/hda/hda_codec.c:216: hda_codec: invalid dep_range_val 0:7fff
Dec 28 18:56:04 faiserver kernel: ALSA /usr/src/hg/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:623: hda-intel: get_response timeout: IRS=0x0
Dec 28 18:56:04 faiserver kernel: ALSA /usr/src/hg/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:623: hda-intel: get_response timeout: IRS=0x0
Dec 28 18:56:04 faiserver kernel: ALSA /usr/src/hg/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_generic.c:684: hda_generic: no proper input path found
Dec 28 18:56:04 faiserver kernel: ALSA /usr/src/hg/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_generic.c:431: hda_generic: no proper output path found
Dec 28 18:56:04 faiserver kernel: ALSA /usr/src/hg/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_generic.c:1002: hda_generic: no PCM found
Dec 28 18:56:04 faiserver kernel: ALSA /usr/src/hg/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/patch_si3054.c:245: si3054: cannot initialize. EXT MID = 0000
Dec 28 18:56:04 faiserver kernel: ALSA /usr/src/hg/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/patch_si3054.c:257: Link Frame Detect(FDT) is not ready (line status: 0000)

using the sound results in the following kernel messages, repeatedly.

Dec 28 18:57:15 faiserver kernel: ALSA /usr/src/hg/alsa-driver/pci/hda/hda_codec.c:216: hda_codec: invalid dep_range_val 0:7fff
Dec 28 18:57:15 faiserver kernel: ALSA /usr/src/hg/alsa-driver/pci/hda/hda_codec.c:216: hda_codec: invalid dep_range_val 0:7fff
Dec 28 18:57:15 faiserver kernel: ALSA /usr/src/hg/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:623: hda-intel: get_response timeout: IRS=0x0
Dec 28 18:57:15 faiserver kernel: ALSA /usr/src/hg/alsa-driver/pci/hda/hda_codec.c:216: hda_codec: invalid dep_range_val 0:7fff
until you close the sound, in which case you recieve the following:
Dec 28 18:57:28 faiserver kernel: hda-intel: Invalid position buffer, using LPIB read method instead.

so, this is a newer version, with the same functionality as 1.0.12, only now, it fills up my syslog. :P
no biggie. i use my laptop with headphones, so this is still "non-woring" as far as i'm concerned. i wont run out of diskspace playing sound. ;P

ask if you need any more debugging information.

Julia Longtin <[email protected]>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#10 lore raw
In reply to Takashi Iwai

This could also explain why my patch for the Stac9250 is breaking.

I've forwarded this fix to my testers. Hope it fixes their systems.

Quoted 6 lines · Takashi Iwai

Could you try ALSA HG version?
There was a bug in hda_generic.c that may cause Oops, and got fixed recently after 1.0.14rc1.

Takashi

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#11 lore raw

Nope, this didn't fix the problem.

Here is what my testers are seeing:

ALSA /home/arojasp/Drivers/alsa-driver-1.0.14rc1patch/pci/hda/hda_codec.c:216: hda_codec: invalid dep_range_val 0:7fff
ALSA /home/arojasp/Drivers/alsa-driver-1.0.14rc1patch/pci/hda/hda_codec.c:216: hda_codec: invalid dep_range_val 0:7fff
ALSA /home/arojasp/Drivers/alsa-driver-1.0.14rc1patch/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:623: hda-intel: get_response timeout: IRS=0x0 .
. # repeated multiple times
.
ALSA /home/arojasp/Drivers/alsa-driver-1.0.14rc1patch/pci/hda/hda_codec.c:216: hda_codec: invalid dep_range_val 0:7fff
ALSA /home/arojasp/Drivers/alsa-driver-1.0.14rc1patch/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:623: hda-intel: get_response timeout: IRS=0x0 ALSA /home/arojasp/Drivers/alsa-driver-1.0.14rc1patch/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:623: hda-intel: get_response timeout: IRS=0x0 ALSA /home/arojasp/Drivers/alsa-driver-1.0.14rc1patch/pci/hda/../../alsa-kernel/pci/hda/hda_generic.c:683: hda_generic: no proper input path found ALSA /home/arojasp/Drivers/alsa-driver-1.0.14rc1patch/pci/hda/../../alsa-kernel/pci/hda/hda_generic.c:431: hda_generic: no proper output path found ALSA /home/arojasp/Drivers/alsa-driver-1.0.14rc1patch/pci/hda/../../alsa-kernel/pci/hda/hda_generic.c:1001: hda_generic: no PCM found

In further communications with one of the testers, a third phantom codec is appearing with garbage data.

Codec: Generic ffff ID ffff
Address: 3
Vendor Id: 0xffffffff
Subsystem Id: 0xffffffff
Revision Id: 0xffffffff

They are getting this with and without my patch (even on alsa-driver-1.0.13). It appears that the system bios is adding this, as it is there after a clean reboot.

Any ideas?

Tobin

Quoted 15 lines · Tobin Davis

This could also explain why my patch for the Stac9250 is breaking.

I've forwarded this fix to my testers. Hope it fixes their systems.

Quoted 6 lines · Takashi Iwai

Could you try ALSA HG version?
There was a bug in hda_generic.c that may cause Oops, and got fixed recently after 1.0.14rc1.

Takashi

Signature · 1 line
Tobin Davis <[email protected]>
Signature · 1 line
Tobin Davis <[email protected]>
pci/hda/patch_sigmatel.c +125 -0
diff -r 9998aa91f5da pci/hda/patch_sigmatel.c
@@ -48,6 +48,11 @@ enum {
 };
 
 enum {
+	STAC_925x_REF,
+	STAC_925x_MODELS
+};
+
+enum {
 	STAC_D945_REF,
 	STAC_D945GTP3,
 	STAC_D945GTP5,
@@ -129,6 +134,18 @@ static hda_nid_t stac9200_dac_nids[1] = 
         0x02,
 };
 
+static hda_nid_t stac925x_adc_nids[1] = {
+        0x03,
+};
+
+static hda_nid_t stac925x_mux_nids[1] = {
+        0x0f,
+};
+
+static hda_nid_t stac925x_dac_nids[1] = {
+        0x02,
+};
+
 static hda_nid_t stac922x_adc_nids[2] = {
         0x06, 0x07,
 };
@@ -160,6 +177,11 @@ static hda_nid_t stac9200_pin_nids[8] = 
 static hda_nid_t stac9200_pin_nids[8] = {
 	0x08, 0x09, 0x0d, 0x0e, 
 	0x0f, 0x10, 0x11, 0x12,
+};
+
+static hda_nid_t stac925x_pin_nids[8] = {
+	0x07, 0x08, 0x0a, 0x0b, 
+	0x0c, 0x0d, 0x10, 0x11,
 };
 
 static hda_nid_t stac922x_pin_nids[10] = {
@@ -238,6 +260,12 @@ static struct hda_verb stac9200_core_ini
 static struct hda_verb stac9200_core_init[] = {
 	/* set dac0mux for dac converter */
 	{ 0x07, AC_VERB_SET_CONNECT_SEL, 0x00},
+	{}
+};
+
+static struct hda_verb stac925x_core_init[] = {
+	/* set dac0mux for dac converter */
+	{ 0x06, AC_VERB_SET_CONNECT_SEL, 0x00},
 	{}
 };
 
@@ -283,6 +311,23 @@ static struct snd_kcontrol_new stac9200_
 	HDA_CODEC_VOLUME("Capture Volume", 0x0a, 0, HDA_OUTPUT),
 	HDA_CODEC_MUTE("Capture Switch", 0x0a, 0, HDA_OUTPUT),
 	HDA_CODEC_VOLUME("Capture Mux Volume", 0x0c, 0, HDA_OUTPUT),
+	{ } /* end */
+};
+
+static struct snd_kcontrol_new stac925x_mixer[] = {
+	HDA_CODEC_VOLUME("Master Playback Volume", 0xe, 0, HDA_OUTPUT),
+	HDA_CODEC_MUTE("Master Playback Switch", 0xe, 0, HDA_OUTPUT),
+	{
+		.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
+		.name = "Input Source",
+		.count = 1,
+		.info = stac92xx_mux_enum_info,
+		.get = stac92xx_mux_enum_get,
+		.put = stac92xx_mux_enum_put,
+	},
+	HDA_CODEC_VOLUME("Capture Volume", 0x09, 0, HDA_OUTPUT),
+	HDA_CODEC_MUTE("Capture Switch", 0x09, 0, HDA_OUTPUT),
+	HDA_CODEC_VOLUME("Capture Mux Volume", 0x0f, 0, HDA_OUTPUT),
 	{ } /* end */
 };
 
@@ -408,6 +453,28 @@ static struct snd_pci_quirk stac9200_cfg
 		      "Dell Latitude D620", STAC_REF),
 	SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x01cb,
 		      "Dell Latitude 120L", STAC_REF),
+	{} /* terminator */
+};
+
+static unsigned int ref925x_pin_configs[8] = {
+	0x40c003f0, 0x424503f2, 0x01813022, 0x02a19021,
+	0x90a70320, 0x02214210, 0x400003f1, 0x9033032e,
+};
+
+static unsigned int *stac925x_brd_tbl[STAC_925x_MODELS] = {
+	[STAC_REF] = ref925x_pin_configs,
+};
+
+static const char *stac925x_models[STAC_925x_MODELS] = {
+	[STAC_REF] = "ref",
+};
+
+static struct snd_pci_quirk stac925x_cfg_tbl[] = {
+	/* SigmaTel reference board */
+	SND_PCI_QUIRK(PCI_VENDOR_ID_INTEL, 0x2668, "DFI LanParty", STAC_REF),
+	SND_PCI_QUIRK(0x107b, 0x0366, "Gateway MP6954", STAC_REF),
+	SND_PCI_QUIRK(0x107b, 0x0461, "Gateway NX560XL", STAC_REF),
+	SND_PCI_QUIRK(0x1002, 0x437b, "Gateway MX6453", STAC_REF),
 	{} /* terminator */
 };
 
@@ -1699,6 +1766,58 @@ static int patch_stac9200(struct hda_cod
 	return 0;
 }
 
+static int patch_stac925x(struct hda_codec *codec)
+{
+	struct sigmatel_spec *spec;
+	int err;
+
+	spec  = kzalloc(sizeof(*spec), GFP_KERNEL);
+	if (spec == NULL)
+		return -ENOMEM;
+
+	codec->spec = spec;
+	spec->num_pins = 8;
+	spec->pin_nids = stac925x_pin_nids;
+	spec->board_config = snd_hda_check_board_config(codec, STAC_925x_MODELS,
+							stac925x_models,
+							stac925x_cfg_tbl);
+	if (spec->board_config < 0) {
+		snd_printdd(KERN_INFO "hda_codec: Unknown model for STAC925x, using BIOS defaults\n");
+		err = stac92xx_save_bios_config_regs(codec);
+		if (err < 0) {
+			stac92xx_free(codec);
+			return err;
+		}
+		spec->pin_configs = spec->bios_pin_configs;
+	} else if (stac925x_brd_tbl[spec->board_config] != NULL) {
+		spec->pin_configs = stac925x_brd_tbl[spec->board_config];
+		snd_printdd(KERN_INFO "STAC925x: setting config regs\n");
+		stac92xx_set_config_regs(codec);
+	}
+
+	spec->adc_nids = stac925x_adc_nids;
+	spec->mux_nids = stac925x_mux_nids;
+	spec->num_muxes = 1;
+	spec->num_dmics = 0;
+
+	snd_printdd(KERN_INFO "STAC925x: Init.\n");
+	spec->init = stac925x_core_init;
+	spec->mixer = stac925x_mixer;
+
+	spec->multiout.dac_nids = spec->dac_nids;
+
+	snd_printdd(KERN_INFO "STAC925x: Parsing autoconfig.\n");
+	err = stac92xx_parse_auto_config(codec, 0x8, 0x7);
+	if (err < 0) {
+		stac92xx_free(codec);
+		return err;
+	}
+
+	codec->patch_ops = stac92xx_patch_ops;
+
+	return 0;
+}
+
 static int patch_stac922x(struct hda_codec *codec)
 {
 	struct sigmatel_spec *spec;
@@ -2149,6 +2268,12 @@ struct hda_codec_preset snd_hda_preset_s
  	{ .id = 0x83847627, .name = "STAC9271D", .patch = patch_stac927x },
  	{ .id = 0x83847628, .name = "STAC9274X5NH", .patch = patch_stac927x },
  	{ .id = 0x83847629, .name = "STAC9274D5NH", .patch = patch_stac927x },
+	{ .id = 0x83847632, .name = "STAC9202",  .patch = patch_stac925x },
+	{ .id = 0x83847633, .name = "STAC9202D", .patch = patch_stac925x },
+	{ .id = 0x83847634, .name = "STAC9250",  .patch = patch_stac925x },
+	{ .id = 0x83847635, .name = "STAC9250D", .patch = patch_stac925x },
+	{ .id = 0x83847636, .name = "STAC9251",  .patch = patch_stac925x },
+	{ .id = 0x83847637, .name = "STAC9250D", .patch = patch_stac925x },
  	/* The following does not take into account .id=0x83847661 when subsys =
  	 * 104D0C00 which is STAC9225s. Because of this, some SZ Notebooks are
  	 * currently not fully supported.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel