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

Not working with Apple M1 / Silicon #243

Open
benkuper opened this issue May 2, 2021 · 3 comments
Open

Not working with Apple M1 / Silicon #243

benkuper opened this issue May 2, 2021 · 3 comments

Comments

@benkuper
Copy link

benkuper commented May 2, 2021

Hello there,
and thank you for this wonderful lib !
I'm using it it in my project Chataigne : https://github.com/benkuper/Chataigne / http://benjamin.kuperberg.fr/chataigne
Some users have reported that listing of the port on M1 laptops is not working.. other softwares are able to detect USB serial boards (ESP32, arduino boards), but listing on Apple M1 is just not working.
I can't verify for myself but it may be interesting to know if other people have problems or if it is an expected behaviour at all.

Thank you

@wjwwood
Copy link
Owner

wjwwood commented Jun 10, 2021

I haven't tried it (may have to finally get an M1 to test it), but if you have any more information about what's not working or the scenario that would be helpful. I just merged a pull request related to custom baud rates on macOS (a93fc84), so maybe try master?

@benkuper
Copy link
Author

benkuper commented Jun 13, 2021

Hey, I don't have M1 as well (don't even have a mac, just VM)..
What I think is happening is that the list returned by serial::list_ports() is empty.
At least from what I understand, the UI on my software is not showing the USB serial ports that are connected (and detected by other softwares like Arduino IDE).

@benkuper
Copy link
Author

benkuper commented Apr 8, 2023

Hello, update on that, it seems not working still and I could test with a Silicon :
My software was filtering VID/PID 0x0, it seems that all detected devices are returning vid / pid 0x0 on silicon.
At first I thought it was Rosetta's abstraction since my software was compiled for Intel only, but I recently made a native Silicon version and still the same problem.
I'll try to dig a bit more if it's a common problem shared by other software or if it comes from this library

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

2 participants