Problems with ioctl

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


Hi!!..

I read your post on
http://lists.freebsd.org/pipermail/freebsd-questions/2011-August/232945.html,
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.

Thanks!!.

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


More information about the freebsd-questions mailing list