LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Closed Thread
  Search this Thread
Old 01-18-2007, 06:08 AM   #1
jlopes
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
Serial port configuration


I have a problem connecting an old serial device (a weighing machine) in RedHat Enterprise Linux 4 ES.

I tested telnet from another computer with the same cable and the communication is correct when I use de default settings.

It seems I can’t use the correct options and commands to configure the serial port. I tried to use a line on inittab with “m:2345ff:/sbin/agetty 9600 ixon …. ttyS1”;
I tried to put the stty line on rc.local.

I think setserial command does not allow all the parameters I need…
I think there is another issue about controlling the flow between the devices and maybe another one with UART capability of devices.

On SCO Openserver I used to turn around the problem editing the S80lp file and introduce the following line:
(stty 9600 ixon ixoff –ixany parenb cs7 ; while :; do sleep 3600 ; done) </dev/tty2a &


Can please someone help me in this case?
 
Old 01-18-2007, 01:06 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread



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 configuration Xreagan Linux - Distributions 5 11-16-2010 01:51 AM
Serial port configuration jlopes Linux - General 0 01-18-2007 06:02 AM
timedia 4 port serial port i/o card configuration binu_edl Linux - Hardware 0 03-09-2006 09:39 AM
serial port configuration zak_zeem Linux - Networking 4 09-09-2005 07:06 AM
serial port configuration vidyaraj Linux - Hardware 1 02-26-2004 05:01 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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