LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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
  Search this Thread
Old 03-14-2004, 08:42 PM   #1
vidyaraj
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
thanks
vidyaraj
 
Old 03-14-2004, 10:53 PM   #2
TheOneAndOnlySM
Member
 
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-14-2004, 11:32 PM   #3
vidyaraj
LQ Newbie
 
Registered: Mar 2003
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
  


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 02:31 AM
Serial port communication programming SeanatIL Programming 3 07-17-2004 08:26 PM
communication with serial port vidyaraj Linux - Hardware 0 03-09-2004 08:32 PM
serial port communication vidyaraj Linux - Software 6 03-02-2004 06:46 PM
communication via serial port perdesiz Linux - Software 0 11-13-2003 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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