How to use a USB SD/MMC card reader?
I have an usb card reader (Apacer) in my desktop machine.
It has several slots for different card types. One of the slots accepts the compactflash cards I use in my camera. I can mount those and copy the pictures, no problems there. (It becomes /dev/sdf)
Another slot accepts SD/MMC cards. I tried inserting an MMC card, but nothing seems to happen. Using /dev/sdf doesn't work - no medium. And /dev/sdg doesn't exist.
I obviously have usb block devices & scsi working, or I'd be unable to use the compactflash cards. I have also enabled CONFIG_MMC for this kernel. (2.6.14-rc3)
Is there anything else I should do, to make the mmc slot work too?
Helge Hafting
Quoted 6 lines · Helge Hafting
I have an usb card reader (Apacer) in my desktop machine.
It has several slots for different card types. One of the slots accepts the compactflash cards I use in my camera. I can mount those and copy the pictures, no problems there. (It becomes
/dev/sdf)
Quoted 8 lines
Another slot accepts SD/MMC cards. I tried inserting an MMC card, but nothing seems to happen. Using
/dev/sdfdoesn't work - no medium. And/dev/sdgdoesn't exist.I obviously have usb block devices & scsi working, or I'd be unable to use the compactflash cards. I have also enabled
CONFIG_MMCfor this kernel. (2.6.14-rc3)Is there anything else I should do, to make the mmc slot work too?
Your adapter might use LUNs rather than IDs for each port. By default (at least on most distribution compiled kernels) only LUN 0 is scanned. You can enable scanning all LUNs on all scsi devices, or you can manually run a script that scans for scsi devices on each LUN.
I belive the scsi-mod option max_luns should be set to 5 or 7 or whatever many slots your device has, and that should hopefully make things appear.
Len Sorensen
Thanks to all who responded. The adapter did indeed use LUNs. :-)
Helge Hafting
Quoted 1 line · Helge Hafting
I have an usb card reader (Apacer) in my desktop machine.
..
Quoted 2 lines
Another slot accepts SD/MMC cards. I tried inserting an MMC card, but nothing seems to happen. Using
/dev/sdfdoesn't work - no medium.
Rebuild your kernel with "CONFIG_SCSI_MULTI_LUN" enabled (aka. "Probe all LUNs on each SCSI device" under drivers->scsi).