Hardware porting

Hardware porting

Post by Ryu » Sat, 25 May 2002 22:02:58

Please get me info. regarding linux hardware porting
especially com port control.



Hardware porting

Post by Dances With Crow » Sun, 26 May 2002 09:37:50

On Fri, 24 May 2002 22:02:58 +0900,  Ryu staggered into the Black Sun
and said:

Quote:> Please get me info. regarding linux hardware porting
> especially com port control.

Please be more specific about what it is that you want to do.  Also,
please check out
http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/index.html , which
contains detailed information about using the serial port from C
programs in Linux.  Also check out the source code for programs
like minicom , which talks directly to the serial port.  Please read
http://tuxedo.org/~esr/faqs/smart-questions.html , which talks about how
to ask good questions in a technical forum.  Google is a great place to
find information on general topics--really, for a question like this,
you should've Searched The Fine Web before posting questions in a
newsgroup.  HTH,

Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /
http://www.brainbench.com     /  "He is a rhythmic movement of the
-----------------------------/    penguins, is Tux." --MegaHAL


1. Reading/writing from/to hardware ports with gcc and linux

In DOS, I have "inportb" and "outportb" for reading and writing to a
specific hardware address.  I have been trying with zero luck to find a
way to do this with gcc and linux.  I know that it is more difficult in
linux, since the os is much better protected, but surely there is a
standard function for doing this isn't there??  

Please help, I'm desperate!


   Timothy Hamlin ** thamlin at nmt dot edu ** http://www.nmt.edu/~thamlin/
       Department of Physics, NMIMT, Socorro NM 87801
       Office, Workman 317: 835-5381  Lab, Workman 246: 835-5137
       Home,   Polvadera  : 835-0805
       "Linux, the choice of a GNU generation."

2. Welcome to comp.unix.questions [Frequent posting]


4. PPP problems!! help please :-(

5. Access to hardware ports for ISA cards?

6. The Vi Lovers Home Page

7. Hardware Port Scanner

8. Mail

9. Hardware Port access under Linux C

10. Hardware ports in Solaris x86

11. Accessing hardware ports

12. Alien Hardware Port

13. How to read a hardware port w/ gcc?