Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-14-2004, 09:42 PM   #1
LQ Newbie
Registered: Mar 2003
Posts: 12

Rep: Reputation: 0
serial port communication

hi all,
Currently I am using SUSE linux 8.1.
I am facing problem in serial port configuration in suse linux. I heard and saw the console like
SuSE invoke the setserial command by default when booting the system. How can i know wheather my serial port is configured properly or not.
The problem what i am facing is i am not getting any response from the external device.
if i type setserial command i am getting this message like
specuser@xddhutch:~> setserial -ga /dev/ttyS0
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal skip_test

From linux planet i came to know like
" Another cause reported for the SuSE distribution is that there may be two serial drivers present instead
of one"

How can I know wheather two or one serial driver present.

One more thing they are suggesting like mouse can access the same port ie. what accessed by serial port.
How can i test these things.

Do u have any idea how to trouble shoot my serial port wheather it is properly configured or not

Expecting your kind reply
Old 03-14-2004, 11:53 PM   #2
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
there isn't much to configure for serial ports since most of it (if not all) is done by the kernel (or at least Should be)

make sure you have serial support enabled in your kernel and that you have set sane permissions to the /dev/ttyS# devices (chmod 777 /dev/ttyS0 /dev/ttyS1, etc)

after that, you should be able to use them by simply telling your program to look into a particular device node
Old 03-15-2004, 12:32 AM   #3
LQ Newbie
Registered: Mar 2003
Posts: 12

Original Poster
Rep: Reputation: 0

thanks for you kind message but chmod 666 is not sufficient do u we need to execute permisson for owner group and others
expecting your kind 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 communication prems Linux - Newbie 1 04-17-2005 03:31 AM
Serial port communication programming SeanatIL Programming 3 07-17-2004 09:26 PM
communication with serial port vidyaraj Linux - Hardware 0 03-09-2004 09:32 PM
serial port communication vidyaraj Linux - Software 6 03-02-2004 07:46 PM
communication via serial port perdesiz Linux - Software 0 11-13-2003 07:23 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:36 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
Open Source Consulting | Domain Registration