| Store | Cart

Pyserial and Ubuntu Linux kernel 3.13.0-65-generic

From: Rob Gaddi <rga...@technologyhighland.invalid>
Fri, 2 Oct 2015 22:36:23 +0000 (UTC)
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

Recent Messages in this Thread
Rob Gaddi Oct 02, 2015 10:36 pm
Grant Edwards Oct 02, 2015 11:36 pm
Laura Creighton Oct 03, 2015 09:07 am
Laura Creighton Oct 03, 2015 09:12 am
Laura Creighton Oct 03, 2015 09:19 am
Michael Torrie Oct 03, 2015 02:38 pm
Laura Creighton Oct 03, 2015 04:23 pm
Grant Edwards Oct 06, 2015 09:31 pm
Rob Gaddi Oct 06, 2015 09:46 pm
Laura Creighton Oct 06, 2015 09:51 pm
Rob Gaddi Oct 05, 2015 04:34 pm
Dave Farrance Oct 07, 2015 08:29 am
Messages in this thread