Line discipline

Samuel Thibault samuel.thibault at ens-lyon.org
Tue Jan 24 03:30:45 EST 2017


Okash Khawaja, on Tue 24 Jan 2017 06:16:46 +0000, wrote:
> Combined the refactor changes with your tty code to test speakup_dummy. It
> seems okay

Good :)

> except for problem when unloading speakup.ko - it is in use so can't
> be unloaded. I have just got this so investigating it.

I guess it's a release issue on the tty or such. Could you share your
code so we can investigate too?

> One question. Using your code, we can obtain tty, cache it and use it directly
> for all subsequent writes. Why then use ldisc?

To be able to read characters. There is no "read" operation in the tty.
We'll receive characters through the receive_buf callback.

Samuel


More information about the Speakup mailing list