NetBSD-Users archive

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

Re: ldattach(8) alike util in NetBSD?



On 09 Feb 2015, at 09:16 , Marc Balmer <marc%msys.ch@localhost> wrote:
> Am 09.02.15 um 09:06 schrieb Fredrik Pettai:
> 
>> OpenBSD has ldattach(8) for setting for instance baudrate on a serial device. 
>> http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/ldattach.8?query=ldattach&sec=8
>> 
>> Is there a similar util in NetBSD ?
> 
> slattach(8). You can set the baudrate using the -s option.
> 
> See http://netbsd.gw.com/cgi-bin/man-cgi?slattach++NetBSD-current

Hmmm, it doesn’t seem to work well…

rpi# slattach (-l) -n -s 460800 /dev/ttyU0 (or ttyU1)
slattach: TIOCSLINED: Device not configured

dmesg says:

uftdi0 at uhub1 port 2
uftdi0: FTDI FT232R USB UART, rev 2.00/6.00, addr 4
ucom0 at uftdi0 portno 1
ucycomopen: unit=0
ucycomopen: sc=0x0
ucycomopen: unit=1
ucycomopen: sc=0x0

/P



Home | Main Index | Thread Index | Old Index