LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 04-16-2013, 06:21 AM   #1
b56r1
LQ Newbie
 
Registered: Nov 2012
Location: NULL
Posts: 5

Rep: Reputation: Disabled
how to detect usable /dev/ttyUSB* port after switiching to modem mode


Hi all. I want to find out correct /dev/ttyUSB* port which can be used to be dialled by pppd. I actually tried sending some AT commands but i'm getting response for /dev/ttyUSB1, /dev/ttyUSB3.
 
Old 04-16-2013, 09:49 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,390
Blog Entries: 2

Rep: Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900
There is probably no way to reliably predict what device node will be associated with USB serial interfaces. As devices get plugged in and unplugged, the assignments will change. The only recourse I know of is trial and error. You may be able to contrive a udev rule to make a consistent mapping based on a serial number that I think most/all USB serial devices expose. I can't provide any details on how to accomplish that.
--- rod.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find out which /dev/ttyUSB* can be used for 3G modem connection? elazarik Linux - Networking 12 02-04-2013 05:02 AM
No /dev/ttyUSB<*> in CentOS 5.4 baig Linux - Newbie 1 03-05-2010 03:02 PM
/dev/ttyUSB* is getting locked shariefbe Linux - Software 1 02-09-2010 10:55 PM
no /dev/ttyUSB* with FC3 please help derddera Fedora 3 12-30-2004 07:43 AM
Switiching to GUI mode natram Linux - General 3 01-07-2004 02:35 PM


All times are GMT -5. The time now is 01:42 PM.

Main Menu
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