From owner-freebsd-stable@FreeBSD.ORG Tue Sep 17 20:08:39 2013 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F181593C; Tue, 17 Sep 2013 20:08:38 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C29B32F4E; Tue, 17 Sep 2013 20:08:38 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1VM1ZX-000650-KX; Tue, 17 Sep 2013 20:08:31 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r8HK8SZk014174; Tue, 17 Sep 2013 14:08:28 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/56LIVbye+pZv+6EOpZ5/Z Subject: Re: umcs (4-Port-USB-serial) triggering way too much ehci IRQs From: Ian Lepore To: lev@FreeBSD.org 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> Content-Type: text/plain; charset="koi8-r" Date: Tue, 17 Sep 2013 14:08:28 -0600 Message-ID: <1379448508.1197.55.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by damnhippie.dyndns.org id r8HK8SZk014174 Cc: Harald Schmalzbauer , FreeBSD Stable , freebsd-usb@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Sep 2013 20:08:39 -0000 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