usbserial.ko missing in Jaunty

Bug #350904 reported by treval
This bug report is a duplicate of:  Bug #345002: gprs/3g driver in 9.04. Edit Remove
48
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Jaunty by javi

Bug Description

After an upgrade from 8.10 to 9.04 beta, it appears that module usbserial is no longer available.

For instance, when trying to get a ZTE MF628 USB modem working the following is seen:

modprobe usbserial
FATAL: Module usbserial not found.

Doing the following:

# find / -name "*usbser*" -print

shows:

/sys/bus/usb/drivers/usbserial
/sys/bus/usb/drivers/usbserial_generic
/sys/module/usbserial
/sys/module/usbserial/drivers/usb:usbserial
/sys/module/usbserial/drivers/usb:usbserial_generic
/lib/modules/2.6.27-11-generic/kernel/drivers/usb/serial/usbserial.ko
/proc/tty/driver/usbserial

Note that the usbserial.ko module listed is for a superseded kernel (2.6.27-11)

# uname -a

Linux tllx014 2.6.28-11-generic #38-Ubuntu SMP Fri Mar 27 10:01:17 UTC 2009 x86_64 GNU/Linux

# lsb_release -rd
Description: Ubuntu jaunty (development branch)
Release: 9.04

Revision history for this message
Baptiste SIMON (bs-public) wrote :

The usbserial module is now builtin inside the core kernel. Nevertheless, this doesn't satisfy my needs. I need it as a module because I use a 3G modem for my Internet connection, and I need to load it with params and unload it everytime I loose my connection.

To make it working under Jaunty, I've built my own kernel package with make-kpkg where usbserial was setted up as a module. Now I've got back my environment working fine, and Internet as fine as with 8.10.

I think I'm not the only one who needs usbserial as a module and all the people which whom it works fine "builtin" must be as satisfied if this is extracted from the core kernel.

Revision history for this message
javi (javuchi) wrote :

I completely agree.
And not only that: the most common 3G modem out there, the Huawei e220, happens to have several errors in Ubuntu 9.04.
First, it is not able to show coberture. Second, it does not work if the modem is not connected when starting the system.

PLEASE, include usbserial as a MODULE. Lot of users using 3G will complain if you don't.

Thank you.

javi (javuchi)
Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Tayroni Alves (tay-fisica) wrote :

For me too. I need usbserial as module because my modem is not supported by ubuntu.

It is a onda communications modem msa405hs, and that modem is sold only on Brasil.

I use usb_modeswitch to chande the pendrive mode on 19d2:2000 to a modem on 19d2:0037, and after this, I load usbserial, but that module recognises the modem only on manual way by using this command

/sbin/modprobe usbserial vendor=0x19d2 product=0x0037

Please, include usbserial as a module.

Revision history for this message
Frank Tilugulilwa (tilugulilwa) wrote :

Can someone assist me on how to get around that...i am also struggling to have my Huawei ETS 2288 modem to work.
The modprobe usbserial doesn't work

Revision history for this message
j00lz (julien-chevalley) wrote :

Here is a workaround that may work for some...

It is possible to pass the usb serial vendor and product id as a kernel parameter.

The easiest way to do this is to edit /boot/grub/menu.lst (you will need root access so from a terminal window type "sudo gedit /boot/grub/menu.lst").

At the end of the line that starts with "kernel /vmlinuz-2.6.28-11-generic root=UUID=" or something similar, append the following two parameters: " usbserial.vendor=0x19d2 usbserial.product=0x0064". Obviously you will replace 0x19d2 and 0x0064 with the ids for your particular modem.

When you are done, menu.lst should look something like this:

title Ubuntu jaunty (development branch), kernel 2.6.28-11-generic custom
uuid 44daa138-39e6-450f-b840-76940da90d1f
kernel /vmlinuz-2.6.28-11-generic root=UUID=f2441938-7359-49d7-95eb-81f36a166757 ro quiet splash usbserial.vendor=0x1c9e usbserial.product=0x6061
initrd /initrd.img-2.6.28-11-generic
quiet

Save it and reboot for the changes to take effect.

I have verified this to work with Jaunty beta and usb_modeswitch. Unfortunately for me usbserial appears to have problems probing my modem's (ZTE MF627) capabilities. But at least I am a step closer...

I hope this helps someone...

Revision history for this message
javi (javuchi) wrote :

j00lz, that's not a workaround for "human beings".

Please, just include usbserial as a module. I can't undersatant why you are hesitant about that.

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Has anyone tried specifying parameters in the file in /etc/modprob.d/usbserial.conf. This shouls still work in my opinion, but I am no kernel expert.

Revision history for this message
Khairul Aizat Kamarudzzaman (fenris) wrote :

is it possible just copy the module from

$ locate usbserial
/lib/modules/2.6.27-14-generic/kernel/drivers/usb/serial/usbserial.ko

to the kernel that currently use?

/lib/modules/2.6.28-11-generic/kernel/drivers/usb/serial/usbserial.ko

Revision history for this message
Tayroni Alves (tay-fisica) wrote :

What the reason to include usbserial builtin and not a module?

Revision history for this message
markuz (markuz) wrote :

I have the same problem. I need usbserial as module because I use usbserial for:

1.- Develop applications that use the serial port, in my laptop I use a Serial to USB converter and require usbserial.
2.- I have a Franklin CDU-680 EVDO modem and need it.

As you can see, passing the vendor in the grub is not an option for me.

My workarround. If you upgrade (as I did), boot with your old kernel.

Andreas Moog (ampelbein)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Marcelo Fernandez (fernandezm) wrote :

I think this is a pretty important bug, which makes every serial USB device useless for any "John Doe" user... Why not mark it with "High" or at least "Medium" importance?

Thanks

Revision history for this message
Angelo Lisco (angystardust-gmail) wrote :

Hi I'm pretty sure this is a duplicate of bug #345002.

Revision history for this message
srikant (usp71084) wrote :

Hi everyone..first of all thanx to all members of this active forum.
I was also stuck with same modprobe usbserial problem(earlier worked but not
working with current kernel version).

But as soon as i modified the /boot/grub/menu.lst and restarted the system all
went fine.Now i can directly type the "wvdial" to connect my AC2726 modem(ONDA/ZTE).

Just do the following...
"At the end of the line that starts with "kernel /vmlinuz-2.6.28-11-generic root=UUID=" or something similar, append the following two parameters: " usbserial.vendor=0x19d2 usbserial.product=0xfff1".Replace 0x19d2 and 0xfff1 with the ids for your particular modem."

NOTE: Don't put "usbserial.vendor=0x19d2 usbserial.product=0x0064" on a new line,just append to your kernel line.

Revision history for this message
ramnarayan (ramnarayan) wrote : Re: [Bug 350904] Re: usbserial.ko missing in Jaunty

On Sat, Nov 21, 2009 at 12:48 AM, srikant <email address hidden> wrote:
> *** This bug is a duplicate of bug 345002 ***
>    https://bugs.launchpad.net/bugs/345002
>
> Hi everyone..first of all thanx to all members of this active forum.
> I was also stuck with same modprobe usbserial problem(earlier worked but not
> working with current kernel version).
>
> But as soon as i modified the /boot/grub/menu.lst  and restarted the system all
> went fine.Now i can directly type the "wvdial" to connect my AC2726 modem(ONDA/ZTE).
>

This problem has been rectified in 9.10 and things work well. Am not
sure you need to do the above in 9.10, in fact its quite possible if
run an updated version of 9.10 it will pick up your device and make it
work without needing to do much

I know that the Tata Indicom plug2surf usb device just works - it does
not even ask for a username and password.

regards
ram

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.