Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97365

Re: Pyserial and Ubuntu Linux kernel 3.13.0-65-generic

From Laura Creighton <lac@openend.se>
Subject Re: Pyserial and Ubuntu Linux kernel 3.13.0-65-generic
References <mun0t7$68r$1@dont-email.me> <201510030907.t93974tU002535@fido.openend.se>
Date 2015-10-03 11:12 +0200
Newsgroups comp.lang.python
Message-ID <mailman.359.1443863551.28679.python-list@python.org> (permalink)

Show all headers | View raw


In a message of Sat, 03 Oct 2015 11:07:04 +0200, Laura Creighton writes:
>In a message of Fri, 02 Oct 2015 22:36:23 -0000, Rob Gaddi writes:
>>So, this is odd.  I'm running Ubuntu 14.04, and my system did a kernel 
>>upgrade from the repository from 3.13.0-63-generic to 3.13.0-65-generic.  
>>And pyserial (2.7, installed through pip) stopped working.
>>
>>Specifically, when I make read() calls on a Serial object, I get the error
>>
>>serial.serialutil.SerialException: device reports readiness to read but 
>>returned no data (device disconnected?)
>>
>>This comes from the PosixSerial.read() method in serialposix.py, and 
>>seems to be a result of the select.select call screwing up.
>>
>>I reboot under 3.13.0-63-generic.  My code works.  I reboot under 
>>3.13.0-65-generic.  My code doesn't.  Implication would seem to be that 
>>somehow between these kernel versions, the select() logic in the serial 
>>driver changed.  This happens regardless of whether the serial port is 
>>real, FTDI USB-UART, or Prolific USB-UART.
>>
>>Can anyone else confirm?  Also, who do I try to report this one to?
>>
>>Thanks,
>>Rob
>>
>>-- 
>>Rob Gaddi, Highland Technology -- www.highlandtechnology.com
>>Email address domain is currently out of order.  See above to fix.
>>-- 
>>https://mail.python.org/mailman/listinfo/python-list
>
>I think you have this bug
>https://bugs.launchpad.net/ubuntu/+source/linux/+bug/460857
>
>or rather, you like the behaviour that ubuntu thinks is buggy,
>which never got fixed, and don't like that it changed to be
>what ubuntu thinks is correct in .65.
>
>I'd talk to the pyserial issue tracker as the people there ought
>to be well aware of this problem, and then see if talking to
>ubuntu is the right thing to do.
>
>Laura
>-- 
>https://mail.python.org/mailman/listinfo/python-list

I think I said that poorly.

What I think happened is that ubuntu made some changes to fix this
problem, and along the way they managed to break things for you,
and maybe all pyserial users.  But I would talk to the pyserial people
about that.

Laura

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Pyserial and Ubuntu Linux kernel 3.13.0-65-generic Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-10-02 22:36 +0000
  Re: Pyserial and Ubuntu Linux kernel 3.13.0-65-generic Grant Edwards <invalid@invalid.invalid> - 2015-10-02 23:36 +0000
  Re: Pyserial and Ubuntu Linux kernel 3.13.0-65-generic Laura Creighton <lac@openend.se> - 2015-10-03 11:07 +0200
  Re: Pyserial and Ubuntu Linux kernel 3.13.0-65-generic Laura Creighton <lac@openend.se> - 2015-10-03 11:12 +0200
    Re: Pyserial and Ubuntu Linux kernel 3.13.0-65-generic Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-10-05 16:34 +0000
  Re: Pyserial and Ubuntu Linux kernel 3.13.0-65-generic Laura Creighton <lac@openend.se> - 2015-10-03 11:19 +0200
  Re: Pyserial and Ubuntu Linux kernel 3.13.0-65-generic Michael Torrie <torriem@gmail.com> - 2015-10-03 08:38 -0600
  Re: Pyserial and Ubuntu Linux kernel 3.13.0-65-generic Laura Creighton <lac@openend.se> - 2015-10-03 18:23 +0200
    Re: Pyserial and Ubuntu Linux kernel 3.13.0-65-generic Grant Edwards <invalid@invalid.invalid> - 2015-10-06 21:31 +0000
      Re: Pyserial and Ubuntu Linux kernel 3.13.0-65-generic Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-10-06 21:46 +0000
      Re: Pyserial and Ubuntu Linux kernel 3.13.0-65-generic Laura Creighton <lac@openend.se> - 2015-10-06 23:51 +0200
  Re: Pyserial and Ubuntu Linux kernel 3.13.0-65-generic Dave Farrance <df@see.replyto.invalid> - 2015-10-07 09:29 +0100

csiph-web