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

macOS 11.13 Big Sur does not show description() is n/a #24

Open
stephanschulz opened this issue Jul 22, 2021 · 4 comments
Open

macOS 11.13 Big Sur does not show description() is n/a #24

stephanschulz opened this issue Jul 22, 2021 · 4 comments

Comments

@stephanschulz
Copy link

I used to be able to call ofIsStringInString(deviceDescriptor.description(), "Teensyduino") but since macOS 11.13 the descriptor is n/a.

Screen Shot 2021-07-22 at 11 15 01 AM

I will have to dig deeper to figure out why

@bakercp
Copy link
Owner

bakercp commented Jul 29, 2021

This is likely an upstream issue with https://github.com/wjwwood/serial. Perhaps get the latest version of that library and see if it works? If not, then it's probably some macos api change / call that needs to be updated.

@stephanschulz
Copy link
Author

thanks for the tip. I replaced the lib folder in ofxSerial/libs/serial but it did not fix the issue.

@bakercp
Copy link
Owner

bakercp commented Oct 10, 2021

Hmm, perhaps leave an issue @ the wjwwood/serial repo. If you want to do some investigation, the relevant code in the original library is likely here https://github.com/wjwwood/serial/blob/main/src/impl/list_ports/list_ports_osx.cc#L239-L257 After a quick glance, the IOKit libraries associated with this don't seem to have any notable deprecations w/ big sur. I'm not able to test at the moment, as I don't have access to a machine running big sur.

@stephanschulz
Copy link
Author

Yes this branch solved the issue for me.

[notice ] setupSerial: Connected Devices: 
[notice ] setupSerial: 	/dev/cu.usbmodem120889801, Teensyduino USB Serial, USB VID:PID=16c0:0483 SNR=12088980
[notice ] setupSerial: 	/dev/cu.usbserial-EN092209, ENTTEC DMX USB PRO, USB VID:PID=0403:6001 SNR=EN092209
[notice ] setupSerial: 	/dev/cu.Bluetooth-Incoming-Port, n/a, n/a

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

No branches or pull requests

2 participants