LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 12-11-2007, 12:23 AM   #1
vcore
LQ Newbie
 
Registered: May 2005
Posts: 10

Rep: Reputation: 0
Understanding USB


I'm having some problems working with USB on my Xandros system.

basically I am getting something like this "unrecognized option '/dev/ttyUSB0'"

1) Can someone help explain the difference between USB0, USB1, and ttyUSB0?


2) If I run lsusb it returns : Bus 002 Device 002: ID 1199:0120 Sierra Wireless, Inc.

Does this tell me if I should be using a certain USB designation?


Thanks so much
 
Old 12-11-2007, 12:42 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
basically I am getting something like this "unrecognized option '/dev/ttyUSB0'"
"Something like"? We need to see the exact error. What are you doing to get this error? What are you trying to achieve?

Quote:
Sierra Wireless, Inc.
You are trying to get your wireless car to work? AFAIK: Sierra wireless cards have poor linux support, but there are ways for specific cards. (Hint hint.)

Last edited by Simon Bridge; 12-11-2007 at 12:43 AM.
 
Old 12-11-2007, 01:14 AM   #3
vcore
LQ Newbie
 
Registered: May 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the fast response Simon.

Well, I am trying to get a Sierra Wireless 595u mobile broadband card to work with Xandros but so have have been unable.

The error that is confusing me is:
pppd: In file /etc/ppp/peers/1xevdo: unrecognized option '/dev/ttyUSB0'

I was also hoping someone could help explain the basics (or link me to a place that does) of USB vs. USB1 vs. that ttyUSB0 and ACM, which is the original reason I posted here in the newbies section.

Thanks for all your time and effort.
 
Old 12-11-2007, 02:13 AM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
pppd: In file /etc/ppp/peers/1xevdo: unrecognized option '/dev/ttyUSB0'
What do you do to elicit this response? You are not just sitting there minding your own business, you did something: what was it?

http://www.sierrawireless.com/faq/ShowFAQ.aspx?ID=607
pppd is not normally appropriate for a wireless card - however, sierra have set their cards to interface as if they were dailup modems (shudder). Don't know if this extends to the current GPL drivers though.

MP595 is supported. Don't know if this includes the 595u though.
Kernel 2.6.23+ includes the drivers and patches.
The site has a warning:
Quote:
IMPORTANT!! If you have a CDMA device and it has not yet been activated you must first use the device on a Windows system with the supplied connection manager. Some carriers do pre-activation, however it is still recommended to first try the device on a Windows machine.
... check with your carrier. Do they do pre-activation?

What does "modinfo sierra" tell you?
What does "pppd call CDMA" tell you?

Funny... suspect your modem is at /dev/USB/ttyUSB1
These devices are only created while the modem is present and detected, so ls /dev/ttyU* should give you a list.

If none are present (they are normally a link to /dev/USBx anyway) then point pppd at the existing /dev/USB0,1,2,3... etc until you get a hit.

Last edited by Simon Bridge; 12-11-2007 at 02:25 AM.
 
Old 12-11-2007, 11:40 AM   #5
vcore
LQ Newbie
 
Registered: May 2005
Posts: 10

Original Poster
Rep: Reputation: 0
The command issued to get the system to put out:
pppd: In file /etc/ppp/peers/1xevdo: unrecognized option '/dev/ttyUSB0'
was:
pppd call 1xevdo

As for the 595u, it has been activated and works well on a Windows notebook.

modinfo sierra:
filename: /lib/modules/2.6.21.4-eeepc/kernel/drivers/usb/serial/sierra.ko
author: Kevin Lloyd <linux@sierrawireless.com>
description: USB Driver for Sierra Wireless USB modems
version: v.1.0.6
license: GPL
vermagic: 2.6.21.4-eeepc mod_unload PENTIUMM
depends: usbserial,usbcore
alias: usb:v1199p0017d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0018d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0218d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0020d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0019d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0021d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6802d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6804d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6803d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6812d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6820d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0112d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0F3Dp0112d*dc*dsc*dp*ic*isc*ip*
srcversion: 35E80830DFEBA15175431D8

