On Wednesday 18 July 2007 23:45, Sascha Hauer wrote: > But I suspect your real problem is another one. If you want to remote > control your board you should write some program that listens for > commands on the serial port. Maybe you already have such a program, but > it listens on stdin. Modify it to open the serial port and read its > input from there instead. Then you can replace the /bin/sh above with > your program. The linux serial programming howto is a good starting > point: http://tldp.org/HOWTO/Serial-Programming-HOWTO/index.html
Much easier might be the ZV24 library. To be found in ptxdist under "System Libraries" -> "libezv24" Juergen -- Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Vertretung Sued/Muenchen, Germany Phone: +49-8766-939 228 | Fax: +49-5121-206917-9 -- ptxdist mailing list [email protected]
