-
I'm stupid, it's pyserial
(a bit confusing, as the package name is serial)
2009-09-23 19:51:13 UTC in Python Serial Port Extension
-
It seems the package description is broken
$> easy_install-2.6 serial
Searching for serial
Reading http://pypi.python.org/simple/serial/
Couldn't find index page for 'serial' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for serial
error: Could not find suitable distribution...
2009-09-23 19:50:12 UTC in Python Serial Port Extension
-
Using SVN HEAD, Cygiwn 1.5, Python 2.5.2:
The backward compatibility with Python < 2.6 as implemented in serialutil.py does not work
The code line 10 ("bytes") expects an AttributeError exception, while the Python VM raises a NameError.
A quick fix seems to be:
except (AttributeError, NameError):
# ...
HTH
As a side note, with a FTDI 4232 -based serial device - which works...
2009-07-29 16:31:51 UTC in Python Serial Port Extension
-
Ok, great, it works with [242], up to 3Mbps on my machine - thanks a lot.
I've added the following piece of code to enable or not the Darwin hack, depending on the actual pyserial version number. Please, let me know if there is a better way:
{{{
serialclass = serial.Serial
# hack for Mac OS X hosts: the underlying termios system library
# cannot cope with baudrates...
2009-07-24 12:56:53 UTC in Python Serial Port Extension
-
Sorry, I meant:
I've set up a clean Python installation (2.6.2), to be sure that no
previously *installed* modules get in the way.
I may have *forgot* something obvious, but I see no improvement:
2009-07-22 18:20:54 UTC in Python Serial Port Extension
-
> the SVN HEAD already contains code to support non standard baudrate on
> POSIX systems. did you test if that works for you too?
I've set up a clean Python installation (2.6.2), to be sure that no previously modules get in the way.
I may have forget something obvious, but I see no improvement:
# try speed 460800
Traceback (most recent call last):
File "host/bin/neoflasher.py", line...
2009-07-22 18:19:37 UTC in Python Serial Port Extension
-
File Added: hsserial.py.
2009-02-04 00:26:58 UTC in Python Serial Port Extension
-
Mac OS X TERMIOS API only supports baudrates up to 230400 bps.
Higher baudrates are not supported, and any attempt to use them ends up with an exception.
On Tiger (10.4.x) and above, it is nevertheless possible to use higher baudrates, using an IOKit-specific ioctl call.
I have not written a patch yet, but here is a code sample I use to circumvent the current pyserial limitation on Mac...
2009-02-04 00:24:47 UTC in Python Serial Port Extension
-
It seems the issue actually depends on the USB-RS232 bridge; on the USB key I just bought it's deadly slow; on the key I bought a year ago, it works as expected.
Maybe the PL2303 chip inside the USB key is different (H, HX, X, ...) ? Let me know if there is a way to report the chip version
BTW I just froze one of my two Core 2 (MacMini): after a small RS232 communication, the communicate...
2008-02-20 16:51:28 UTC in PL2303 USB to Serial Driver for Mac OS X
-
Really a small cosmetic, trivial change; anyway:
The installer shows the following instruction sequence to uninstall the driver:
-open a terminal
-type: kextunload /System/Library/Extensions/osx-pl2303.kext/
-The command prompt ask for you administrator password
-type: sudo rm -r /System/Library/Extensions/osx-pl2303.kext/
-The command prompt ask for you administrator password
-type...
2008-02-20 16:47:32 UTC in PL2303 USB to Serial Driver for Mac OS X