and

pppd call 1xevdo:
pppd: In file /etc/ppp/peers/1xevdo: unrecognized option '/dev/ttyUSB0'

and:
ls /dev/USB/ttyUSB1
ls: /dev/USB/ttyUSB1: No such file or directory
ls /dev/USB/ttyUSB0
ls: /dev/USB/ttyUSB0: No such file or directory

does any of this help? Thanks
 
Old 12-11-2007, 12:01 PM   #6
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Sort of... it is clear that the /dev/USB directory hasn't been created' and you have the driver you need. The link I gave has a howto to get pppd to dial with your modem. However, the howto also uses /dev/USB/ttyUSB0 as the device.

ls -d /dev/USB ... bet that directory doesn't exist.

Chances are that it is one of your /dev/usbx files then. Change your pppd configuration to use /dev/usb1 then /dev/usb2 then... etc. I've had reports of modems being found on one of those. Stop when one of them works.
 
Old 04-11-2008, 07:54 PM   #7
mapleneckblues
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
Hi,

I have the same problem and changing my /etc/ppp/peers/gsm file to point to /dev/usb* does not help either.

/dev lists the following
usbdev1.1_ep00 usbdev2.1_ep00 usbdev3.1_ep00 usbdev4.13_ep00 usbdev4.13_ep04 usbdev4.13_ep81 usbdev4.13_ep84 usbdev4.1_ep00 usbdev5.1_ep00 usbmon0 usbmon2 usbmon4
usbdev1.1_ep81 usbdev2.1_ep81 usbdev3.1_ep81 usbdev4.13_ep02 usbdev4.13_ep05 usbdev4.13_ep82 usbdev4.13_ep85 usbdev4.1_ep81 usbdev5.1_ep81 usbmon1 usbmon3 usbmon5

Pointing to /dev/usbdevx.y-epvw gives

Failed to open /dev/usbdev4.13_ep00: No such device or address

(4.13_epxx are created when i plug in my modem).

dmesg shows the following on plugging in the modem:

usb 4-1: new full speed USB device using uhci_hcd and address 14
usb 4-1: configuration #1 chosen from 1 choice
usb-storage: device ignored
sierra: probe of 4-1:1.0 failed with error -5
usb 4-1: USB disconnect, address 14
usb 4-1: new full speed USB device using uhci_hcd and address 15
usb 4-1: configuration #1 chosen from 1 choice


I am running fc8 and have the sierra wireless drivers preinstalled and loaded

modinfo sierra gives the following:

filename: /lib/modules/2.6.23.1-42.fc8/kernel/drivers/usb/serial/sierra.ko
license: GPL
version: v.1.2.5b
description: USB Driver for Sierra Wireless USB modems
author: Kevin Lloyd <linux@sierrawireless.com>
srcversion: A86FB5D609F70624155BE46
alias: usb:v1199p0FFFd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0F3Dp0112d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0112d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6853d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6852d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6851d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6850d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6833d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6832d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6820d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6812d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6803d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6804d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p6802d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0120d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0021d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0019d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0020d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0F30p1B1Dd*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0218d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0018d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1199p0017d*dc*dsc*dp*ic*isc*ip*
depends: usbserial
vermagic: 2.6.23.1-42.fc8 SMP mod_unload 686 4KSTACKS

I am trying to use the sierra wireless ac881u usb dongle.

Any help would be really appreciated,
Thanks,
-A.
 
  


Reply

Tags
usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help understanding this PostCode Linux - Newbie 3 11-09-2007 05:12 PM
help understanding ln dr_zayus69 Linux - General 3 01-14-2005 09:33 PM
A better understanding! nny0000 Slackware 1 04-14-2004 01:01 PM
Understanding X?? ++ bdp Linux - General 2 02-25-2004 06:47 PM
Understanding X?? nny0000 Linux - General 2 02-25-2004 03:07 AM


All times are GMT -5. The time now is 09:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration