In order to retrace the steps that I did to use the "usb mass storage" device on my Compaq Armada 1500c Laptop. SYSTEM: Debian/GNU (testing/unstable) last upgrade February 2004 KERNEL: 2.4.18 DEVICE: LEXAR JUMPDRIVE ["250MB"]

I think that this should also apply for any 2.4 kernel but might be problematic with 2.6 kernel (which has something better...) I was confident that I could make it work.

Then I had many trials and did not succeed with it. I have checked the USB-Digital-Camera HOWTO and tried to use this as a starting point after not succeeding by mounting it just as an ordinary drive.

I recommend reading this USB-Digital-Camera-HOWTO first because most of my efforts were based on this work by Dave Kelly.

In the process of this I created a directory as mountpoint for the storage-device-filesystem. I called it "usbstore" as root it might as well be called "/mnt/camera" or "/mnt/flash"

see also: ["USBCamera"]

However the USB-storage stick did not work in the same way. I have tried the scripts but I only got a message that this is not a valid block-device if I tried to mount it with the same commands.

I read up on some articles:

which indicated that the flash is not so easy to do under debian additionally the second article describes someone having similar problems with a similar device:

or


After playing around for a while with the same error messages, I tried the recommendations from the Documentation that I found in my Kernel-source tree: /usr/src/kernel-source-2.4.18/Documentation/usb/proc_usb_info.txt this was helpful and provided me with another indication:

["bash"]/# mount -t usbdevfs none /proc/bus/usb ["bash"]/# mount none /proc/bus/usb type usbdevfs (rw)

I found in /proc/bus/usb the following three files: 001/001 (001 in directory 001) devices drivers

the content of devices:



so this was basically empty...

drivers/modules that I had installed (first with modprobe, later with modconf):


         usbdevfs
         hub
         usb-storage


information in /proc/scsi/scsi:


attached devices: none



so this did not work at all, but I have used the same entry in fstab and I mounted the thing, before. what happened? I remember that I loaded some modules with modprobe, before it worked, there were the modules:



the next day

["bash"]\# mount /mnt/usbstore

an item on the desktop showed up: usbstore which let me open a nautilus window on doubleclick. excellent!


So why did it not work before?

