Solved

Adding usbserial to fresh Ubuntu install

Posted on 2009-05-12
3
1,184 Views
Last Modified: 2013-12-15
I'm trying to install a Sierra Wireless (Sprint) air card to a Dell laptop.

The instructions say that the usbserial module should be installed by default, but it is not.  

How do I install that off the CD?  I can't get online until I can get the aircard up and running.

Thanks!
0
Comment
Question by:Jared Luker
3 Comments
 
LVL 16

Accepted Solution

by:
ai_ja_nai earned 400 total points
ID: 24372545
Maybe it's there, but it's not loaded.

With the device plugged run dmesg. You should see something like

usb 1-1: new full speed USB device using uhci_and address 2
usb 1-1: configuration #1 chosen from 1 choice

Unplug the device and run lsusb; take note of the output.
Plug the device and run lsusb again: there should be one more line, comparing to the precedent output (something like Bus 001 Device 002: ID 4348:5523). Take note of this line.

Now issue sudo modprobe usbserial vendor=0×4348 product=0×5523. Note that the number are the same of the ID you jotted down before.


Run dmesg again and you shall see lines similar like this :

usbserial_generic 1-1:1.0: generic converter detected
usb 1-1: generic converter now attached to ttyUSB0
usbcore: registered new interface driver usbserial_generic

As you can see, the new serial port device is mapped to /dev/ttyUSB0. You can instruct Ubuntu to load this module automatically by include the line : usbserial vendor=0×4348 product=0×55233 inside /etc/modules file.
0
 
LVL 4

Assisted Solution

by:amrox
amrox earned 100 total points
ID: 24387364
You can also see if its loaded by running lsmod
eg: lsmod | grep usbserial
Output should be something like
usbserial  45296  4  option
If its not listed then it's not loaded.
on my ubuntu box the module lives in /lib/modules/2.6.28-generic/kernel/drivers/usb/serial/usbserial.ko

Find it with find or locate, and insert into kernel with insmod.  But my guess is you already have it loaded.
0
 
LVL 17

Author Closing Comment

by:Jared Luker
ID: 31580721
Thanks... it's working.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now