[SATLUG] Re: SATLUG Digest, Vol 40,
Issue 53 cannot access sd card Kubuntu
Vern Davis
vern.davis at gmail.com
Wed May 30 13:24:34 CDT 2007
On 5/30/07, Todd W. Bucy <toddwbucy at grandecom.net> wrote:
>
> and my fstab
>
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point> <type> <options> <dump> <pass>
> proc /proc proc defaults 0 0
> # /dev/sda1
> UUID=fde3abc3-9f37-41da-add7-3e87f2bae66b / reiserfs notail 0 1
> # /dev/sda3
> UUID=9a29aada-0fd6-422a-90d0-6300e9928c4c /home reiserfs defaults 0 2
> # /dev/sda2
> UUID=b7689728-2b11-44b9-9678-8d8b188851e8 none swap sw 0 0
> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
>
> as you can see its not listed in my fstab. I am somewhat warry of messing with my fstab as last time I messed with it I really screwed it up and ended up reinstalling kubuntu. (like I said I am a noob) That being said I am not adverse to learning how I might edit it so that I can get my SD card reader to work. Also I tried the following fix at https://answers.launchpad.net/ubuntu/+source/gnome-panel/+question/6262
> and it did not work for me either. admitidly thought it was for the Texas Instruments PCIxx21 Integrated FlashMedia Controller and not the Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) (which is what I have on my laptop)
>
> Todd
I'm not using Uboontoo Fester, I'm using FC6 Crusty, but I always;
1. su - (become root)
2. tail -v /var/log/messages
3. Plug the card into the recalcitrant device and then plug the device
into the USB slot.
4. Watch the output of the tail command, above. When I plug in my card
reader I see something like;
May 30 13:02:12 deuce kernel: SCSI device sdd: 4005888 512-byte
hdwr sectors (2051 MB)
May 30 13:02:12 deuce kernel: sdd: Write Protect is off
May 30 13:02:12 deuce kernel: sdd: assuming drive cache: write through
May 30 13:02:12 deuce kernel: SCSI device sdd: 4005888 512-byte
hdwr sectors (2051 MB)
May 30 13:02:12 deuce kernel: sdd: Write Protect is off
May 30 13:02:12 deuce kernel: sdd: assuming drive cache: write through
May 30 13:02:12 deuce kernel: sdd: sdd1
May 30 13:02:12 deuce kernel: sd 5:0:0:0: Attached scsi removable disk sdd
May 30 13:02:12 deuce kernel: sd 5:0:0:0: Attached scsi generic sg3 type 0
Which tells me that udev found (created? conceived?) the device as /dev/sdd1.
5. Make a directory to mount the device, common places are /mnt or /media;
mkdir -m 777 /media/card_reader
6. Edit (I know, causes shudders in N00bs) /etc/fstab. Here's what
mine looks like;
/dev/sdd1 /media/card_reader auto users,noauto,rw 0 0
7. Mount the device;
mount /media/card_reader
8. Don't forget to sync; sync after any write to the card.
9. Don't forget to umount /media/card_reader before unplugging.
There are probably better options for the fstab line that may even
make the syncing and unmounting (semi) automatic, but this works for
me - but then I also drive a stick shift.
Good Luck!
--
vern.davis at gmail.com
More information about the SATLUG
mailing list