[GLLUG] Reading USB serial port broken
Dimitrios Siganos
dimitris at siganos.org
Fri Sep 20 12:40:32 UTC 2019
That can be answered by:
strace tail -f ...
On Fri, 20 Sep 2019 at 13:15, Henrik Morsing via GLLUG <
gllug at mailman.lug.org.uk> wrote:
> On Fri, Sep 20, 2019 at 11:00:53AM +0100, Dimitrios Siganos wrote:
> >How do you open the serial port from python?
> >If you use pyserial, try both with hardware flow control on and off like
> >this.
> >
> >ser = serial.Serial(device, baudrate, rtscts=1)
> >and...
> >ser = serial.Serial(device, baudrate, rtscts=0)
> >
>
> Thanks, I just tried both those rtscts settings and neither helped.
>
> I'm just wondering what tail does that makes it work.
>
> Henrik
>
> --
> GLLUG mailing list
> GLLUG at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/gllug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20190920/2166cd74/attachment.html>
More information about the GLLUG
mailing list