Line discipline
Okash Khawaja
okash.khawaja at gmail.com
Sun Dec 11 17:33:57 EST 2016
Hi Samuel,
That's great. Let me get back on this soon as I can.
Thanks,
Okash
> On 11 Dec 2016, at 20:22, Samuel Thibault <samuel.thibault at ens-lyon.org> wrote:
>
> Hello,
>
> Okash Khawaja, on Sun 27 Nov 2016 20:41:50 +0000, wrote:
>> Thanks for explanation. I have not been able to work on this recently - pulled
>> away for something urgent. As soon as it's over, I'll be back on it. Probably
>> third week of December.
>
> I've taken some time to have a look, I have attached the result:
>
> - tty_NULL is a patch against the kernel to make tty functions accept
> being called with filp == NULL
> - mymodule.tgz is a dumb module which opens ttyS0 (major 4 minor 64),
> and writes to it through the tty write operation.
>
> So this, combined with your work on the line discipline, should get
> something working, and opening other serial ports (e.g. ttyUSB0) is a
> matter of changing the major/minor pair (e.g. 188, 0).
>
> Samuel
> <mymodule.tgz>
> <tty_NULL>
More information about the Speakup
mailing list