[Virtual-pkg-base-maintainers] Bug#684306: base: insertion of SD card in existing card reader does not trigger any event

WoJ debian-bug at swtk.info
Wed Aug 8 15:10:42 UTC 2012


Package: base
Severity: normal

Dear Maintainer,

I have a headless debian (3.2.0-3-686-pae) to which I wanted to attach a
standalone card reader to automatically process my pictures. The idea is
that the reader will be plugged in all the time and I would just insert the
SD card.

Unfortunately the card is not detected when I insert it.

 - the card reader is correctly recognized
 - when I connect the card reader with the SD card already inserted both are
 - correctly recognized and the card is automatically mounted.

Therefore this is the action of inserting the card into a working card
reader which is not recognized. There are no messages in /var/log/messages
(nor anywhere else). When the card reader is inserted the messages are
correct:

    Aug  4 14:25:03 server kernel: [711743.411320] usb 1-6: USB disconnect, device number 5
    Aug  4 14:25:12 server kernel: [711751.964021] usb 1-6: new high-speed USB device number 6 using ehci_hcd
    Aug  4 14:25:12 server kernel: [711752.097364] usb 1-6: New USB device found, idVendor=058f, idProduct=6366
    Aug  4 14:25:12 server kernel: [711752.097369] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    Aug  4 14:25:12 server kernel: [711752.097373] usb 1-6: Product: Mass Storage Device
    Aug  4 14:25:12 server kernel: [711752.097375] usb 1-6: Manufacturer: Generic
    Aug  4 14:25:12 server kernel: [711752.097377] usb 1-6: SerialNumber: 058F63666433
    Aug  4 14:25:12 server kernel: [711752.098062] scsi4 : usb-storage 1-6:1.0
    Aug  4 14:25:13 server kernel: [711753.224612] scsi 4:0:0:0: Direct-Access     Multiple Card  Reader     1.00 PQ: 0 ANSI: 0
    Aug  4 14:25:14 server kernel: [711753.810820] sd 4:0:0:0: [sdc] 1984000 512-byte logical blocks: (1.01 GB/968 MiB)
    Aug  4 14:25:14 server kernel: [711753.811559] sd 4:0:0:0: [sdc] Write Protect is off
    Aug  4 14:25:14 server kernel: [711753.829719]  sdc: sdc1
    Aug  4 14:25:14 server kernel: [711753.840025] sd 4:0:0:0: [sdc] Attached SCSI removable disk

This question was initially asked at
http://superuser.com/questions/457497/how-do-i-detect-sd-card-insertion-just-the-sd-card-not-the-card-reader-in-lin
 and two users commented with the fact that their systems do record an event
when the card is inserted:

"detected capacity change from 0 to 123456789"
and
[ 4366.893775] r592: IRQ: card removed 
[ 4375.765801] r592: IRQ: card added
[ 4376.519845] memstick0: switching to 4-bit parallel mode 
[ 4376.523049] mspblk0: p1 

I log all events (*.* in syslog.conf)

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (650, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (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/dash



More information about the Virtual-pkg-base-maintainers mailing list