Lokesh
unread,Feb 26, 2009, 7:09:00 AM2/26/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to linuxgurus
To access the USB disk, you need some minimal kernel modues. Need to
include them in modules list and load then
during the boot time if you want to detect the USB mouse / keyboard.
If not can be loaded based on the requirement whenever need it.
These are the basic driver required
usbcore, etc., just see the lsmod output for more precise names. For
your query.. get the USB storage drivers loaded.
One problem and caution which is very imp in the embedded
envirnoment.
Problem
When we load the drivers during the boot time. You load scsi drivers
and usb storage drivers. The parttition and disk recognition will
identify based on
the order in which u loaded the drivers.
Example:
Frist Load the scsi driver first then all HDD drives will be named as /
dev/sda* etc.,
Second load the usb storage drivers now it will select as /dev/sdb or /
dev/sdc based on the availability of the disks.
suppose if you have installed the /boot partition with boot loaded in
the hdd /dev/sda1 so we always need this way of loading the drivers.
So, if you really want to see the magic just replace the order and see
how your system behaves.
Solution:
So, dont load any USB storage drivers during the boot time before the
HDD or SCSI drivers, you may encounter the GRUB failure problem. So
end up repairing the
OS which is not failed in anyway...
Have a happy hacking
Lokesh