kernel mode termios API's

Muni Sekhar munisekharrms at gmail.com
Wed Mar 30 11:53:00 EDT 2016


Hi,

We are having customized serial port driver, it always sets the baud
to 9600 (by configuring UART BAUD_RATE register) on device file open,
but not updating the termios structure.

The python code(pySerial) reads the termios parameter for baud rate
and only sets the baud rate if it needs to. So pySerial fails to work
with this driver.

Is there any kernel API to update termios structure about 9600 baud on
driver device open?

-- 
Thanks,
Sekhar



More information about the Kernelnewbies mailing list