Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ofSerial prefixMatch search does not find Raspberry Pi UART under certain versions of Raspbian #3435

Open
indicatesvoid opened this issue Nov 22, 2014 · 2 comments

Comments

@indicatesvoid
Copy link

I am unsure if, at one point, the Raspberry Pi's UART routed to /dev/ttyACM0, however, on my Pi (updated to latest via apt-get update/upgrade), it routes to /dev/ttyAMA0.

As such, the ofSerial class will skip over it when building a device list.

A simple fix would be to add the following line after line 168 of ofSerial.cpp:

prefixMatch.push_back("ttyAMA");

(curious if there is a reason ofSerial isn't just doing a blanket search for anything with a "tty" prefix? Speed? Safety?)

@pizthewiz
Copy link
Member

I think @bakercp has dealt with ofSerial, he might have some insight. His addon ofxSerial is pretty excellent though. 😉

@bakercp
Copy link
Member

bakercp commented Nov 25, 2014

Seems like a quick and simple PR to add -- ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants