LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-16-2004, 03:58 PM   #1
LittleFox
LQ Newbie
 
Registered: Mar 2004
Location: Belgium
Distribution: Debian testing & Ubuntu
Posts: 7

Rep: Reputation: 0
USB card reader


Hello, I am a newbie and cannot mount my card reader. Could you take a look at this, please ?


0) Linux Mandrake 9.2, kernel 2.4.22.
SanDisk ImageMate-SDDR-93-02 with a 256 MB SD memory card.


1) I boot without connecting the card reader.
ls /dev/sd* returns nothing.


2) Then, I connect the card reader.
fdisk -l :
Disk /dev/scsi/host1/bus0/target0/lun0/disc: 252 MB, 252968960 bytes
16 heads, 32 sectors/track, 965 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

....................................................Device...Boot.Start.......End.....Blocks.....Id. .System
/dev/scsi/host1/bus0/target0/lun0/part1.................1.......965.....246989+.6..FAT16

dmesg :
...
hub.c: new USB device 00:10.3-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x781/0x9393) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Generic Model: STORAGE DEVICE Rev: 0119
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
sda: Unit Not Ready, sense:
Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
SCSI device sda: 494080 512-byte hdwr sectors (253 MB)
sda: Write Protect is off
/dev/scsi/host1/bus0/target0/lun0: p1
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x85 len 512 ret -110
HDLC line discipline: version $Revision: 3.7 $, maxframe=4096
N_HDLC line discipline registered.
...


3) mount -t vfat /dev/sda1 /mnt/test works but ls /mnt/test/ returns me
this :
zs: /mnt/test/"
¿î/.8?: No such file or directory
???àbªæ?.g(?/ à?rmh?pf.?z?/ ç??? ??(.«æ?/ dcim/ ?êd?g?h?.?c$* misc/ ?@?ö????.¡ìm/

dcim/ and misc/ does exist, but are empty here.


4) cat /etc/fstab :
/dev/hdb1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb6 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-15 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-15 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,sync,codepage=850,iocharset=iso8859-15 0 0
/dev/hda2 /mnt/win_c ntfs ro,umask=0,iocharset=iso8859-15 0 0
/dev/hda5 /mnt/win_d ntfs ro,umask=0,iocharset=iso8859-15 0 0
none /proc proc defaults 0 0
/dev/hdb5 swap swap defaults 0 0
/dev/sda1 /mnt/deleteme auto auto,user,rw 0 0

none /mnt/removable supermount dev=/dev/sda1,fs=ext2:vfat,--,codepage=850,iocharset=iso8859-15,kudzu 0 0


5) When I double-clik on "/mnt/removable" icon on my desktop, the windows does
not contain any file.


Any clue ?

Last edited by LittleFox; 03-16-2004 at 04:10 PM.
 
Old 03-16-2004, 06:34 PM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Just guessing here, but maybe the filesystem on the flash card has been corrupted. I've seen a digital camera do that. You could try putting it back in the camera, saving your pictures, reformatting and trying again.
 
Old 03-16-2004, 10:49 PM   #3
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Don't try to hotplug the card reader into the USB port until there is a card in it.
You really can't hotplug the SD Cards themselves...
 
Old 03-17-2004, 03:57 AM   #4
LittleFox
LQ Newbie
 
Registered: Mar 2004
Location: Belgium
Distribution: Debian testing & Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
I always leave the card in the reader. I rather plug/unplug the reader itself.

I'll try formatting the card with the camera this afternoon.
 
Old 03-17-2004, 06:03 PM   #5
LittleFox
LQ Newbie
 
Registered: Mar 2004
Location: Belgium
Distribution: Debian testing & Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
I've formatted the card and it worked !

It's now as simple as mount /dev/sda1 /mnt/test and umount /mnt/test.

Thanks a lot.

Last edited by LittleFox; 03-17-2004 at 06:07 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB jumpdrive/ USB hud-card reader issues o0gnubee0o Linux - Hardware 4 07-03-2005 06:12 PM
USB Card Reader Bryanlee Linux - Hardware 4 05-12-2005 05:27 AM
USB card reader doctorwebbox Linux - Hardware 1 03-04-2005 11:09 PM
USB multi-card reader; only one card can be mounted in Slack 10. KidsWriter71 Linux - Hardware 6 09-11-2004 07:24 PM
Recognizing USB card reader when card is inserted hqo201 Fedora 0 08-02-2004 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration