[Bug 304469] [NEW] Getting DSR-status throws an IOError exception
Tomas Grahn
tomas_grahn at yahoo.com
Tue Dec 2 17:16:51 UTC 2008
Public bug reported:
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.Serial("/dev/ttyUSB0")
>>> modem.getDSR()
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
modem.getDSR()
File "/usr/lib/python2.5/site-packages/serial/serialposix.py", line 399, in getDSR
s = fcntl.ioctl(self.fd, TIOCMGET, TIOCM_zero_str)
IOError: [Errno 22] Invalid argument
** Affects: pyserial (Ubuntu)
Importance: Undecided
Status: New
--
Getting DSR-status throws an IOError exception
https://bugs.launchpad.net/bugs/304469
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list