Skip to content

Conversation

dfries
Copy link

@dfries dfries commented Jul 3, 2016

I'm using socat, and the man page said to do socat -hh |grep ' b[1-9]' to get all possible speeds, which is 30, none of them worked. Other posts claim it is 74880 baud, instead set a standard computer value. If nothing else this way the source code tells the user what to expect.
socat -,echo=0,icanon=0 /dev/ttyUSB0,raw,echo=0,b115200,crnl

This way it is obvious what the baud rate is set to, and easy to
change.  As a beginner I was frustrated when I tried all baud rates
available and none worked.
@laurogama
Copy link

the value that worked for me was 38400

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.

2 participants