Re: ioctl(TIOCMGET) on Lite5200
From: Wolfgang Denk <hidden>
Date: 2004-06-09 13:14:48
In message [ref] you wrote:
So, if the 5200 series don't support TIOCMGET and TIOCMSET ioctl() (nor TIOCMBIS and TIOCMBIC, I've just tried them), what could I possibly use to get/set the control pin RTS in my Lite5200?... Is there any other system call or function that accomplishes that?
The current version of the 5200 PSC UART driver does not support hardware handshake, so there is no way to control the RTS pin. If you really must, you can either extend the driver to support hardware handshake, or you could simply write a small driver to control this pin as GPIO. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de Imitation is the sincerest form of plagarism. ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/