howto read from serial port?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

This sure feels like a blast from the past :)

I'm trying to figure out how to use com ports to communicate between two 
fedora boxes.

I've figured out how to set the flow rate (stty /dev/ttyS0 115200) and 
to send data:  I have an 80k text file that I "cat textfile > 
/dev/ttyS0" and by measuring the TX pin I see the voltage change from 
-11.34v to +4.4v for about 10 seconds.  Seems to be working.

The problem comes on the other end of the wire.  The receiving machine 
is connected by a "null modem" cable.  It seems that standard 
redirection should work but I can't figure out the proper shell syntax.

Input should listen to /dev/ttyS0 and whenever something is received be 
sent to /dev/stdout.

Any takers?  Should be fun ;D

Thanx,
Mike Wright


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux