Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix setting custom baudrates on linux/ppc{64,64le} machines #794

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shawnanastasio
Copy link

serialposix.py's PlatformSpecific._set_special_baudrate uses the TCGETS2/TCSETS2 ioctls on linux to set custom baud rates, but the correct ioctl number and constants are not present for ppc.

Fix this by defining the required constants when running on a ppc machine, as is already done for mips.

serialposix.py's PlatformSpecific._set_special_baudrate uses the
TCGETS2/TCSETS2 ioctls on linux to set custom baud rates, but the
correct ioctl number and constants are not present for ppc.

Fix this by defining the required constants when running on a ppc
machine, as is already done for mips.

Signed-off-by: Shawn Anastasio <[email protected]>
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.

1 participant