I have an Internal Memory Card Reader. Model Trust CR-3300.
The card reader has 4 different slots, i use 2 of them.
One slot for SD (secure digital) memory cards, one for SM (Smart Media) Memory cards,
and 2 more i dont use.
When the drivers are modprobed, the kernel reports the addition of 4 scsi devices.
But when i insert a memory card, for example SD card into the slot (/dev/sdd)
the card is not detected. and cannot to used.
"cat /proc/partitons" shows only my hard disks.
HOWEVER, if i insert the card BEFORE loading the drivers, then aswell as the 4 scsi controllers being registed, the kernel also makes note of a 512 meg card, and attaches it to /dev/sdd1.
"cat /proc/partitons" shows
major minor #blocks name
8 49 500203 sdd1
and i can mount the card as /dev/sdd1.
This is very annoying,
i have to keep loading, and unloading the drivers every time i want to use, or switch over a memory card.
EDIT: ive found i can make the kernel probe the device for new cards with the "hdparm -z /dev/sdd" command. It makes the kernel re-load partiton tables.
This command also uptades the data shown in /proc/partitons.
But this is still very annoying, it means i need to become root, anter root password, an run hdparm EVERY TIME i need ot switch a card.
There are only 2 solutions i can think of, both are messy...
1) make hdparm suid root, so i can quickly add cards with a shortcut applet in KDE.
(this is very un0-secure to give un-privilaged users access to hdparm)
2) make a boot script that runs loops forever, running hdparm -z /dev/sdd, and hdparm -z /dev/sdb, every 2 seconds.
Does anyone have a better idea ???
Ive tested the device in windows, the activity light blinks every half second.
in linux he activity light doesnt blink when the device is idle, however it does blink when i run the hdparm command.
so it seems windows is useing my hdparm on a loop method.
i suppose running 4 disks off a single usb connection means the device hs lost its ability to hot-plug ???