how data is populated when one reads /proc/tty/driver/serial?
31 views
Skip to first unread message
zix
unread,
Dec 29, 2009, 7:17:38 AM12/29/09
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi, I need to know where is the code which reads from /proc/tty/driver/ serial(when I type cat /proc/tty/driver/serial). Please, I need this info. I have searched a lot, but cant find anywhere. Can anybody please help? My uart is 8250.
Thanks, zix
Rainer Weikusat
unread,
Dec 29, 2009, 7:58:47 AM12/29/09
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
zix <zix...@gmail.com> writes: > I need to know where is the code which reads from /proc/tty/driver/ > serial(when I type cat /proc/tty/driver/serial). Please, I need this > info.
A kernel version could be helpful here. For 2.6.31, look for uart_proc_fops in driver/serial/serial_core.c.