[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Configure serial port settings at boot



On 12/05/2014 08:32 PM, Alex Carver wrote:
> Does anyone happen to know if there's a way to set up the default state
> of a serial port at boot?  I want to switch the port into raw mode
> instead of cooked.  When everything is running I just use "stty -F
> /dev/ttyS0 raw" but that will not survive a reboot.
> 
> setserial as far as I can tell only handles the base configuration
> (address, IRQ, etc.)

Don't know, but perhaps a udev rule?