Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18336

Is there any solution to set baud rate, line discipline etc., by only using our kernel module?

$
0
0

I wrote a kernel module for a touch screen monitor and earlier I used inputattach (written in userspace) to open serial port, set baud rate, control flags, line discipline etc.

But now I want to implement the functionalities of inputattach directly in our driver as we don't want to trigger our driver from an userspace program i.e inputattch.

But I cant able to set c_ispeed, c_ospeed, c_cflag, c_iflag, line discipline, etc., in kernel space.

Is there any solution to set baud rate, line discipline etc., by only using our kernel module?


Viewing all articles
Browse latest Browse all 18336

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>