Hi All,
1. I've built usb mass storage as a module - usb-storage.ko
2. If pendrive is inserted before kernel boots, it gets detected and can be removed and inserted any number of times without any problem.
/dev/sda1 exists.
3. Pendrive does not get detected if inserted after getting login prompt. No /dev/sda, /dev/sda1
4. Where is the problem - SW/HW ?
5. In /etc/init.d/mdev, at the end I've "modprobe usb-storage"
6. In /etc/mdev.conf there is a rule,
usbdev.* 0:0 0660 */etc/mdev/usb.sh,
so I created /etc/mdev/usb.sh which contains single line - modprobe usb-storage.
But this script never gets created.
7. I commented "mdev -s" in /etc/init.d/mdev, I got the same response.
8. I want this behaviour,
a. pendrive should get detected when inserted at any point of time and module loaded.
b. module should be unloaded when pendrive is removed.
Regards,
Gangadhar