Comments (7)
The suffix (the bit after "tty.PL2303-") is generated from the serial number stored in the device, so I guess this means your device(s) have corrupt or badly formatted serial numbers. Check in "USB Prober" (installed with Xcode) or "System Profiler" if the serial number for the device looks wrong?
I've just checked all my PL2303 devices and none have a serial number set. In this case, the driver creates a suffix from the USB port number/location.
If you're a programmer, I'd suggest fixing the code around lines 986 to 1004 in osx_pl2303.cpp - it's supposed to reject serial numbers that aren't valid ASCII, but in your case it's obviously not doing that properly.
from osx-pl2303.
I just uploaded a version with a hack that bypasses the serial number logic and always uses the location info for the suffix. Hope this helps.
from osx-pl2303.
Thanks - but it still does the same thing.
The USB Probe indicated that the serial number is 12345678, with no cruft on the end. Looks like the rest of the string is uninitialized buffer, as the device special seems to have random characters after the string.
The device I'm playing with is the ultra-cheapo MS Streets & Trips GPS that came with S&T 2008.
from osx-pl2303.
Try the one I just uploaded.
from osx-pl2303.
It seems to be identical to the 13 Dec version.
from osx-pl2303.
I added a line of code to clear the buffer and make sure it's correctly terminated. Try again - I uploaded it again in case I accidentally uploaded the wrong file. Sorry for this back-and-forth, but I have no way of testing this (as I said, my devices don't have serial numbers).
from osx-pl2303.
Same device name issue as before, sorry. Is there any easy way that you can prevent non-alphanumeric characters getting into the device special name?
from osx-pl2303.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osx-pl2303.