LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
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.

Notices

Reply
 
Thread Tools
Old 03-14-2004, 09:42 PM   #1
vidyaraj
LQ Newbie
 
Registered: Mar 2003
Posts: 12
Thanked: 0
serial port communication


[Log in to get rid of this advertisement]
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
thanks
vidyaraj
vidyaraj is offline     Reply With Quote
Old 03-14-2004, 11:53 PM   #2
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Austin, TX
Distribution: Kubuntu (latest), Slackware-current
Posts: 983
Thanked: 0
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
TheOneAndOnlySM is offline     Reply With Quote
Old 03-15-2004, 12:32 AM   #3
vidyaraj
LQ Newbie
 
Registered: Mar 2003
Posts: 12
Thanked: 0

Original Poster
hi

hi
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
thanks
sincerely
vidyaraj
vidyaraj is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 09:33 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration