LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-27-2004, 01:48 AM   #1
Tomasfuego
Member
 
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168

Rep: Reputation: 30
USB Cardreader CF RW


um ....... i would like to get my USB card reader to work ....... usually i am good with giving info about stuff, but I scoured the /proc in search of a scsi device and i guess i just dont know what i am looking for.

however, i did notice it pop up in a cdrecord --scanbus search, of all things

scsibus2:
2,0,0 200) 'USB2.0 ' 'CardReader CF RW' '0.0>' Removable Disk
2,1,0 201) *
2,2,0 202) *
2,3,0 203) *
2,4,0 204) *
2,5,0 205) *
2,6,0 206) *
2,7,0 207) *

so, how do I make this thing readable ?? I am running FC1 with a 2.6.3 kernel ( the 2.6.5 does not work with my SATA hard drive for some reason).
 
Old 04-27-2004, 05:35 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,450

Rep: Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212
How are you mounting the card?

I assume the card is formatted with a vfat file system so you will need to add a umask=000 option for read / write.
 
Old 04-27-2004, 06:12 AM   #3
Tomasfuego
Member
 
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168

Original Poster
Rep: Reputation: 30
i have no idea how to mount the card .... that is what I want to find out.
 
Old 04-27-2004, 06:37 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,450

Rep: Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212
Assuming you do not have any other SCSI or other USB storage devices the ID will be /dev/sda. Assuming vfat partition:
mount -t vfat /dev/sda1 /mnt/<some_mount_point>

Use the mkdir command to create a directory for mounting.
 
Old 04-27-2004, 01:34 PM   #5
Tomasfuego
Member
 
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168

Original Poster
Rep: Reputation: 30
unfortunately, i have a SATA drive as /dev/sda and a IDE cd burner being emulated on sdb i believe .... btw, this is a 6 in 1 card reader, and in Windoze it shows up as multiple hard drives.
 
Old 04-27-2004, 01:51 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,450

Rep: Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212
The CD burner should be scd0. I'm not familar with a 6 in 1 reader. If it shows up as multiple devices in linux then the first should be /dev/sdb.
 
Old 04-27-2004, 01:58 PM   #7
Tomasfuego
Member
 
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168

Original Poster
Rep: Reputation: 30
i think you are right ..... i ls -l the /dev/cdrom device, and it points to /dev/hdd .... i thought it was emulating ....... so i stick the SD card in and try to mount the sucker, but i get this:

# mount /dev/sdb /mnt/sd -t vfat
mount: No medium found

is there something i need to edit in grub.conf or what not maybe? I am using a 2.6.3 kerenel at the moment.
 
Old 04-27-2004, 02:12 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,450

Rep: Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212
The slot you inserted card in is not sdb. Look at the output of dmesg. That might give a clue on which device it should be.
 
Old 04-27-2004, 02:42 PM   #9
Tomasfuego
Member
 
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168

Original Poster
Rep: Reputation: 30
i couldnt find anything else relevant .... i tried mounting sg1, and it said it wasnt a block device
~~~~~~~~~~~~~~~~~~~~~~~~~~~

drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
ehci_hcd 0000:00:1d.7: EHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 23, pci mem 42957000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
drivers/usb/core/usb.c: registered new driver hiddev
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
usb 1-3: new high speed USB device using address 2
usb 1-8: new high speed USB device using address 3
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
Vendor: USB2.0 Model: CardReader CF RW Rev: 0.0>
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
EXT3 FS on sda2, internal journal
Adding 2048276k swap on /dev/sda4. Priority:-1 extents:1
hdd: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
microcode: error! Bad data in microcode data file
microcode: Error in the microcode data
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0, type 0
 
Old 05-11-2004, 04:55 PM   #10
Kaninchen
LQ Newbie
 
Registered: May 2004
Location: Wormer @ The Netherlands
Distribution: Mandrake
Posts: 13

Rep: Reputation: 0
i have the same problem but i think the CF is on sde
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Cardreader erichotto Linux - Hardware 2 06-25-2004 12:48 PM
usb cardreader/writer godders48 Linux - Hardware 6 11-09-2003 02:54 PM
usb cardreader on RH9.0 barrys Red Hat 3 10-15-2003 11:46 PM
usb cardreader godders48 Mandriva 5 10-04-2003 10:13 AM
How can I use the USB CardReader in linux? Leonadia Linux - Hardware 13 06-26-2003 05:50 PM

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

All times are GMT -5. The time now is 12:23 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