accessing tty_struct structure of a terminal(say tty1)
hi everybody,
i generally have to do programming on gui terminal(shell) rather than the textbased terminal.In gui terminal when i insert any device driver code i dont get any printk messages on the console,but everytime i have to type dmesg to see all the messages.while in text mode(CTR-ALT-F1) i get all the printk and other debug messages on the consoleitself. so i want to tweak the write function of the pts driver a little sotht i can ghet the expected results.but for tht i have to access the tty_struct structrue corresponding to the pts that i m working on. i tried ptsdev_get_tty(int number) function ,but i m getting message UNDEFINED SYMBOL ptsdev_get_tty, though this symbol is defined in System.map of my system. i m using FC3 with kernel version 2.6.9.11 so any idea howt o access the struct tty_struct of pts that i m wroking on any input is appreciated waiting for reply rakesh |
All times are GMT -5. The time now is 11:52 AM. |