Re: tty line discipline driver advice sought, to do a 1-byte headerand 2-byte CRC checksum on GSM data

From: Guennadi Liakhovetski
Date: Sat Nov 25 2006 - 11:32:33 EST


(removed arm-linux because I am not subscribed to it from this address,
don't know about hh)

On Sat, 25 Nov 2006, Luke Kenneth Casson Leighton wrote:

> and having read harald's email, and basically gone 'cool!', and, having
> then looked up 'tty line discipline' on google (_before_ writing
> this...) and gone 'errr...' i was wondering:
>
> could someone kindly advise me how to write a tty line discipline
> driver?

Well, this is what I came up with when I googled for it:

http://www.eros-os.org/design-notes/LineDiscDesign.html
http://www.linux.it/~rubini/docs/serial/serial.html
http://lwn.net/Articles/87662/

That's all I can help you with - didn't actually write any ldisc as it
wasn't the right solution for my problem.

HTH
Guennadi
---
Guennadi Liakhovetski
-
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/