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

Path csiph.com!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'repository': 0.05; 'url:launchpad': 0.05; 'versions,': 0.05; 'works.': 0.07; 'creighton': 0.09; 'fix.': 0.09; 'fixed,': 0.09; 'logic': 0.09; 'read()': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'bug': 0.10; '>in': 0.16; '>to': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'rather,': 0.16; 'reboot': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'skip:> 20': 0.16; 'url:linux': 0.16; 'laura': 0.18; 'working.': 0.18; 'changes': 0.20; '2015': 0.20; 'tracker': 0.20; 'fix': 0.21; 'do.': 0.22; 'sat,': 0.23; 'url:bugs': 0.24; 'installed': 0.26; 'error': 0.27; 'fri,': 0.27; 'order.': 0.27; '+0200,': 0.27; 'object,': 0.27; 'to?': 0.27; 'correct': 0.28; 'device': 0.28; 'behaviour': 0.29; 'received:se': 0.29; 'thinks': 0.29; "i'm": 0.30; 'that.': 0.30; 'url:mailman': 0.30; 'code': 0.30; 'regardless': 0.31; 'users.': 0.31; 'anyone': 0.32; 'up.': 0.32; 'maybe': 0.33; 'changed': 0.33; 'url:python': 0.33; 'ubuntu': 0.33; 'url:listinfo': 0.34; 'running': 0.34; 'skip:3 10': 0.35; 'happened': 0.35; 'skip:> 10': 0.35; 'stopped': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'url:source': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'method': 0.37; 'charset:us-ascii': 0.37; 'seem': 0.37; 'things': 0.38; 'reports': 0.38; 'data': 0.39; 'along': 0.39; 'subject:-': 0.39; 'url:mail': 0.40; 'to:addr:python.org': 0.40; 'some': 0.40; 'address': 0.61; 'header:Message-Id:1': 0.61; 'between': 0.65; 'talking': 0.67; 'serial': 0.70; 'header:In-reply-to:1': 0.84; 'prolific': 0.84; 'readiness': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=openend.se; s=default; t=1443863549; bh=Xce8Vh9G5HLklb30XAYiY0hnL1QCql3tStLCRzFx+Wo=; h=To:From:Subject:In-reply-to:References:Date:From; b=nW2yo4RaCNy5ie7nBAYel6xXBscXqgTwrfjcRKQWk/iJ8OxNsu+BHCL/czfsQnnTm 67oOf6MEp4/BHKTpHqvu6vtSwblFcg8x1C+u1Neu3rznDq0lzYZOKx2TDK0O6CjrYR SDDeCR5cfrY/ZD6nflYtc0z7UGbP1H1RjJD+JLP0=
To python-list@python.org
From Laura Creighton <lac@openend.se>
Subject Re: Pyserial and Ubuntu Linux kernel 3.13.0-65-generic
In-reply-to <201510030907.t93974tU002535@fido.openend.se>
References <mun0t7$68r$1@dont-email.me> <201510030907.t93974tU002535@fido.openend.se>
Comments In-reply-to Laura Creighton <lac@openend.se> message dated "Sat, 03 Oct 2015 11:07:04 +0200."
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-ID <3121.1443863548.1@fido>
Date Sat, 03 Oct 2015 11:12:28 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Sat, 03 Oct 2015 11:12:29 +0200 (CEST)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.359.1443863551.28679.python-list@python.org> (permalink)
Lines 54
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1443863551 news.xs4all.nl 23776 [2001:888:2000:d::a6]:51507
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:97365

Show key headers only | 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