[Nelug] built in SD card reader woes

Martin Ward martin at gkc.org.uk
Mon Nov 20 16:15:37 UTC 2006


On Monday 20 Nov 2006 15:08, David Flower wrote:
> i have an acer travelmate 4650 with a  ENE Technology Inc ENE PCI
> Secure Digital Card Reader Controller (rev 01)
>
> and i cant find any informatiuon on how to make it work apart from the
> odd ubuntu user who claims it works straight out of the box

First step is to plug in a card and see what (if any) messages appear in
/var/log/messages. Eg, as root run:

tail -f /var/log/messages

then plug in a card and see what pops up.

This is what I get when I plug in a USB compact flash card reader:

Nov 20 16:09:48 pingu4 kernel: usb 4-2: new full speed USB device using 
uhci_hcd and address 2
Nov 20 16:09:48 pingu4 kernel: scsi6 : SCSI emulation for USB Mass Storage 
devices
Nov 20 16:09:53 pingu4 kernel:   Vendor: Generic   Model: STORAGE DEVICE    
Rev: 0.01
Nov 20 16:09:53 pingu4 kernel:   Type:   Direct-Access                      
ANSI SCSI revision: 00
Nov 20 16:09:53 pingu4 kernel: SCSI device sdc: 29313 512-byte hdwr sectors 
(15 MB)
Nov 20 16:09:53 pingu4 kernel: sdc: test WP failed, assume Write Enabled
Nov 20 16:09:53 pingu4 kernel: sdc: assuming drive cache: write through
Nov 20 16:09:53 pingu4 kernel: SCSI device sdc: 29313 512-byte hdwr sectors 
(15 MB)
Nov 20 16:09:53 pingu4 kernel: sdc: test WP failed, assume Write Enabled
Nov 20 16:09:53 pingu4 kernel: sdc: assuming drive cache: write through
Nov 20 16:09:53 pingu4 kernel:  /dev/scsi/host6/bus0/target0/lun0: p1
Nov 20 16:09:53 pingu4 kernel: Attached scsi removable disk sdc at scsi6, 
channel 0, id 0, lun 0
Nov 20 16:10:00 pingu4 CROND[19015]: (martin) CMD (/home/martin/bin/mygetmail) 

The key line is:

Nov 20 16:09:53 pingu4 kernel: SCSI device sdc: 29313 512-byte hdwr sectors 
(15 MB)

"device sdc" means that the flash card has been treated as  SCSI drive C.
The device to mount is /dev/sdc1 (the first partition on disk sdc):

mount /dev/sdc1 /mnt/cf

This will mount the disk at /mnt/cf (you need to create this directory first).

Don't forget to umount the device before you unplug the card!

-- 
			Martin

martin at gkc.org.uk http://www.cse.dmu.ac.uk/~mward/ Erdos number: 4
G.K.Chesterton web site: http://www.cse.dmu.ac.uk/~mward/gkc/




More information about the Nelug mailing list