Problems with ioctl

Juan Rodriguez juanestrod at
Wed Nov 9 21:52:11 UTC 2011


I read your post on,
and I have a similar problem. I my case I try to set and unset the RTS pin
of the serial port, I use the ioctl() function with the TIOCMGET and
TIOCMGET, the program works very well when I use the serial port (COM1) but
when I use a USB<->COM (like you) converter the ioctl() function return me
a fail, the error is "Invalid Argument". I need some solution or if you can
recommend me any page or put me in contact with any other person.

Any help will be very useful.

My name is Juan Rodriguez and I'm from Paraguay.


P.S.: Sorry my English is not very good.

More information about the freebsd-questions mailing list