kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* kernel mode termios API's
@ 2016-03-30 15:53 Muni Sekhar
  2016-03-30 18:02 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Muni Sekhar @ 2016-03-30 15:53 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-31 16:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-30 15:53 kernel mode termios API's Muni Sekhar
2016-03-30 18:02 ` Greg KH
2016-03-31 11:13   ` Muni Sekhar
2016-03-31 16:02     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).