supporting more than ttyS*

Okash Khawaja okash.khawaja at gmail.com
Sat Jun 3 09:32:46 EDT 2017



> On 3 Jun 2017, at 13:32, Samuel Thibault <samuel.thibault at ens-lyon.org> wrote:
> 
> 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
>> driver.
> 
> 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.
True

This sounds great. /dev/lp* support should be straightforward. I am thinking of adding ttyS* and ttyUSB* in the first pass. And then add lp* afterwards as that may require testing. Let me know if that's okay. 

Thanks,
Okash


More information about the Speakup mailing list