In our previous episode, Holger Bruns said:
> >   
> 
> Which can be done through a direct port access and some lines of code in 
> assembler language. The second idea I have is the use of the device 
> files /dev/ttySx, but how can these files be used to get access to all 
> of the registers of an uart?

As said, ttySx is a generalization of a general serial device, not of a
certain chip.

Usually parameters are set by performing IOCTLs on the handle.

http://tldp.org/HOWTO/Serial-HOWTO.html

http://www.vanemery.com/Linux/Serial/serial-console.html

and heaps more if you put "linux serial" in google.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to