Skip to content

Baud rate not set correctly on macOS Ventura #27

@thoralt

Description

@thoralt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions