How Can I Force Removal of a Kernel Module (ERROR: Module usb_storage is in use)
Hi guys,
I'm trying to get my mobile phone to act as a modem and yet it seems kernel only sees it as usb storage. I was advised to remove usb_storage and usbserial kernel modules and then reload usbserial with vendor/device parameters. When I plug in the phone and try to Code:
sudo rmmod usb_storage Quote:
Is there a way to go about it? Here is /var/log/messages output: Quote:
|
Do the unload and reload of the module before plugging the phone (or any USB device) in ???. Best immediately after a reboot.
|
Quote:
rmmod -w usb-storage (that should not allow anyone new to use the module, and keep everything already using it happy.) then run modprobe usbserial vendor=0x12d1 product=0x1003 Get the vendor and product id's from... lsusb. I used this at first, but on recent versions of the kernel the module "option" is built in and can be used for the 3g modem. There are a few other steps, like lsusb to find the modem address, and dmesg to monitor the start up activity. A quick search for rmmod -r usb-storage showed 3g modem configs, and solutions. http://pie.boards.ie/vbulletin/showt...p?t=2055260993 I use the huawei e220 and vodafone.au, without VMC (never works, dep hell) See how you go, in the linked page are instructions to get it working, but you may not need to do all of that. Cheers, Glenn |
All times are GMT -5. The time now is 09:37 PM. |