LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to detect usable /dev/ttyUSB* port after switiching to modem mode (https://www.linuxquestions.org/questions/linux-networking-3/how-to-detect-usable-dev-ttyusb%2A-port-after-switiching-to-modem-mode-4175458298/)

b56r1 04-16-2013 06:21 AM

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.

theNbomr 04-16-2013 09:49 AM

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.


All times are GMT -5. The time now is 12:37 AM.