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

PL2303HXD issues with high baud rates #22

Open
swiftgeek opened this issue Nov 30, 2019 · 4 comments
Open

PL2303HXD issues with high baud rates #22

swiftgeek opened this issue Nov 30, 2019 · 4 comments

Comments

@swiftgeek
Copy link

swiftgeek commented Nov 30, 2019

6000000 and 12000000 baud rates have issues with linux-serial-test, but work fine in tio/picocom.

Lower ones work fine in linux-serial-test

linux-serial-test -b 6000000 -p /dev/ttyUSB0 -s -e
Linux serial test app
NOTE: non standard baud rate, trying custom divisor
zsh: floating point exception (core dumped)
linux-serial-te[631304] trap divide error ip:556b5c37a677 sp:7fffab836d80 error:0 in linux-serial-test[556b5c37a000+2000]
@andy-shev
Copy link
Contributor

Seems duplicate of #17.

@cbrake
Copy link
Owner

cbrake commented Nov 30, 2019

does anyone happen to know what API the tio/picocom apps use? Might be able to learn something there.

@swiftgeek what platform are you testing on?

@swiftgeek
Copy link
Author

swiftgeek commented Dec 1, 2019

Archlinux with 5.3.x kernel

And BOTHER search on picocom repo returns https://github.com/npat-efault/picocom/blob/master/termios2.txt so I guess it's using that.

From tio changelog It looks like it uses termios2 as well, but only for nonstandard baud rates

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

3 participants