Getting DSR-status throws an IOError exception
Bug #304469 reported by
Tomas Grahn
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyserial (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When attempting to get the DSR-status of the serial port using pySerial, it throws an exception. I'm using Ubuntu 8.10 (amd64) with all the latest updates.
The following code triggers it (executed from IDLE):
>>> import serial
>>> modem = serial.
>>> modem.getDSR()
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
modem.getDSR()
File "/usr/lib/
s = fcntl.ioctl(
IOError: [Errno 22] Invalid argument
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.