Cannot detect usb keysForum: Other Help Topics Topic: Cannot detect usb keys started by: Tekno Posted by Tekno on Mar. 13 2006,23:10
Help!I have been using DSL for some time now, but this problem is still beyond my expertise. I have tried everything that I can think of, but DSL will not detect my USB keys (2). I have not tried any command line script because I do not know any for this purpose. Maybe I should clarify this post. I plug the key in, and the computer acesses it, but I cannot find it in emelfm or Midnight Commander. It is like the computer knows that it is there, but it won't let me get to it. Posted by anaconda on Mar. 14 2006,08:22
You have to mount your USB-stiks before you can use them.The command-line version (good to know, because it works in all linux distros) First open a terminal and then write:
Now you can find your USB-sticks in directories /mnt/usb1 and /mnt/usb2 Just remenber to umount them before you unplug them.
USB-sticks are sdX devices.(/dev/sdX) Your first USB-stick is always sda, second is sdb third sdc etc... And the first partition of first USB-stick is sda1, second sda2 third sda3 etc... You have to mount all partitions you want to use. So if your first USB-stick has 2 partitions you have to mount /dev/sda1 and /dev/sda2. And you can mount them anywhere you want, just make the directory first. And NO it isn't that difficult. If you want You can make alias, which would mount your first USB-stick by writing: USB1 or whatever.. And if you want to learn the easy way (works in DSL) you can just start emelfm and right click at "/mnt/sda1" and select "mount". then you can access your (first) USB-stick at /mnt/sda1 but the first way is better, because it works in all linux distros.... anaconda Posted by Neb on April 03 2006,02:15
I'm just completing a picture frame running DSL 2.3. I have everything setup with screen image software, etc. I now want to add the ability to plug in a USB stick and upload new pics. ? I suppose I could write the lines shown above into /opt/bootlocal.sh which would enable them from the start. Then if I plug in a USB stick, it would be mounted. However, I want to plug in the USB stick and have the pictures auto load since I won't have a keyboard. Any thoughts? |