@kashim wrote:
Good morning guys,
I have a question about ofSerial.
I noticed that when I call the methods:
listDevices();
or
getDeviceList();(These two functions use the internal method buildDeviceList())
I understand that (under Linux), what happens
opendir is simply a folder of /dev/when cycling on readdir() takes control of some extensions previously saved in a vector called "prefixMatch"
This seems exclude most extensions under the folder /dev/
I think that's the offending piece:#ifdef TARGET_LINUX #ifdef TARGET_RASPBERRY_PI prefixMatch.push_back("ttyACM"); #endif prefixMatch.push_back("ttyS"); prefixMatch.push_back("ttyUSB"); prefixMatch.push_back("rfc"); #endif
under jessie with openFrameworks 0.9.0 RC2 will not let me see "ttyAMC"
unless it is active "TARGET_RASPBERRY_PI"the TARGET_RASPBERRY_PI is questioned only
when you try to compile it on ARM architecture. (I think).My question is:
how can I do to be able to see the other devices on Linux i386 / amd64?I'm forced to change ofSerial?
or I have to do my opendir the /dev/ in my main program?Thanks for your attention good day at all.
Dario
Posts: 1
Participants: 1