Path: csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed7.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: 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; 'cc:addr :python-list': 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; '>thanks,': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 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; 'url:linux': 0.16; 'laura': 0.18; 'working.': 0.18; '2015': 0.20; 'cc:addr:python.org': 0.20; 'tracker': 0.20; 'cc:2**1': 0.22; 'do.': 0.22; 'url:bugs': 0.24; 'installed': 0.26; 'error': 0.27; 'fri,': 0.27; 'order.': 0.27; 'object,': 0.27; 'to?': 0.27; 'correct': 0.28; 'device': 0.28; 'behaviour': 0.29; 'received:se': 0.29; 'thinks': 0.29; 'cc:no real name:2**1': 0.29; "i'm": 0.30; 'url:mailman': 0.30; 'code': 0.30; "i'd": 0.31; 'regardless': 0.31; 'anyone': 0.32; 'up.': 0.32; 'changed': 0.33; 'url:python': 0.33; 'ubuntu': 0.33; 'url:listinfo': 0.34; 'running': 0.34; 'skip:3 10': 0.35; 'skip:> 10': 0.35; 'stopped': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'url:source': 0.36; 'subject:: ': 0.37; 'method': 0.37; 'charset:us-ascii': 0.37; 'seem': 0.37; 'reports': 0.38; 'data': 0.39; 'subject:-': 0.39; 'url:mail': 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=1443863231; bh=ZmZRBjw3XhXmYv/FCPwljH4wmyLkEdpmlqxwkkBH+fw=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=IKZQDNZK8r8/viamWn459JGH6A2j4m0lhNBywBEnUiOrye7UxwSYUdg3VdO45FyJI QqhD50sQYQn/DK+xoqsPowoMnfsW6jSbW5/CEaiIAb0ywr5QYiTynWvbwwjg1qHCS0 Lq/Vr4p88TcFy9hjEvU8/qC1Jy6nQkQ7HdAVZ4aE= To: Rob Gaddi cc: python-list@python.org, lac@openend.se From: Laura Creighton Subject: Re: Pyserial and Ubuntu Linux kernel 3.13.0-65-generic In-reply-to: References: Comments: In-reply-to Rob Gaddi message dated "Fri, 02 Oct 2015 22:36:23 -0000." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2533.1443863224.1@fido> Date: Sat, 03 Oct 2015 11:07:04 +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:07:11 +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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 42 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1443863307 news.xs4all.nl 23741 [2001:888:2000:d::a6]:48769 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:97364 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