FATAL: Module usbserial not found
Hi all..
when i try to switch usb win modem to linmodem.. i use this command:
adie@alifdalya:~$ sudo modprobe usbserial vendor=0x1c9e product=0x6061
FATAL: Module usbserial not found.
adie@alifdalya:~$
but before this when im using kernel 2.6.27-11 its just ok.. i think this is a bug about the new kernel
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu linux Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Philip Muškovac
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Thank you for taking the time to make Ubuntu better. Please give us the kernel version you are using be posting the output of 'uname -a' . If you mean 2.6.28 then in 2.6.28-11-generic (and previous versions afaik) usbserial is compiled into the kernel and cannot be un- / loaded with modprobe any more. You'll have to use the submodules.
Revision history for this message
|
#2 |
adie@alifdalya:~$ uname -a
Linux alifdalya 2.6.28-11-generic #37-Ubuntu SMP Mon Mar 23 16:40:23 UTC 2009 i686 GNU/Linux
by the way im newbie here.. so what do you mean by to use the submodules, tq
Revision history for this message
|
#3 |
adie@alifdalya:~$ sudo modprobe -r uhci_hcd
FATAL: Module uhci_hcd not found.
this also happen when i try to use uhci_hcd
Revision history for this message
|
#4 |
Hey Alifdalya and others,
I have the same issue over here: trying to connect my asus 901 with Ubuntu Netbook Remix on it to a Toshiba G450 external modem. I got Ubuntu to recognise the G450 as a modem instead of a CD, created a config file for the G450 but now loading the usbserial doesn't work.
$ sudo modprobe g450 produces the same as you have:
FATAL: Module usbserial not found
My kernel is a 2.6.28-11.generic #36-Ubuntu SMP
How is that exactly "to use the submodules"?
any help is appreciated.
best,
W
Revision history for this message
|
#5 |
Hola wouter! Yo tengo el mismo modem y el mismo problema. Antes con ubuntu 8.10 iba de maravilla pero ahora he instalado la beta de 9.04 y bueno, lo mismo que a tí. Bueno si te encuentras solución te pediria por favor que me la remitieras al correo. Yo intentaré hacer lo mismo pero yo tardo más pq tengo que ir de ciber en ciber..
Bueno, a ver si hay suerte. Gracias !!
Revision history for this message
|
#6 |
Sorry for my late answer, had to look some things up.
First of all: I mixed some things up.
It is true that you cannot use the 'modprobe usbserial vendor=... product=...' command any more since the driver is built into the kernel now.
Now to my mixup: You don't need to use a submodule but use your parameters on the kernel command line.
First an explanation: The Kernel command line is the command that the grub boot manager uses to load the kernel.
And now to what you have to do to use usbserial with 2.6.28:
The kernel command is set in the grub configuration in the file /boot/grub/menu.lst . At the bottom of the file you will find the default startup entry created by ubuntu (taken from my menu.lst):
title Ubuntu jaunty (development branch), kernel 2.6.28-11-generic
uuid 44daa138-
kernel /vmlinuz-
initrd /initrd.
quiet
the part that interests us is the line that starts with 'kernel'. To use the usbserial driver you have to add your parameters to this line so start editing the file by opening it in a texteditor with admin-rights by typing in a terminal:
for gnome: 'gksu gedit /boot/grub/
kde: 'kdesudo kate /boot/grub/
others: 'sudo nano -w /boot/grub/
Now go to the end of the File and Copy&Paste the block obove so that you have the same boot config twice, like this you always have the original boot config if your configuration refuses to work (make sure not to change anything in the original configuration or you might get an unbootable system!):
title Ubuntu jaunty (development branch), kernel 2.6.28-11-generic
uuid 44daa138-
kernel /vmlinuz-
initrd /initrd.
quiet
title Ubuntu jaunty (development branch), kernel 2.6.28-11-generic
uuid 44daa138-
kernel /vmlinuz-
initrd /initrd.
quiet
Now take the first entry and first edit the title so that you can identify which config is yours (you can put anything you want there, I'll simply append custom)
title Ubuntu jaunty (development branch), kernel 2.6.28-11-generic custom
uuid 44daa138-
kernel /vmlinuz-
initrd /initrd.
quiet
Now add your parameters in the form module.option=value :
title Ubuntu jaunty (development branch), kernel 2.6.28-11-generic custom
uuid 44daa138-
kernel /vmlinuz-
initrd /initrd.
quiet
Now double check that the settings are in the kernel line and didn't get broken up into a new line and save the file. Now you will have to reboot and select your new configuration on the next boot. (If you put your configuration obove the others it should be the new default.)
A note at the end: You should make yourself a backup of your new menu.lst file since you might loose it when you install a kernel update and select 'use version of maintainer' or something like that from the list that might pop up in the details.
I really hope that will work for you.
Revision history for this message
|
#9 |
Something must be wrong with the driver when loaded into the kernel, as the Huawei e220 stops to correctly work, unless it is already plugged BEFORE starting the system.
Please, include usbserial as a module. Lot of complains will happen if you don't, and it is very easy to do... just mark it as a module.
Revision history for this message
|
#10 |
sorry.. sorry.. tq for Philip Muskovac, its works
Revision history for this message
|
#11 |
Thanks Philip Muskovac, that solved my question.
Revision history for this message
|
#12 |
For Toshiba G450, Is it enough to add:
usbserial.
?
Thanks.
Revision history for this message
|
#13 |
Please fix it so my modem will just work like it did under ibex
Revision history for this message
|
#15 |
Raul I have a toshiba g450 too. Do you solve the problem?
Thanks in advantage.
Revision history for this message
|
#17 |
Update: I haven't solved the problem with kernel 2.6.28, but yes updated to kernel 2.6.29, using "old mod probe method". Follow http://
- download three packages, if i386,
linux-headers-
linux-headers-
linux-image-
- install dpkg -i linux-*.deb
- reboot
You can get a warning about modprobe and future release , but the module loads.
I also have used http://
Now I'm using G450 :-D
Raúl
Revision history for this message
|
#18 |
for some reason Philip Muskovac 's solution on adding a line in my grub menu.lst dont work.. so instead i installed another version kernel i.e. 2.6.29 hoping that doing so will help.. but still im stuck in the last point in ubuntu forum's tutorial http://
--> Cannot open /dev/ttyUSB0: No such file or directory
--> Cannot open /dev/ttyUSB0: No such file or directory
--> Cannot open /dev/ttyUSB0: No such file or directory when running wvdial..
Revision history for this message
|
#19 |
gonyouka, take a look at URL I've posted (they are in spanish, but easy to understand):
1 Install usb_modeswitch (apt-get install usb-modeswitch) take a look at http://
It will create a /etc/usb_modeswitch file, if G450 put inside (uncomment the lines deleting the initial character ;), change it to your device.
#######
# # Toshiba G450 # # Contributor: Mijail Anton
DefaultVendor= 0x0930
DefaultProduct= 0x0d46
TargetVendor= 0x0930
TargetProduct= 0x0d45
MessageEndpoint
MessageContent=
2. run sudo usb_modeswitch, you will see the device using lsusb
3. sudo gedit /etc/modprobe.
and copy:
# Toshiba G450
alias g450 usbserial
options g450 vendor=0x930 product=0xd45
then sudo modprobe g450
You'll see the warning with the new kernel, but the module is loaded.
4. add the modem to hal:
sudo gedit /usr/share/
and copy:
<!-- *******
USB devices
*******
<!-- Toshiba G450 -->
<match <email address hidden>
<match <email address hidden>
<match <email address hidden>
<append key="modem.
</match>
</match>
</match>
restart HAL:
sudo /etc/init.d/hal restart
Test it:
$ lshal | grep "GSM"
modem.command_sets = {'GSM-07.07'} (string list)
5. In this case, you can use wvdial with USBtty0
Revision history for this message
|
#20 |
I have Xubuntu Jaunty installed, Linux kernel 2.6.28-13-generic with Gnome 2.6.21.
Previously used 8.04 and had a functioning mobile broadband connection with a Toshiba G450 USB-phone/modem.
Well, I've lost my connection, and the trick of editing /boot/grub/menu.lst does not work. It gevis an error at boot-up 'Unknown boot option'...
I dont think it safe nor simple to install a new kernel. Any suggestions, before I wipe out and reinstall the whole system from my well-kept 8.04 installation disk ??
Thanks in advance.
Revision history for this message
|
#21 |
Hi tonio59,
form kernel 2.6.28-13-generic the usbserial become an external driver again!
You can use it as in the past:
sudo modprobe usbserial vendor=0xAAAA product=0xBBBB
AAAA=vendorID
BBBB=productID
More 'history' at: https:/
As 9.04 has a newer version of Network Manager you should check if you can use it.
Regards,
George
Revision history for this message
|
#22 |
Ok, I finally managed to connect my Toshiba G450 USB Modem, I'm using also Simyo as my mobile phone company.
Basically I followed the instructions as in the tutorial by Canx
(http://
Then I must initialize the system with the Toshiba g450 modem connected and active.
Then I must unmark "Enable wireless" in the NetworkManager applet. (if not, it does not work !)
I do then in a terminal:
sudo modprobe g450
... followed by:
sudo wvdial
And it works !
One last point - dont know why, but sometimes Firefox appears to go 'off-line' for no reason. Check that also in case everything works but still cannot connect !
Note: In the tutorial, there is a pair of UDEV rules to automatize the process:
File: /etc/udev/
SUBSYSTEM=="usb", ATTR{idVendor}
RUN+="/
FIle: /etc/udev/
SUBSYSTEM=="usb", ATTR{idVendor}
RUN+="/
but it does not work for me. Don't know why. I have noticed there is a comma at the end of the first line in first rule, and there isn't in the second rule. Could anybody check ? CanX seems to be not very confident with UDEV...
Well, I'm going to write it down right now, just in case I forget ;-))
Thanks all.
Revision history for this message
|
#23 |
I use Xubuntu 9.04, Kernel Linux 2.6.28-13-generic.
Needles to say, I had to use wvdial because NetworkManager did not recognize the USB modem. Not even after usb_modeswitch, and modprobe... It did in version 8.04 (...).
The options proposed for editing /boot/grub/menu.lst still are not recognized.
Revision history for this message
|
#24 |
I use Ubuntu Jaunty for my office laptop and in my home computer Linux Mint 7 which has been based on Jaunty again. I am able to successfully configure my Tata Indicom Photon+ modem (ZTE variant) following the suggestions from Philip. (thanks a lot Philip for your detailed explanation). I am a newbie on Linux and so thought of sharing the exact steps I did which may be of interest to other users facing the same problem on Tata Indicom. So, here we go:
1. edit the "grub" config file as mentioned by Philip. My file looks something as below (in Linux Mint):
title Linux Mint 7 Gloria, kernel 2.6.28-11-generic custom
root (hd0,5)
kernel /boot/vmlinuz-
initrd /boot/initrd.
quiet
note "usbserial.
2. change the wvdial.conf (use a command like as below: gksu gedit /etc/wvdial.conf) to include the details. my file looks something as below:
[Dialer Defaults]
Phone =
Username =
Password =
New PPPD = yes
[Dialer cdma]
Stupid Mode = 1
Inherits = Modem0
Password = xxx
Username = xxx
Phone = #777
[Modem0]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
SetVolume = 0
Modem = /dev/ttyUSB0
Modem Type = Analog Modem
;Baud = 9600
Baud = 3686400
FlowControl = Hardware (CRTSCTS)
Dial Command = ATDT
ISDN = 0
and save the above file. Please change the username and password to reflect the correct data.
3. from a terminal issue command: "sudo wvdial cdma" to start the internet session
One obs: the firefox may start in the offline mode, please make it online from the "File" menue path.
In case wvdial is not installed in your system, use "apt-get install wvdial" from a terminal to install it in your system.
Happy surfing...
Revision history for this message
|
#25 |
Hi Kunal Basu,
please note that when you update and accept to use a new from 2.6.28-13-generic the usbserial will become an external driver again, and the 'grub edit' way will not function. From that point you will have to use the 'standard' method again (as an external driver):
sudo modprobe usbserial vendor=0xAAAA product=0xBBBB
where AAAA=vendorID and BBBB=productID
More 'history' at: https:/
Regards,
George
Revision history for this message
|
#26 |
Thank you GeorgeVita... appreciate your help and guidance. One quick question, is this upgrade already available in the updates now? If I apply all the update in Ubuntu / Mint, will I be automatically be upgraded to the 2.6.28.13-generic kernel please?
Regards.
Kunal
Revision history for this message
|
#27 |
Hi Kunal Basu,
now Ubuntu 9.04 uses kernel 2.6.28-15-generic #49 so after updating (any method) this or a newer will be installed to your system. I am not sure about 'mint' version, I suppose it will be the same as 'encapsulating usbserial into kernel' supposed to be a 'bug'.
After update, you can still boot your 'old' kernel (via grub) and finalize your settings to use 'sudo modprobe ... ' as a command. Finally you can add this command (without sudo) to /etc/rc.local file and will be executed in every boot:
gksudo /etc/rc.local
and edit contents to include:
#!/bin/sh -e
# rc.local
modprobe usbserial vendor=0x19d2 product=0xffff
exit 0
Regards,
George
Revision history for this message
|
#30 |
Hi
I am running Ubuntu 9.04 Kernel 2.6.28-11-generic and am facing the same problem of "Module usbserial not found". I followed the instructions by Philip and all went well but still the problem persists. My modem is ZTE Ac2726.
I edit the menu.lst to include:
usbserial.
What could be the problem.
Am still new to linux