Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-16-2013, 06:21 AM   #1
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
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
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.


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
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 08:37 PM.

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