Re: usb serial: pl2303 driver TxD "break" stays after close() bug
From: Johan Hovold
Date: Thu Feb 19 2015 - 22:23:51 EST
On Thu, Feb 19, 2015 at 03:38:39PM +0200, Jari Ruusu wrote:
> On 2/19/15, Johan Hovold <johan@xxxxxxxxxx> wrote:
> > What happens when you reopen the port? Is the break state cleared then?
>
> Stuck "break" signal is not cleared on re-open.
>
> To clear it, you need to poke it with ioctl(fd, TIOCCBRK, 0)
> or disconnect the device.
That's definitely a bug.
Care to test the patch below?
Thanks,
Johan