HowTo: Loading USB support modules.

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

HowTo: Loading USB support modules.

#1 Post by sunburnt »

I looked at HotPup to try to see how Dougal does it, but I couldn`t find it in the files.
I use to load the USB module with: modprobe usb-storage
The new module I noticed is called: usb_storage
But there`s other modules that seem to be associated with it.
This is the lsmod output associated with USB:

Code: Select all

usbhid                 26112  0 
usb_storage            51584  0 
squashfs               22928  1 
uhci_hcd               21564  0 
ehci_hcd               32856  0 
usbcore               138160  5 usbhid,usb_storage,uhci_hcd,ehci_hcd
How squashfs got in the middle there I don`t know...
usbcore seems to list the 4 other associated modules, load them all?
Or just usbcore. Or only usb_storage as I use to do it?
This:

Code: Select all

[ ! "`lsmod | grep usb_storage`" ]&& modprobe usb_storage
Or this:

Code: Select all

[ ! "`lsmod | grep usbcore`" ]&& modprobe usbcore
Or load all 5 modules?

Post Reply