Comment 8 for bug 366478

Revision history for this message
RK (kubuntu-rk) wrote : Re: Alcor Micro Corp. Multimedia Card Reader don't work in Ubuntu 9.04/9.10 (058f:6362 Device offlined)

the issue with current karmic is this:
(resetting usb)
Oct 31 17:05:02 rk kernel: [ 3327.661192] usb-storage: device scan complete
Oct 31 17:05:02 rk kernel: [ 3327.662754] scsi 15:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0
Oct 31 17:05:02 rk kernel: [ 3327.663369] scsi 15:0:0:1: Direct-Access Generic USB CF Reader 1.01 PQ: 0 ANSI: 0
Oct 31 17:05:02 rk kernel: [ 3327.663992] scsi 15:0:0:2: Direct-Access Generic USB SM Reader 1.02 PQ: 0 ANSI: 0
Oct 31 17:05:02 rk kernel: [ 3327.665123] scsi 15:0:0:3: Direct-Access Generic USB MS Reader 1.03 PQ: 0 ANSI: 0
Oct 31 17:05:02 rk kernel: [ 3327.665759] sd 15:0:0:0: Attached scsi generic sg4 type 0
Oct 31 17:05:02 rk kernel: [ 3327.665878] sd 15:0:0:1: Attached scsi generic sg5 type 0
Oct 31 17:05:02 rk kernel: [ 3327.665999] sd 15:0:0:2: Attached scsi generic sg6 type 0
Oct 31 17:05:02 rk kernel: [ 3327.666124] sd 15:0:0:3: Attached scsi generic sg7 type 0
Oct 31 17:05:02 rk kernel: [ 3327.690125] sd 15:0:0:1: [sdd] Attached SCSI removable disk
Oct 31 17:05:02 rk kernel: [ 3327.700025] sd 15:0:0:0: [sdc] Attached SCSI removable disk
Oct 31 17:05:02 rk kernel: [ 3327.701382] sd 15:0:0:2: [sde] Attached SCSI removable disk
Oct 31 17:05:02 rk kernel: [ 3327.712350] sd 15:0:0:3: [sdf] Attached SCSI removable disk
Inserting card:
Oct 31 17:06:55 rk kernel: [ 3441.101035] usb 1-7: reset high speed USB device using ehci_hcd and address 50
Oct 31 17:07:05 rk kernel: [ 3451.344611] usb 1-7: reset high speed USB device using ehci_hcd and address 50
Oct 31 17:07:22 rk kernel: [ 3467.589038] usb 1-7: reset high speed USB device using ehci_hcd and address 50
Oct 31 17:07:22 rk kernel: [ 3467.837031] usb 1-7: reset high speed USB device using ehci_hcd and address 50
Oct 31 17:07:32 rk kernel: [ 3478.087544] usb 1-7: reset high speed USB device using ehci_hcd and address 50
Oct 31 17:07:32 rk kernel: [ 3478.223685] sd 15:0:0:0: Device offlined - not ready after error recovery

Unplugging internal(!) card reader while system is running:
Oct 31 17:20:43 rk kernel: [ 4268.587638] usb 1-7: USB disconnect, address 50
Oct 31 17:20:46 rk kernel: [ 4272.497032] usb 1-7: new high speed USB device using ehci_hcd and address 53
Oct 31 17:20:47 rk kernel: [ 4272.632050] usb 1-7: configuration #1 chosen from 1 choice
Oct 31 17:20:47 rk kernel: [ 4272.633511] scsi16 : SCSI emulation for USB Mass Storage devices
Oct 31 17:20:47 rk kernel: [ 4272.633822] usb-storage: device found at 53
Oct 31 17:20:47 rk kernel: [ 4272.633827] usb-storage: waiting for device to settle before scanning
Oct 31 17:20:52 rk kernel: [ 4277.632247] usb-storage: device scan complete
Oct 31 17:20:52 rk kernel: [ 4277.634159] scsi 16:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0
Oct 31 17:20:52 rk kernel: [ 4277.634774] scsi 16:0:0:1: Direct-Access Generic USB CF Reader 1.01 PQ: 0 ANSI: 0
Oct 31 17:20:52 rk kernel: [ 4277.635395] scsi 16:0:0:2: Direct-Access Generic USB SM Reader 1.02 PQ: 0 ANSI: 0
Oct 31 17:20:52 rk kernel: [ 4277.636041] scsi 16:0:0:3: Direct-Access Generic USB MS Reader 1.03 PQ: 0 ANSI: 0
Oct 31 17:20:52 rk kernel: [ 4277.638314] sd 16:0:0:0: Attached scsi generic sg4 type 0
Oct 31 17:20:52 rk kernel: [ 4277.638517] sd 16:0:0:1: Attached scsi generic sg5 type 0
Oct 31 17:20:52 rk kernel: [ 4277.638719] sd 16:0:0:2: Attached scsi generic sg6 type 0
Oct 31 17:20:52 rk kernel: [ 4277.638920] sd 16:0:0:3: Attached scsi generic sg7 type 0
Oct 31 17:20:52 rk kernel: [ 4278.173608] sd 16:0:0:1: [sdd] Attached SCSI removable disk
Oct 31 17:20:52 rk kernel: [ 4278.176407] sd 16:0:0:2: [sde] Attached SCSI removable disk
Oct 31 17:20:52 rk kernel: [ 4278.178770] sd 16:0:0:3: [sdf] Attached SCSI removable disk
Oct 31 17:20:52 rk kernel: [ 4278.179132] sd 16:0:0:0: [sdc] 7812096 512-byte logical blocks: (3.99 GB/3.72 GiB)
Oct 31 17:20:52 rk kernel: [ 4278.182721] sd 16:0:0:0: [sdc] Write Protect is off
Oct 31 17:20:52 rk kernel: [ 4278.182730] sd 16:0:0:0: [sdc] Mode Sense: 03 00 00 00
Oct 31 17:20:52 rk kernel: [ 4278.182736] sd 16:0:0:0: [sdc] Assuming drive cache: write through
Oct 31 17:20:52 rk kernel: [ 4278.209158] sd 16:0:0:0: [sdc] Assuming drive cache: write through
Oct 31 17:20:52 rk kernel: [ 4278.209174] sdc: sdc1
Oct 31 17:20:52 rk kernel: [ 4278.230858] sd 16:0:0:0: [sdc] Assuming drive cache: write through
Oct 31 17:20:52 rk kernel: [ 4278.230874] sd 16:0:0:0: [sdc] Attached SCSI removable disk
Oct 31 17:20:53 rk hald: mounted /dev/sdc1 on behalf of uid 1000

So the question is: how can I trigger a re-plug by software? Or is Linux doing something wierd to the card reader during startup?

Btw, this issue crops up elsewhere on the net, with no solution in sight:
http://forum.ubuntuusers.de/topic/bug-usb-interner-cardreader/
http://forum.ubuntuusers.de/topic/falscher-cardreader/
http://bbs.archlinux.org/viewtopic.php?pid=560981
http://ubuntuforums.org/showthread.php?t=1136196
http://ubuntuforums.org/showthread.php?t=945675

The last source points to it being a kernel issue...