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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-27-2004, 01:48 AM
|
#1
|
Member
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168
Rep:
|
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).
|
|
|
04-27-2004, 05:35 AM
|
#2
|
Moderator
Registered: Aug 2002
Posts: 26,450
|
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.
|
|
|
04-27-2004, 06:12 AM
|
#3
|
Member
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168
Original Poster
Rep:
|
i have no idea how to mount the card .... that is what I want to find out.
|
|
|
04-27-2004, 06:37 AM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,450
|
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.
|
|
|
04-27-2004, 01:34 PM
|
#5
|
Member
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168
Original Poster
Rep:
|
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.
|
|
|
04-27-2004, 01:51 PM
|
#6
|
Moderator
Registered: Aug 2002
Posts: 26,450
|
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.
|
|
|
04-27-2004, 01:58 PM
|
#7
|
Member
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168
Original Poster
Rep:
|
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.
|
|
|
04-27-2004, 02:12 PM
|
#8
|
Moderator
Registered: Aug 2002
Posts: 26,450
|
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.
|
|
|
04-27-2004, 02:42 PM
|
#9
|
Member
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168
Original Poster
Rep:
|
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
|
|
|
05-11-2004, 04:55 PM
|
#10
|
LQ Newbie
Registered: May 2004
Location: Wormer @ The Netherlands
Distribution: Mandrake
Posts: 13
Rep:
|
i have the same problem but i think the CF is on sde
|
|
|
All times are GMT -5. The time now is 12:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|