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

Fixes #20826 custom serial port speeds #21380

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ThomasKuehne
Copy link
Contributor

Fixes #20826 custom serial port speeds by adding TCSETS2 ioctl support and falling back to the original TIOCGSERIAL

some serial ports support only one of these ioctl calls but not both

Fixes mono#20826 by using linux' TCSETS2 ioctl instead of TIOCGSERIAL
some serial devices only support TCSETS2 ioctl and not TIOCGSERIAL ioctl
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

Successfully merging this pull request may close these issues.

Error when setting non-standard Baud Rate in Serial Port
1 participant