Re: ioctl(TIOCMGET) on Lite5200

From: saurosalomoni <hidden>
Date: 2004-06-09 12:56:29

In message
[ref] you
wrote:
quoted
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
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?

Thank you very much.


** 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