To this point, whenever I've plugged a storage device (flash drive, mp3 player) into a USB plug, it's magically mounted and I get an icon on my desktop.
I've just got a card reader and it doesn't automount. I can mount it manually with "mount /dev/sdb1 /mnt/temp" and that works fine.
I would prefer to have it automount and give me the desktop icon. Unfortunately, I don't yet know enough about the automounting mechanism to know what I need to change to make this happen.
Here is the relevant portion of /var/log/messages when I plug in the card reader:
Sep 4 16:31:11 bargainhunter kernel: usb 7-6: new high speed USB device using e hci_hcd and address 12 Sep 4 16:31:11 bargainhunter kernel: usb 7-6: configuration #1 chosen from 1 ch oice Sep 4 16:31:11 bargainhunter kernel: scsi11 : SCSI emulation for USB Mass Stora ge devices Sep 4 16:31:16 bargainhunter kernel: Vendor: Generic Model: USB SD Reader Rev: 1.00 Sep 4 16:31:16 bargainhunter kernel: Type: Direct-Access ANSI SCSI revision: 00 Sep 4 16:31:16 bargainhunter kernel: SCSI device sdb: 3901440 512-byte hdwr sec tors (1998 MB) Sep 4 16:31:16 bargainhunter kernel: sdb: Write Protect is off Sep 4 16:31:16 bargainhunter kernel: sdb: assuming drive cache: write through Sep 4 16:31:16 bargainhunter kernel: SCSI device sdb: 3901440 512-byte hdwr sec tors (1998 MB) Sep 4 16:31:16 bargainhunter kernel: sdb: Write Protect is off Sep 4 16:31:16 bargainhunter kernel: sdb: assuming drive cache: write through Sep 4 16:31:16 bargainhunter kernel: sdb: sdb1 Sep 4 16:31:16 bargainhunter kernel: sd 11:0:0:0: Attached scsi removable disk sdb Sep 4 16:31:16 bargainhunter kernel: sd 11:0:0:0: Attached scsi generic sg2 typ e 0 Sep 4 16:31:16 bargainhunter kernel: Vendor: Generic Model: USB CF Reader Rev: 1.01 Sep 4 16:31:16 bargainhunter kernel: Type: Direct-Access ANSI SCSI revision: 00 Sep 4 16:31:16 bargainhunter kernel: sd 11:0:0:1: Attached scsi removable disk sdc Sep 4 16:31:16 bargainhunter kernel: sd 11:0:0:1: Attached scsi generic sg3 typ e 0 Sep 4 16:31:16 bargainhunter kernel: Vendor: Generic Model: USB SM Reader Rev: 1.02 Sep 4 16:31:16 bargainhunter kernel: Type: Direct-Access ANSI SCSI revision: 00 Sep 4 16:31:16 bargainhunter kernel: sd 11:0:0:2: Attached scsi removable disk sdd Sep 4 16:31:16 bargainhunter kernel: sd 11:0:0:2: Attached scsi generic sg4 typ e 0 Sep 4 16:31:16 bargainhunter kernel: Vendor: Generic Model: USB MS Reader Rev: 1.03 Sep 4 16:31:16 bargainhunter kernel: Type: Direct-Access ANSI SCSI revision: 00 Sep 4 16:31:16 bargainhunter kernel: sd 11:0:0:3: Attached scsi removable disk sde Sep 4 16:31:16 bargainhunter kernel: sd 11:0:0:3: Attached scsi generic sg5 typ e 0
Again, it works fine if I use a mount command to mount it myself. How can I get it to automount and give me the desktop icon?
On Thu, Sep 4, 2008 at 4:03 PM, Frank Cox theatre@sasktel.net wrote:
To this point, whenever I've plugged a storage device (flash drive, mp3 player) into a USB plug, it's magically mounted and I get an icon on my desktop.
I've just got a card reader and it doesn't automount. I can mount it manually with "mount /dev/sdb1 /mnt/temp" and that works fine.
I believe that a card reader is not a storage device per se and, hence, does not mount until you connect it with a card plugged into it or plug a card into it. I've never used mine any other way, and it always works just fine.
mhr
On Thu, 04 Sep 2008 16:50:08 -0700 MHR mhullrich@gmail.com wrote:
I believe that a card reader is not a storage device per se and, hence, does not mount until you connect it with a card plugged into it or plug a card into it. I've never used mine any other way, and it always works just fine.
I have plugged it in with a card already in the reader. As previously stated, I can then mount it manually and read the contents of the card.
If I remove and re-insert the card into the reader, nothing appears to happen. At least, no entries are created in /var/log/messages.
On Thu, Sep 4, 2008 at 5:52 PM, Frank Cox theatre@sasktel.net wrote:
I have plugged it in with a card already in the reader. As previously stated, I can then mount it manually and read the contents of the card.
Actually, you didn't specify in your original post whether or not you had a card in the reader when you plugged the reader into your machine, but that's also useful information.
If I remove and re-insert the card into the reader, nothing appears to happen. At least, no entries are created in /var/log/messages.
Could be a hardware issue between the reader and your m/b, or CentOS. More information could be helpful (i.e., your hardware configuration...).
I'm just going on my own experience here - I have one, older card reader that mounts only when there's a card in it when I plug it in, and I unplug the reader before unplugging the card, too (usually after unmounting it, too).
Every once in a while, I've had similar problems with my flash drives, but not recently.
Sorry I wasn't more help - anyone else?
mhr
On Thu, 04 Sep 2008 18:24:46 -0700 MHR mhullrich@gmail.com wrote:
I'm just going on my own experience here - I have one, older card reader that mounts only when there's a card in it when I plug it in, and I unplug the reader before unplugging the card, too (usually after unmounting it, too).
Having given this more thought, I'm wondering if the problem may be that the reader isn't reporting the presence of the card. Since nothing appears to happen when a card is inserted into the reader, Centos has no way of knowing that a card is present and it's now time to mount it.
On Thu, 04 Sep 2008 20:54:53 -0600 Frank Cox theatre@sasktel.net wrote:
Having given this more thought, I'm wondering if the problem may be that the reader isn't reporting the presence of the card. Since nothing appears to happen when a card is inserted into the reader, Centos has no way of knowing that a card is present and it's now time to mount it.
The person who owns the computer in question just sent me an email to say that the card reader is now working. She plugged in her flash drive and that didn't work either, so she rebooted the machine and now the flash drive and the card reader are both working.
So... problem solved. Somehow.
On Fri, Sep 5, 2008 at 11:35 AM, Frank Cox theatre@sasktel.net wrote:
The person who owns the computer in question just sent me an email to say that the card reader is now working. She plugged in her flash drive and that didn't work either, so she rebooted the machine and now the flash drive and the card reader are both working.
So... problem solved. Somehow.
AFAICT, there is something odd about the way card readers work, such that they seem to be passive devices, by which I mean that they don't do anything unless a card is in them when they are plugged into the reading host, and removing the card and plugging in another one doesn't do enough to spark the host's interest.
I have always had to plug the card into the reader, then the reader into the host; after 'umount'ing the device, I unplug the reader, then remove the card to put in another one (if I want to read more than one), then plug the reader back in. Maybe that's just my reader, but I suspect the USB-based ones are not all too different.
Anyway, as long as your problem is solved, that's good. Hopefully.
mhr
Frank Cox a écrit :
I've just got a card reader and it doesn't automount. I can mount it manually with "mount /dev/sdb1 /mnt/temp" and that works fine.
I would prefer to have it automount and give me the desktop icon. Unfortunately, I don't yet know enough about the automounting mechanism to know what I need to change to make this happen.
Try this:
# /etc/init.d/pcscd start --> Smart Card Reader daemon!
And if it works:
# chkconfig pcscd on
Enjoy!
Niki Kovacs