> In message <HZ0056$6237825DE310949AB818EA81D16B09F0 at bol.com.br> 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
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/