Thread (1 message) 1 message, 1 author, 2004-06-08

Re: ioctl(TIOCMGET) on Lite5200

From: Wolfgang Denk <hidden>
Date: 2004-06-08 17:23:25

In message [ref] you wrote:
I'm having a problem with a specific argument of the
ioctl function, which is ioctl(TIOCMGET).
I wrote a simple routine which just reads or writes the
RTS pin.
It worked OK on my Red Hat 9, under x86, but when I try
to run it on a Lite5200 using denx kernel 2.4-25, it
keeps saying "TIOCMGET failed: Invalid argument" and
Well, that says it all: the TIOCMGET ioctl() is not available for the
5200's PSC uart driver.

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
A right is not what someone gives you; it's what no one can take from
you.                                                   - Ramsey Clark

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help