Linux - HardwareThis 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.
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.
I have a USB flash adapter that allows me to connect Compact Flash cards to my computer. It works automaticly under Win2k but I cannot get it to work under Linux. I have read various HOWTO's and threads on this site. Most of them are concerned with mounting the device. My problem is that the device appears to be configured but it is not connected to any device in /dev. I have tried various sd sg and hd devices in /dev.
Does anyone have any idea what the problem is.
Following is the output from /var/log/messages and lsmod
Thanks
Paul
Apr 7 18:14:40 paul2 kernel: hub.c: USB new device connect on bus2/1, assigned device number 2
Apr 7 18:14:41 paul2 kernel: usb.c: USB device 2 (vend/prod 0x7c4/0xa400) is not claimed by any active driver.
Apr 7 18:14:44 paul2 /etc/hotplug/usb.agent: Setup usb-storage for USB product 7c4/a400/113
Apr 7 18:14:44 paul2 kernel: Initializing USB Mass Storage driver...
Apr 7 18:14:44 paul2 kernel: usb.c: registered new driver usb-storage
Apr 7 18:14:44 paul2 kernel: usb-uhci.c: interrupt, status 2, frame# 1424
Apr 7 18:14:44 paul2 kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Apr 7 18:14:44 paul2 kernel: USB Mass Storage support registered.
The USB mass storage module is a little funky, check "dmesg" and see if you have anything that looks like:
Code:
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi2 : SCSI emulation for USB Mass Storage devices
Vendor: SIIG Model: CompactFlash Car Rev: 0113
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
SCSI device sda: 15873 512-byte hdwr sectors (8 MB)
sda: test WP failed, assume Write Enabled
sda: sda1
WARNING: USB Mass Storage data integrity not assured
The actual channel info doesn't get logged to /var/log/messages sometimes depending (plus the distros monkey with it, so I've gotten partial to dmesg, its purer.)
hub.c: USB new device connect on bus1/1/3, assigned device number 3
usb.c: USB device 3 (vend/prod 0x7c4/0xa400) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
usb-uhci.c: interrupt, status 2, frame# 368
scsi2 : SCSI emulation for USB Mass Storage devices
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
USB Mass Storage support registered.
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -84
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -84
Any idea what the problem is. The error does not mean anything to me. Informantion I forgot to put in my first post is that the USB device is a Jenoptik Jenreader. The system is RH8.0.
I have tried the suggestions above but still no mountable device. The error "usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -84" suggests that the device is just not configuring properly. The card reader device is probably not compatable with Linux.
The device probably was not compatible with linux, what kernel and distro are you running, and if its 2.4.18 and RH8.0, that's a year and a half old kernel when a TON of usb support for mass-storage devices was added in both 2.4.19 and 2.4.20, I know, the PNY CF adapter I bought didn't work with 2.4.18, but worked with 2.4.19 which came out on the same day I bought the drive.
Are you sure you have compiled the appropriate support? When you configure your kernel, under the general category "USB Support" you should find modules for different flash card readers.
In my case, I have been using a Microtech CF card reader with no problems. I remember that when I started using it, I had a kernel earlier than 2.4.18 (I think it was 2.4.17 because 2.4.16 had some broken USB drivers). This card reader worked fine with 2.4.18, 2.4.19 and now 2.4.20. My deistributions have been SuSE (now I have SuSE 8.1, but I upgraded its kernel to 2.4.20). Yes, what was said above, that every time you change kernel or distribution the CF shows up as different partition, seems to be true. I consider this a small price to pay. (Under Windows, what happens if a new device takes up an available drive letter and then software "breaks" because it expected a different drive?)
The CF cards show up as VFAT partitions. My digital camera is a Nikon Coolpix 990, which seems to have major problems with its USB because it does not run very well even under Windows. A few times I think the camera screwed up the file structure or partition of a card. I had to re-attach it to the camera and review some pics and then remount it under Linux. Reviewing those pics probably forced the camera to put the card file structure back in order.
Distribution: all.. but mainly SuSe--- looks like it changing to Red Hat
Posts: 119
Rep:
I have a scandisk 6n1 reader (reads 6 different media types).. and I can mount a compact flash (havent tried the rest) fine with no problems.
the device (in redhat 8/9) is under /dev/usb/...
I'm not at my RH box right now.. and wont be back to it till Monday...
when I inserted the 6n1 reader, RH8/9 both made folders in /mnt/flash , all I had to do is issue a mount command from the /dev/usb/... to /mnt/flash and it worked. I didn't have to mess with the kernal.. (though I was useing the lated kernal from redhat via their RHN update)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.