LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with tty_register_ldisc() (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-tty_register_ldisc-587452/)

payretep 09-26-2007 05:11 AM

Problem with tty_register_ldisc()
 
Hi guys,

I am currently working on a character device driver and whenever I call this API with ldisc number as N_HCI and normal tty_ldisc structure, the machine will hang.

Any idea on why this is happening? Thanks in advance.

payretep 09-26-2007 05:15 AM

Oh yah, forgot to add that I'm running on Kernel version 2.6.18-8. And the system crash occurs when i try to install the module. If tty_register_ldisc() is not called, then no crash occurs.

Thanks again.


All times are GMT -5. The time now is 12:06 AM.