Accessing serial port from kernel space
Hello! I need to access serial port from my module. But I haven't found functions to access it. And as i understood, all work with serial port goes through TTY system. So, if it exist some documentation on this system, and how can i use it from kernel space? In tty.txt i've found only line discipline, which is not, what i need.
Hi Tcendrovskii, I found the following threads that might be useful for you http://forum.kernelnewbies.org/read.php?12,213,224 http://stackoverflow.com/questions/5379720/accessing-a-serial-port-from-a-li... This isn't something I've tried myself, but hopefully these help a little Cheers, Stephen On Mon, Dec 17, 2012 at 7:32 AM, Tcendrovskii Vladislav <ccvs@mail.ru>wrote:
Hello!
I need to access serial port from my module. But I haven't found functions to access it. And as i understood, all work with serial port goes through TTY system.
So, if it exist some documentation on this system, and how can i use it from kernel space? In tty.txt i've found only line discipline, which is not, what i need.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (2)
-
Stephen Gream -
Tcendrovskii Vladislav