Re: setting non-standard baud rate on serial port

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Graham
Date:  
To: Main PLUG discussion list
Subject: Re: setting non-standard baud rate on serial port
From: "Steven A. DuChene" <>
> I have an automotive diagnostic device that seems to only want to
> communicate across the serial port at a baud rate of 8192
>
> stty -F /dev/ttyS0 8192
> stty: invalid argument `8192'


> Anyone have any idea how to set baud rate on a serial port to a
> non-standard baud rate like this?


http://stackoverflow.com/questions/4968529/how-to-set-baud-rate-to-307200-on-linux

...might help. stty by itself won't do it. Custom ioctl() appears to be
required. I think you can make it work with some extra fiddling.

--
Matt G / Dances With Crows
The Crow202 Blog: http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss