LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-13-2014, 03:28 PM   #1
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 536

Rep: Reputation: Disabled
How to tell which serial port a device is on


How do I tell which ttySx a device is on. I am specifically looking for the below FaxModem:
Code:
Bus 003 Device 007: ID 0803:9700 Zoom Telephonics, Inc. 2986L FaxModem
Thank you

Code:
[root@desktop ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 04f2:1060 Chicony Electronics Co., Ltd
Bus 001 Device 034: ID 0461:4d0f Primax Electronics, Ltd HP Optical Mouse
Bus 002 Device 003: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 007: ID 0803:9700 Zoom Telephonics, Inc. 2986L FaxModem
[root@desktop ~]#
 
Old 04-13-2014, 04:02 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Look at the output of the dmesg command or look at the /dev/directory.

I have the 3095 model which also uses the cdc_acm module and is automatically configured as /dev/ttyACM0
 
Old 04-13-2014, 04:37 PM   #3
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 536

Original Poster
Rep: Reputation: Disabled
Thank you Michael,

I earlier tried that, but had negative results. Did again and more promising this time. I think it is time to buy a new modem.

I couldn't find anything in /dev/directory, but did get this:

Code:
[root@desktop dev]# dmesg | grep tty
console [tty0] enabled
cdc_acm 3-2:2.0: ttyACM0: USB ACM device
[root@desktop dev]#
The modem is now working, so thanks again. Funny thing happened, however.

I unplugged the modem and plugged it into a different USB. Bunch of text covered the screen on the physical machine, and then Linux rebooted without asking me. Is this normal? Sounds like something Windows would do
 
Old 04-13-2014, 04:38 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Run dmesg or tail /var/log/messages while plugging in the device.

Or run ls -lrt before and after plugging in the device to see which tty has been added.



Edit: too slow...
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
serial port device detection hareshmv Linux - Kernel 4 12-31-2011 10:42 PM
Serial Port Device Driver GeorgeOfTheBush Linux - Software 1 11-08-2009 02:50 PM
Parallel Port & Serial Port device identification helpmeforlinux Linux - Hardware 3 01-02-2007 02:15 AM
How can I detect the Serial Port Device ? lovelylinux Linux - Hardware 4 12-06-2006 09:20 PM
Using serial port with external device skguha Linux - Newbie 2 03-18-2004 10:26 PM


All times are GMT -5. The time now is 09:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration