From owner-freebsd-current@FreeBSD.ORG Sun Sep 27 17:50:15 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40BA5106568F; Sun, 27 Sep 2009 17:50:15 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 986158FC1E; Sun, 27 Sep 2009 17:50:14 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=7H_uI1Jp-TAA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=I8vkOwftpKyv8B4xJjkA:9 a=7aerLU9yPSJS8G4woOYcLmZ0aGgA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1309035787; Sun, 27 Sep 2009 19:50:12 +0200 Received-SPF: softfail receiver=mailfe04.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 27 Sep 2009 19:50:54 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200909251909.31503.hselasky@freebsd.org> <4ABD4EDF.4040807@acm.poly.edu> <4ABE2B4F.6080104@tomjudge.com> In-Reply-To: <4ABE2B4F.6080104@tomjudge.com> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909271950.55189.hselasky@freebsd.org> Cc: Tom Judge , freebsd-current@freebsd.org Subject: Re: Polling support for USB serial port adapters [patches] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2009 17:50:15 -0000 Hi, Here is a patchset which you can try. http://perforce.freebsd.org/chv.cgi?CH=168932 You need to download at least: usb_serial.h and usb_serial.c Download serial port drivers as needed. You need to at least recompile all USB serial modules. To enable you set: hw.usb.ucom.cons_unit=0 hw.usb.ucom.cons_baud=9600 In /boot/loader.conf NOTE: The patches have not been tested yet, only carefully reviewed. If you experience any problems, please debug and send patch to me. --HPS