View Full Version : Linux & Com ports
03-14-2000, 03:04 PM
If one is writing a C program in a Linux environment on IBM-compatible PC, how does one control the 8250-compatible COM port?
03-14-2000, 03:35 PM
This question would probably get more responses at a linux related forum. Might I suggest the OS forum at anandforums.gisystech.com (http://anandforums.gisystech.com) ?
And my guess is that there is a special device in the /dev directory.
03-14-2000, 03:48 PM
Click <a href="http://www.falconweb.com/~linuxrx/HOWTO/sunsite-sources/mini/IO-Port-Programming.html">Here</a>.
In a nutshell, you INCLUDE io.h and use the functions included therein.
03-14-2000, 03:51 PM
<A HREF="http://www.falconweb.com/~linuxrx/HOWTO/sunsite-sources/mini/IO-Port-Programming.html" TARGET=_blank>Here</A>.
03-14-2000, 03:53 PM
Okay, I have a question of my own. How do you do those frigging hyperlinks?
03-14-2000, 04:02 PM
Thanks all! I'll look into those sites.
Baraqiyal: If the link below is correct, click the reply with quote to see how!
I hope this works (http://www.falconweb.com/~linuxrx/HOWTO/sunsite-sources/mini/IO-Port-Programming.html)
03-14-2000, 04:10 PM
Baraqiyal, HTML has been disabled on this board. You have to use UBB coding (http://boards.straightdope.com/ubb/ubbcode.html) to make links.
"Penises don't belong in the mouth, girls and boys. You've got the wrong hole there. Just like you wouldn't shove pizza up your nose."
-From the Brother Jed flyer-
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.