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

Baud rate not set correctly on macOS Ventura #27

Open
thoralt opened this issue Nov 28, 2023 · 0 comments
Open

Baud rate not set correctly on macOS Ventura #27

thoralt opened this issue Nov 28, 2023 · 0 comments

Comments

@thoralt
Copy link

thoralt commented Nov 28, 2023

Thank you for all the effort you put into this repo, it's a really great project!

While trying to use it on my 2017 MacBook Pro (macOS Ventura 13.4.1), I was not able to get the CLI working with my Arduino. The Arduino and the floppy disk drive had been successfully tested using a Windows PC.

I used my scope to check the FTDI TX line and it sends the correct initialization byte sequence, but only at 9600 instead of 2000000 baud. When changing the initialization order inside SerialIO::configurePort() by moving ioctl(m_portHandle, IOSSIOSPEED, &baud) past the call to tcsetattr(), the CLI works as expected.

I prepared a pull request and it would be nice if you could consider merging it.

@thoralt thoralt changed the title Baud rate not set correctly on MacOS Ventura Baud rate not set correctly on macOS Ventura Nov 28, 2023
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

1 participant