Hi aj
This may be of some interest:
http://jim.sh/ftx/files/linux-custom-baudrate.c
Hi Rich,
I use setserial to change the baud_base to 921600.
My serial card is a super I/O W83627HF and it supports the 921600 baud rate.
I compile the code you give me and I can configure the serial port but some strange things happen:
-> baud_base 921600 (with setserial) -> 115200 configured by software -> 9600 real baud rate
-> baud_base 921600 (with setserial) -> 230400 configured by software -> 38400 real baud rate
-> and I tried with different values for baud_base and I changed the divisor with setserial but the real max baud rate is 115200.
The problem could be the TC serial driver? I'm trying to debug if the problem is the software before contact the super I/O manufacturer.
Thanks