LinuxQuestions.org
Review your favorite Linux distribution.
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 08-16-2010, 06:46 PM   #1
ibwood
Member
 
Registered: Jul 2010
Posts: 46

Rep: Reputation: 15
Alternative USB serial port access


Hi everyone,

I was wondering if there is an alternative method to using udev rules in order to get access to the USB serial ports. Is there a command to check the names and give them to you? I'm looking for something along the lines of "ttyUSB". Thanks!
 
Old 08-16-2010, 10:02 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,383

Rep: Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199
I want to say modemtool maybe? http://linux.maruhn.com/sec/modemtool.html
 
Old 08-17-2010, 10:59 AM   #3
ibwood
Member
 
Registered: Jul 2010
Posts: 46

Original Poster
Rep: Reputation: 15
Hmm it looks to be like modemtool is for Red Hat. Sorry I guess I didn't specify the version of Linux I am using. It's Ubuntu 9.10 Karmic Koala. I'm currently using udev rules to send and receive data from serial ports. I run into a problem when my program tries to read the data. It just draws a blank. I think it's because of the udev rules. Anyone else have this problem?
 
Old 08-17-2010, 12:32 PM   #4
ibwood
Member
 
Registered: Jul 2010
Posts: 46

Original Poster
Rep: Reputation: 15
The command to use for this is:

Code:
$ dmesg | grep tty
with all of the serial ports plugged in. This will list the devices connected to each port by format ttyUSB*

Regards,
Ian
 
  


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 access from DomU chandramani_yadav Linux - Server 0 04-26-2009 09:58 AM
Using an USB port as a standard DB9 Serial Port Lsteele Linux - Newbie 1 10-22-2005 10:48 AM
How to access the second serial port cheema Programming 2 07-29-2004 02:26 PM
Serial Port Access stweaver Linux - Newbie 3 09-14-2003 02:21 AM
Serial Port Access gblydenburgh Linux - General 3 08-21-2001 08:57 AM


All times are GMT -5. The time now is 10:41 AM.

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