Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2013 14:08:28 -0600
From:      Ian Lepore <ian@FreeBSD.org>
To:        lev@FreeBSD.org
Cc:        Harald Schmalzbauer <h.schmalzbauer@omnilan.de>, FreeBSD Stable <freebsd-stable@FreeBSD.org>, freebsd-usb@FreeBSD.org
Subject:   Re: umcs (4-Port-USB-serial) triggering way too much ehci IRQs
Message-ID:  <1379448508.1197.55.camel@revolution.hippie.lan>
In-Reply-To: <1315939910.20130917230839@serebryakov.spb.ru>
References:  <52372DBA.6020703@omnilan.de> <1314959000.20130917013707@serebryakov.spb.ru> <523894B5.4080806@omnilan.de> <1315939910.20130917230839@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2013-09-17 at 23:08 +0400, Lev Serebryakov wrote:
> Hello, Harald.
> You wrote 17 =D3=C5=CE=D4=D1=C2=D2=D1 2013 =C7., 21:43:17:
>=20
> HS> Is that worth a try?
> HS> http://www.asix.com.tw/FrootAttach/driver/MCS7840_7820_FreeBSD_driv=
er_v1.1.zip
>   Nope. I've started from this driver, and it even doesn't support BREA=
K
>  signal (it is was first reason why I start to write new one -- I neede=
d
>  BREAK to enter kernel debugger).
>=20
> HS> At least, it seems to be possible to enable RS485-mode :-) :-)
>   I could easily add RS485 mode, BUT! FreeBSD doesn;'t have any userlan=
d API
>  for it, and the same is true for higher and non-standard baud rates.

There's no API needed for higher baud rates.  I've used cfsetspeed() to
set 3mbps on ftdi chips.   I've also used it for completely arbitrary
speeds like 554000bps (happens to be the fastest I can run an ftdi chip
on a 180mhz arm without dropping chars, but going that fast requires
other changes to the driver.).

-- Ian







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1379448508.1197.55.camel>