supporting more than ttyS*
samuel.thibault at ens-lyon.org
Sat Jun 3 08:32:41 EDT 2017
Gregory Nowak, on ven. 02 juin 2017 17:44:51 -0700, wrote:
> On Fri, Jun 02, 2017 at 07:56:57PM -0400, Samuel Thibault wrote:
> > Uh. Well, probably, actually. It's a matter of writing the driver, i.e.
> > having a documentation of the protocol and somebody to do the tests, or
> > better, lend the hardware for testing.
> We already have the driver, for serial anyway. The blazer uses the bns
Ah, cool :)
> It sounds from what you said like it wouldn't be straight
> forward to open the parallel port instead of the serial port, and just
> start writing to it.
Yes, since /dev/lp* provide a tty interface, so the tty codebase should
be able to use them. That actually shows that serdev is not enough for
all our uses, so we'll really want to use the tty interface.
> I thought actually that using the parallel port
> is more straight forward, since there are no parameters like baudrate,
> stopbits, parity, and handshaking to set. Am I totally off here?
>From a tty perspective, it's just the same :)
But yes, there are a lot less questions with a parallel port.
More information about the Speakup