Re: TIOCGSERIAL?

2011-08-19 Thread Paweł Michalicki
that last baudrate. However, the wild variety of baudrates which can be used includes also such baudrates as 88, 98, 110 kbps and the highest possible one is 126 kbps (note: no 115,2 kbps). I'd like to use 126 kbps instead of 57,6 kbps. Now, it is possible on Linux using ioctl(TIOCGSERIAL

Re: TIOCGSERIAL?

2011-08-19 Thread Warren Block
On Fri, 19 Aug 2011, Paweł Michalicki wrote: Thanks for a load of replies. At least I know now, why this group is called freebsd-questions and not freebsd-answers. Don't give up hope. I'm interested but don't have the hardware. Probably the same situation with other people. Might find

Re: TIOCGSERIAL?

2011-08-19 Thread Thomas D. Dean
On Fri, 2011-08-05 at 22:01 +0200, Paweł Michalicki wrote: I have a certain device which can be hooked to a PC via RS232 connection. Since my PC does not have a true COM port, I am using an USB-COM converter, which contains the FTDI chip. I wrote a program to handle the communications via the

TIOCGSERIAL?

2011-08-05 Thread Paweł Michalicki
. Now, it is possible on Linux using ioctl(TIOCGSERIAL) and ioctl(TIOCSSERIAL). As I understand, using these you can very precisely control the serial baudrate on COM ports (or at least on USB ports with an USB-COM converter hooked up). Sadly, these do not seem available on FreeBSD. My question