Bug#425995: ALSA: internal sound card does not work if USB headset plugged in at boot
Package: linux-image-2.6.20-1-686
Version: 2.6.20-3
Severity: normal
I am not sure if this happens every time, but it has happened to me more
then once on two different Thinkpads: if I leave my USB headset plugged
in when I reboot, my Thinkpad a21m's internal soundcard ( Cirrus Logic
CS 4614/22/24) seems to disappear even though the driver (snd_cs46xx) is
loaded. If I bring up either kmix or gnome-alsamixer, the internal card
is not visible as a choice.
'rmmod snd_cs46xx' followed by 'modprobe snd_cs46xx' seems to restore
order.
$ lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host
bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP
bridge (rev 03)
00:02.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
00:02.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)
00:03.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro
100] (rev 09)
00:03.1 Serial controller: Xircom Mini-PCI V.90 56k Modem
00:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24
[CrystalClear SoundFusion Audio Accelerator] (rev 01)
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev
01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev
01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility
P/M AGP 2x (rev 64)
-- Package-specific info:
** Version: Linux version 2.6.20-1-686 (Debian 2.6.20-3) (waldi@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Tue Apr 24 21:52:11 UTC 2007
** Not tainted
** Kernel log:
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:02.1, mfunc 0x00001000, devctl 0x66
irda_init()
NET: Registered protocol family 23
Yenta: ISA IRQ mask 0x0438, PCI irq 11
Socket status: 30000006
piix4_smbus 0000:00:07.3: Found 0000:00:07.3 device
piix4_smbus 0000:00:07.3: IBM system detected; this module may corrupt your serial eeprom! Refusing to load module!
piix4_smbus: probe of 0000:00:07.3 failed with error -1
agpgart: Detected an Intel 440BX Chipset.
agpgart: AGP aperture is 64M @ 0xf8000000
usbcore: registered new interface driver snd-usb-audio
cannot find the slot for index 0 (range 0-0)
Sound Fusion CS46xx: probe of 0000:00:05.0 failed with error -12
pccard: PCMCIA card inserted into slot 0
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
pcmcia: registering new device pcmcia0.0
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
input: PS/2 Generic Mouse as /class/input/input3
pnp: Device 00:0e activated.
nsc_ircc_pnp_probe() : From PnP, found firbase 0x2F8 ; irq 3 ; dma 1.
nsc-ircc, chip->init
nsc-ircc, Found chip at base=0x02e
nsc-ircc, driver loaded (Dag Brattli)
IrDA: Registered device irda0
nsc-ircc, Found dongle: Reserved
nsc_ircc_init_dongle_interface(), Reserved not defined by irda yet
eth1: 3Com 3c589, io 0x300, irq 3, hw_addr 00:00:86:33:B6:2F
8K FIFO split 5:3 Rx:Tx, auto xcvr
Adding 279680k swap on /dev/hda6. Priority:-1 extents:1 across:279680k
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: mounting unchecked fs, running e2fsck is recommended
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
NTFS driver 2.1.28 [Flags: R/W MODULE].
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (2047 buckets, 16376 max)
eth1: flipped to 10baseT
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
PPP generic driver version 2.4.2
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
usb 1-1: USB disconnect, address 2
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
eth1: interrupt(s) dropped!
ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
gameport: CS46xx Gameport is pci0000:00:05.0/gameport0, speed 1807kHz
ACPI: PCI interrupt for device 0000:00:05.0 disabled
ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
cs46xx: failure waiting for FIFO command to complete
gameport: CS46xx Gameport is pci0000:00:05.0/gameport0, speed 1864kHz
** Loaded modules:
Module Size Used by
snd_cs46xx 78312 1
ppp_generic 26100 0
slhc 6144 1 ppp_generic
nf_conntrack_ftp 9856 0
nf_conntrack_irc 7192 0
ipt_REJECT 4544 4
ipt_LOG 6304 7
xt_limit 2720 7
xt_state 2560 43
xt_tcpudp 3232 36
iptable_filter 3072 1
nf_conntrack_ipv4 17772 43
nf_conntrack 58440 4 nf_conntrack_ftp,nf_conntrack_irc,xt_state,nf_conntrack_ipv4
nfnetlink 6648 2 nf_conntrack_ipv4,nf_conntrack
ip_tables 12324 1 iptable_filter
x_tables 14628 6 ipt_REJECT,ipt_LOG,xt_limit,xt_state,xt_tcpudp,ip_tables
ntfs 205364 0
vfat 12192 0
fat 48476 1 vfat
ext3 121032 2
jbd 55368 1 ext3
dm_crypt 12968 0
dm_snapshot 16580 0
dm_mirror 20340 0
dm_mod 52812 3 dm_crypt,dm_snapshot,dm_mirror
irtty_sir 8096 0
sir_dev 15364 1 irtty_sir
3c589_cs 11972 1
tsdev 7552 0
gameport 15016 2 snd_cs46xx
pcmcia 35404 1 3c589_cs
firmware_class 9632 1 pcmcia
snd_usb_audio 73344 0
snd_ac97_codec 89412 1 snd_cs46xx
snd_usb_lib 15104 1 snd_usb_audio
ac97_bus 2432 1 snd_ac97_codec
nsc_ircc 21392 0
snd_pcm_oss 39232 0
snd_mixer_oss 15488 2 snd_pcm_oss
intel_agp 22748 1
i2c_piix4 8620 0
irda 172604 3 irtty_sir,sir_dev,nsc_ircc
psmouse 35208 0
snd_rawmidi 22592 2 snd_cs46xx,snd_usb_lib
snd_seq_device 7756 1 snd_rawmidi
parport_pc 32772 0
parport 33672 1 parport_pc
agpgart 30504 1 intel_agp
rtc 12976 0
i2c_core 20736 1 i2c_piix4
yenta_socket 24940 4
pcspkr 3264 0
crc_ccitt 2240 1 irda
shpchp 31156 0
pci_hotplug 29312 1 shpchp
serio_raw 6724 0
rsrc_nonstatic 12192 1 yenta_socket
pcmcia_core 37364 4 3c589_cs,pcmcia,yenta_socket,rsrc_nonstatic
snd_hwdep 8740 1 snd_usb_audio
evdev 9376 1
snd_pcm 72036 4 snd_cs46xx,snd_usb_audio,snd_ac97_codec,snd_pcm_oss
snd_timer 20964 1 snd_pcm
snd 48196 10 snd_cs46xx,snd_usb_audio,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_rawmidi,snd_seq_device,snd_hwdep,snd_pcm,snd_timer
soundcore 7616 2 snd
snd_page_alloc 9736 2 snd_cs46xx,snd_pcm
ext2 60264 2
mbcache 8420 2 ext3,ext2
ide_cd 36672 0
cdrom 32960 1 ide_cd
ide_disk 15744 6
ata_generic 7876 0
libata 100052 1 ata_generic
scsi_mod 133100 1 libata
usbhid 23136 0
hid 22784 1 usbhid
floppy 54468 0
piix 9540 0 [permanent]
generic 4932 0 [permanent]
ide_core 114728 4 ide_cd,ide_disk,piix,generic
uhci_hcd 22160 0
usbcore 122312 5 snd_usb_audio,snd_usb_lib,usbhid,uhci_hcd
e100 32648 0
mii 5376 1 e100
thermal 13928 0
processor 30536 1 thermal
fan 4772 0
** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge [8086:7190] (rev 03)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 64
Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
Capabilities: <access denied>
00:01.0 PCI bridge [0604]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge [8086:7191] (rev 03) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 128
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 00002000-00002fff
Memory behind bridge: f4200000-f5ffffff
Prefetchable memory behind bridge: 30000000-300fffff
Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+
00:02.0 CardBus bridge [0607]: Texas Instruments PCI1450 [104c:ac1b] (rev 03)
Subsystem: IBM Thinkpad T20/T22/A21m [1014:0130]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 50000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
Memory window 0: 20000000-23fff000 (prefetchable)
Memory window 1: 24000000-27fff000
I/O window 0: 00001400-000014ff
I/O window 1: 00001c00-00001cff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
00:02.1 CardBus bridge [0607]: Texas Instruments PCI1450 [104c:ac1b] (rev 03)
Subsystem: IBM Thinkpad T20/T22/A21m [1014:0130]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168, Cache Line Size: 32 bytes
Interrupt: pin B routed to IRQ 11
Region 0: Memory at 50100000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
Memory window 0: 28000000-2bfff000 (prefetchable)
Memory window 1: 2c000000-2ffff000
I/O window 0: 00003000-000030ff
I/O window 1: 00003400-000034ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
00:03.0 Ethernet controller [0200]: Intel Corporation 82557/8/9 [Ethernet Pro 100] [8086:1229] (rev 09)
Subsystem: Intel Corporation EtherExpress PRO/100+ MiniPCI [8086:2408]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 66 (2000ns min, 14000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at f4120000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at 1800 [size=64]
Region 2: Memory at f4100000 (32-bit, non-prefetchable) [size=128K]
[virtual] Expansion ROM at 30100000 [disabled] [size=1M]
Capabilities: <access denied>
00:03.1 Serial controller [0700]: Xircom Mini-PCI V.90 56k Modem [115d:000c] (prog-if 02 [16550])
Subsystem: Intel Corporation Unknown device [8086:2408]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at 1840 [size=8]
Region 1: Memory at f4121000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
00:05.0 Multimedia audio controller [0401]: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] [1013:6003] (rev 01)
Subsystem: IBM ThinkPad A20m [1014:0153]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (1000ns min, 6000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at f4122000 (32-bit, non-prefetchable) [size=4K]
Region 1: Memory at f4000000 (32-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
00:07.0 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01) (prog-if 80 [Master])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64
Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
Region 4: I/O ports at 1850 [size=16]
00:07.2 USB Controller [0c03]: Intel Corporation 82371AB/EB/MB PIIX4 USB [8086:7112] (rev 01) (prog-if 00 [UHCI])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64
Interrupt: pin D routed to IRQ 11
Region 4: I/O ports at 1860 [size=32]
00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin ? routed to IRQ 9
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Rage Mobility P/M AGP 2x [1002:4c4d] (rev 64) (prog-if 00 [VGA])
Subsystem: IBM ThinkPad A20m/A21m [1014:0154]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 66 (2000ns min), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
Region 1: I/O ports at 2000 [size=256]
Region 2: Memory at f4200000 (32-bit, non-prefetchable) [size=4K]
[virtual] Expansion ROM at 30000000 [disabled] [size=128K]
Capabilities: <access denied>
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages linux-image-2.6.20-1-686 depends on:
ii initramfs-tools [linux-initra 0.87b tools for generating an initramfs
ii module-init-tools 3.3-pre4-2 tools for managing Linux kernel mo
Versions of packages linux-image-2.6.20-1-686 recommends:
pn libc6-i686 <none> (no description available)
-- debconf information:
linux-image-2.6.20-1-686/preinst/already-running-this-2.6.20-1-686:
linux-image-2.6.20-1-686/preinst/failed-to-move-modules-2.6.20-1-686:
linux-image-2.6.20-1-686/postinst/create-kimage-link-2.6.20-1-686: true
linux-image-2.6.20-1-686/postinst/bootloader-test-error-2.6.20-1-686:
linux-image-2.6.20-1-686/preinst/lilo-initrd-2.6.20-1-686: true
linux-image-2.6.20-1-686/prerm/would-invalidate-boot-loader-2.6.20-1-686: true
linux-image-2.6.20-1-686/preinst/abort-install-2.6.20-1-686:
shared/kernel-image/really-run-bootloader: true
linux-image-2.6.20-1-686/preinst/abort-overwrite-2.6.20-1-686:
* linux-image-2.6.20-1-686/preinst/bootloader-initrd-2.6.20-1-686: false
linux-image-2.6.20-1-686/postinst/bootloader-error-2.6.20-1-686:
linux-image-2.6.20-1-686/preinst/elilo-initrd-2.6.20-1-686: true
linux-image-2.6.20-1-686/postinst/old-dir-initrd-link-2.6.20-1-686: true
linux-image-2.6.20-1-686/postinst/depmod-error-2.6.20-1-686: false
linux-image-2.6.20-1-686/postinst/depmod-error-initrd-2.6.20-1-686: false
linux-image-2.6.20-1-686/postinst/old-initrd-link-2.6.20-1-686: true
linux-image-2.6.20-1-686/preinst/lilo-has-ramdisk:
linux-image-2.6.20-1-686/prerm/removing-running-kernel-2.6.20-1-686: true
linux-image-2.6.20-1-686/preinst/initrd-2.6.20-1-686:
linux-image-2.6.20-1-686/postinst/old-system-map-link-2.6.20-1-686: true
linux-image-2.6.20-1-686/preinst/overwriting-modules-2.6.20-1-686: true
linux-image-2.6.20-1-686/postinst/kimage-is-a-directory:
Reply to: