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 just went out and picked up a 128mb Lexar Jump Drive, plugged it into one of my USB ports on my box, and went hunting. I'm having trouble finding the exact device name that linux is giving it.
I was looking around and found info on the device in /proc/scsi/usb-storage-0 where it says:
Code:
Host scsi0: usb-storage
Vendor: LEXAR MEDIA
Product: JUMPDRIVE
Serial Number: 0000000125005
Protocol: Transparent SCSI
Transport: Bulk
GUID: 05dc00800000000000125005
Attached: Yes
now i'm wondering...where should I look to mount the device? I've seen something about sda on a laptop, i've searched through my /dev/usb, cat points to scsi0, but the device does not exist.
Mine also shows up with the same info in /proc/scsi/usb-storage-0
HOWEVER:
It refuses to allow me to mount the device, even as root with the reply "...Not a valid Block device." I even went so far as to specify -o fat=16. Any ideas?
Okay, apparently Im the only one in the world still having a problem with this. Does anyone agree with me that it could be a different revision of the product?
Don't know if I can help, but I'll try. I'm still very much a newbie, but have spent a large amount of time getting my Lexar 64MB JumpDrive working in RH9. Unfortunately I forgot to bring it to work this morning.
I'm not 100% positive, but I seem to remember that my device too showed up in /proc/scsi/usb-storage-0, but this was more informational than useful for getting it mounted and useable. I needed to find what device it was mapped to.
If you type 'dmesg' from the shell with the device plugged into the USB port, it should somewhere list that the device is actually mapped somewhere (in my case, /dev/sda1).
When I got my JumpDrive, it was already formatted for fat32, so unless you reformatted yours for fat16 (because you were using it with win98/me), I would think its still a fat32 partition. That being the case, your mount command should be something like the following:
mount -t vfat /dev/sda1 /mnt/flash
where /mnt/flash is the mountpoint (change to whatever directory you want). Depending on your system setup, you may have to be root to mount and unmount drives.
If you did reformat it to fat16, then maybe try '-t msdos' or '-t umsdos' instead of -t vfat in the mount command. (Just a guess from looking at the man page for the mount command)
I apologize if this seems redundant, but could you include the output the parts of the 'dmesg' program for us. On my system, which is RH9, if I plug in the USB drive, and type 'dmesg' on the command line, it will output a bunch of stuff, and somewhere in that output it will describe the LEXAR device (My flash drive, your brand may vary) and somewhere else it will assign the scsi ID (scsi0, scsi1, etc.).
With my drive plugged in, but not mounted, the output I get for it shows the following:
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: LEXAR Model: DIGITAL FILM Rev: /W1.
Type: Direct Access ANSI SCSI revision: 02
Note that on my notebook, scsi0 is the CD-RW drive. I believe that since the type is Direct Access, it gets an sdx device ID.
I am fast depleting my limited knowledge on the subject. Since you are using RH9 like myself, open the "Hardware Browser" from the "System Tools" menu and click on Hard Drives.
On my system, without the device mounted, I see that /dev/sda is already assigned to the flash drive. My systems lists the Hard Drive Info as the following:
This might provide some insight if it for some reason was assigned elsewhere. Have you ever re-formatted the flash drive? If so, was it reformatted for fat, fat16, or fat32?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.