problem: init_termios = tty_std_termios;

From: Mockern
Date: Sun Mar 25 2007 - 04:59:39 EST


Hi,

I just added

"mydriver_tty_driver->init_termios = tty_std_termios"

to my init driver function.

Problem: But now I can't see data at user level application. It looks like flip_buffer needs to get termination character(or new line character) to push data to high level.

Which character should I add to flip_buffer to push data to high level? I tried to add '/n', it works, but after that user level gets '/n' as well. But I need something like a filter, to inform flip_buffer only, not user level application.

Thank you
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/