← Back to team overview

touch-packages team mailing list archive

[Bug 1501240] [NEW] Serialport doens't work correctly after ubuntu update?

 

You have been subscribed to a public bug:

I have a strange problem with my serial port. It seems that sth has changed after ubuntu updates and reboot. 
When I try to open serial port in python I get exception: 

'device reports readiness to read but returned no data (device
disconnected or multiple access on port?)'

przem@przem:~/Pulpit/bat/scripts$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import serial
>>> ser = serial.Serial("/dev/ttyUSB0", 57600)
>>> ser.read()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 475, in read
    raise SerialException('device reports readiness to read but returned no data (device disconnected or multiple access on port?)')
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
>>> 

I know that there are also different users who has this problem. 
more info:
http://superuser.com/questions/979722/serialport-doenst-work-correctly-after-ubuntu-update

** Affects: python2.7 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Serialport doens't work correctly after ubuntu update?
https://bugs.launchpad.net/bugs/1501240
You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python2.7 in Ubuntu.


References