I started the computer with the device plugged in (and my entry in fstab for the device being:

However when I typed "mount" it showed something like

none on /proc/bus/usb type usbdevfs (rw)

I found a section in /etc/init.d/mountkernfs that is automatically loading a usbdevfs in /proc/bus/usb on startup if there is one available, but this is not useful, because I cannot read or write to it this way. I have now commented out this section of the file so that on startup instead the fstab should be used which is now:



So, it worked, but when plugging the ["USBStorageDevice"] into port, it did not always mount. opening the normal shell tty1 (Alt-Ctrl F1) gave some more information: it sometimes said that the device was not accepting the device-number. but I cannot always reproduce this information (of course not now, when I want to show it).... plugging and unplugging several times worked, until the message:

 hub.c: New device detected on bus 1/1 assigned bus number /3/4/5/ (any number)

2 Hot English Website Navigate:

http://www.9993336.com/index.htm http://www.9993336.com/products.htm http://www.9993336.com/tuijian.htm http://www.9993336.com/zhuyao.htm http://www.9993336.com/shiyong.htm http://www.9993336.com/jianjie.htm http://www.9993336.com/rongyu.htm http://www.9993336.com/lianxi.htm [http://www.9993336.com/01index.htm Building Ceramic] [http://www.9993336.com/02index.htm Building Coating] [http://www.9993336.com/03index.htm Building Facilities] [http://www.9993336.com/04index.htm Building Glass] [http://www.9993336.com/05index.htm Building Metallic Materials] [http://www.9993336.com/06index.htm Building Plastic] [http://www.9993336.com/07index.htm wiki:?BulletProof] [http://www.9993336.com/08index.htm Bungee] [http://www.9993336.com/09index.htm Burglarproof] [http://www.9993336.com/10index.htm Business Services] [http://www.9993336.com/11index.htm wiki:?WiringAccessories Cable Accessories] [http://www.9993336.com/12index.htm Cable Assemblies] [http://www.9993336.com/13index.htm Cable Harness, Wire Harness] [http://www.9993336.com/14index.htm Cable Manufacturing Equipment] [http://www.9993336.com/15index.htm Cables] [http://www.9993336.com/16index.htm Calculator] [http://www.9993336.com/17index.htm wiki:?ID Caller] [http://www.9993336.com/18index.htm Calligraphies] [http://www.9993336.com/19index.htm Cameras] [http://www.9993336.com/20index.htm Camping] [http://www.9993336.com/21index.htm Candles] [http://www.9993336.com/22index.htm Canned Food] [http://www.9993336.com/23index.htm Cans] [http://www.9993336.com/24index.htm Capacitors] [http://www.9993336.com/25index.htm Car Audio] [http://www.9993336.com/26index.htm Car Glasses] [http://www.8888885.com/01index.htm Car Video] [http://www.8888885.com/02index.htm Carbon] [http://www.8888885.com/03index.htm Card] [http://www.8888885.com/04index.htm Carpe] [http://www.8888885.com/05index.htm Carving Crafts] [http://www.8888885.com/06index.htm Cassette Recorder] [http://www.8888885.com/07index.htm Casts] [http://www.8888885.com/08index.htm Catalysts] [wiki:?["CDs"] http://www.8888885.com/09index.htm] [http://www.8888885.com/10index.htm Cement] [http://www.8888885.com/11index.htm Ceramic] [http://www.8888885.com/12index.htm Ceramic Ball Bearing] [http://www.8888885.com/13index.htm Ceramic Fibers] [http://www.8888885.com/14index.htm Ceramics] [http://www.8888885.com/15index.htm Chains] [http://www.8888885.com/16index.htm Chalk] [http://www.8888885.com/17index.htm Charcoal] [http://www.8888885.com/18index.htm Chargers] [http://www.8888885.com/19index.htm Cheerleading] [http://www.8888885.com/20index.htm Chemical Additives] [http://www.8888885.com/21index.htm Chemical Fabrics] [http://www.8888885.com/22index.htm Chemical Machinery] [http://www.8888885.com/23index.htm Chemical Reagent] [http://www.8888885.com/24index.htm Chemical Waste] [http://www.8888885.com/25index.htm Chemicals] [http://www.8888885.com/26index.htm Chemicals Stocks] http://www.8888885.com/index.htm http://www.8888885.com/products.htm http://www.8888885.com/tuijian.htm http://www.8888885.com/zhuyao.htm http://www.8888885.com/shiyong.htm http://www.8888885.com/jianjie.htm http://www.8888885.com/rongyu.htm http://www.8888885.com/lianxi.htm [http://www.8888886.com/01index.htm Chess] [http://www.8888886.com/02index.htm Chocolate Ingredients] [http://www.8888886.com/03index.htm Cigarette] [http://www.8888886.com/04index.htm Circuit Breaker] [http://www.8888886.com/05index.htm Civil Explosives] [http://www.8888886.com/06index.htm Clamshells] [http://www.8888886.com/07index.htm Clay Figurine] [http://www.8888886.com/08index.htm Clip] [http://www.8888886.com/09index.htm Clutches] [http://www.8888886.com/10index.htm Coal] [http://www.8888886.com/11index.htm Coal Gas] [http://www.8888886.com/12index.htm Coatings] [http://www.8888886.com/13index.htm Cobble and Pebble] [http://www.8888886.com/14index.htm Coffee Maker] [http://www.8888886.com/15index.htm Coke] [http://www.8888886.com/16index.htm Collectibles] [http://www.8888886.com/17index.htm Commercial Field] [http://www.8888886.com/18index.htm Commercial Furniture] [http://www.8888886.com/19index.htm Commercial Laundry Equipment] [http://www.8888886.com/20index.htm Communication Cables] [http://www.8888886.com/21index.htm Communications] [http://www.8888886.com/22index.htm Composite Packaging Materials] [http://www.8888886.com/23index.htm Composite Pipes] [http://www.8888886.com/24index.htm Computer] [http://www.8888886.com/25index.htm Computer Cables] [http://www.8888886.com/26index.htm Computer Case] http://www.8888886.com http://www.8888886.com/products.htm http://www.8888886.com/tuijian.htm http://www.8888886.com/zhuyao.htm http://www.8888886.com/shiyong.htm http://www.8888886.com/jianjie.htm http://www.8888886.com/rongyu.htm http://www.8888886.com/lianxi.htm