LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-06-2003, 04:51 PM   #1
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Rep: Reputation: 15
Serial Port


Working off a fresh full install of Slack9.

I have a matrix orbital serial LCD, it takes ASCII from the serial port and displays it. So I tried to write directly to the serial device.

echo "foo" > /dev/ttyS0

I tried this for S0 - S9

Didn't work. Next i fired up minicom and played around in there for a while. Still can't get it to work. What am I missing? What needs to be done to get the serial port working under slackware 9?

Thanks, I don't use the serial port much and I'm clueless

greg
 
Old 08-07-2003, 12:13 AM   #2
RJ_Mouse
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware v9.x/Red Hat v8.x
Posts: 4

Rep: Reputation: 0
Greg,
Make sure your port speeds are correct at both ends. You may want to try 9600bps on both the terminal and Comm Port (ttyS#). If in doubt of the speed on the Comm Port, use the 'setserial' command. You can usually find a good example, of it's usage, in the /etc/rc.d/rc.serial file. And, as always consult your local man page for more info :-). Good luck!

RJ
 
  


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
linux serial port to router console port connection? frankie_fix Linux - General 3 02-26-2007 10: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 09:07 PM
Using an USB port as a standard DB9 Serial Port Lsteele Linux - Newbie 1 10-22-2005 10:48 AM
Where's my serial port??? bad_andy Mandriva 4 01-01-2005 09:18 PM
using the second serial port cheema Linux - Hardware 1 07-28-2004 11:48 AM


All times are GMT -5. The time now is 04:12 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration