Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


Closed Thread
  Search this Thread
Old 07-28-2004, 05:27 AM   #1
Registered: Oct 2003
Distribution: Debian Sarge
Posts: 50

Rep: Reputation: 15
How to access the second serial port

I have a net-arm board which has 2 serial ports coming from the processor. But in the default linux image provided along with the board only tty and ttyS0 devices are visible in /dev directory. The second one is left to be configured by the user. How can I access the second serial port? Do I need to write my own tty driver. I have been looking through some tty drivers but have not been able to locate how to specify the port number of serial port.
Any help in this regard will be greatly appreciated.
Old 07-28-2004, 11:48 PM   #2
Registered: Jul 2004
Location: Rio de Janeiro - Brazil
Distribution: Conectiva 10 - Conectiva 8 - Slackware 9 - starting with LFS
Posts: 519

Rep: Reputation: 34
Hi cheema,
Enter "man MAKEDEV" to learn how to create this ports. Read it carefuly.
Old 07-29-2004, 01:26 PM   #3
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 121Reputation: 121
Please do not double post:

Duplicate to:

closing thread.

Closed Thread

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
linux serial port to router console port connection? frankie_fix Linux - General 3 02-26-2007 09:32 PM
Using serial port card(PCMCIA) with IPAQ running Linux, can't find ttyS0 port d2army Linux - Laptop and Netbook 0 11-12-2005 08:07 PM
Using an USB port as a standard DB9 Serial Port Lsteele Linux - Newbie 1 10-22-2005 09:48 AM
Serial Port Access stweaver Linux - Newbie 3 09-14-2003 01:21 AM
Serial Port Access gblydenburgh Linux - General 3 08-21-2001 07:57 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:08 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