[patch 6/6] staging: speakup: Migrate acntsa, bns, dectlk and txprt to ttyio
Samuel Thibault
samuel.thibault at ens-lyon.org
Fri Mar 24 15:24:22 EDT 2017
Okash Khawaja, on ven. 24 mars 2017 19:21:54 +0000, wrote:
> On Sun, Feb 26, 2017 at 03:59:30AM +0100, Samuel Thibault wrote:
> > and then in speakup_apollo.c, instead of
> >
> > outb(UART_MCR_DTR, speakup_info.port_tts + UART_MCR);
> > outb(UART_MCR_DTR | UART_MCR_RTS,
> > speakup_info.port_tts + UART_MCR);
>
> Is there a specific reason for keeping DTR set all the time? Or is it
> just a defensive measure?
I guess the device requires it. That's normal RS232 signaling anyway.
With tiocmset, however, you won't have to care: the generic code will
already have enabled DTR, and you will only want to clear and set RTS.
Samuel
More information about the Speakup
mailing list