From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 02:07:07 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4578116A4CF; Sun, 7 Nov 2004 02:07:07 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 239E043D41; Sun, 7 Nov 2004 02:07:07 +0000 (GMT) (envelope-from iedowse@FreeBSD.org) Received: from freefall.freebsd.org (iedowse@localhost [127.0.0.1]) iA72776D097733; Sun, 7 Nov 2004 02:07:07 GMT (envelope-from iedowse@freefall.freebsd.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA72762l097729; Sun, 7 Nov 2004 02:07:06 GMT (envelope-from iedowse) Date: Sun, 7 Nov 2004 02:07:06 GMT From: Ian Dowse Message-Id: <200411070207.iA72762l097729@freefall.freebsd.org> To: tomdean@speakeasy.org, iedowse@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: i386/72497: WD USB Disk Panics -stable and 5.2.1 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 02:07:07 -0000 Synopsis: WD USB Disk Panics -stable and 5.2.1 State-Changed-From-To: open->feedback State-Changed-By: iedowse State-Changed-When: Sun Nov 7 01:59:47 GMT 2004 State-Changed-Why: Hi, we will need more information to track this down. Can you supply a dmesg log, the panic messages and a stack trace? http://www.freebsd.org/cgi/query-pr.cgi?pr=72497 From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 02:23:49 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E13B16A4CE; Sun, 7 Nov 2004 02:23:49 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 150FD43D1F; Sun, 7 Nov 2004 02:23:49 +0000 (GMT) (envelope-from iedowse@FreeBSD.org) Received: from freefall.freebsd.org (iedowse@localhost [127.0.0.1]) iA72NDw5098640; Sun, 7 Nov 2004 02:23:48 GMT (envelope-from iedowse@freefall.freebsd.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA72MRdq098585; Sun, 7 Nov 2004 02:22:27 GMT (envelope-from iedowse) Date: Sun, 7 Nov 2004 02:22:27 GMT From: Ian Dowse Message-Id: <200411070222.iA72MRdq098585@freefall.freebsd.org> To: nrgaravelli@yahoo.com, iedowse@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: i386/72380: [usb] USB does not work [dual Celeron Abit] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 02:23:49 -0000 Synopsis: [usb] USB does not work [dual Celeron Abit] State-Changed-From-To: open->feedback State-Changed-By: iedowse State-Changed-When: Sun Nov 7 02:12:30 GMT 2004 State-Changed-Why: Could you try adding `options USB_DEBUG' to your kernel config and see if you can get more information by raising the value of the `hw.usb.debug' sysctl? It would also be useful if you could see if the problem is still present in FreeBSD 5.3. http://www.freebsd.org/cgi/query-pr.cgi?pr=72380 From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 06:42:28 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D74FA16A4CE for ; Sun, 7 Nov 2004 06:42:28 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0B9443D2F for ; Sun, 7 Nov 2004 06:42:28 +0000 (GMT) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com ([66.30.114.143]) by comcast.net (rwcrmhc11) with ESMTP id <2004110706422801300br4a7e>; Sun, 7 Nov 2004 06:42:28 +0000 Received: from h00609772adf0.ne.client2.attbi.com (localhost [127.0.0.1]) iA76gSDd079953 for ; Sun, 7 Nov 2004 01:42:28 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)iA76gRIk079952 for freebsd-usb@freebsd.org; Sun, 7 Nov 2004 01:42:27 -0500 (EST) (envelope-from rodrigc) Date: Sun, 7 Nov 2004 01:42:27 -0500 From: Craig Rodrigues To: freebsd-usb@freebsd.org Message-ID: <20041107064227.GA79915@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Changing permissions of /dev/usb[n] to 664? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 06:42:29 -0000 Hi, Is there any particular reason to leave the permissions of /dev/usb[n] at 660 instead of 664? That would allow non-root users to run usbdevs to list the USB devices on the system. --- usb.c.orig Sun Nov 7 01:41:43 2004 +++ usb.c Sun Nov 7 01:41:56 2004 @@ -320,11 +320,11 @@ /* The per controller devices (used for usb_discover) */ /* XXX This is redundant now, but old usbd's will want it */ sc->sc_usbdev = make_dev(&usb_cdevsw, device_get_unit(self), UID_ROOT, - GID_OPERATOR, 0660, "usb%d", device_get_unit(self)); + GID_OPERATOR, 0664, "usb%d", device_get_unit(self)); if (usb_ndevs++ == 0) { /* The device spitting out events */ usb_dev = make_dev(&usb_cdevsw, USB_DEV_MINOR, UID_ROOT, - GID_OPERATOR, 0660, "usb"); + GID_OPERATOR, 0664, "usb"); } #endif -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 07:05:59 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C6FB16A4CE for ; Sun, 7 Nov 2004 07:05:59 +0000 (GMT) Received: from pimout1-ext.prodigy.net (pimout1-ext.prodigy.net [207.115.63.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 493E143D1F for ; Sun, 7 Nov 2004 07:05:56 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [192.168.1.102] (adsl-68-123-122-146.dsl.snfc21.pacbell.net [68.123.122.146])iA775pMt083610; Sun, 7 Nov 2004 02:05:52 -0500 Message-ID: <418DC94E.3010003@elischer.org> Date: Sat, 06 Nov 2004 23:05:50 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8a3) Gecko/20041017 X-Accept-Language: en, hu MIME-Version: 1.0 To: Craig Rodrigues References: <20041107064227.GA79915@crodrigues.org> In-Reply-To: <20041107064227.GA79915@crodrigues.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-usb@freebsd.org Subject: Re: Changing permissions of /dev/usb[n] to 664? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 07:05:59 -0000 Craig Rodrigues wrote: > Hi, > > Is there any particular reason to leave the > permissions of /dev/usb[n] at 660 instead of 664? > > That would allow non-root users to run usbdevs > to list the USB devices on the system. > > > --- usb.c.orig Sun Nov 7 01:41:43 2004 > +++ usb.c Sun Nov 7 01:41:56 2004 > @@ -320,11 +320,11 @@ > /* The per controller devices (used for usb_discover) */ > /* XXX This is redundant now, but old usbd's will want it */ > sc->sc_usbdev = make_dev(&usb_cdevsw, device_get_unit(self), UID_ROOT, > - GID_OPERATOR, 0660, "usb%d", device_get_unit(self)); > + GID_OPERATOR, 0664, "usb%d", device_get_unit(self)); > if (usb_ndevs++ == 0) { > /* The device spitting out events */ > usb_dev = make_dev(&usb_cdevsw, USB_DEV_MINOR, UID_ROOT, > - GID_OPERATOR, 0660, "usb"); > + GID_OPERATOR, 0664, "usb"); > } > #endif > > > > Do you WANT non operators to be aware of the hardware configuration? Surely people who need to know can be in group operator. I'm not saying that you don't, just that it needs to be considerred. And is that ALL they can do if you change it? From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 07:33:21 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89FAA16A4CE; Sun, 7 Nov 2004 07:33:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A94D43D53; Sun, 7 Nov 2004 07:33:21 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) iA77XLPw074076; Sun, 7 Nov 2004 07:33:21 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA77XLCk074072; Sun, 7 Nov 2004 07:33:21 GMT (envelope-from linimon) Date: Sun, 7 Nov 2004 07:33:21 GMT From: Mark Linimon Message-Id: <200411070733.iA77XLCk074072@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/73636: [usb] usb microsoft mouse with ps/2 converter plugged in through a generic 2 port KVM switch X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 07:33:21 -0000 Old Synopsis: usb microsoft mouse with ps/2 converter plugged in through a generic 2 port KVM switch New Synopsis: [usb] usb microsoft mouse with ps/2 converter plugged in through a generic 2 port KVM switch Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Sun Nov 7 07:32:43 GMT 2004 Responsible-Changed-Why: Reclassify and assign to mailing list. http://www.freebsd.org/cgi/query-pr.cgi?pr=73636 From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 16:16:07 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5599D16A4CE for ; Sun, 7 Nov 2004 16:16:07 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EBEC43D31 for ; Sun, 7 Nov 2004 16:16:07 +0000 (GMT) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com ([66.30.114.143]) by comcast.net (rwcrmhc13) with ESMTP id <20041107161606015007ctvde>; Sun, 7 Nov 2004 16:16:06 +0000 Received: from h00609772adf0.ne.client2.attbi.com (localhost [127.0.0.1]) iA7GG6oj081865; Sun, 7 Nov 2004 11:16:07 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)iA7GG66m081864; Sun, 7 Nov 2004 11:16:06 -0500 (EST) (envelope-from rodrigc) Date: Sun, 7 Nov 2004 11:16:05 -0500 From: Craig Rodrigues To: Julian Elischer Message-ID: <20041107161605.GA81779@crodrigues.org> References: <20041107064227.GA79915@crodrigues.org> <418DC94E.3010003@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <418DC94E.3010003@elischer.org> User-Agent: Mutt/1.4.1i cc: freebsd-usb@freebsd.org Subject: Re: Changing permissions of /dev/usb[n] to 664? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 16:16:07 -0000 On Sat, Nov 06, 2004 at 11:05:50PM -0800, Julian Elischer wrote: > Do you WANT non operators to be aware of the hardware configuration? > Surely people who need to know can be in group operator. If I can do the following without being in group operator: pciconf -l devinfo Then why shouldn't I also be able to do: usbdevs -v I looked at other drivers in src/sys/dev/usb, and the ones that have a make_dev() call invoke make_dev() with 0644. So at least this would be consistent with the other USB drivers. > I'm not saying that you don't, just that it needs to be considerred. > And is that ALL they can do if you change it? I don't see what the problem would be for giving read-only access to /dev/usb[n] for non-operators, but I'll let someone else chime in. -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 17:36:22 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DCE316A4CE for ; Sun, 7 Nov 2004 17:36:22 +0000 (GMT) Received: from mta09-svc.ntlworld.com (mta09-svc.ntlworld.com [62.253.162.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8AAF43D2D for ; Sun, 7 Nov 2004 17:36:21 +0000 (GMT) (envelope-from scott@fishballoon.org) Received: from llama.fishballoon.org ([81.104.197.225]) by mta09-svc.ntlworld.comESMTP <20041107173739.IGRF1100.mta09-svc.ntlworld.com@llama.fishballoon.org>; Sun, 7 Nov 2004 17:37:39 +0000 Received: from tuatara.fishballoon.org ([192.168.1.6]) by llama.fishballoon.org with esmtp (Exim 4.42 (FreeBSD)) id 1CQqxg-0004v1-En; Sun, 07 Nov 2004 17:36:20 +0000 Received: (from scott@localhost) by tuatara.fishballoon.org (8.12.11/8.12.11/Submit) id iA7HaJcb000638; Sun, 7 Nov 2004 17:36:19 GMT (envelope-from scott) Date: Sun, 7 Nov 2004 17:36:19 +0000 From: Scott Mitchell To: Julian Elischer Message-ID: <20041107173619.GA535@tuatara.fishballoon.org> References: <418BED57.6090203@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <418BED57.6090203@elischer.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 4.10-STABLE i386 cc: usb@freebsd.org Subject: Re: roll call and USB "plan" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 17:36:22 -0000 On Fri, Nov 05, 2004 at 01:15:03PM -0800, Julian Elischer wrote: > > ok, so, who's subscribed? (who considers themselves able to work on USB) > > 1/ where are we? > I've seen USB commits recently from several people.. > anyone have any plans and uncommitted work? Well, I have patches against 4.x for kern/69319 and some other problems I found while investigating it. You, I and Warner discussed this briefly a month or so ago, but it was understandably lost in the pre-5.3 effort. I'd like to get some agreement on what the correct fix is and commit it. Other than that I'm keen to do whatever I can to improve our USB2 support, but I need to get more familiar with the code first. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 18:09:46 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0228F16A4CE for ; Sun, 7 Nov 2004 18:09:46 +0000 (GMT) Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7A8C43D53 for ; Sun, 7 Nov 2004 18:09:45 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd03.aul.t-online.de by mailout01.sul.t-online.com with smtp id 1CQrTz-00017E-05; Sun, 07 Nov 2004 19:09:43 +0100 Received: from Andro-Beta.Leidinger.net (TtzqrsZEweStoIEAFacJcjQEkxTXb4P2XSYsVUlOfrMKWLO4MAWz8r@[217.229.219.195]) by fmrl03.sul.t-online.com with esmtp id 1CQrTo-1Ukhnc0; Sun, 7 Nov 2004 19:09:32 +0100 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) iA7I9b8M051247; Sun, 7 Nov 2004 19:09:38 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sun, 7 Nov 2004 19:09:37 +0100 From: Alexander Leidinger To: Craig Rodrigues Message-ID: <20041107190937.13777739@Magellan.Leidinger.net> In-Reply-To: <20041107161605.GA81779@crodrigues.org> References: <20041107064227.GA79915@crodrigues.org> <418DC94E.3010003@elischer.org> <20041107161605.GA81779@crodrigues.org> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ID: TtzqrsZEweStoIEAFacJcjQEkxTXb4P2XSYsVUlOfrMKWLO4MAWz8r@t-dialin.net X-TOI-MSGID: c020e8dd-a2ff-4811-8ccc-5564d47fb0f0 cc: Julian Elischer cc: freebsd-usb@freebsd.org Subject: Re: Changing permissions of /dev/usb[n] to 664? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 18:09:46 -0000 On Sun, 7 Nov 2004 11:16:05 -0500 Craig Rodrigues wrote: > > I'm not saying that you don't, just that it needs to be considerred. > > And is that ALL they can do if you change it? > > I don't see what the problem would be for giving > read-only access to /dev/usb[n] for non-operators, but I'll > let someone else chime in. Can it be used to read data which may not readable without this change (e.g. can you access umass devices via usb[n])? Bye, Alexander. -- The best things in life are free, but the expensive ones are still worth a look. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 18:42:15 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB54B16A4CE for ; Sun, 7 Nov 2004 18:42:15 +0000 (GMT) Received: from mailfe03.swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1668943D2D for ; Sun, 7 Nov 2004 18:42:15 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: aNWqezpVew/OWQZvLG7ieg== Received: from [193.217.200.209] (HELO curly.tele2.no) by mailfe03.swip.net (CommuniGate Pro SMTP 4.2.6) with ESMTP id 18112360 for freebsd-usb@freebsd.org; Sun, 07 Nov 2004 19:42:13 +0100 Received: (from root@localhost) by curly.tele2.no (8.12.5/8.12.3) id iA7Il0dK000709 for freebsd-usb@freebsd.org; Sun, 7 Nov 2004 19:47:00 +0100 (CET) (envelope-from hselasky@c2i.net) Date: Sun, 7 Nov 2004 19:46:58 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Message-ID: <20041107194658.B466@curly.tele2.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: new USB driver X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 18:42:15 -0000 Hi, I have ended up with a new USB driver :-) changes: - uses mutexes instead of splusb() - new EHCI, OHCI and UHCI drivers (only EHCI and UHCI tested) - new USB driver interface - uses one block of memory instead of many smaller ones - no allocation of memory during transfers - mutex capable - new method to clear stall without having to sleep - 100% locking safe - some bug fixes I wondered if I could have my new USB driver up for discussion? What do you think about it? Could I have gotten a new directory /sys/dev/usb2 to develop it? See http://home.c2i.net/hselasky/isdn4bsd/privat/temporary/usb2.tar.bz2 Yours Hans Petter Selasky From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 18:43:50 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34C0D16A4CE for ; Sun, 7 Nov 2004 18:43:50 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11F1943D3F for ; Sun, 7 Nov 2004 18:43:50 +0000 (GMT) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com ([66.30.114.143]) by comcast.net (rwcrmhc11) with ESMTP id <2004110718434901300brolee>; Sun, 7 Nov 2004 18:43:49 +0000 Received: from h00609772adf0.ne.client2.attbi.com (localhost [127.0.0.1]) iA7Iho8q082385 for ; Sun, 7 Nov 2004 13:43:50 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)iA7Ihn0V082384 for freebsd-usb@freebsd.org; Sun, 7 Nov 2004 13:43:49 -0500 (EST) (envelope-from rodrigc) Date: Sun, 7 Nov 2004 13:43:49 -0500 From: Craig Rodrigues To: freebsd-usb@freebsd.org Message-ID: <20041107184349.GA82359@crodrigues.org> References: <20041107064227.GA79915@crodrigues.org> <418DC94E.3010003@elischer.org> <20041107161605.GA81779@crodrigues.org> <20041107190937.13777739@Magellan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041107190937.13777739@Magellan.Leidinger.net> User-Agent: Mutt/1.4.1i Subject: Re: Changing permissions of /dev/usb[n] to 664? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 18:43:50 -0000 On Sun, Nov 07, 2004 at 07:09:37PM +0100, Alexander Leidinger wrote: > Can it be used to read data which may not readable without this change > (e.g. can you access umass devices via usb[n])? No, umass devices show up in /dev as /dev/da[n] for disks and USB keys, /dev/cd[n] for CD-ROMs. The permissions on these devices are independent of the permissions on /dev/usb. These are the permissiosn when I plug in my USB key: crw-rw-r-- 1 root operator 241, 255 Nov 5 15:38 /dev/usb crw-rw-r-- 1 root operator 241, 0 Nov 5 15:38 /dev/usb0 crw-rw-r-- 1 root operator 241, 1 Nov 5 15:38 /dev/usb1 crw-rw-r-- 1 root operator 241, 2 Nov 5 15:38 /dev/usb2 crw-r----- 1 root operator 229, 17 Nov 5 15:38 /dev/da0 crw-r----- 1 root operator 229, 19 Nov 5 15:38 /dev/da0a crw-r----- 1 root operator 229, 20 Nov 5 15:38 /dev/da0c crw-r----- 1 root operator 229, 18 Nov 5 15:38 /dev/da0s1 -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 19:53:47 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0713416A4CE for ; Sun, 7 Nov 2004 19:53:47 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6EF243D1D for ; Sun, 7 Nov 2004 19:53:46 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id iA7JokfX013410; Sun, 7 Nov 2004 12:50:46 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 07 Nov 2004 12:51:08 -0700 (MST) Message-Id: <20041107.125108.97296272.imp@bsdimp.com> To: julian@elischer.org From: "M. Warner Losh" In-Reply-To: <418C12CF.1020306@elischer.org> References: <20041105232734.GA11231@odin.ac.hmc.edu> <20041105.163353.112814540.imp@bsdimp.com> <418C12CF.1020306@elischer.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: usb@FreeBSD.org Subject: Re: my usb plans X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 19:53:47 -0000 In message: <418C12CF.1020306@elischer.org> Julian Elischer writes: : : : M. Warner Losh wrote: : : >In message: <20041105232734.GA11231@odin.ac.hmc.edu> : > Brooks Davis writes: : >: On Fri, Nov 05, 2004 at 04:18:49PM -0700, M. Warner Losh wrote: : >: > That does bring up a good point: How are we going to manage the compat : >: > stuff moving forward? : >: : >: My opinion shouldn't carry much weight in this discussion since I : >: haven't written any significant code in this area, but the compat code : >: has confused the heck out of me every time I tried to read through the : >: USB code. Given the problems we've seen with USB over the last several : >: years, I don't think the compat code has been the win we hoped it would : >: be. : > : >I hate the compat layer. I'd love to see it go. I'd even be open for : >a better compat layer, but what we have now is painful! : > : What stuff is in that layer? : maybe we can get the others to use our stuff :-) usb_port.h. It is a collection of ugly hacks :-( Warner From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 19:59:44 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 598CA16A4CE for ; Sun, 7 Nov 2004 19:59:44 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id E19AC43D1D for ; Sun, 7 Nov 2004 19:59:43 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id iA7JvqpN013497; Sun, 7 Nov 2004 12:57:52 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 07 Nov 2004 12:58:14 -0700 (MST) Message-Id: <20041107.125814.34760598.imp@bsdimp.com> To: rodrigc@crodrigues.org From: "M. Warner Losh" In-Reply-To: <20041107064227.GA79915@crodrigues.org> References: <20041107064227.GA79915@crodrigues.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-usb@freebsd.org Subject: Re: Changing permissions of /dev/usb[n] to 664? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 19:59:44 -0000 In message: <20041107064227.GA79915@crodrigues.org> Craig Rodrigues writes: : Hi, : : Is there any particular reason to leave the : permissions of /dev/usb[n] at 660 instead of 664? : : That would allow non-root users to run usbdevs : to list the USB devices on the system. : : : --- usb.c.orig Sun Nov 7 01:41:43 2004 : +++ usb.c Sun Nov 7 01:41:56 2004 : @@ -320,11 +320,11 @@ : /* The per controller devices (used for usb_discover) */ : /* XXX This is redundant now, but old usbd's will want it */ : sc->sc_usbdev = make_dev(&usb_cdevsw, device_get_unit(self), UID_ROOT, : - GID_OPERATOR, 0660, "usb%d", device_get_unit(self)); : + GID_OPERATOR, 0664, "usb%d", device_get_unit(self)); : if (usb_ndevs++ == 0) { : /* The device spitting out events */ : usb_dev = make_dev(&usb_cdevsw, USB_DEV_MINOR, UID_ROOT, : - GID_OPERATOR, 0660, "usb"); : + GID_OPERATOR, 0664, "usb"); : } : #endif This looks good, but we should audit all the ioctls to make sure the ones that modify anything have the proper checks to make sure the fd was opened for write. Warner From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 19:59:50 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50A2E16A4CE for ; Sun, 7 Nov 2004 19:59:50 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id E20D143D39 for ; Sun, 7 Nov 2004 19:59:49 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id iA7JwdL4013499; Sun, 7 Nov 2004 12:58:40 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 07 Nov 2004 12:59:02 -0700 (MST) Message-Id: <20041107.125902.52165153.imp@bsdimp.com> To: Alexander@Leidinger.net From: "M. Warner Losh" In-Reply-To: <20041107190937.13777739@Magellan.Leidinger.net> References: <418DC94E.3010003@elischer.org> <20041107161605.GA81779@crodrigues.org> <20041107190937.13777739@Magellan.Leidinger.net> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: julian@elischer.org cc: freebsd-usb@freebsd.org Subject: Re: Changing permissions of /dev/usb[n] to 664? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 19:59:50 -0000 In message: <20041107190937.13777739@Magellan.Leidinger.net> Alexander Leidinger writes: : On Sun, 7 Nov 2004 11:16:05 -0500 : Craig Rodrigues wrote: : : > > I'm not saying that you don't, just that it needs to be considerred. : > > And is that ALL they can do if you change it? : > : > I don't see what the problem would be for giving : > read-only access to /dev/usb[n] for non-operators, but I'll : > let someone else chime in. : : Can it be used to read data which may not readable without this change : (e.g. can you access umass devices via usb[n])? I don't think so. Most of the generic usb stuff is in ugen, which is a different device. Warner From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 20:05:46 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC32216A4CE for ; Sun, 7 Nov 2004 20:05:46 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4146943D39 for ; Sun, 7 Nov 2004 20:05:46 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id iA7K4Ebb013548; Sun, 7 Nov 2004 13:04:14 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 07 Nov 2004 13:04:36 -0700 (MST) Message-Id: <20041107.130436.91313722.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <20041107194658.B466@curly.tele2.no> References: <20041107194658.B466@curly.tele2.no> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-usb@freebsd.org Subject: Re: new USB driver X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 20:05:46 -0000 In message: <20041107194658.B466@curly.tele2.no> Hans Petter Selasky writes: : I wondered if I could have my new USB driver up for discussion? Sure. : What do you think about it? There seems to be a whole lot of changes swizzled into this new driver that aren't documented in your mail. Looking at ums.c shows huge differences, for example. It mostly looks like there's about a month of changes into current that just aren't present. this makes it hard to diff and compare the drivers. Warner From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 20:28:48 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F54E16A4CE for ; Sun, 7 Nov 2004 20:28:48 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF08B43D2D for ; Sun, 7 Nov 2004 20:28:47 +0000 (GMT) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com ([66.30.114.143]) by comcast.net (sccrmhc12) with ESMTP id <20041107202846012009rcdme>; Sun, 7 Nov 2004 20:28:46 +0000 Received: from h00609772adf0.ne.client2.attbi.com (localhost [127.0.0.1]) iA7KSlWm097038; Sun, 7 Nov 2004 15:28:47 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)iA7KSkRD097037; Sun, 7 Nov 2004 15:28:46 -0500 (EST) (envelope-from rodrigc) Date: Sun, 7 Nov 2004 15:28:46 -0500 From: Craig Rodrigues To: "M. Warner Losh" Message-ID: <20041107202846.GA97021@crodrigues.org> References: <20041107064227.GA79915@crodrigues.org> <20041107.125814.34760598.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041107.125814.34760598.imp@bsdimp.com> User-Agent: Mutt/1.4.1i cc: freebsd-usb@freebsd.org Subject: Re: Changing permissions of /dev/usb[n] to 664? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 20:28:48 -0000 On Sun, Nov 07, 2004 at 12:58:14PM -0700, M. Warner Losh wrote: > This looks good, but we should audit all the ioctls to make sure the > ones that modify anything have the proper checks to make sure the fd > was opened for write. I started doing that. These are the ioctl's: USB_DISCOVER -> this is a no-op, USB_REQUEST USB_DEVICEINFO USB_DEVICE_STATS I did not see any of these ioctl's do any permission checks on the fd, so my patch probably not ready yet. -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org From owner-freebsd-usb@FreeBSD.ORG Sun Nov 7 21:40:15 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBE3D16A4CE for ; Sun, 7 Nov 2004 21:40:15 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B966743D53 for ; Sun, 7 Nov 2004 21:40:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA7LeFx1083084 for ; Sun, 7 Nov 2004 21:40:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA7LeFT3083083; Sun, 7 Nov 2004 21:40:15 GMT (envelope-from gnats) Date: Sun, 7 Nov 2004 21:40:15 GMT Message-Id: <200411072140.iA7LeFT3083083@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Nolberto Garavelli Subject: Re: i386/72380: [usb] USB does not work [dual Celeron Abit] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nolberto Garavelli List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 21:40:15 -0000 The following reply was made to PR i386/72380; it has been noted by GNATS. From: Nolberto Garavelli To: freebsd-gnats-submit@FreeBSD.org, nrgaravelli@yahoo.com Cc: Subject: Re: i386/72380: [usb] USB does not work [dual Celeron Abit] Date: Sun, 7 Nov 2004 22:38:54 +0100 (CET) Compiled kernel adding `options USB_DEBUG' to my kernel config. After reboot, pluged my camera to usb port. The msg 'usbd_new_device: addr=2, getting first desc failed uhub_explore: usb_new_device failed, error=TIMEOUT uhub0: device problem, disabling port 2' comes out. Then: ~ > sysctl -a |grep usb 5: nolby@cimarron.home.net:/usr/src/sys/i386/compile/CIMARRON-usb_d 792:hw.usb.uaudio.debug: 0 793:hw.usb.ugen.debug: 0 794:hw.usb.uhci.debug: 0 795:hw.usb.uhci.loop: 0 796:hw.usb.uhid.debug: 0 797:hw.usb.uhub.debug: 0 798:hw.usb.ukbd.debug: 0 799:hw.usb.ulpt.debug: 0 800:hw.usb.umass.debug: 0 801:hw.usb.ums.debug: 0 802:hw.usb.uscanner.debug: 0 803:hw.usb.debug: 0 ~ > I will let you know if FreeBSD 5.3 still present the problem. ===== Nolberto ___________________________________ Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica… Scaricalo ora! http://it.messenger.yahoo.it From owner-freebsd-usb@FreeBSD.ORG Mon Nov 8 10:10:55 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89E6D16A4CE for ; Mon, 8 Nov 2004 10:10:55 +0000 (GMT) Received: from pathfinder.roks.biz (roks.biz [82.207.80.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67A5943D1D for ; Mon, 8 Nov 2004 10:10:52 +0000 (GMT) (envelope-from padla@roks.biz) Received: from admin.office.roks.biz (admin.office.roks.biz [192.168.100.103]) by pathfinder.roks.biz (8.12.11/8.12.11) with ESMTP id iA8AAguw064696 for ; Mon, 8 Nov 2004 12:10:47 +0200 (EET) (envelope-from padla@pathfinder.roks.biz) Received: from admin.office.roks.biz (localhost.roks.biz [127.0.0.1]) iA8AAhUM000835 for ; Mon, 8 Nov 2004 12:10:43 +0200 (EET) (envelope-from padla@admin.office.roks.biz) Received: (from padla@localhost) by admin.office.roks.biz (8.12.11/8.12.11/Submit) id iA8AAXll000834 for freebsd-usb@freebsd.org; Mon, 8 Nov 2004 12:10:33 +0200 (EET) (envelope-from padla) Date: Mon, 8 Nov 2004 12:10:33 +0200 From: Nikolay Pavlov To: freebsd-usb@freebsd.org Message-ID: <20041108101033.GA714@roks.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Sony Clie PEG-SJ33 ucom0: init failed, IOERROR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 10:10:55 -0000 Hi, freebsd users. [I am not subscribed to this list, so please CC me..] As a new usb maillist has opened, I have decided to address in it with the problem which disturb me rather for a long time. I have Sony Clie PEG-SJ33 device and want to sync it with my FreeBSD 4.10-p3, but in time when I press the Sync button, I see this message: ucom0: Sony Palm Handheld, rev 1.10/1.00, addr 2 ucom0: Sony Palm Handheld, rev 1.10/1.00, addr 2 ucom0: init failed, IOERROR device_probe_and_attach: ucom0 attach returned 6 uhub1: port 1, set config at addr 2 failed uhub1: device problem, disabling port 1 uhub1: port error, restarting port 1 Here is some additional information: # usbdev -dv Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 uhub0 port 1 powered port 2 powered USB related dmesg information: uhci0: port 0xd400-0xd41f irq 11 at device 16.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xd800-0xd81f irq 11 at device 16.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xdc00-0xdc1f irq 5 at device 16.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xe000-0xe01f irq 5 at device 16.3 on pci0 usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 USB related kernel configuration information: # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ucom # device uvisor # Palm support device ugen # Generic device uhid # "Human Interface Devices" #device ukbd # Keyboard #device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da #device ums # Mouse device uscanner # Scanners #device urio # Diamond Rio MP3 Player Best regards and sorry for my english, Nikolay Pavlov. From owner-freebsd-usb@FreeBSD.ORG Mon Nov 8 10:50:32 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C526A16A4D2 for ; Mon, 8 Nov 2004 10:50:29 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B83E43D49 for ; Mon, 8 Nov 2004 10:50:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA8AoTJl008817 for ; Mon, 8 Nov 2004 10:50:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA8AoS4s008816; Mon, 8 Nov 2004 10:50:28 GMT (envelope-from gnats) Date: Mon, 8 Nov 2004 10:50:28 GMT Message-Id: <200411081050.iA8AoS4s008816@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Matt Wright Subject: Re: kern/70607: [patch] Add Support for USB Microsoft Intellimouse (possibly others) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Matt Wright List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 10:50:33 -0000 The following reply was made to PR kern/70607; it has been noted by GNATS. From: Matt Wright To: freebsd-gnats-submit@FreeBSD.org, amistry@am-productions.biz Cc: Subject: Re: kern/70607: [patch] Add Support for USB Microsoft Intellimouse (possibly others) Date: Mon, 08 Nov 2004 10:41:18 +0000 Further to the patch that Anish posted here is a patch that removes bugs 2 and 3 which Mark noticed. If you need any explanation there is a fairly detailed explanation of the patch, well at least the method I used to debug it, at: http://www.consultmatt.co.uk/freebsd/intellimouse.php Regards, Matt --- sys/dev/usb/usbhid.h.orig Mon Sep 20 00:59:48 2004 +++ sys/dev/usb/usbhid.h Mon Sep 20 02:14:40 2004 @@ -123,6 +123,7 @@ #define HUG_VBRY 0x0044 #define HUG_VBRZ 0x0045 #define HUG_VNO 0x0046 +#define HUG_TWHEEL 0x0048 // M$ Wireless Intellimouse Wheel #define HUG_SYSTEM_CONTROL 0x0080 #define HUG_SYSTEM_POWER_DOWN 0x0081 #define HUG_SYSTEM_SLEEP 0x0082 --- sys/sys/mouse.h.orig Fri Jul 30 01:59:40 2004 +++ sys/sys/mouse.h Tue Sep 21 00:42:37 2004 @@ -58,6 +58,7 @@ int dx; /* x movement */ int dy; /* y movement */ int dz; /* z movement */ + int dt; /* left right tilt axis */ } mousestatus_t; /* button */ --- sys/dev/usb/ums.c.orig Mon Aug 16 00:39:18 2004 +++ sys/dev/usb/ums.c Tue Sep 21 00:47:52 2004 @@ -104,7 +104,7 @@ u_char *sc_ibuf; u_int8_t sc_iid; int sc_isize; - struct hid_location sc_loc_x, sc_loc_y, sc_loc_z; + struct hid_location sc_loc_x, sc_loc_y, sc_loc_z, sc_loc_t; struct hid_location *sc_loc_btn; usb_callout_t callout_handle; /* for spurious button ups */ @@ -114,6 +114,7 @@ int flags; /* device configuration */ #define UMS_Z 0x01 /* z direction available */ +#define UMS_T 0x02 /* aa direction available (tilt) */ #define UMS_SPUR_BUT_UP 0x02 /* spurious button up events */ int nbuttons; #define MAX_BUTTONS 7 /* chosen because sc_buttons is u_char */ @@ -140,7 +141,7 @@ usbd_private_handle priv, usbd_status status); Static void ums_add_to_queue(struct ums_softc *sc, - int dx, int dy, int dz, int buttons); + int dx, int dy, int dz, int dt, int buttons); Static void ums_add_to_queue_timeout(void *priv); Static int ums_enable(void *); @@ -269,6 +270,8 @@ if (hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_Z), hid_input, &sc->sc_loc_z, &flags) || hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_WHEEL), + hid_input, &sc->sc_loc_z, &flags) || + hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_TWHEEL), hid_input, &sc->sc_loc_z, &flags)) { if ((flags & MOUSE_FLAGS_MASK) != MOUSE_FLAGS) { sc->sc_loc_z.size = 0; /* Bad Z coord, ignore it */ @@ -277,6 +280,17 @@ } } + /* The Microsoft Wireless Intellimouse 2.0 reports it's wheel + * using 0x0048 (i've called it HUG_TWHEEL) and seems to expect + * you to know that the byte after the wheel is the tilt axis. + * There are no other HID axis descriptors other than X,Y and + * TWHEEL */ + if (hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_TWHEEL), + hid_input, &sc->sc_loc_t, &flags)) { + sc->sc_loc_t.pos = sc->sc_loc_t.pos + 8; + sc->flags |= UMS_T; + } + /* figure out the number of buttons */ for (i = 1; i <= MAX_BUTTONS; i++) if (!hid_locate(desc, size, HID_USAGE2(HUP_BUTTON, i), @@ -290,8 +304,9 @@ USB_ATTACH_ERROR_RETURN; } - printf("%s: %d buttons%s\n", USBDEVNAME(sc->sc_dev), - sc->nbuttons, sc->flags & UMS_Z? " and Z dir." : ""); + printf("%s: %d buttons%s%s.\n", USBDEVNAME(sc->sc_dev), + sc->nbuttons, sc->flags & UMS_Z? " and Z dir" : "", + sc->flags & UMS_T?" and a TILT dir": ""); for (i = 1; i <= sc->nbuttons; i++) hid_locate(desc, size, HID_USAGE2(HUP_BUTTON, i), @@ -408,15 +423,15 @@ { struct ums_softc *sc = addr; u_char *ibuf; - int dx, dy, dz; + int dx, dy, dz, dt; u_char buttons = 0; int i; #define UMS_BUT(i) ((i) < 3 ? (((i) + 2) % 3) : (i)) DPRINTFN(5, ("ums_intr: sc=%p status=%d\n", sc, status)); - DPRINTFN(5, ("ums_intr: data = %02x %02x %02x\n", - sc->sc_ibuf[0], sc->sc_ibuf[1], sc->sc_ibuf[2])); + DPRINTFN(5, ("ums_intr: data = %02x %02x %02x %02x %02x %02x\n", + sc->sc_ibuf[0], sc->sc_ibuf[1], sc->sc_ibuf[2], sc->sc_ibuf[3], sc->sc_ibuf[4], sc->sc_ibuf[5])); if (status == USBD_CANCELLED) return; @@ -425,32 +440,44 @@ DPRINTF(("ums_intr: status=%d\n", status)); if (status == USBD_STALLED) usbd_clear_endpoint_stall_async(sc->sc_intrpipe); - return; + if(status != USBD_IOERROR) + return; } ibuf = sc->sc_ibuf; if (sc->sc_iid) { - if (*ibuf++ != sc->sc_iid) - return; + ibuf++; } + /* The M$ Wireless Intellimouse 2.0 sends 1 extra leading byte of + * data compared to most USB mice. This byte frequently switches + * from 0x01 (usual state) to 0x02. I assume it is to allow + * extra, non-standard, reporting (say battery-life). However + * at the same time it generates a left-click message on the button + * byte which causes spurious left-click's where there shouldn't be. + * This should sort that. */ + if ((sc->sc_ibuf != ibuf) && (sc->sc_ibuf[0] == 0x02)) + return; + dx = hid_get_data(ibuf, &sc->sc_loc_x); dy = -hid_get_data(ibuf, &sc->sc_loc_y); dz = -hid_get_data(ibuf, &sc->sc_loc_z); + dt = -hid_get_data(ibuf, &sc->sc_loc_t); for (i = 0; i < sc->nbuttons; i++) if (hid_get_data(ibuf, &sc->sc_loc_btn[i])) buttons |= (1 << UMS_BUT(i)); - if (dx || dy || dz || (sc->flags & UMS_Z) + if (dx || dy || dz || dt || (sc->flags & UMS_Z) || buttons != sc->status.button) { - DPRINTFN(5, ("ums_intr: x:%d y:%d z:%d buttons:0x%x\n", - dx, dy, dz, buttons)); + DPRINTFN(5, ("ums_intr: x:%d y:%d z:%d aa:%d buttons:0x%x\n", + dx, dy, dz, dt, buttons)); sc->status.button = buttons; sc->status.dx += dx; sc->status.dy += dy; sc->status.dz += dz; - + sc->status.dt += dt; + /* Discard data in case of full buffer */ if (sc->qcount == sizeof(sc->qbuf)) { DPRINTF(("Buffer full, discarded packet")); @@ -466,13 +493,13 @@ * In any other case we delete the timeout event. */ if (sc->flags & UMS_SPUR_BUT_UP && - dx == 0 && dy == 0 && dz == 0 && buttons == 0) { + dx == 0 && dy == 0 && dz == 0 && dt == 0 && buttons == 0) { usb_callout(sc->callout_handle, MS_TO_TICKS(50 /*msecs*/), ums_add_to_queue_timeout, (void *) sc); } else { usb_uncallout(sc->callout_handle, ums_add_to_queue_timeout, (void *) sc); - ums_add_to_queue(sc, dx, dy, dz, buttons); + ums_add_to_queue(sc, dx, dy, dz, dt, buttons); } } } @@ -484,12 +511,12 @@ int s; s = splusb(); - ums_add_to_queue(sc, 0, 0, 0, 0); + ums_add_to_queue(sc, 0, 0, 0, 0, 0); splx(s); } Static void -ums_add_to_queue(struct ums_softc *sc, int dx, int dy, int dz, int buttons) +ums_add_to_queue(struct ums_softc *sc, int dx, int dy, int dz, int dt, int buttons) { /* Discard data in case of full buffer */ if (sc->qhead+sc->mode.packetsize > sizeof(sc->qbuf)) { @@ -503,6 +530,8 @@ if (dy < -256) dy = -256; if (dz > 126) dz = 126; if (dz < -128) dz = -128; + if (dt > 126) dt = 126; + if (dt < -128) dt = -128; sc->qbuf[sc->qhead] = sc->mode.syncmask[1]; sc->qbuf[sc->qhead] |= ~buttons & MOUSE_MSC_BUTTONS; @@ -550,7 +579,7 @@ sc->qhead = sc->qtail = 0; sc->status.flags = 0; sc->status.button = sc->status.obutton = 0; - sc->status.dx = sc->status.dy = sc->status.dz = 0; + sc->status.dx = sc->status.dy = sc->status.dz = sc->status.dt = 0; callout_handle_init((struct callout_handle *)&sc->callout_handle); @@ -807,10 +836,10 @@ *status = sc->status; sc->status.obutton = sc->status.button; sc->status.button = 0; - sc->status.dx = sc->status.dy = sc->status.dz = 0; + sc->status.dx = sc->status.dy = sc->status.dz = sc->status.dt = 0; splx(s); - if (status->dx || status->dy || status->dz) + if (status->dx || status->dy || status->dz || status->dt) status->flags |= MOUSE_POSCHANGED; if (status->button != status->obutton) status->flags |= MOUSE_BUTTONSCHANGED; From owner-freebsd-usb@FreeBSD.ORG Mon Nov 8 11:02:07 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66AF616A4DE for ; Mon, 8 Nov 2004 11:02:07 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3848F43D46 for ; Mon, 8 Nov 2004 11:02:07 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA8B27pi010368 for ; Mon, 8 Nov 2004 11:02:07 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA8B26wx010362 for freebsd-usb@freebsd.org; Mon, 8 Nov 2004 11:02:06 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 8 Nov 2004 11:02:06 GMT Message-Id: <200411081102.iA8B26wx010362@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 11:02:07 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/05/04] kern/66248 usb [panic] bootloader is confused by booting 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2003/12/11] kern/60131 usb [usb] Page fault on disconnect of USB dev o [2004/01/11] kern/61191 usb [usb] panic: USB vs. Serial problems f [2004/01/23] kern/61804 usb [panic] panic with hitachi travelstar USB o [2004/01/24] kern/61841 usb [boot] 5.2 Boot freeze if memorybird (USB f [2004/01/30] kern/62088 usb [usb] Logitech Cordless/Optical Mouse not o [2004/01/30] kern/62123 usb [usb] LaCie 160GB USB drive umass: BBB re o [2004/02/23] i386/63251 usb [usb] USB stops working after 2nd APM sus o [2004/02/26] kern/63375 usb [patch] panic: unplugging USB devices pan o [2004/02/29] i386/63521 usb 5.2.1 doesn't detect drives on SATA contr o [2004/03/01] kern/63621 usb [usb] USB MemoryStick Reader stalls/crash o [2004/04/07] kern/65292 usb [panic] random page faults (usb-related?) o [2004/04/19] i386/65783 usb [panic] Panic when attaching card reader o [2004/05/06] kern/66324 usb [usb] usb driver memory leak grows wired o [2004/07/13] kern/69006 usb [patch] Apple Cinema Display hangs USB po o [2004/08/30] kern/71155 usb [usb] misbehaving usb-printer hangs proce o [2004/09/08] kern/71491 usb [usb] [panic] printing under usb printer o [2004/09/18] kern/71887 usb [kbd] Losing keyboard after plugging a bl o [2004/09/27] kern/72119 usb Detaching USB Memory Stick w/o umount cau f [2004/10/11] i386/72497 usb WD USB Disk Panics -stable and 5.2.1 o [2004/10/29] kern/73295 usb Lock order reversal in USB code. o [2004/10/30] kern/73307 usb Kernel panics on USB disconnect 21 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/09/30] conf/30929 usb [patch] use usbd to initialize USB ADSL m f [2003/09/19] kern/56999 usb FreeCom USB CD/RW problem on FreeBSD 5.1 o [2003/11/10] i386/59147 usb [usb] USB active extension cable not reco o [2003/12/15] kern/60248 usb [patch] Problem with USB printer HP Laser o [2004/01/12] bin/61234 usb [usb] [patch] usbhidaction doesn't suppor o [2004/01/14] kern/61365 usb FreeBSD resets when I turn off monitor w/ o [2004/02/13] kern/62788 usb need quirks for Super Talent Flash USB 2. o [2004/03/04] kern/63779 usb [usb] USB-mass storage (USB to IDE Conver o [2004/03/06] kern/63837 usb [patch] USB: hid_is_collection() only loo o [2004/04/11] kern/65436 usb QUIRK: [patch] to add support for PNY Att o [2004/04/19] kern/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops o [2004/05/11] kern/66547 usb [usb] Palm Tungsten T USB does not initia o [2004/06/27] kern/68412 usb [usb] [patch] QUIRK: Philips KEY013 USB M o [2004/07/06] i386/68719 usb [usb] USB 2.0 mobil rack+ fat32 performan o [2004/08/16] kern/70523 usb [usb] [patch] umct sending/receiving wron o [2004/08/18] kern/70607 usb [patch] Add Support for USB Microsoft Int o [2004/08/25] kern/70942 usb [usb] Genius Wireless USB mouse: moused d o [2004/09/06] kern/71416 usb [usb] Cryptoflex e-gate USB token (ugen0) o [2004/09/07] kern/71455 usb [usb] Slow USB umass performance of 5.3 o [2004/09/11] kern/71605 usb [usb] [patch] umass doesn't recognize mul o [2004/09/12] bin/71615 usb [usb] [patch] cleanup of the usr.sbin/usb o [2004/10/05] kern/72344 usb [usb] [patch] QUIRK: Dane-Elec zMate 512 f [2004/10/06] i386/72380 usb [usb] USB does not work [dual Celeron Abi o [2004/10/23] i386/73056 usb [usb] Sun Microsystems Type 6 USB mouse n o [2004/10/28] conf/73239 usb [usb] [patch] Teach usbd.conf about axe(4 o [2004/10/29] kern/73286 usb [usb] [patch] Add another USB WLAN device o [2004/11/02] i386/73421 usb [usb] USB not recgnized/working on Toshib o [2004/11/07] kern/73636 usb [usb] usb microsoft mouse with ps/2 conve 28 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Nov 8 16:39:48 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DA4416A4CF for ; Mon, 8 Nov 2004 16:39:48 +0000 (GMT) Received: from mailfe09.swip.net (mailfe09.swip.net [212.247.155.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61E7043D49 for ; Mon, 8 Nov 2004 16:39:47 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: 61HFGGjwdfd+y2VeAxKidw== Received: from [193.217.207.69] (HELO curly.tele2.no) by mailfe09.swip.net (CommuniGate Pro SMTP 4.2.5) with ESMTP id 10357293; Mon, 08 Nov 2004 17:39:36 +0100 Received: (from root@localhost) by curly.tele2.no (8.12.5/8.12.3) id iA8GiTWf001730; Mon, 8 Nov 2004 17:44:29 +0100 (CET) (envelope-from hselasky@c2i.net) Date: Mon, 8 Nov 2004 17:44:26 +0100 From: Hans Petter Selasky To: "M. Warner Losh" Message-ID: <20041108174425.A283@curly.tele2.no> References: <20041107194658.B466@curly.tele2.no> <20041107.130436.91313722.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20041107.130436.91313722.imp@bsdimp.com>; from imp@bsdimp.com on Sun, Nov 07, 2004 at 01:04:36PM -0700 cc: freebsd-usb@freebsd.org Subject: Re: new USB driver X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 16:39:48 -0000 On Sun, Nov 07, 2004 at 01:04:36PM -0700, M. Warner Losh wrote: > In message: <20041107194658.B466@curly.tele2.no> > Hans Petter Selasky writes: > : I wondered if I could have my new USB driver up for discussion? > > Sure. > > : What do you think about it? > > There seems to be a whole lot of changes swizzled into this new driver > that aren't documented in your mail. > Looking at ums.c shows huge > differences, for example. It mostly looks like there's about a month > of changes into current that just aren't present. this makes it hard > to diff and compare the drivers. > It is difficult to diff this USB driver with the existing one, because much code has been rewritten. A short introduction to my USB-setup sequence: (see the function usbd_do_request_flags() in the file _usb_transfer.c for an example) 1) usbd_transfer_setup() This routine sets up a list of usbd_xfer pointers. This routine takes basically three arguments: A usbd_device pointer, an iface index and a pointer to a structure of type usbd_config. This call is similar to usbd_open_pipe, except that all memory needed for the transfer, transfer buffer, TD's and QH's are allocated in one memory block. This reduce the amount of error handling code, hence there is only one place where memory allocation may fail. This ensures that all memory is freed when the transfer is done (unlike the current USB driver which never frees the TD's and QH's used). This optimizes the drivers, by enabling the drivers to write directly into the memory buffer being used for transfer. 2) usbd_start_transfer() 2) usbd_start_transfer() This function calls the callback which starts the transfer, if the transfer was not started. This function can be called more than one time without having the callback called twice for convenience. 3) usbd_stop_transfer() This function stops the transfer, and can be called even if usbd_start_transfer() was not previously called. usbd_start_transfer() can be called after that usbd_stop_transfer() has been called to re-start the transfer. If usbd_stop_transfer() is called when the transfer was started, the callback is called with ``xfer->error'' set to USBD_CANCELLED. 4) usbd_transfer_unsetup() This function unlinks TD's and QH's from the controllers memory and frees all memory. About the callbacks: * the USB-driver automatically recovers from errors if * ``xfer->clearstall_xfer'' is set * * Host-transmit callback example (bulk/interrupt/isochronous): * ============================================================ * static void * usb_callback_tx(struct usbd_xfer *xfer) * { * USBD_CHECK_STATUS(xfer); * * tr_transferred: * tr_setup: * * ... setup ``xfer->length'' ... * * ... write data to buffer ... * * tr_error: * * ... [re-]transfer ``xfer->buffer'' ... * * usbd_start_hardware(xfer); * return; * } * * Host-receive callback example (bulk/interrupt/isochronous): * =========================================================== * static void * usb_callback_rx(struct usbd_xfer *xfer) * { * USBD_CHECK_STATUS(xfer); * * tr_transferred: * * ... process data in buffer ... * * tr_setup: * * ... setup ``xfer->length'' ... * * tr_error: * * ... [re-]transfer ``xfer->buffer'' ... * * usbd_start_hardware(xfer); * return; * } The callback system handles recursation. It is possible to start/stop another xfer from a "callback". The callbacks are protected by the mutex pointed to by xfer->priv_mtx; All memory is allocated before transfer, and not during transfer. There are some more differences, but that will be details. My new USB driver is built upon the FreeBSD-5-current USB driver, but it is not fully compatible with it. So is it a candidate for a new /sys/ directory? By the way, some BUGS in the FreeBSD-5-current USB driver: Last time I tried to abort a transfer and then start it again it didn't work. The current USB driver does not handle isochronous over-/under-flow very well. There is no check after that the first transfer has been started to see if the frames are inserted at the correct position in time. After XDU, isochronous transfers are not usable. Yours -HPS From owner-freebsd-usb@FreeBSD.ORG Mon Nov 8 17:20:21 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E4D716A4CE for ; Mon, 8 Nov 2004 17:20:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7115143D58 for ; Mon, 8 Nov 2004 17:20:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA8HKL3m058797 for ; Mon, 8 Nov 2004 17:20:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA8HKL4g058796; Mon, 8 Nov 2004 17:20:21 GMT (envelope-from gnats) Date: Mon, 8 Nov 2004 17:20:21 GMT Message-Id: <200411081720.iA8HKL4g058796@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Subject: Re: kern/66248: [panic] bootloader is confused by booting from USB flash, trashes main drives boot block X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 17:20:21 -0000 The following reply was made to PR kern/66248; it has been noted by GNATS. From: Hans Petter Selasky To: jhb@freebsd.org, freebsd-gnats-submit@freebsd.org, bremner@unb.ca Cc: Subject: Re: kern/66248: [panic] bootloader is confused by booting from USB flash, trashes main drives boot block Date: Mon, 8 Nov 2004 18:24:03 +0100 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Attached patch for /src/sys/boot/i386/boot0/boot0.S closes kern/66248 Apply using: cat boot0.S.diff | patch -N -l When the boot0 boot-manager is used on a floppy or USB drive, the floppy's or USB's boot-sector gets written to the hdd! Solution: Only update the boot-sector when there is a valid drive number or the drive number is set manually. To make the patch fit into the code I had to disable the "beep-signal". Yours -HPS --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="boot0.S.diff" *** boot0.S.ref Wed Oct 20 17:24:19 2004 --- boot0.S Wed Oct 20 17:30:56 2004 *************** *** 103,112 **** * Check what flags were loaded with us, specifically, Use a predefined Drive. * If what the bios gives us is bad, use the '0' in the block instead, as well. */ ! testb $0x20,_FLAGS(%bp) # Set number drive? jnz main.1 # Yes testb %dl,%dl # Drive number valid? js main.2 # Possibly (0x80 set) main.1: movb _SETDRV(%bp),%dl # Drive number to use /* * Whatever we decided to use, now store it into the fake --- 103,117 ---- * Check what flags were loaded with us, specifically, Use a predefined Drive. * If what the bios gives us is bad, use the '0' in the block instead, as well. */ ! testb $0x20,_FLAGS(%bp) # Set drive number? jnz main.1 # Yes testb %dl,%dl # Drive number valid? js main.2 # Possibly (0x80 set) + /* + * Only update the boot-sector when there is a valid drive number or + * the drive number is set manually. + */ + orb $0x40,_FLAGS(%bp) # Disable updates main.1: movb _SETDRV(%bp),%dl # Drive number to use /* * Whatever we decided to use, now store it into the fake *************** *** 203,210 **** /* * Start of input loop. Beep and take note of time */ ! main.10: movb $ASCII_BEL,%al # Signal callw putchr # beep! xorb %ah,%ah # BIOS: Get int $0x1a # system time movw %dx,%di # Ticks when --- 208,218 ---- /* * Start of input loop. Beep and take note of time */ ! main.10: ! #ifdef BEL ! movb $ASCII_BEL,%al # Signal callw putchr # beep! + #endif xorb %ah,%ah # BIOS: Get int $0x1a # system time movw %dx,%di # Ticks when --SUOF0GtieIMvvwua-- From owner-freebsd-usb@FreeBSD.ORG Mon Nov 8 20:12:00 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 099C816A4CE for ; Mon, 8 Nov 2004 20:12:00 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9472D43D46 for ; Mon, 8 Nov 2004 20:11:58 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 80DD17A44B; Mon, 8 Nov 2004 12:11:58 -0800 (PST) Message-ID: <418FD30E.9000906@elischer.org> Date: Mon, 08 Nov 2004 12:11:58 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Will Saxon References: <0E972CEE334BFE4291CD07E056C76ED803A2D36D@bragi.housing.ufl.edu> In-Reply-To: <0E972CEE334BFE4291CD07E056C76ED803A2D36D@bragi.housing.ufl.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: usb@freebsd.org Subject: Re: pr/63837 to enable multi-component USB devices X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 20:12:00 -0000 better to send it to usb@freebsd.org (CC'd) Will Saxon wrote: >Now that 5.3-RELEASE has happened, can someone look at the patch in pr/63837? I guess I'm whining here but it is aggravating to have to repatch every time I cvsup. > >-Will >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > From owner-freebsd-usb@FreeBSD.ORG Mon Nov 8 20:46:56 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDEBB16A4CE for ; Mon, 8 Nov 2004 20:46:56 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74D9D43D1D for ; Mon, 8 Nov 2004 20:46:56 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 51C3F7A444; Mon, 8 Nov 2004 12:46:56 -0800 (PST) Message-ID: <418FDB40.6090209@elischer.org> Date: Mon, 08 Nov 2004 12:46:56 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Hans Petter Selasky References: <20041107194658.B466@curly.tele2.no> <20041107.130436.91313722.imp@bsdimp.com> <20041108174425.A283@curly.tele2.no> In-Reply-To: <20041108174425.A283@curly.tele2.no> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-usb@freebsd.org Subject: Re: new USB driver X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 20:46:56 -0000 Hans Petter Selasky wrote: > >There are some more differences, but that will be details. My new USB driver >is built upon the FreeBSD-5-current USB driver, but it is not fully compatible >with it. > >So is it a candidate for a new /sys/ directory? > I would hope not.. If these are generally useful changes then maybe they might also be useful to NetBSD and OpenBSD. If so, then they could be adopted everywhere and we coudl "migrate" to it in the same place rather than get a new directory. Have you thought about how your changes would go in 4.x? I assume it would require some work as you have incorporated the mutex into how you do things.. > > > From owner-freebsd-usb@FreeBSD.ORG Mon Nov 8 21:01:46 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 482B916A4CE for ; Mon, 8 Nov 2004 21:01:46 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2395043D46 for ; Mon, 8 Nov 2004 21:01:46 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 0DB637A44E; Mon, 8 Nov 2004 13:01:46 -0800 (PST) Message-ID: <418FDEB9.9020708@elischer.org> Date: Mon, 08 Nov 2004 13:01:45 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: tech-kern@netBSD.org, usb@freeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: USB net/free-BSD cooperation. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 21:01:46 -0000 Hi. As you all probably know, the 3 BSDs (well, 4 if you include Dfly as distinct from FreeBSD-4) have been sharing USB code originaly developped for NetBSD. One of the difficulties is that there hasn't been a good feedback path. Ther was a BSD usb mailign lost but it wasn't easy to remember and has since degenerated into pure spam. In FreeBSD we have (Finally) decided to start a "usb@" list. and we've had some people starting to co-ordinate their USB plans. Of course this affects the other BSDs so we are still looking for a way in which we can effectively communicate stuff back and forth with Net/Open BSD USB developers. One simple option.. just all yoin the new list (@freeBSD.org isn't too hard to remember) Other suggestions are welcome.. (some people have even suggested a common code pool but hey we tried that once, in 96 I think..) We have for example one chap who has rewritten quite a bit of the initialisation code. It would be a shame for this to widen the gaps we have if its also useful for other systems. There are also other fixes and changes that may be generally useful. In any case.. I'm not ON this list (tech-kern).. I'm just hoping this is the place to find the USB developers (If it isn't, please forward to them).. I've cc'd the new list as well, so if there is any discussion. it can probably go there.. regards.. Julian From owner-freebsd-usb@FreeBSD.ORG Mon Nov 8 21:40:33 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70C4A16A4D2 for ; Mon, 8 Nov 2004 21:40:33 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A16F43D46 for ; Mon, 8 Nov 2004 21:40:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA8LeXqh087631 for ; Mon, 8 Nov 2004 21:40:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA8LeXQs087630; Mon, 8 Nov 2004 21:40:33 GMT (envelope-from gnats) Date: Mon, 8 Nov 2004 21:40:33 GMT Message-Id: <200411082140.iA8LeXQs087630@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Anish Mistry Subject: Re: kern/70607: [patch] Add Support for USB Microsoft Intellimouse (possibly others) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Anish Mistry List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 21:40:33 -0000 The following reply was made to PR kern/70607; it has been noted by GNATS. From: Anish Mistry To: Matt Wright Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/70607: [patch] Add Support for USB Microsoft Intellimouse (possibly others) Date: Mon, 8 Nov 2004 16:40:11 -0500 --Boundary-00=_Ef+jBJHUYWZ6fJL Content-Type: multipart/signed; boundary="nextPart1115225.H8LH6WHjhn"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1115225.H8LH6WHjhn Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Excellent work Matt. I've just tested it with my wired Intellimouse, and=20 it works great on my laptop (6-CURRENT). It didn't work on my desktop,=20 but I think the USB controller is flaky, ums just gets 1 interrupt then=20 gets stuck, but my other USB mice still worked fine, so no regressions. =20 The patch does seem a bit malformed, I'm attaching a fixed up version. Also posted here if it gets messed up: http://am-productions.biz/docs/intellimouse-woks.patch Could a committer (Ian?) take a look at this a possibly merge it? =2D-=20 Anish Mistry --nextPart1115225.H8LH6WHjhn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBj+fExqA5ziudZT0RAknYAKCl1g+I2oS7E2eskok2N7O7qmKCEgCfazNv m6TFS3cp89Swzo2GTcoijaE= =zqx5 -----END PGP SIGNATURE----- --nextPart1115225.H8LH6WHjhn-- --Boundary-00=_Ef+jBJHUYWZ6fJL Content-Type: text/x-diff; charset="iso-8859-1"; name="intellimouse-works.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="intellimouse-works.patch" --- sys/dev/usb/usbhid.h.orig Mon Sep 20 00:59:48 2004 +++ sys/dev/usb/usbhid.h Mon Sep 20 02:14:40 2004 @@ -123,6 +123,7 @@ #define HUG_VBRY 0x0044 #define HUG_VBRZ 0x0045 #define HUG_VNO 0x0046 +#define HUG_TWHEEL 0x0048 // M$ Wireless Intellimouse Wheel #define HUG_SYSTEM_CONTROL 0x0080 #define HUG_SYSTEM_POWER_DOWN 0x0081 #define HUG_SYSTEM_SLEEP 0x0082 --- sys/sys/mouse.h.orig Fri Jul 30 01:59:40 2004 +++ sys/sys/mouse.h Tue Sep 21 00:42:37 2004 @@ -58,6 +58,7 @@ int dx; /* x movement */ int dy; /* y movement */ int dz; /* z movement */ + int dt; /* left right tilt axis */ } mousestatus_t; /* button */ --- sys/dev/usb/ums.c.orig Mon Aug 16 00:39:18 2004 +++ sys/dev/usb/ums.c Tue Sep 21 00:47:52 2004 @@ -104,7 +104,7 @@ u_char *sc_ibuf; u_int8_t sc_iid; int sc_isize; - struct hid_location sc_loc_x, sc_loc_y, sc_loc_z; + struct hid_location sc_loc_x, sc_loc_y, sc_loc_z, sc_loc_t; struct hid_location *sc_loc_btn; usb_callout_t callout_handle; /* for spurious button ups */ @@ -114,6 +114,7 @@ int flags; /* device configuration */ #define UMS_Z 0x01 /* z direction available */ +#define UMS_T 0x02 /* aa direction available (tilt) */ #define UMS_SPUR_BUT_UP 0x02 /* spurious button up events */ int nbuttons; #define MAX_BUTTONS 7 /* chosen because sc_buttons is u_char */ @@ -140,7 +141,7 @@ usbd_private_handle priv, usbd_status status); Static void ums_add_to_queue(struct ums_softc *sc, - int dx, int dy, int dz, int buttons); + int dx, int dy, int dz, int dt, int buttons); Static void ums_add_to_queue_timeout(void *priv); Static int ums_enable(void *); @@ -269,6 +270,8 @@ if (hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_Z), hid_input, &sc->sc_loc_z, &flags) || hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_WHEEL), + hid_input, &sc->sc_loc_z, &flags) || + hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_TWHEEL), hid_input, &sc->sc_loc_z, &flags)) { if ((flags & MOUSE_FLAGS_MASK) != MOUSE_FLAGS) { sc->sc_loc_z.size = 0; /* Bad Z coord, ignore it */ @@ -277,6 +280,17 @@ } } + /* The Microsoft Wireless Intellimouse 2.0 reports it's wheel + * using 0x0048 (i've called it HUG_TWHEEL) and seems to expect + * you to know that the byte after the wheel is the tilt axis. + * There are no other HID axis descriptors other than X,Y and + * TWHEEL */ + if (hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_TWHEEL), + hid_input, &sc->sc_loc_t, &flags)) { + sc->sc_loc_t.pos = sc->sc_loc_t.pos + 8; + sc->flags |= UMS_T; + } + /* figure out the number of buttons */ for (i = 1; i <= MAX_BUTTONS; i++) if (!hid_locate(desc, size, HID_USAGE2(HUP_BUTTON, i), @@ -290,8 +304,9 @@ USB_ATTACH_ERROR_RETURN; } - printf("%s: %d buttons%s\n", USBDEVNAME(sc->sc_dev), - sc->nbuttons, sc->flags & UMS_Z? " and Z dir." : ""); + printf("%s: %d buttons%s%s.\n", USBDEVNAME(sc->sc_dev), + sc->nbuttons, sc->flags & UMS_Z? " and Z dir" : "", + sc->flags & UMS_T?" and a TILT dir": ""); for (i = 1; i <= sc->nbuttons; i++) hid_locate(desc, size, HID_USAGE2(HUP_BUTTON, i), @@ -408,15 +423,15 @@ { struct ums_softc *sc = addr; u_char *ibuf; - int dx, dy, dz; + int dx, dy, dz, dt; u_char buttons = 0; int i; #define UMS_BUT(i) ((i) < 3 ? (((i) + 2) % 3) : (i)) DPRINTFN(5, ("ums_intr: sc=%p status=%d\n", sc, status)); - DPRINTFN(5, ("ums_intr: data = %02x %02x %02x\n", - sc->sc_ibuf[0], sc->sc_ibuf[1], sc->sc_ibuf[2])); + DPRINTFN(5, ("ums_intr: data = %02x %02x %02x %02x %02x %02x\n", + sc->sc_ibuf[0], sc->sc_ibuf[1], sc->sc_ibuf[2], sc->sc_ibuf[3], sc->sc_ibuf[4], sc->sc_ibuf[5])); if (status == USBD_CANCELLED) return; @@ -425,32 +440,44 @@ DPRINTF(("ums_intr: status=%d\n", status)); if (status == USBD_STALLED) usbd_clear_endpoint_stall_async(sc->sc_intrpipe); - return; + if(status != USBD_IOERROR) + return; } ibuf = sc->sc_ibuf; if (sc->sc_iid) { - if (*ibuf++ != sc->sc_iid) - return; + ibuf++; } + /* The M$ Wireless Intellimouse 2.0 sends 1 extra leading byte of + * data compared to most USB mice. This byte frequently switches + * from 0x01 (usual state) to 0x02. I assume it is to allow + * extra, non-standard, reporting (say battery-life). However + * at the same time it generates a left-click message on the button + * byte which causes spurious left-click's where there shouldn't be. + * This should sort that. */ + if ((sc->sc_ibuf != ibuf) && (sc->sc_ibuf[0] == 0x02)) + return; + dx = hid_get_data(ibuf, &sc->sc_loc_x); dy = -hid_get_data(ibuf, &sc->sc_loc_y); dz = -hid_get_data(ibuf, &sc->sc_loc_z); + dt = -hid_get_data(ibuf, &sc->sc_loc_t); for (i = 0; i < sc->nbuttons; i++) if (hid_get_data(ibuf, &sc->sc_loc_btn[i])) buttons |= (1 << UMS_BUT(i)); - if (dx || dy || dz || (sc->flags & UMS_Z) + if (dx || dy || dz || dt || (sc->flags & UMS_Z) || buttons != sc->status.button) { - DPRINTFN(5, ("ums_intr: x:%d y:%d z:%d buttons:0x%x\n", - dx, dy, dz, buttons)); + DPRINTFN(5, ("ums_intr: x:%d y:%d z:%d aa:%d buttons:0x%x\n", + dx, dy, dz, dt, buttons)); sc->status.button = buttons; sc->status.dx += dx; sc->status.dy += dy; sc->status.dz += dz; - + sc->status.dt += dt; + /* Discard data in case of full buffer */ if (sc->qcount == sizeof(sc->qbuf)) { DPRINTF(("Buffer full, discarded packet")); @@ -466,13 +493,13 @@ * In any other case we delete the timeout event. */ if (sc->flags & UMS_SPUR_BUT_UP && - dx == 0 && dy == 0 && dz == 0 && buttons == 0) { + dx == 0 && dy == 0 && dz == 0 && dt == 0 && buttons == 0) { usb_callout(sc->callout_handle, MS_TO_TICKS(50 /*msecs*/), ums_add_to_queue_timeout, (void *) sc); } else { usb_uncallout(sc->callout_handle, ums_add_to_queue_timeout, (void *) sc); - ums_add_to_queue(sc, dx, dy, dz, buttons); + ums_add_to_queue(sc, dx, dy, dz, dt, buttons); } } } @@ -484,12 +511,12 @@ int s; s = splusb(); - ums_add_to_queue(sc, 0, 0, 0, 0); + ums_add_to_queue(sc, 0, 0, 0, 0, 0); splx(s); } Static void -ums_add_to_queue(struct ums_softc *sc, int dx, int dy, int dz, int buttons) +ums_add_to_queue(struct ums_softc *sc, int dx, int dy, int dz, int dt, int buttons) { /* Discard data in case of full buffer */ if (sc->qhead+sc->mode.packetsize > sizeof(sc->qbuf)) { @@ -503,6 +530,8 @@ if (dy < -256) dy = -256; if (dz > 126) dz = 126; if (dz < -128) dz = -128; + if (dt > 126) dt = 126; + if (dt < -128) dt = -128; sc->qbuf[sc->qhead] = sc->mode.syncmask[1]; sc->qbuf[sc->qhead] |= ~buttons & MOUSE_MSC_BUTTONS; @@ -550,7 +579,7 @@ sc->qhead = sc->qtail = 0; sc->status.flags = 0; sc->status.button = sc->status.obutton = 0; - sc->status.dx = sc->status.dy = sc->status.dz = 0; + sc->status.dx = sc->status.dy = sc->status.dz = sc->status.dt = 0; callout_handle_init((struct callout_handle *)&sc->callout_handle); @@ -807,10 +836,10 @@ *status = sc->status; sc->status.obutton = sc->status.button; sc->status.button = 0; - sc->status.dx = sc->status.dy = sc->status.dz = 0; + sc->status.dx = sc->status.dy = sc->status.dz = sc->status.dt = 0; splx(s); - if (status->dx || status->dy || status->dz) + if (status->dx || status->dy || status->dz || status->dt) status->flags |= MOUSE_POSCHANGED; if (status->button != status->obutton) status->flags |= MOUSE_BUTTONSCHANGED; --Boundary-00=_Ef+jBJHUYWZ6fJL-- From owner-freebsd-usb@FreeBSD.ORG Tue Nov 9 01:50:42 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1B2B16A4CE for ; Tue, 9 Nov 2004 01:50:42 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEB3443D48 for ; Tue, 9 Nov 2004 01:50:42 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA91odFi019930 for ; Tue, 9 Nov 2004 01:50:39 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA91ocs5019929; Tue, 9 Nov 2004 01:50:39 GMT (envelope-from gnats) Date: Tue, 9 Nov 2004 01:50:39 GMT Message-Id: <200411090150.iA91ocs5019929@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Ian Dowse Subject: Re: kern/70607: [patch] Add Support for USB Microsoft Intellimouse (possibly others) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ian Dowse List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 01:50:43 -0000 The following reply was made to PR kern/70607; it has been noted by GNATS. From: Ian Dowse To: Anish Mistry , Matt Wright Cc: freebsd-gnats-submit@freebsd.org Subject: Re: kern/70607: [patch] Add Support for USB Microsoft Intellimouse (possibly others) Date: Tue, 09 Nov 2004 01:41:26 +0000 In message <200411082140.iA8LeXQs087630@freefall.freebsd.org>, Anish Mistry wri > Excellent work Matt. I've just tested it with my wired Intellimouse, and > it works great on my laptop (6-CURRENT). It didn't work on my desktop, > but I think the USB controller is flaky, ums just gets 1 interrupt then > gets stuck, but my other USB mice still worked fine, so no regressions. ... > Could a committer (Ian?) take a look at this a possibly merge it? Sure, but one question about the patch: is it necessary to add the new field to the mousestatus structure, i.e. is there any userland code that needs the new `dt' field from the MOUSE_GETSTATUS ioctl? If not, it would be better to avoid having to recompile any existing applications that may use the MOUSE_GETSTATUS ioctl. Adding the new field would also require modifying all the other mouse drivers (sysmouse, mse, psm, pc98/mse) to initialise `dt'. Ian From owner-freebsd-usb@FreeBSD.ORG Tue Nov 9 01:50:47 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4587D16A4CE for ; Tue, 9 Nov 2004 01:50:47 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3637143D41 for ; Tue, 9 Nov 2004 01:50:47 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA91oiCc019964 for ; Tue, 9 Nov 2004 01:50:44 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA91oi4I019963; Tue, 9 Nov 2004 01:50:44 GMT (envelope-from gnats) Date: Tue, 9 Nov 2004 01:50:44 GMT Message-Id: <200411090150.iA91oi4I019963@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Matt Wright Subject: Re: kern/70607: [patch] Add Support for USB Microsoft Intellimouse (possibly others) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Matt Wright List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 01:50:47 -0000 The following reply was made to PR kern/70607; it has been noted by GNATS. From: Matt Wright To: Ian Dowse Cc: freebsd-gnats-submit@freebsd.org, Anish Mistry Subject: Re: kern/70607: [patch] Add Support for USB Microsoft Intellimouse (possibly others) Date: Tue, 9 Nov 2004 01:43:32 +0000 Hi, Not as far as I'm aware. I carried it over from Anish's patch. If he hasn't got a reason for keeping it I don't either. Matt On 9 Nov 2004, at 01:41, Ian Dowse wrote: > In message <200411082140.iA8LeXQs087630@freefall.freebsd.org>, Anish > Mistry wri >> Excellent work Matt. I've just tested it with my wired Intellimouse, >> and >> it works great on my laptop (6-CURRENT). It didn't work on my >> desktop, >> but I think the USB controller is flaky, ums just gets 1 interrupt >> then >> gets stuck, but my other USB mice still worked fine, so no >> regressions. > ... >> Could a committer (Ian?) take a look at this a possibly merge it? > > Sure, but one question about the patch: is it necessary to add the > new field to the mousestatus structure, i.e. is there any userland > code that needs the new `dt' field from the MOUSE_GETSTATUS ioctl? > If not, it would be better to avoid having to recompile any existing > applications that may use the MOUSE_GETSTATUS ioctl. Adding the new > field would also require modifying all the other mouse drivers > (sysmouse, mse, psm, pc98/mse) to initialise `dt'. > > Ian > From owner-freebsd-usb@FreeBSD.ORG Tue Nov 9 01:50:58 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B01316A4CE for ; Tue, 9 Nov 2004 01:50:58 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DD3343D6B for ; Tue, 9 Nov 2004 01:50:58 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA91ouIY020005 for ; Tue, 9 Nov 2004 01:50:56 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA91ou9w020004; Tue, 9 Nov 2004 01:50:56 GMT (envelope-from gnats) Date: Tue, 9 Nov 2004 01:50:56 GMT Message-Id: <200411090150.iA91ou9w020004@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Anish Mistry Subject: Re: kern/70607: [patch] Add Support for USB Microsoft Intellimouse (possibly others) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Anish Mistry List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 01:50:58 -0000 The following reply was made to PR kern/70607; it has been noted by GNATS. From: Anish Mistry To: Matt Wright Cc: Ian Dowse , freebsd-gnats-submit@freebsd.org Subject: Re: kern/70607: [patch] Add Support for USB Microsoft Intellimouse (possibly others) Date: Mon, 8 Nov 2004 20:50:41 -0500 --nextPart8529536.YA8LHhDDUc Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 08 November 2004 08:43 pm, Matt Wright wrote: > Hi, > > Not as far as I'm aware. I carried it over from Anish's patch. If he > hasn't got a reason for keeping it I don't either. > No need to keep it. =2D-=20 Anish Mistry --nextPart8529536.YA8LHhDDUc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBkCJ6xqA5ziudZT0RAsGuAJ9xQxKf4lmm8mkA+6wrVZFgxokGbQCgs2jn a/eHUzMW56cPN0pIaha1xzU= =RBB6 -----END PGP SIGNATURE----- --nextPart8529536.YA8LHhDDUc-- From owner-freebsd-usb@FreeBSD.ORG Tue Nov 9 12:36:10 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4109516A4CE for ; Tue, 9 Nov 2004 12:36:10 +0000 (GMT) Received: from over.ru (over.ru [213.247.139.17]) by mx1.FreeBSD.org (Postfix) with SMTP id E4CF443D54 for ; Tue, 9 Nov 2004 12:36:08 +0000 (GMT) (envelope-from tarkhil@webmail.sub.ru) Received: (qmail 12857 invoked by uid 65534); 9 Nov 2004 12:34:55 -0000 Received: from over.ru (HELO localhost) (213.247.139.17) by over.ru with SMTP; 9 Nov 2004 12:34:55 -0000 Received: from unknown ([213.247.139.17]) by localhost (over.ru [213.247.139.17]) (amavisd-new, port 10024) with SMTP id 63130-04 for ; Tue, 9 Nov 2004 15:33:22 +0300 (MSK) Received: from unknown (HELO armada) (192.168.1.251) by over.ru with SMTP; 9 Nov 2004 12:33:20 -0000 Received: (qmail 1260 invoked from network); 9 Nov 2004 12:33:39 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by armada with SMTP; 9 Nov 2004 12:33:39 -0000 Date: Tue, 9 Nov 2004 15:33:39 +0300 From: Alex Povolotsky To: freebsd-usb@freebsd.org, freebsd-stable@freebsd.org Message-ID: <20041109153339.5801b376@localhost> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at over.ru Subject: USB external CD-RW and FreeBSD 5.3 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 12:36:10 -0000 On Tue, 02 Nov 2004 18:30:59 +0100 des@des.no (Dag-Erling Sm_rgrav) wrote: > Alex Povolotsky writes: > > I have an external AOPEN CD-RW with USB interface, it works fine > > with 4.10, but doesn't work with 5.ANY (including 5.3BETA7). > > > > 5.x DOES see umass device, but doesn't see any cd device > > dmesg, please. Here is a partial DMESG with some kernel log messages; full dmesg is available on http://freebsd.over.ru/dmesg.cd Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-STABLE #4: Tue Oct 26 14:20:15 MSD 2004 root@tarkhil.titl.ru:/usr/obj/usr/src/sys/ARMADA CPU: Intel Pentium III (995.68-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff real memory = 268369920 (255 MB) avail memory = 252944384 (241 MB) usb1: on ohci0 usb1: USB revision 1.0 uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered cardbus1: Resource not specified in CIS: id=10, size=1000 found-> vendor=0x1033, dev=0x0035, revid=0x43 bus=3, slot=0, func=1 class=0c-03-10, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0xa8 (5040 ns), mingnt=0x01 (250 ns), maxlat=0x2a (10500 ns) intpin=b, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 ohci1: mem 0x88001000-0x88001fff irq 11 at device 0.1 on cardbus1 ohci1: [GIANT-LOCKED] usb2: OHCI version 1.0 usb2: on ohci1 usb2: USB revision 1.0 uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered cardbus1: Resource not specified in CIS: id=10, size=100 found-> vendor=0x1033, dev=0x00e0, revid=0x04 bus=3, slot=0, func=2 class=0c-03-20, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0xa8 (5040 ns), mingnt=0x10 (4000 ns), maxlat=0x22 (8500 ns) intpin=c, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 cardbus1: at device 0.2 (no driver attached) Nov 3 10:47:26 tarkhil kernel: umass0: USB Flash Disk, rev 2.00/2.00, addr 2 Nov 3 10:47:26 tarkhil kernel: umass0:0:0:-1: Attached to scbus0 Nov 3 10:47:26 tarkhil kernel: pass0 at umass-sim0 bus 0 target 0 lun 0 Nov 3 10:47:26 tarkhil kernel: pass0: Removable Direct Access SCSI-2 device Nov 3 10:47:26 tarkhil kernel: pass0: Serial Number  Nov 3 10:47:26 tarkhil kernel: pass0: 1.000MB/s transfers Nov 3 10:47:26 tarkhil kernel: GEOM: new disk da0 Nov 3 10:47:26 tarkhil kernel: (da0:umass-sim0:0:0:0): Retrying Command Nov 3 10:47:26 tarkhil kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Nov 3 10:47:26 tarkhil kernel: da0: Removable Direct Access SCSI-2 device Nov 3 10:47:26 tarkhil kernel: da0: Serial Number  Nov 3 10:47:26 tarkhil kernel: da0: 1.000MB/s transfers Nov 3 10:47:26 tarkhil kernel: da0: 249MB (511488 512 byte sectors: 64H 32S/T 249C) Nov 3 10:47:26 tarkhil kernel: [0] f:00 typ:6 s(CHS):0/1/1 e(CHS):247/63/32 s:32 l:507872 Nov 3 10:47:26 tarkhil kernel: [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Nov 3 10:47:26 tarkhil kernel: [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Nov 3 10:47:26 tarkhil kernel: [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Nov 3 10:47:26 tarkhil kernel: GEOM: Configure da0s1, start 16384 length 260030464 end 260046847 Nov 3 10:47:39 tarkhil kernel: umass0: at uhub2 port 1 (addr 2) disconnected Nov 3 10:47:39 tarkhil kernel: (da0:umass-sim0:0:0:0): lost device Nov 3 10:47:39 tarkhil kernel: (da0:umass-sim0:0:0:0): removing device entry Nov 3 10:47:39 tarkhil kernel: (pass0:umass-sim0:0:0:0): lost device Nov 3 10:47:39 tarkhil kernel: (pass0:umass-sim0:0:0:0): removing device entry Nov 3 10:47:39 tarkhil kernel: umass0: detached Nov 3 10:47:55 tarkhil kernel: umass0: AOPEN Aopen USB2.0 Device, rev 2.00/0.01, addr 2 Nov 3 10:47:55 tarkhil kernel: umass0: Get Max Lun not supported (STALLED) Nov 3 10:47:55 tarkhil kernel: umass0:0:0:-1: Attached to scbus0 Nov 3 10:47:57 tarkhil kernel: (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR Nov 3 10:47:57 tarkhil kernel: (probe0:umass-sim0:0:0:0): Retrying Command Nov 3 10:47:57 tarkhil kernel: (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR Nov 3 10:47:57 tarkhil kernel: (probe0:umass-sim0:0:0:0): Retrying Command Nov 3 10:47:57 tarkhil kernel: (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR Nov 3 10:47:57 tarkhil kernel: (probe0:umass-sim0:0:0:0): Retrying Command Nov 3 10:47:57 tarkhil kernel: (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR Nov 3 10:47:57 tarkhil kernel: (probe0:umass-sim0:0:0:0): Retrying Command Nov 3 10:47:57 tarkhil kernel: (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR Nov 3 10:47:57 tarkhil kernel: (probe0:umass-sim0:0:0:0): error 5 Nov 3 10:47:57 tarkhil kernel: (probe0:umass-sim0:0:0:0): Retries Exausted Reminding: the same unit worked fine on the same box running 4.10-RELEASE. -- Alex Povolotsky SwissCom From owner-freebsd-usb@FreeBSD.ORG Tue Nov 9 16:04:09 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C50B716A4CF for ; Tue, 9 Nov 2004 16:04:09 +0000 (GMT) Received: from web41209.mail.yahoo.com (web41209.mail.yahoo.com [66.218.93.42]) by mx1.FreeBSD.org (Postfix) with SMTP id 87C6E43D53 for ; Tue, 9 Nov 2004 16:04:09 +0000 (GMT) (envelope-from stevensbsd@yahoo.com) Received: (qmail 26447 invoked by uid 60001); 9 Nov 2004 16:04:09 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=daluOek20w4lgxKsBH2YWWcqg23SLcYCd4ZdSAzNV0k/u97zPPZiqhwioz3F54azhoXpYgEyrFgHR1orAQjTOViq/ua3hnyEVvzjh/aWWdokYRHxz2fYVYAOW2AnQrrT8XMkpHCyBIy//OKnikd2kEO52Ok+ma/siyNmbWKKrRk= ; Message-ID: <20041109160408.26445.qmail@web41209.mail.yahoo.com> Received: from [218.19.5.233] by web41209.mail.yahoo.com via HTTP; Tue, 09 Nov 2004 08:04:08 PST Date: Tue, 9 Nov 2004 08:04:08 -0800 (PST) From: Hongbo Li To: stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: usb@freebsd.org Subject: umass can't work under freebsd 5.3 GENERIC kernel X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 16:04:09 -0000 my box is a dell latitude d400 laptop. dmesg output: umass0: Dell USB Drive A01, rev 2.00/1.04, addr 2 umass0: Get Max Lun not supported (STALLED) umass0: Phase Error, residue = 0 umass0: Phase Error, residue = 0 umass0: Phase Error, residue = 0 umass0: Phase Error, residue = 0 umass0: Phase Error, residue = 0 umass0: at uhub1 port 2 (addr 2) disconnected umass0: detached btw: umass works fine under FreeBSD 4.10. __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com From owner-freebsd-usb@FreeBSD.ORG Tue Nov 9 16:41:33 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EFC516A4CE for ; Tue, 9 Nov 2004 16:41:33 +0000 (GMT) Received: from mailfe06.swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D0A943D41 for ; Tue, 9 Nov 2004 16:41:32 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gwFng4r08SDC4wwCdj+wfg== Received: from [193.216.46.184] (HELO curly.tele2.no) by mailfe06.swip.net (CommuniGate Pro SMTP 4.2.5) with ESMTP id 211718930; Tue, 09 Nov 2004 17:41:29 +0100 Received: (from root@localhost) by curly.tele2.no (8.12.5/8.12.3) id iA9GkHoj000693; Tue, 9 Nov 2004 17:46:17 +0100 (CET) (envelope-from hselasky@c2i.net) Date: Tue, 9 Nov 2004 17:46:15 +0100 From: Hans Petter Selasky To: Julian Elischer Message-ID: <20041109174615.A280@curly.tele2.no> References: <20041107194658.B466@curly.tele2.no> <20041107.130436.91313722.imp@bsdimp.com> <20041108174425.A283@curly.tele2.no> <418FDB40.6090209@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <418FDB40.6090209@elischer.org>; from julian@elischer.org on Mon, Nov 08, 2004 at 12:46:56PM -0800 cc: freebsd-usb@freebsd.org Subject: Re: new USB driver X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 16:41:33 -0000 On Mon, Nov 08, 2004 at 12:46:56PM -0800, Julian Elischer wrote: > > > Hans Petter Selasky wrote: > > > > >There are some more differences, but that will be details. My new USB driver > >is built upon the FreeBSD-5-current USB driver, but it is not fully compatible > >with it. > > > >So is it a candidate for a new /sys/ directory? > > > > I would hope not.. > > If these are generally useful changes then maybe they might also be > useful to NetBSD and OpenBSD. > If so, then they could be adopted everywhere and we could "migrate" to > it in the same place rather than > get a new directory. > > Have you thought about how your changes would go in 4.x? > > I assume it would require some work as you have incorporated the mutex > into how you do things.. > I have thought that maybe usb_port.h could contain a set of defines mtx_init, mtx_lock and mtx_unlock that call splxxx() and store the value returned from splxxx() into struct mtx { int s; int mtx_recurse; }. So porting to 4.x should not be a big problem. msleep() could be defined { mtx_unlock(); tsleep(); mtx_lock(); }, though there will be a small gap between unlock and sleep where wakeup can be called, it will work, if tsleep does not exit the current spl level then. concerning callouts I suggest that the FreeBSD-5 way is used and that other incompatible platforms use something like: struct callout { void *func; void *arg; }; #define callout_init(args...) #define callout_reset(h, t, f, d) { (h)->func = (f); (h)->arg = (d); timeout((f), (d), (t)); } #define callout_stop(h) { if((h)->func) { untimeout((h)->func, (h)->arg); (h)->func = NULL; } } Yours --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Nov 9 17:50:30 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50DB416A4CE for ; Tue, 9 Nov 2004 17:50:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4536543D58 for ; Tue, 9 Nov 2004 17:50:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA9HoUvo091712 for ; Tue, 9 Nov 2004 17:50:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA9HoUU3091710; Tue, 9 Nov 2004 17:50:30 GMT (envelope-from gnats) Date: Tue, 9 Nov 2004 17:50:30 GMT Message-Id: <200411091750.iA9HoUU3091710@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Jonathan Heaney Subject: Re: kern/62088: [usb] Logitech Cordless/Optical Mouse not working X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jonathan Heaney List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 17:50:30 -0000 The following reply was made to PR kern/62088; it has been noted by GNATS. From: Jonathan Heaney To: freebsd-gnats-submit@FreeBSD.org, jonathan.heaney@blueyonder.co.uk Cc: Subject: Re: kern/62088: [usb] Logitech Cordless/Optical Mouse not working Date: Tue, 09 Nov 2004 17:41:25 +0000 Some further info regarding this, now using 5.3-release. My PS/2 keyboard I indicated did not work unless in safe mode, or using my own kernel (with no usb keyboard support) - it does work with generic kernel if I disconnect the Logitech USB receiver. The receiver is actually a keyboard and mouse receiver, however, I only have the mouse. Hope this helps. From owner-freebsd-usb@FreeBSD.ORG Tue Nov 9 19:20:29 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDD9116A4D7 for ; Tue, 9 Nov 2004 19:20:29 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4B1743D49 for ; Tue, 9 Nov 2004 19:20:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA9JKTLG004150 for ; Tue, 9 Nov 2004 19:20:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA9JKT1i004149; Tue, 9 Nov 2004 19:20:29 GMT (envelope-from gnats) Date: Tue, 9 Nov 2004 19:20:29 GMT Message-Id: <200411091920.iA9JKT1i004149@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Anish Mistry Subject: Re: kern/62088: [usb] Logitech Cordless/Optical Mouse not working X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Anish Mistry List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 19:20:29 -0000 The following reply was made to PR kern/62088; it has been noted by GNATS. From: Anish Mistry To: Jonathan Heaney Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/62088: [usb] Logitech Cordless/Optical Mouse not working Date: Tue, 9 Nov 2004 14:18:35 -0500 --nextPart1704017.gk7KhFgTrn Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 09 November 2004 12:50 pm, Jonathan Heaney wrote: > Some further info regarding this, now using 5.3-release. > > My PS/2 keyboard I indicated did not work unless in safe mode, or using > my own kernel (with no usb keyboard support) - it does work with > generic kernel if I disconnect the Logitech USB receiver. > > The receiver is actually a keyboard and mouse receiver, however, I only > have the mouse. > Could you enable "options USB_DEBUG" in your kernel and set the following=20 sysctl "hw.usb.ums.debug=3D11" and post what you get. =2D-=20 Anish Mistry --nextPart1704017.gk7KhFgTrn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBkRgTxqA5ziudZT0RApXMAKC9bKlHu/ED4q3C/qu0oZ9jZ/jssgCgyx1Z hgRRW0Cz6JfarCfJoI9wLgE= =iXP3 -----END PGP SIGNATURE----- --nextPart1704017.gk7KhFgTrn-- From owner-freebsd-usb@FreeBSD.ORG Tue Nov 9 23:30:40 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEE7616A4CE for ; Tue, 9 Nov 2004 23:30:40 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD13943D2D for ; Tue, 9 Nov 2004 23:30:40 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA9NUeeD032934 for ; Tue, 9 Nov 2004 23:30:40 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA9NUeGE032933; Tue, 9 Nov 2004 23:30:40 GMT (envelope-from gnats) Date: Tue, 9 Nov 2004 23:30:40 GMT Message-Id: <200411092330.iA9NUeGE032933@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Herve Quiroz Subject: Re: kern/63621: [usb] USB MemoryStick Reader stalls/crashes system X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Herve Quiroz List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 23:30:40 -0000 The following reply was made to PR kern/63621; it has been noted by GNATS. From: Herve Quiroz To: freebsd-gnats-submit@freebsd.org, marck@rinet.ru Cc: Subject: Re: kern/63621: [usb] USB MemoryStick Reader stalls/crashes system Date: Wed, 10 Nov 2004 00:26:31 +0100 Hum, after some more testing (well, unexpected crashes actually) it seems like the cat(1) trick is not necessarily the true workaround. Sometimes, even this trick fails to have subsequent read accesses working. But maybe it's just a matter of un-mounting and re-mouting the filesystem... Indeed, I need to perform some more tests but I've been doing this with 100% succes so far: 1. mount 2. cat file.txt 3. un-mount 4. re-mount 5. do whatever I want, even subversion operations Actually, I still pray each time I do a simple svn update. But statistically, this gives me the best results. Dmitry, could you try this method to confirm? BTW, I've just upgraded to 5.3-RELEASE last night so we'll see in a short while if the problem is still relevant with this version. Herve From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 00:40:29 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FE3716A4CF for ; Wed, 10 Nov 2004 00:40:29 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9387443D2D for ; Wed, 10 Nov 2004 00:40:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iAA0eTRT042524 for ; Wed, 10 Nov 2004 00:40:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAA0eTPv042523; Wed, 10 Nov 2004 00:40:29 GMT (envelope-from gnats) Date: Wed, 10 Nov 2004 00:40:29 GMT Message-Id: <200411100040.iAA0eTPv042523@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Jonathan Heaney Subject: Re: kern/62088: [usb] Logitech Cordless/Optical Mouse not working X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jonathan Heaney List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 00:40:29 -0000 The following reply was made to PR kern/62088; it has been noted by GNATS. From: Jonathan Heaney To: freebsd-gnats-submit@FreeBSD.org, jonathan.heaney@blueyonder.co.uk Cc: Subject: Re: kern/62088: [usb] Logitech Cordless/Optical Mouse not working Date: Wed, 10 Nov 2004 00:37:28 +0000 OK, assuming I've done this correctly, when I use the mouse I get this at the console- ums_intr: sc=0xc1670000 status=0 ums_intr: data = 01 00 00 Button 1 gives ums_intr: sc=0xc1670000 status=0 ums_intr: data = 01 01 00 ums_intr: sc=0xc1670000 status=0 ums_intr: data = 01 00 00 Button 2 ums_intr: sc=0xc1670000 status=0 ums_intr: data = 01 02 00 ums_intr: sc=0xc1670000 status=0 ums_intr: data = 01 00 00 Wheel button ums_intr: sc=0xc1670000 status=0 ums_intr: data = 01 04 00 ums_intr: sc=0xc1670000 status=0 ums_intr: data = 01 00 00 Thumb button ums_intr: sc=0xc1670000 status=0 ums_intr: data = 01 08 00 ums_intr: sc=0xc1670000 status=0 ums_intr: data = 01 00 00 Scrolling the wheel produces the same output as moving the mouse. From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 01:20:27 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EE1D16A4CE for ; Wed, 10 Nov 2004 01:20:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FB1943D2F for ; Wed, 10 Nov 2004 01:20:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iAA1KQar047581 for ; Wed, 10 Nov 2004 01:20:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAA1KQH0047580; Wed, 10 Nov 2004 01:20:26 GMT (envelope-from gnats) Date: Wed, 10 Nov 2004 01:20:26 GMT Message-Id: <200411100120.iAA1KQH0047580@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Anish Mistry Subject: Re: kern/62088: [usb] Logitech Cordless/Optical Mouse not working X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Anish Mistry List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 01:20:27 -0000 The following reply was made to PR kern/62088; it has been noted by GNATS. From: Anish Mistry To: Jonathan Heaney Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/62088: [usb] Logitech Cordless/Optical Mouse not working Date: Tue, 9 Nov 2004 20:22:08 -0500 --nextPart2033728.mIUElPdATM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hmmm...that output look like my Tilt wheel intellimouse explorer. Could=20 you try the following patch, and give us the debug output again? Thanks. http://www.consultmatt.co.uk/downloads/patches/freebsd/intellimouse.diff =2D-=20 Anish Mistry --nextPart2033728.mIUElPdATM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBkW1JxqA5ziudZT0RAmR3AJ97AtRZi8KEZLOKFhC5ZbBMp4tfvgCeOZet U5kTX74b9LxlNqAzaHYG90Y= =wPpt -----END PGP SIGNATURE----- --nextPart2033728.mIUElPdATM-- From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 03:30:25 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C20A16A4CE for ; Wed, 10 Nov 2004 03:30:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26B5643D41 for ; Wed, 10 Nov 2004 03:30:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iAA3UPYi061419 for ; Wed, 10 Nov 2004 03:30:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAA3UPER061418; Wed, 10 Nov 2004 03:30:25 GMT (envelope-from gnats) Date: Wed, 10 Nov 2004 03:30:25 GMT Message-Id: <200411100330.iAA3UPER061418@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Jonathan Heaney Subject: Re: kern/62088: [usb] Logitech Cordless/Optical Mouse not working X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jonathan Heaney List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 03:30:25 -0000 The following reply was made to PR kern/62088; it has been noted by GNATS. From: Jonathan Heaney To: freebsd-gnats-submit@FreeBSD.org, jonathan.heaney@blueyonder.co.uk Cc: Subject: Re: kern/62088: [usb] Logitech Cordless/Optical Mouse not working Date: Wed, 10 Nov 2004 03:23:59 +0000 That patch appears to work. My mouse works now, but I have some possible problems. It's late here though so I will investigate tomorrow. From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 04:20:33 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6161D16A4CE for ; Wed, 10 Nov 2004 04:20:33 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5295D43D41 for ; Wed, 10 Nov 2004 04:20:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iAA4KXFv071427 for ; Wed, 10 Nov 2004 04:20:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAA4KXUO071426; Wed, 10 Nov 2004 04:20:33 GMT (envelope-from gnats) Date: Wed, 10 Nov 2004 04:20:33 GMT Message-Id: <200411100420.iAA4KXUO071426@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Anish Mistry Subject: Re: kern/70607: [patch] Add Support for USB Microsoft Intellimouse (possibly others) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Anish Mistry List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 04:20:33 -0000 The following reply was made to PR kern/70607; it has been noted by GNATS. From: Anish Mistry To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: kern/70607: [patch] Add Support for USB Microsoft Intellimouse (possibly others) Date: Tue, 9 Nov 2004 23:18:01 -0500 --nextPart1195876.kBiaPRXapZ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Related PR: kern/62088: [usb] Logitech Cordless/Optical Mouse not working =2D-=20 Anish Mistry --nextPart1195876.kBiaPRXapZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBkZaCxqA5ziudZT0RAtgnAKDURm9+6TM83oGzEfiXcFtC0azDFQCgz4vW gzucE2rzinr5bXM2uX4GQQk= =176W -----END PGP SIGNATURE----- --nextPart1195876.kBiaPRXapZ-- From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:54:20 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28A9716A4CE; Wed, 10 Nov 2004 10:54:20 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0942643D46; Wed, 10 Nov 2004 10:54:20 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAsJLZ041877; Wed, 10 Nov 2004 10:54:19 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAsJ2s041873; Wed, 10 Nov 2004 10:54:19 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:54:19 GMT From: Josef Karthauser Message-Id: <200411101054.iAAAsJ2s041873@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/30502: panics if logitech joystick usb attached to system X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:54:20 -0000 Synopsis: panics if logitech joystick usb attached to system Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:53:48 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=30502 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:54:49 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD1BF16A4CE; Wed, 10 Nov 2004 10:54:49 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD4C543D3F; Wed, 10 Nov 2004 10:54:49 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAsnng041932; Wed, 10 Nov 2004 10:54:49 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAsnBI041928; Wed, 10 Nov 2004 10:54:49 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:54:49 GMT From: Josef Karthauser Message-Id: <200411101054.iAAAsnBI041928@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/31659: USB controller driver will die after some hours/heavy load. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:54:49 -0000 Synopsis: USB controller driver will die after some hours/heavy load. Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:54:30 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=31659 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:55:28 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 193B216A4CF; Wed, 10 Nov 2004 10:55:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C81143D46; Wed, 10 Nov 2004 10:55:17 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAtH8T041983; Wed, 10 Nov 2004 10:55:17 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAtG10041979; Wed, 10 Nov 2004 10:55:16 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:55:16 GMT From: Josef Karthauser Message-Id: <200411101055.iAAAtG10041979@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/32713: [usb] mouse detaches from hub and doesnt re-attach X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:55:28 -0000 Synopsis: [usb] mouse detaches from hub and doesnt re-attach Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:54:56 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=32713 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:55:56 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FF0916A4CE; Wed, 10 Nov 2004 10:55:56 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B42043D46; Wed, 10 Nov 2004 10:55:56 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAtugd042036; Wed, 10 Nov 2004 10:55:56 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAtu0U042032; Wed, 10 Nov 2004 10:55:56 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:55:56 GMT From: Josef Karthauser Message-Id: <200411101055.iAAAtu0U042032@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/33839: usb0: host controller halted (involving Alcatel Speedtouch ADSL modem) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:55:56 -0000 Synopsis: usb0: host controller halted (involving Alcatel Speedtouch ADSL modem) Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:55:37 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=33839 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:56:11 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAF7316A4CE; Wed, 10 Nov 2004 10:56:11 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB51643D2D; Wed, 10 Nov 2004 10:56:11 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAuB6x042090; Wed, 10 Nov 2004 10:56:11 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAuB5G042086; Wed, 10 Nov 2004 10:56:11 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:56:11 GMT From: Josef Karthauser Message-Id: <200411101056.iAAAuB5G042086@freefall.freebsd.org> To: iedowse@FreeBSD.org, joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/35061: After printing to HP Deskjet 656c USB printer, computer hangs X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:56:12 -0000 Synopsis: After printing to HP Deskjet 656c USB printer, computer hangs Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:56:02 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=35061 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:56:29 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C75716A4CE; Wed, 10 Nov 2004 10:56:29 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CC9543D39; Wed, 10 Nov 2004 10:56:29 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAuTJU042139; Wed, 10 Nov 2004 10:56:29 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAuS9O042135; Wed, 10 Nov 2004 10:56:28 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:56:28 GMT From: Josef Karthauser Message-Id: <200411101056.iAAAuS9O042135@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: i386/36850: Page Fault using ppp with USB Modem [4.9] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:56:29 -0000 Synopsis: Page Fault using ppp with USB Modem [4.9] Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:56:17 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=36850 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:56:58 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59D8416A4CE; Wed, 10 Nov 2004 10:56:58 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A65643D2D; Wed, 10 Nov 2004 10:56:58 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAuwVj042221; Wed, 10 Nov 2004 10:56:58 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAuwlw042217; Wed, 10 Nov 2004 10:56:58 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:56:58 GMT From: Josef Karthauser Message-Id: <200411101056.iAAAuwlw042217@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/39341: ppp + USB modem problem X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:56:58 -0000 Synopsis: ppp + USB modem problem Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:56:48 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=39341 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:57:14 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E10FB16A4CE; Wed, 10 Nov 2004 10:57:14 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0C0143D41; Wed, 10 Nov 2004 10:57:14 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAvEd6042273; Wed, 10 Nov 2004 10:57:14 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAvEkh042269; Wed, 10 Nov 2004 10:57:14 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:57:14 GMT From: Josef Karthauser Message-Id: <200411101057.iAAAvEkh042269@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/39805: 4.6R install panics with umass0 device connected X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:57:15 -0000 Synopsis: 4.6R install panics with umass0 device connected Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:57:03 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=39805 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:57:33 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2C8716A4CE; Wed, 10 Nov 2004 10:57:33 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9489A43D45; Wed, 10 Nov 2004 10:57:33 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAvXkS042322; Wed, 10 Nov 2004 10:57:33 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAvXfV042318; Wed, 10 Nov 2004 10:57:33 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:57:33 GMT From: Josef Karthauser Message-Id: <200411101057.iAAAvXfV042318@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/40792: signals lead to data loss on device ugen X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:57:33 -0000 Synopsis: signals lead to data loss on device ugen Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:57:20 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=40792 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:57:50 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9820616A4CE; Wed, 10 Nov 2004 10:57:50 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74C7B43D1D; Wed, 10 Nov 2004 10:57:50 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAvoLq042374; Wed, 10 Nov 2004 10:57:50 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAvoQj042370; Wed, 10 Nov 2004 10:57:50 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:57:50 GMT From: Josef Karthauser Message-Id: <200411101057.iAAAvoQj042370@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/42748: USB does not work (Fujitsu Lifebook) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:57:50 -0000 Synopsis: USB does not work (Fujitsu Lifebook) Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:57:38 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=42748 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:58:12 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 547B416A4CE; Wed, 10 Nov 2004 10:58:12 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 331C343D31; Wed, 10 Nov 2004 10:58:12 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAwC88042428; Wed, 10 Nov 2004 10:58:12 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAwC5m042424; Wed, 10 Nov 2004 10:58:12 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:58:12 GMT From: Josef Karthauser Message-Id: <200411101058.iAAAwC5m042424@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: i386/43366: Cannot format media in USB floppy devices X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:58:12 -0000 Synopsis: Cannot format media in USB floppy devices Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:57:58 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=43366 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:58:26 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CC5516A4CE; Wed, 10 Nov 2004 10:58:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F15B543D2D; Wed, 10 Nov 2004 10:58:25 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAwPai042477; Wed, 10 Nov 2004 10:58:25 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAwPtY042473; Wed, 10 Nov 2004 10:58:25 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:58:25 GMT From: Josef Karthauser Message-Id: <200411101058.iAAAwPtY042473@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/43462: copying files from olympus C-4040 digital camera panics kernel X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:58:26 -0000 Synopsis: copying files from olympus C-4040 digital camera panics kernel Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:58:16 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=43462 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:58:40 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A7FD16A4CF; Wed, 10 Nov 2004 10:58:40 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ADB243D1D; Wed, 10 Nov 2004 10:58:40 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAwdac042531; Wed, 10 Nov 2004 10:58:40 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAwdVl042527; Wed, 10 Nov 2004 10:58:39 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:58:39 GMT From: Josef Karthauser Message-Id: <200411101058.iAAAwdVl042527@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: bin/43993: /usr/sbin/usbd does not handle an usb event with multiple devices X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:58:40 -0000 Synopsis: /usr/sbin/usbd does not handle an usb event with multiple devices Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:58:30 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=43993 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:58:57 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDEE916A4CE; Wed, 10 Nov 2004 10:58:57 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9C1D43D31; Wed, 10 Nov 2004 10:58:57 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAwvGm042586; Wed, 10 Nov 2004 10:58:57 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAwvQP042582; Wed, 10 Nov 2004 10:58:57 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:58:57 GMT From: Josef Karthauser Message-Id: <200411101058.iAAAwvQP042582@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/45579: Panic from USB stack after device detach X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:58:58 -0000 Synopsis: Panic from USB stack after device detach Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:58:47 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=45579 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:59:13 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 050F816A4CE; Wed, 10 Nov 2004 10:59:13 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C097043D3F; Wed, 10 Nov 2004 10:59:12 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAxC3K042634; Wed, 10 Nov 2004 10:59:12 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAxCLZ042630; Wed, 10 Nov 2004 10:59:12 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:59:12 GMT From: Josef Karthauser Message-Id: <200411101059.iAAAxCLZ042630@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/46176: umass causes kernel panic if device removed before umount X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:59:13 -0000 Synopsis: umass causes kernel panic if device removed before umount Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:59:01 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=46176 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:59:27 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22CA216A4CE; Wed, 10 Nov 2004 10:59:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02CEE43D45; Wed, 10 Nov 2004 10:59:27 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAxQNe042687; Wed, 10 Nov 2004 10:59:26 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAxQk3042683; Wed, 10 Nov 2004 10:59:26 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:59:26 GMT From: Josef Karthauser Message-Id: <200411101059.iAAAxQk3042683@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: i386/46371: USB controller cannot be initialized on IBM Netfinity 4000R X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:59:27 -0000 Synopsis: USB controller cannot be initialized on IBM Netfinity 4000R Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:59:17 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=46371 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 10:59:47 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79C8516A4CE; Wed, 10 Nov 2004 10:59:47 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44AE543D31; Wed, 10 Nov 2004 10:59:47 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAAxlBO042736; Wed, 10 Nov 2004 10:59:47 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAAxlwX042732; Wed, 10 Nov 2004 10:59:47 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 10:59:47 GMT From: Josef Karthauser Message-Id: <200411101059.iAAAxlwX042732@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: i386/46506: [usb] [hang] Crash Before Initialization of Printer? or USB Error? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 10:59:47 -0000 Synopsis: [usb] [hang] Crash Before Initialization of Printer? or USB Error? Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:59:31 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=46506 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:00:06 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B87816A4CE; Wed, 10 Nov 2004 11:00:06 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 097AB43D45; Wed, 10 Nov 2004 11:00:06 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB05tm042798; Wed, 10 Nov 2004 11:00:05 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB05E2042794; Wed, 10 Nov 2004 11:00:05 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:00:05 GMT From: Josef Karthauser Message-Id: <200411101100.iAAB05E2042794@freefall.freebsd.org> To: ler@lerctr.org, joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/46618: USB (UHCI/ICH3) PALM connect/disconnect/connect on hotsync X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:00:06 -0000 Synopsis: USB (UHCI/ICH3) PALM connect/disconnect/connect on hotsync Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 10:59:51 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=46618 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:00:25 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7DFC16A4CE; Wed, 10 Nov 2004 11:00:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8909943D4C; Wed, 10 Nov 2004 11:00:25 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB0PZj042852; Wed, 10 Nov 2004 11:00:25 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB0PUN042848; Wed, 10 Nov 2004 11:00:25 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:00:25 GMT From: Josef Karthauser Message-Id: <200411101100.iAAB0PUN042848@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/47005: OHCI USB not noticing device detachments on A7N266-VM MoBo X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:00:25 -0000 Synopsis: OHCI USB not noticing device detachments on A7N266-VM MoBo Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:00:13 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=47005 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:00:42 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDF2D16A4CE; Wed, 10 Nov 2004 11:00:42 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EB2B43D2F; Wed, 10 Nov 2004 11:00:42 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB0gMG042900; Wed, 10 Nov 2004 11:00:42 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB0gQJ042896; Wed, 10 Nov 2004 11:00:42 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:00:42 GMT From: Josef Karthauser Message-Id: <200411101100.iAAB0gQJ042896@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/48359: SiS 5597/8 USB + uscanner breakage X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:00:42 -0000 Synopsis: SiS 5597/8 USB + uscanner breakage Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:00:30 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=48359 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:00:58 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7D7216A4CE; Wed, 10 Nov 2004 11:00:58 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C879B43D45; Wed, 10 Nov 2004 11:00:58 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB0wCI043074; Wed, 10 Nov 2004 11:00:58 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB0w23043070; Wed, 10 Nov 2004 11:00:58 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:00:58 GMT From: Josef Karthauser Message-Id: <200411101100.iAAB0w23043070@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/48849: Maxtor XT5000 causes panic in boot X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:00:59 -0000 Synopsis: Maxtor XT5000 causes panic in boot Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:00:49 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=48849 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:01:12 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E1C216A4CE; Wed, 10 Nov 2004 11:01:12 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 205A143D2D; Wed, 10 Nov 2004 11:01:12 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB1Ccf043142; Wed, 10 Nov 2004 11:01:12 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB1Bt5043138; Wed, 10 Nov 2004 11:01:12 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:01:12 GMT From: Josef Karthauser Message-Id: <200411101101.iAAB1Bt5043138@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/48952: uscanner0 hangs X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:01:12 -0000 Synopsis: uscanner0 hangs Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:01:02 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=48952 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:01:26 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A954016A4CE; Wed, 10 Nov 2004 11:01:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 893D243D3F; Wed, 10 Nov 2004 11:01:26 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB1QKT043191; Wed, 10 Nov 2004 11:01:26 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB1QmO043187; Wed, 10 Nov 2004 11:01:26 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:01:26 GMT From: Josef Karthauser Message-Id: <200411101101.iAAB1QmO043187@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/50149: Using Alcatel SpeedTouch results in "usb0: host controller process error","usb0: host controller halted" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:01:26 -0000 Synopsis: Using Alcatel SpeedTouch results in "usb0: host controller process error","usb0: host controller halted" Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:01:16 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=50149 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:01:40 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA07316A4CE; Wed, 10 Nov 2004 11:01:40 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A90BD43D2D; Wed, 10 Nov 2004 11:01:40 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB1eZi043245; Wed, 10 Nov 2004 11:01:40 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB1eir043241; Wed, 10 Nov 2004 11:01:40 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:01:40 GMT From: Josef Karthauser Message-Id: <200411101101.iAAB1eir043241@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/55587: null dereference in usbdi.c: usb_transfer_complete X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:01:41 -0000 Synopsis: null dereference in usbdi.c: usb_transfer_complete Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:01:30 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=55587 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:01:55 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B69E16A4CE; Wed, 10 Nov 2004 11:01:55 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B11D43D31; Wed, 10 Nov 2004 11:01:55 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB1tBg043296; Wed, 10 Nov 2004 11:01:55 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB1sQl043292; Wed, 10 Nov 2004 11:01:54 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:01:54 GMT From: Josef Karthauser Message-Id: <200411101101.iAAB1sQl043292@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: bin/57255: usbd and multi-function devices X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:01:55 -0000 Synopsis: usbd and multi-function devices Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:01:46 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=57255 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:02:10 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B75A16A4CE; Wed, 10 Nov 2004 11:02:10 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BF1143D46; Wed, 10 Nov 2004 11:02:10 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB2A33043355; Wed, 10 Nov 2004 11:02:10 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB2A4U043351; Wed, 10 Nov 2004 11:02:10 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:02:10 GMT From: Josef Karthauser Message-Id: <200411101102.iAAB2A4U043351@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/60217: EHCI controller halts when USB 2.0 device attached. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:02:10 -0000 Synopsis: EHCI controller halts when USB 2.0 device attached. Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:02:01 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=60217 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:02:26 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B16FF16A4CE; Wed, 10 Nov 2004 11:02:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E67943D41; Wed, 10 Nov 2004 11:02:26 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB2QJu043404; Wed, 10 Nov 2004 11:02:26 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB2Q3H043400; Wed, 10 Nov 2004 11:02:26 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:02:26 GMT From: Josef Karthauser Message-Id: <200411101102.iAAB2Q3H043400@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/60276: [usb] Kernel panic when plugging in USB (umass) device (XClef-HD500) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:02:26 -0000 Synopsis: [usb] Kernel panic when plugging in USB (umass) device (XClef-HD500) Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:02:15 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=60276 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:02:41 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5771316A4CE; Wed, 10 Nov 2004 11:02:41 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3878943D3F; Wed, 10 Nov 2004 11:02:41 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB2f7t043453; Wed, 10 Nov 2004 11:02:41 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB2fnF043449; Wed, 10 Nov 2004 11:02:41 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:02:41 GMT From: Josef Karthauser Message-Id: <200411101102.iAAB2fnF043449@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/61377: [kbd] usb keyboard not functional after boot, can not attach using kbdcontrol X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:02:41 -0000 Synopsis: [kbd] usb keyboard not functional after boot, can not attach using kbdcontrol Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:02:31 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=61377 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:02:55 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB8BB16A4CE; Wed, 10 Nov 2004 11:02:55 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CEC343D55; Wed, 10 Nov 2004 11:02:55 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB2tHV043509; Wed, 10 Nov 2004 11:02:55 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB2tGX043505; Wed, 10 Nov 2004 11:02:55 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:02:55 GMT From: Josef Karthauser Message-Id: <200411101102.iAAB2tGX043505@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/61627: [usb] [patch] New USB printer not supported correctly X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:02:55 -0000 Synopsis: [usb] [patch] New USB printer not supported correctly Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:02:46 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=61627 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:03:18 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C821516A4CE; Wed, 10 Nov 2004 11:03:18 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3FD843D2D; Wed, 10 Nov 2004 11:03:18 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB3IrO043558; Wed, 10 Nov 2004 11:03:18 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB3I1H043554; Wed, 10 Nov 2004 11:03:18 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:03:18 GMT From: Josef Karthauser Message-Id: <200411101103.iAAB3I1H043554@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/32652: [patch] A new ioctl to uscanner X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:03:18 -0000 Synopsis: [patch] A new ioctl to uscanner Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:03:08 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=32652 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:03:29 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58CAF16A4CE; Wed, 10 Nov 2004 11:03:29 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38C4843D1D; Wed, 10 Nov 2004 11:03:29 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB3TGC043614; Wed, 10 Nov 2004 11:03:29 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB3T0A043610; Wed, 10 Nov 2004 11:03:29 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:03:29 GMT From: Josef Karthauser Message-Id: <200411101103.iAAB3T0A043610@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: ports/32653: Added patches to improve USB scanner supportOB X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:03:29 -0000 Synopsis: Added patches to improve USB scanner supportOB Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:03:22 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=32653 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:03:42 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 388AC16A4CE; Wed, 10 Nov 2004 11:03:42 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18E3B43D49; Wed, 10 Nov 2004 11:03:42 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB3fOw043665; Wed, 10 Nov 2004 11:03:41 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB3fNv043661; Wed, 10 Nov 2004 11:03:41 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:03:41 GMT From: Josef Karthauser Message-Id: <200411101103.iAAB3fNv043661@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/33004: Patch for USB (uhci) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:03:42 -0000 Synopsis: Patch for USB (uhci) Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:03:32 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=33004 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:03:55 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B0FF16A4CE; Wed, 10 Nov 2004 11:03:55 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A85943D2F; Wed, 10 Nov 2004 11:03:55 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB3th7043714; Wed, 10 Nov 2004 11:03:55 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB3tnY043710; Wed, 10 Nov 2004 11:03:55 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:03:55 GMT From: Josef Karthauser Message-Id: <200411101103.iAAB3tnY043710@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/37374: [PATCH] closing ums0 blocks with wmesg uhciab X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:03:55 -0000 Synopsis: [PATCH] closing ums0 blocks with wmesg uhciab Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:03:46 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=37374 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:04:06 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98DB816A4CE; Wed, 10 Nov 2004 11:04:06 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7141843D2D; Wed, 10 Nov 2004 11:04:06 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB46AY043762; Wed, 10 Nov 2004 11:04:06 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB46ja043758; Wed, 10 Nov 2004 11:04:06 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:04:06 GMT From: Josef Karthauser Message-Id: <200411101104.iAAB46ja043758@freefall.freebsd.org> To: iedowse@FreeBSD.org, joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: conf/37732: usbd start in wrong place in /etc/rc in 4.4 release X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:04:06 -0000 Synopsis: usbd start in wrong place in /etc/rc in 4.4 release Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:03:59 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=37732 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:04:18 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4E2716A4CE; Wed, 10 Nov 2004 11:04:18 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86CA143D49; Wed, 10 Nov 2004 11:04:18 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB4IrT043810; Wed, 10 Nov 2004 11:04:18 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB4IiF043806; Wed, 10 Nov 2004 11:04:18 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:04:18 GMT From: Josef Karthauser Message-Id: <200411101104.iAAB4IiF043806@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/38452: [usb] Logitech USB iFeel: device_probe_and_attach: ums0 attach X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:04:18 -0000 Synopsis: [usb] Logitech USB iFeel: device_probe_and_attach: ums0 attach Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:04:10 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=38452 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:04:30 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03FF916A4CE; Wed, 10 Nov 2004 11:04:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D99AA43D49; Wed, 10 Nov 2004 11:04:29 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB4TZw043858; Wed, 10 Nov 2004 11:04:29 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB4TEx043854; Wed, 10 Nov 2004 11:04:29 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:04:29 GMT From: Josef Karthauser Message-Id: <200411101104.iAAB4TEx043854@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/40657: [usb] Logitech iFeel usb mouse will not attach X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:04:30 -0000 Synopsis: [usb] Logitech iFeel usb mouse will not attach Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:04:23 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=40657 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:04:40 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E13FC16A4CE; Wed, 10 Nov 2004 11:04:40 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89BCD43D39; Wed, 10 Nov 2004 11:04:40 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB4eU4043911; Wed, 10 Nov 2004 11:04:40 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB4enk043907; Wed, 10 Nov 2004 11:04:40 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:04:40 GMT From: Josef Karthauser Message-Id: <200411101104.iAAB4enk043907@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/40948: [usb] USB HP CDW8200 does not work X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:04:41 -0000 Synopsis: [usb] USB HP CDW8200 does not work Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:04:33 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=40948 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:04:51 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A59F316A4CE; Wed, 10 Nov 2004 11:04:51 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84E3543D53; Wed, 10 Nov 2004 11:04:51 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB4pB6043960; Wed, 10 Nov 2004 11:04:51 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB4pPP043956; Wed, 10 Nov 2004 11:04:51 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:04:51 GMT From: Josef Karthauser Message-Id: <200411101104.iAAB4pPP043956@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/41243: [patch] [usb] getting full desc failed, HID device, STALLED X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:04:51 -0000 Synopsis: [patch] [usb] getting full desc failed, HID device, STALLED Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:04:44 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=41243 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:05:04 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7552E16A4CE; Wed, 10 Nov 2004 11:05:04 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5611843D55; Wed, 10 Nov 2004 11:05:04 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB54F4044015; Wed, 10 Nov 2004 11:05:04 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB54w3044011; Wed, 10 Nov 2004 11:05:04 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:05:04 GMT From: Josef Karthauser Message-Id: <200411101105.iAAB54w3044011@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/41415: [usb] [patch] Some USB scanners cannot talk to uscanner driver via USB. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:05:04 -0000 Synopsis: [usb] [patch] Some USB scanners cannot talk to uscanner driver via USB. Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:04:55 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=41415 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:05:23 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D64916A4CE; Wed, 10 Nov 2004 11:05:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BE4543D55; Wed, 10 Nov 2004 11:05:23 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB5NGW044178; Wed, 10 Nov 2004 11:05:23 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB5NYO044168; Wed, 10 Nov 2004 11:05:23 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:05:23 GMT From: Josef Karthauser Message-Id: <200411101105.iAAB5NYO044168@freefall.freebsd.org> To: iedowse@FreeBSD.org, joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/44450: USB support FAILURE for device that was supported under 4.5-RELEASE X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:05:23 -0000 Synopsis: USB support FAILURE for device that was supported under 4.5-RELEASE Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:05:14 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=44450 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:05:38 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D284216A4CE; Wed, 10 Nov 2004 11:05:38 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B39D643D2F; Wed, 10 Nov 2004 11:05:38 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB5cWx045371; Wed, 10 Nov 2004 11:05:38 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB5cq0045367; Wed, 10 Nov 2004 11:05:38 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:05:38 GMT From: Josef Karthauser Message-Id: <200411101105.iAAB5cq0045367@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/47200: USB port is disabled when Kodak DX4900 is attached X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:05:38 -0000 Synopsis: USB port is disabled when Kodak DX4900 is attached Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:05:28 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=47200 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:05:51 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5ECA716A4CE; Wed, 10 Nov 2004 11:05:51 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E13C43D31; Wed, 10 Nov 2004 11:05:51 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB5p95047625; Wed, 10 Nov 2004 11:05:51 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB5pWl047617; Wed, 10 Nov 2004 11:05:51 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:05:51 GMT From: Josef Karthauser Message-Id: <200411101105.iAAB5pWl047617@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/48014: [usb] moused fails to correctly identify usb mouse X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:05:51 -0000 Synopsis: [usb] moused fails to correctly identify usb mouse Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:05:43 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=48014 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:06:03 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 196C616A4CE; Wed, 10 Nov 2004 11:06:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDAC543D3F; Wed, 10 Nov 2004 11:06:02 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB62rG048059; Wed, 10 Nov 2004 11:06:02 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB62p6048055; Wed, 10 Nov 2004 11:06:02 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:06:02 GMT From: Josef Karthauser Message-Id: <200411101106.iAAB62p6048055@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: bin/48342: [PATCH] usbd dynamic device list. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:06:03 -0000 Synopsis: [PATCH] usbd dynamic device list. Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:05:55 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=48342 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:06:14 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19D0816A4CE; Wed, 10 Nov 2004 11:06:14 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDB8B43D4C; Wed, 10 Nov 2004 11:06:13 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB6D9b048108; Wed, 10 Nov 2004 11:06:13 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB6DKB048104; Wed, 10 Nov 2004 11:06:13 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:06:13 GMT From: Josef Karthauser Message-Id: <200411101106.iAAB6DKB048104@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/50110: [usb] Astra 2100U scanner being detected as /dev/ugen* rather than as /dev/uscanner* X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:06:14 -0000 Synopsis: [usb] Astra 2100U scanner being detected as /dev/ugen* rather than as /dev/uscanner* Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:06:07 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=50110 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:06:28 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE6AF16A4CE; Wed, 10 Nov 2004 11:06:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE38C43D4C; Wed, 10 Nov 2004 11:06:28 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB6SPr048167; Wed, 10 Nov 2004 11:06:28 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB6SMl048163; Wed, 10 Nov 2004 11:06:28 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:06:28 GMT From: Josef Karthauser Message-Id: <200411101106.iAAB6SMl048163@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/51958: [usb] [patch] update for urio driver X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:06:28 -0000 Synopsis: [usb] [patch] update for urio driver Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:06:19 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=51958 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:06:43 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DCBD16A4CE; Wed, 10 Nov 2004 11:06:43 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D1A143D1D; Wed, 10 Nov 2004 11:06:43 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB6ggT048215; Wed, 10 Nov 2004 11:06:42 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB6gdS048211; Wed, 10 Nov 2004 11:06:42 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:06:42 GMT From: Josef Karthauser Message-Id: <200411101106.iAAB6gdS048211@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/52026: [usb] feature request: umass driver support for InSystem ISD200 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:06:43 -0000 Synopsis: [usb] feature request: umass driver support for InSystem ISD200 Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:06:32 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=52026 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:07:17 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7076516A4CE; Wed, 10 Nov 2004 11:07:17 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51A1443D41; Wed, 10 Nov 2004 11:07:17 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB7HXH048301; Wed, 10 Nov 2004 11:07:17 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB7HUw048297; Wed, 10 Nov 2004 11:07:17 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:07:17 GMT From: Josef Karthauser Message-Id: <200411101107.iAAB7HUw048297@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/53025: [PATCH] ugen does not allow O_NONBLOCK for interrupt endpts. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:07:17 -0000 Synopsis: [PATCH] ugen does not allow O_NONBLOCK for interrupt endpts. Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:07:03 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=53025 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:07:32 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13BF316A4CE; Wed, 10 Nov 2004 11:07:32 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8F2F43D55; Wed, 10 Nov 2004 11:07:31 +0000 (GMT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) iAAB7VN9048352; Wed, 10 Nov 2004 11:07:31 GMT (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAB7V6A048348; Wed, 10 Nov 2004 11:07:31 GMT (envelope-from joe) Date: Wed, 10 Nov 2004 11:07:31 GMT From: Josef Karthauser Message-Id: <200411101107.iAAB7V6A048348@freefall.freebsd.org> To: joe@FreeBSD.org, joe@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: kern/59169: [patch] ulpt is missing read operation X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:07:32 -0000 Synopsis: [patch] ulpt is missing read operation Responsible-Changed-From-To: joe->freebsd-usb Responsible-Changed-By: joe Responsible-Changed-When: Wed Nov 10 11:07:21 GMT 2004 Responsible-Changed-Why: Hand this over to the usb mailling list. http://www.freebsd.org/cgi/query-pr.cgi?pr=59169 From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 11:12:42 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BA4116A4FE for ; Wed, 10 Nov 2004 11:12:42 +0000 (GMT) Received: from transwarp.tao.org.uk (transwarp.tao.org.uk [212.135.162.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5025543D46 for ; Wed, 10 Nov 2004 11:12:41 +0000 (GMT) (envelope-from joe@tao.org.uk) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by transwarp.tao.org.uk (Postfix) with ESMTP id 603297590 for ; Wed, 10 Nov 2004 11:12:40 +0000 (GMT) Received: by genius.tao.org.uk (Postfix, from userid 100) id E4984435A; Wed, 10 Nov 2004 11:12:31 +0000 (GMT) Date: Wed, 10 Nov 2004 11:12:31 +0000 From: Josef Karthauser To: freebsd-usb@freebsd.org Message-ID: <20041110111231.GB908@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LyciRD1jyfeSSjG0" Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: Legacy keyboard suppport stops USB from working! (uhci) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:12:42 -0000 --LyciRD1jyfeSSjG0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Do users know that having legacy keyboard/mouse support switched on in the bios is a sure fire way of causing USB to not work properly? I wonder whether we would benefit from something like the following patch. Joe Index: uhci_pci.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/sys/dev/usb/uhci_pci.c,v retrieving revision 1.55 diff -u -r1.55 uhci_pci.c --- uhci_pci.c 13 Oct 2004 14:51:42 -0000 1.55 +++ uhci_pci.c 10 Nov 2004 11:10:42 -0000 @@ -341,11 +341,12 @@ * that the BIOS won't touch the keyboard anymore if it is connected * to the ports of the root hub? */ -#ifdef USB_DEBUG - if (pci_read_config(self, PCI_LEGSUP, 2) !=3D PCI_LEGSUP_USBPIRQDEN) + if (pci_read_config(self, PCI_LEGSUP, 2) !=3D PCI_LEGSUP_USBPIRQDEN) { device_printf(self, "LegSup =3D 0x%04x\n", pci_read_config(self, PCI_LEGSUP, 2)); -#endif + device_printf(self, "(If USB doesn't work try disabling " + "legacy keyboard/mouse support in the BIOS)"); + } pci_write_config(self, PCI_LEGSUP, PCI_LEGSUP_USBPIRQDEN, 2); =20 err =3D uhci_init(sc); --=20 Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an= d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --LyciRD1jyfeSSjG0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iEYEARECAAYFAkGR958ACgkQXVIcjOaxUBYDqwCgpH1FCp8ye/hifA6EfL5BC8GR 2n0An06qkC7E5gNWDA9Ia5KpG6J3s/PF =FuhC -----END PGP SIGNATURE----- --LyciRD1jyfeSSjG0-- From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 15:00:52 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A6DE16A4CE for ; Wed, 10 Nov 2004 15:00:52 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7580843D45 for ; Wed, 10 Nov 2004 15:00:52 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iAAF0quE072191 for ; Wed, 10 Nov 2004 15:00:52 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAF0qfk072190; Wed, 10 Nov 2004 15:00:52 GMT (envelope-from gnats) Date: Wed, 10 Nov 2004 15:00:52 GMT Message-Id: <200411101500.iAAF0qfk072190@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Boris Kovalenko Subject: Re: kern/70942: [usb] Genius Wireless USB mouse: moused doesn'twork correctly X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Boris Kovalenko List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 15:00:52 -0000 The following reply was made to PR kern/70942; it has been noted by GNATS. From: Boris Kovalenko To: freebsd-gnats-submit@FreeBSD.org, rp@tns.cz Cc: Subject: Re: kern/70942: [usb] Genius Wireless USB mouse: moused doesn't work correctly Date: Wed, 10 Nov 2004 19:57:08 +0500 Hello! The problem still exists with 5.3 release. Is there a hope it will be fixed? With respect, Boris Kovalenko From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 15:40:29 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69CD816A4DD for ; Wed, 10 Nov 2004 15:40:29 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 553C143D5D for ; Wed, 10 Nov 2004 15:40:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iAAFeSWH078026 for ; Wed, 10 Nov 2004 15:40:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAFeSvD078025; Wed, 10 Nov 2004 15:40:28 GMT (envelope-from gnats) Date: Wed, 10 Nov 2004 15:40:28 GMT Message-Id: <200411101540.iAAFeSvD078025@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: ANISH MISTRY Subject: Re: kern/70942: [usb] Genius Wireless USB mouse: moused doesn'twork correctly X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ANISH MISTRY List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 15:40:29 -0000 The following reply was made to PR kern/70942; it has been noted by GNATS. From: ANISH MISTRY To: Boris Kovalenko Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/70942: [usb] Genius Wireless USB mouse: moused doesn'twork correctly Date: Wed, 10 Nov 2004 10:35:04 -0500 Could you see if the patch that I posted to PR kern/63837 fixes your problem? -- Anish Mistry From owner-freebsd-usb@FreeBSD.ORG Thu Nov 11 02:09:04 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41A6116A4CE; Thu, 11 Nov 2004 02:09:04 +0000 (GMT) Received: from smtp3.fuse.net (mail-out3.fuse.net [216.68.8.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E92643D46; Thu, 11 Nov 2004 02:09:03 +0000 (GMT) (envelope-from amistry@united-ware.com) Received: from gx5.fuse.net ([216.196.157.19]) by smtp3.fuse.net (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20041111020824.JRCZ5247.smtp3.fuse.net@gx5.fuse.net>; Wed, 10 Nov 2004 21:08:24 -0500 Received: from www.united-ware.com ([216.196.157.19]) by gx5.fuse.net (InterMail vG.1.00.00.00 201-2136-104-20040331) with ESMTP id <20041111020807.WCPS8092.gx5.fuse.net@www.united-ware.com>; Wed, 10 Nov 2004 21:08:07 -0500 Received: from www.united-ware.com (localhost [127.0.0.1]) by www.united-ware.com (8.12.9p2/8.12.9) with ESMTP id iAB1uAjA078156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 10 Nov 2004 20:56:10 -0500 (EST) (envelope-from amistry@www.united-ware.com) Received: (from amistry@localhost) by www.united-ware.com (8.12.9p2/8.12.9/Submit) id iAB1u8hf078155; Wed, 10 Nov 2004 20:56:08 -0500 (EST) (envelope-from amistry) Date: Wed, 10 Nov 2004 20:56:08 -0500 (EST) Message-Id: <200411110156.iAB1u8hf078155@www.united-ware.com> To: FreeBSD-gnats-submit@freebsd.org From: Anish Mistry X-send-pr-version: 3.113 X-GNATS-Notify: cc: freebsd-usb@freebsd.org Subject: Move the last stuff out of usbd.conf X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Anish Mistry List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 02:09:04 -0000 >Submitter-Id: current-users >Originator: Anish Mistry >Organization: AM Productions >Confidential: no >Synopsis: Move the last stuff out of usbd.conf >Severity: non-critical >Priority: medium >Category: conf >Class: change-request >Release: FreeBSD 6.0-CURRENT >Environment: System: FreeBSD littleguy 6.0-CURRENT FreeBSD 6.0-CURRENT #2: Tue Nov 9 21:41:14 EST 2004 root@littleguy:/usr/obj/usr/src/sys/LITTLEGUY i386 >Description: Transfer the last stuff out of usbd.conf since it has been superceeded by devd.conf >How-To-Repeat: >Fix: --- devd.conf.patch begins here --- --- /usr/src/etc/devd.conf Tue Nov 9 17:17:58 2004 +++ /etc/devd.conf Wed Nov 10 17:35:45 2004 @@ -66,6 +66,42 @@ action "kbdcontrol -k /dev/kbd0 < /dev/console"; }; +# New USB mouse available +attach 100 { + device-name "ums[0-9]+"; + action "/etc/rc.d/moused start $device-name"; +}; +# This won't do anything until moused no longer bails out when a device disappears, +# but this will make it future safe if this "feature" is ever fixed +detach 100 { + device-name "ums[0-9]+"; + action "/etc/rc.d/moused stop $device-name"; +}; + +# ActiveWire board, firmware download +attach 100 { + match "vendor" "0x0854"; + match "product" "0x0100"; + match "release" "0x0000"; + action "/usr/local/bin/ezdownload -f /usr/local/share/usb/firmware/0854.0100.0_01.hex $device-name"; +}; + +# Firmware download for Entrega Serial DB25 adapter. +attach 100 { + match "vendor" "0x8001"; + match "product" "0x1645"; + match "release" "0x0101"; + action "if ! kldstat -n usio > /dev/null 2>&1 ; then kldload usio; fi ; /usr/sbin/ezdownload -v -f /usr/share/usb/firmware/1645.8001.0101 /dev/$device-name"; +}; + +attach 100 { + device-name "ucom[0-9]+"; + match "vendor" "0x082d"; + match "product" "0x0100"; + match "release" "0x0100"; + action "/usr/local/bin/coldsync -md -p /dev/$device-name -t usb"; +}; + # # Rescan scsi device-names on attach, but not detach. # --- devd.conf.patch ends here --- From owner-freebsd-usb@FreeBSD.ORG Thu Nov 11 02:20:24 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8BF216A4CE for ; Thu, 11 Nov 2004 02:20:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A864543D3F for ; Thu, 11 Nov 2004 02:20:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iAB2KODL065462 for ; Thu, 11 Nov 2004 02:20:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAB2KOx0065461; Thu, 11 Nov 2004 02:20:24 GMT (envelope-from gnats) Date: Thu, 11 Nov 2004 02:20:24 GMT Message-Id: <200411110220.iAB2KOx0065461@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Anish Mistry Subject: Re: kern/61377: [kbd] usb keyboard not functional after boot, can not attach usingkbdcontrol X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Anish Mistry List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 02:20:24 -0000 The following reply was made to PR kern/61377; it has been noted by GNATS. From: Anish Mistry To: groseman@apple.com Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/61377: [kbd] usb keyboard not functional after boot, =?iso-8859-1?q?can=09not_attach_using?= kbdcontrol Date: Wed, 10 Nov 2004 21:20:23 -0500 --nextPart2522522.xUj2dik8c1 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Does this persisit with 5.3-RELEASE using devd? =2D-=20 Anish Mistry --nextPart2522522.xUj2dik8c1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBksx3xqA5ziudZT0RAsPUAJ99Vc5ArXoKSIiq/qLLAaHa0MSgDACg4SJ+ 50wJwBg1IDapINoM+Usuy5k= =LdX9 -----END PGP SIGNATURE----- --nextPart2522522.xUj2dik8c1-- From owner-freebsd-usb@FreeBSD.ORG Thu Nov 11 02:30:36 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9CAE16A4CF for ; Thu, 11 Nov 2004 02:30:36 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEFBE43D39 for ; Thu, 11 Nov 2004 02:30:36 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iAB2Uaab065747 for ; Thu, 11 Nov 2004 02:30:36 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAB2UaQ1065742; Thu, 11 Nov 2004 02:30:36 GMT (envelope-from gnats) Date: Thu, 11 Nov 2004 02:30:36 GMT Message-Id: <200411110230.iAB2UaQ1065742@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Anish Mistry Subject: Re: kern/33004: Patch for USB (uhci) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Anish Mistry List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 02:30:37 -0000 The following reply was made to PR kern/33004; it has been noted by GNATS. From: Anish Mistry To: thorsten.greiner@consol.de, arved@FreeBSD.org Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/33004: Patch for USB (uhci) Date: Wed, 10 Nov 2004 21:25:10 -0500 --nextPart1286423.gMFVCtl4Lo Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Does this problem persist with 5.3-RELEASE, 5-STABLE, or 6-CURRENT? =2D-=20 Anish Mistry --nextPart1286423.gMFVCtl4Lo Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBks2HxqA5ziudZT0RAtMnAJwLOOhpJ7/69bQiyL+Bijvn6zBvQQCgowTr ImLX8Kj6ET7s6mQ4lI/6J1w= =Oy4g -----END PGP SIGNATURE----- --nextPart1286423.gMFVCtl4Lo-- From owner-freebsd-usb@FreeBSD.ORG Thu Nov 11 08:30:28 2004 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5F7016A4CE for ; Thu, 11 Nov 2004 08:30:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8102143D1F for ; Thu, 11 Nov 2004 08:30:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iAB8USd4040614 for ; Thu, 11 Nov 2004 08:30:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAB8USWk040611; Thu, 11 Nov 2004 08:30:28 GMT (envelope-from gnats) Date: Thu, 11 Nov 2004 08:30:28 GMT Message-Id: <200411110830.iAB8USWk040611@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Tilman Linneweh Subject: Re: kern/33004: Patch for USB (uhci) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tilman Linneweh List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 08:30:28 -0000 The following reply was made to PR kern/33004; it has been noted by GNATS. From: Tilman Linneweh To: Anish Mistry Cc: thorsten.greiner@consol.de, FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/33004: Patch for USB (uhci) Date: Thu, 11 Nov 2004 09:29:41 +0100 * Anish Mistry [2004-11-11 03:27]: > Does this problem persist with 5.3-RELEASE, 5-STABLE, or 6-CURRENT? Sorry, my old Laptop dropped on the floor shortly before 5.2-RELEASE. At that time the patch was still necessary. From owner-freebsd-usb@FreeBSD.ORG Thu Nov 11 08:33:15 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B36C416A4DD for ; Thu, 11 Nov 2004 08:33:15 +0000 (GMT) Received: from amsfep20-int.chello.nl (amsfep20-int.chello.nl [213.46.243.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C84543D4C for ; Thu, 11 Nov 2004 08:33:14 +0000 (GMT) (envelope-from Danovitsch@vitsch.net) Received: from Vitsch.net ([212.187.78.35]) by amsfep20-int.chello.nl (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20041111083311.DFTU29770.amsfep20-int.chello.nl@Vitsch.net>; Thu, 11 Nov 2004 09:33:11 +0100 Received: from [192.168.2.131] (cp402377-c.venlo1.lb.home.nl [217.122.93.195] (may be forged)) by Vitsch.net (8.12.3p2/8.11.3) with ESMTP id iAB8Wpun035685; Thu, 11 Nov 2004 09:32:52 +0100 (CET) (envelope-from Danovitsch@vitsch.net) From: "Daan Vreeken [PA4DAN]" To: Anish Mistry Date: Thu, 11 Nov 2004 09:32:58 +0100 User-Agent: KMail/1.7 References: <200411110156.iAB1u8hf078155@www.united-ware.com> In-Reply-To: <200411110156.iAB1u8hf078155@www.united-ware.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411110932.58371.Danovitsch@vitsch.net> cc: FreeBSD-usb@FreeBSD.org Subject: Re: Move the last stuff out of usbd.conf X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 08:33:15 -0000 On Thursday 11 November 2004 02:56, Anish Mistry wrote: > >Submitter-Id: current-users > >Originator: Anish Mistry > >Organization: AM Productions > >Confidential: no > >Synopsis: Move the last stuff out of usbd.conf > >Severity: non-critical > >Priority: medium > >Category: conf > >Class: change-request > >Release: FreeBSD 6.0-CURRENT > >Environment: > > System: FreeBSD littleguy 6.0-CURRENT FreeBSD 6.0-CURRENT #2: Tue Nov 9 > 21:41:14 EST 2004 root@littleguy:/usr/obj/usr/src/sys/LITTLEGUY i386 > > >Description: > > Transfer the last stuff out of usbd.conf since it has been superceeded by > devd.conf Now this is fixed, PR conf/73239 can be closed. The PR has a patch to add axe(4) to usbd.conf, but that's no longer needed now. grtz, Daan From owner-freebsd-usb@FreeBSD.ORG Thu Nov 11 10:20:38 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FF0716A4CE; Thu, 11 Nov 2004 10:20:38 +0000 (GMT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id D23FF43D4C; Thu, 11 Nov 2004 10:20:36 +0000 (GMT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 11 Nov 2004 10:20:35 +0000 (GMT) To: Josef Karthauser In-Reply-To: Your message of "Wed, 10 Nov 2004 11:12:31 GMT." <20041110111231.GB908@genius.tao.org.uk> Date: Thu, 11 Nov 2004 10:20:35 +0000 From: Ian Dowse Message-ID: <200411111020.aa20937@salmon.maths.tcd.ie> cc: freebsd-usb@FreeBSD.org Subject: Re: Legacy keyboard suppport stops USB from working! (uhci) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 10:20:38 -0000 In message <20041110111231.GB908@genius.tao.org.uk>, Josef Karthauser writes: > >Do users know that having legacy keyboard/mouse support switched on >in the bios is a sure fire way of causing USB to not work properly? >I wonder whether we would benefit from something like the following >patch. It's worth noting that the reason legacy emulation causes problems is often that FreeBSD has not undone the BIOS's configuration of the EHCI controller. Adding 'device ehci' to the kernel config seems to fix this in many cases. What hardware were you seeing the problem on, and does it have an EHCI controller that's not being set up by FreeBSD? Many PCs these days have no PS/2 mouse or keyboard ports, so it's important that we work with legacy emulation turned on where possible. Ian From owner-freebsd-usb@FreeBSD.ORG Thu Nov 11 16:05:59 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF26716A4CE for ; Thu, 11 Nov 2004 16:05:59 +0000 (GMT) Received: from mailfe09.swip.net (mailfe09.swipnet.se [212.247.155.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E643C43D46 for ; Thu, 11 Nov 2004 16:05:58 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: REIQbJFbyiUDW4t0LS52jw== Received: from [193.217.201.208] (HELO curly.tele2.no) by mailfe09.swip.net (CommuniGate Pro SMTP 4.2.5) with ESMTP id 13069979 for freebsd-usb@FreeBSD.org; Thu, 11 Nov 2004 17:05:47 +0100 Received: (from root@localhost) by curly.tele2.no (8.12.5/8.12.3) id iABGAq1w001161 for freebsd-usb@FreeBSD.org; Thu, 11 Nov 2004 17:10:52 +0100 (CET) (envelope-from hselasky@c2i.net) Date: Thu, 11 Nov 2004 17:10:50 +0100 From: Hans Petter Selasky To: freebsd-usb@FreeBSD.org Message-ID: <20041111171049.B887@curly.tele2.no> References: <20041109232129.A283@curly.tele2.no> <200411110110.aa80909@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200411110110.aa80909@salmon.maths.tcd.ie>; from iedowse@maths.tcd.ie on Thu, Nov 11, 2004 at 01:10:53AM +0000 Subject: Re: new USB driver X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 16:05:59 -0000 On Thu, Nov 11, 2004 at 01:10:53AM +0000, Ian Dowse wrote: > In message <20041109232129.A283@curly.tele2.no>, Hans Petter Selasky writes: > > > >Does the USB developers agree that the USB-core should use and support > >mutexes? If you want mutex support you will need to to call the callback the > >way I have done, else you get reverse locking problems ... > > Yes, we would certainly like to see the USB code brought out from > under Giant (it's probably not quite as critical as having it > function reliably, but still very important). What is it about > callbacks that needs to be changed? The callback cannot be called from usb_transfer_complete(), like it is currently done, due to the locking situation: starting a transfer: lock(priv) // setup data // I don't think it is a good idea // to unlock priv before accessing // the hardware, because if another // thread is about to stop the same // transfer, one doesn't know which // thread will run first, because // there is no lock held. lock(usb) // access and start hardware unlock(usb) unlock(priv) when the HC interrupts: lock(usb) // check if the transfer is complete and // enqueue transfer for completion if it has not been // queued for completion by another thread already // (NOTE: the queue is on the stack) // cannot lock priv here because then the locking // order will reverse which might cause a dead-lock unlock(usb) lock(priv) // check if another thread has stopped the transfer // or called the callback (e.g. timeout) // call callback unlock(priv) See the file _uhci.c and the functions uhci_timeout() and uhci_interrupt(). > > >> Do you have time to bring your driver up to date with -current, and > >> start undoing some of the unnecessary changes? > > > >Yes, but it might take some time. When will USB 2.0 HUB support be in place? > > Basic support is there already, but only for talking to USB2 devices > through USB2 hubs. How much more works with your driver? I have not added more USB HUB support than there is in FreeBSD-5-current. Yours -HPS From owner-freebsd-usb@FreeBSD.ORG Thu Nov 11 16:21:31 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3201916A4CE for ; Thu, 11 Nov 2004 16:21:31 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B01943D31 for ; Thu, 11 Nov 2004 16:21:31 +0000 (GMT) (envelope-from rob3@pythonemproject.com) Received: from [127.0.0.1] (c-67-169-203-186.client.comcast.net[67.169.203.186]) by comcast.net (rwcrmhc13) with ESMTP id <2004111116213001500crv5me> (Authid: europax); Thu, 11 Nov 2004 16:21:30 +0000 Message-ID: <41939219.4000609@pythonemproject.com> Date: Thu, 11 Nov 2004 08:23:53 -0800 From: Rob User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-usb@FreeBSD.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Orange Micro IBOT2 USB2 Camera X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rob3@pythonemproject.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 16:21:31 -0000 Hi, I have an Orange Micro IBOT2 USB2 Video Camera, and I am interested in possibly getting it to work on FreeBSD. I am running 5.3-RELEASE on a Laptop with an Orange Micro USB2 Cardbus with 4 USB2 connectors and a power connector for an external power supply. Right now I am just looking for the correct list to track in order to ask questions. I tried Mobile but half of my responses said that USB was the proper list. Yet, Mobile are the Cardbus and Laptop experts. I think the knowledge I need is perhaps too cross discipline for any one group LOL. Thanks, Rob From owner-freebsd-usb@FreeBSD.ORG Thu Nov 11 22:22:02 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FF8F16A4CE for ; Thu, 11 Nov 2004 22:22:02 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36BF643D39 for ; Thu, 11 Nov 2004 22:22:02 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id EB5A07A423; Thu, 11 Nov 2004 14:22:01 -0800 (PST) Message-ID: <4193E609.9080506@elischer.org> Date: Thu, 11 Nov 2004 14:22:01 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Ian Dowse References: <200411061403.aa18842@salmon.maths.tcd.ie> In-Reply-To: <200411061403.aa18842@salmon.maths.tcd.ie> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: usb@freebsd.org Subject: Re: roll call and USB "plan" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 22:22:02 -0000 Ian Dowse wrote: >In message <418BED57.6090203@elischer.org>, Julian Elischer writes: > > >>ok, so, who's subscribed? (who considers themselves able to work on USB) >> >>1/ where are we? >> I've seen USB commits recently from several people.. >> anyone have any plans and uncommitted work? >>2/ what do we need? >>I know we need to look at multifunction devices, and USB2 hub support >>for USB1 devices. >>EHCI command completion interrupts probably also need work.. >>3/ scottl has said that he wants to work on CAM/SIM and that may impact >>umass. >>4/ I think we need to do more work on umass devices in general. >> >> I've just been asked by my boss to spend some time on USB2 for RELENG_4 so I'll be looking at MFC'ing as much of the ehci changes as practical. Does anyone have any MFC work done? From owner-freebsd-usb@FreeBSD.ORG Fri Nov 12 02:05:29 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C97C16A4CE for ; Fri, 12 Nov 2004 02:05:29 +0000 (GMT) Received: from forrie.com (forrie.ne.client2.attbi.com [24.147.45.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8B4143D2D for ; Fri, 12 Nov 2004 02:05:28 +0000 (GMT) (envelope-from forrie@forrie.com) Received: from [127.0.0.1] (i-99.forrie.net. [192.168.1.99]) (authenticated bits=0) by forrie.com with ESMTP id iAC24N5L005402 for ; Thu, 11 Nov 2004 21:05:16 -0500 (EST) (envelope-from forrie@forrie.com) Message-ID: <41941A26.7050908@forrie.com> Date: Thu, 11 Nov 2004 21:04:22 -0500 From: Forrest Aldrich User-Agent: Mozilla Thunderbird 0.9+ (Windows/20041106) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-RAVMilter-Version: 8.3.0(snapshot 20010925) (forrie.ne.client2.attbi.com) X-MailScanner-LocalNet: Found to be clean Subject: Using USB2.0 hard drives (performance) on FreeBSD 5.3 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 02:05:29 -0000 I need extra disk space on one of my machines (in short order). So I decided to experiment with attaching a USB2.0 hard drive (Maxtor OneTouch) to the system (SIIG PCI controller). I use a OneTouch on my Windows/XP sytem and it works really well. I wanted to explore placing my mailstore on an external USB2.0 drive - would be easy to port the data to another system if I needed. However, in experimenting with replicating some data (via rsync), I'm wondering if this is a bad idea. While rsyncing data over the wire to the USB2.0 drive (mirroring some data, basically), the shell response to something like "ls" would hang (eventually completed, but much later). I wonder if someone can advise about the use of this drive for that purpose (mailstore) and if there may be some tunables I would need to tweak to get better performance. Thanks. From owner-freebsd-usb@FreeBSD.ORG Fri Nov 12 14:37:22 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E40716A4CE for ; Fri, 12 Nov 2004 14:37:22 +0000 (GMT) Received: from mailhost.tao.org.uk (transwarp.tao.org.uk [212.135.162.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7073443D31 for ; Fri, 12 Nov 2004 14:37:20 +0000 (GMT) (envelope-from joe@tao.org.uk) Received: from genius.tao.org.uk (genius.pact.cpes.susx.ac.uk [139.184.130.195]) by mailhost.tao.org.uk (Postfix) with ESMTP id C14317591; Fri, 12 Nov 2004 14:37:14 +0000 (GMT) Received: by genius.tao.org.uk (Postfix, from userid 100) id 030A34241; Fri, 12 Nov 2004 14:36:49 +0000 (GMT) Date: Fri, 12 Nov 2004 14:36:49 +0000 From: Josef Karthauser To: Ian Dowse Message-ID: <20041112143649.GH962@genius.tao.org.uk> References: <20041110111231.GB908@genius.tao.org.uk> <200411111020.aa20937@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ewQ5hdP4CtoTt3oD" Content-Disposition: inline In-Reply-To: <200411111020.aa20937@salmon.maths.tcd.ie> User-Agent: Mutt/1.5.6i cc: freebsd-usb@FreeBSD.org Subject: Re: Legacy keyboard suppport stops USB from working! (uhci) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 14:37:22 -0000 --ewQ5hdP4CtoTt3oD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 11, 2004 at 10:20:35AM +0000, Ian Dowse wrote: > In message <20041110111231.GB908@genius.tao.org.uk>, Josef Karthauser wri= tes: > > > >Do users know that having legacy keyboard/mouse support switched on > >in the bios is a sure fire way of causing USB to not work properly? > >I wonder whether we would benefit from something like the following > >patch. >=20 > It's worth noting that the reason legacy emulation causes problems > is often that FreeBSD has not undone the BIOS's configuration of > the EHCI controller. Adding 'device ehci' to the kernel config seems > to fix this in many cases. What hardware were you seeing the problem > on, and does it have an EHCI controller that's not being set up by > FreeBSD? >=20 > Many PCs these days have no PS/2 mouse or keyboard ports, so it's > important that we work with legacy emulation turned on where possible. >=20 Ben Paley will be able to say more as it's his hardware, but it was a UHCI chipset and thus no EHCI was present. Joe --=20 Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an= d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --ewQ5hdP4CtoTt3oD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iEYEARECAAYFAkGUyoAACgkQXVIcjOaxUBbk4gCgx/y/uuVfdLtnGA6uoZCIQi5O JFgAn3/kIk1JniwHqrNAH5IX8nfa0MSp =p/gS -----END PGP SIGNATURE----- --ewQ5hdP4CtoTt3oD-- From owner-freebsd-usb@FreeBSD.ORG Fri Nov 12 15:11:25 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D467D16A4CE for ; Fri, 12 Nov 2004 15:11:25 +0000 (GMT) Received: from vela.astro.uu.se (vela.astro.UU.SE [130.238.192.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAD7343D45 for ; Fri, 12 Nov 2004 15:11:24 +0000 (GMT) (envelope-from remo@astro.uu.se) Received: from macinino.astro.uu.se (macinino.astro.UU.SE [130.238.192.19]) by vela.astro.uu.se (8.12.10/8.12.10) with ESMTP id iACFBMnQ002241; Fri, 12 Nov 2004 16:11:22 +0100 (CET) Received: from localhost.astro.uu.se (localhost.astro.uu.se [127.0.0.1]) by macinino.astro.uu.se (8.13.1/8.13.1) with ESMTP id iACFB2Cl001094; Fri, 12 Nov 2004 16:11:03 +0100 (CET) (envelope-from remo@astro.uu.se) From: Remo Collet To: freebsd-usb@freebsd.org Date: Fri, 12 Nov 2004 16:11:02 +0100 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411121611.02439.remo@astro.uu.se> cc: remo@astro.uu.se Subject: USB external CD-RW and FreeBSD 5.3 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 15:11:26 -0000 >>Alex Povolotsky writes: >> >>>I have an external AOPEN CD-RW with USB interface, it works fine >>>with 4.10, but doesn't work with 5.ANY (including 5.3BETA7). >>> >>>5.x DOES see umass device, but doesn't see any cd device Hi! I experienced the same problem with a Dell D400. Try to patch umass.c as indicated below, it worked for me (on FreeBSD 5.3-STABLE #1) Cheers, Remo diff -c umass.c.original umass.c.quirk *** umass.c.original Fri Nov 12 14:29:36 2004 --- umass.c.quirk Fri Nov 12 14:31:21 2004 *************** *** 319,324 **** --- 319,328 ---- UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, RS_NO_CLEAR_UA }, + { USB_VENDOR_DELL, PID_WILDCARD, RID_WILDCARD, + UMASS_PROTO_SCSI | UMASS_PROTO_BBB, + FORCE_SHORT_INQUIRY + }, { USB_VENDOR_FUJIPHOTO, USB_PRODUCT_FUJIPHOTO_MASS0100, RID_WILDCARD, UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, RS_NO_CLEAR_UA From owner-freebsd-usb@FreeBSD.ORG Fri Nov 12 15:40:29 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E779216A4CE for ; Fri, 12 Nov 2004 15:40:29 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4189E43D39 for ; Fri, 12 Nov 2004 15:40:29 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id iACFdf4T028891 for ; Fri, 12 Nov 2004 08:39:41 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 12 Nov 2004 08:39:50 -0700 (MST) Message-Id: <20041112.083950.81797260.imp@bsdimp.com> To: usb@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Fri_Nov_12_08:39:50_2004_364)--" Content-Transfer-Encoding: 7bit Subject: FAST Interrupt patch for usb X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 15:40:30 -0000 ----Next_Part(Fri_Nov_12_08:39:50_2004_364)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Here's a patch that make the usb subsystem use fast interrupts and taskqueues. The usb system already allows for soft interrupts, but this appears to be a little better. I've not done a 4.x port, nor even bothered with supporting it. Others are welcome to tweak that part of things. I've been running these patches for a couple of months now. This should help people that have usb and network shared. Comments? Warner ----Next_Part(Fri_Nov_12_08:39:50_2004_364)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename=usb-patch diff --exclude CVS -I\$Revision -I\$Id -I\$Header -I \$FreeBSD -ur /shadow/imp/p4/src/sys/dev/usb/ehci_pci.c /shadow/imp/p4/newcard/src/sys/dev/usb/ehci_pci.c --- /shadow/imp/p4/src/sys/dev/usb/ehci_pci.c Sat Nov 6 12:30:30 2004 +++ /shadow/imp/p4/newcard/src/sys/dev/usb/ehci_pci.c Sat Nov 6 12:18:29 2004 @@ -282,7 +282,7 @@ sprintf(sc->sc_vendor, "(0x%04x)", pci_get_vendor(self)); } - err = bus_setup_intr(self, sc->irq_res, INTR_TYPE_BIO, + err = bus_setup_intr(self, sc->irq_res, INTR_TYPE_BIO | INTR_MPSAFE, (driver_intr_t *) ehci_intr, sc, &sc->ih); if (err) { device_printf(self, "Could not setup irq, %d\n", err); diff --exclude CVS -I\$Revision -I\$Id -I\$Header -I \$FreeBSD -ur /shadow/imp/p4/src/sys/dev/usb/ehcivar.h /shadow/imp/p4/newcard/src/sys/dev/usb/ehcivar.h --- /shadow/imp/p4/src/sys/dev/usb/ehcivar.h Sat Nov 6 12:30:30 2004 +++ /shadow/imp/p4/newcard/src/sys/dev/usb/ehcivar.h Sat Nov 6 12:18:30 2004 @@ -145,8 +145,9 @@ usb_callout_t sc_tmo_pcd; +#if defined(__NetBSD__) || defined(__OpenBSD__) device_ptr_t sc_child; /* /dev/usb# device */ - +#endif char sc_dying; } ehci_softc_t; diff --exclude CVS -I\$Revision -I\$Id -I\$Header -I \$FreeBSD -ur /shadow/imp/p4/src/sys/dev/usb/ohci_pci.c /shadow/imp/p4/newcard/src/sys/dev/usb/ohci_pci.c --- /shadow/imp/p4/src/sys/dev/usb/ohci_pci.c Sat Nov 6 12:30:30 2004 +++ /shadow/imp/p4/newcard/src/sys/dev/usb/ohci_pci.c Sat Nov 6 12:18:30 2004 @@ -281,7 +281,7 @@ sprintf(sc->sc_vendor, "(0x%04x)", pci_get_vendor(self)); } - err = bus_setup_intr(self, sc->irq_res, INTR_TYPE_BIO, + err = bus_setup_intr(self, sc->irq_res, INTR_TYPE_BIO | INTR_MPSAFE, (driver_intr_t *) ohci_intr, sc, &sc->ih); if (err) { device_printf(self, "Could not setup irq, %d\n", err); diff --exclude CVS -I\$Revision -I\$Id -I\$Header -I \$FreeBSD -ur /shadow/imp/p4/src/sys/dev/usb/ohcivar.h /shadow/imp/p4/newcard/src/sys/dev/usb/ohcivar.h --- /shadow/imp/p4/src/sys/dev/usb/ohcivar.h Sat Nov 6 12:30:30 2004 +++ /shadow/imp/p4/newcard/src/sys/dev/usb/ohcivar.h Sat Nov 6 12:18:30 2004 @@ -147,7 +147,9 @@ usb_callout_t sc_tmo_rhsc; +#if defined(__NetBSD__) || defined(__OpenBSD__) device_ptr_t sc_child; +#endif char sc_dying; } ohci_softc_t; diff --exclude CVS -I\$Revision -I\$Id -I\$Header -I \$FreeBSD -ur /shadow/imp/p4/src/sys/dev/usb/uhci_pci.c /shadow/imp/p4/newcard/src/sys/dev/usb/uhci_pci.c --- /shadow/imp/p4/src/sys/dev/usb/uhci_pci.c Sat Nov 6 12:30:31 2004 +++ /shadow/imp/p4/newcard/src/sys/dev/usb/uhci_pci.c Sat Nov 6 12:18:30 2004 @@ -327,7 +327,7 @@ break; } - err = bus_setup_intr(self, sc->irq_res, INTR_TYPE_BIO, + err = bus_setup_intr(self, sc->irq_res, INTR_TYPE_BIO | INTR_MPSAFE, (driver_intr_t *) uhci_intr, sc, &sc->ih); if (err) { device_printf(self, "Could not setup irq, %d\n", err); diff --exclude CVS -I\$Revision -I\$Id -I\$Header -I \$FreeBSD -ur /shadow/imp/p4/src/sys/dev/usb/uhcivar.h /shadow/imp/p4/newcard/src/sys/dev/usb/uhcivar.h --- /shadow/imp/p4/src/sys/dev/usb/uhcivar.h Sat Nov 6 12:30:31 2004 +++ /shadow/imp/p4/newcard/src/sys/dev/usb/uhcivar.h Sat Nov 6 12:18:30 2004 @@ -193,7 +193,9 @@ void *sc_shutdownhook; /* cookie from shutdown hook */ #endif +#if defined(__NetBSD__) || defined(__OpenBSD__) device_ptr_t sc_child; /* /dev/usb# device */ +#endif } uhci_softc_t; usbd_status uhci_init(uhci_softc_t *); diff --exclude CVS -I\$Revision -I\$Id -I\$Header -I \$FreeBSD -ur /shadow/imp/p4/src/sys/dev/usb/usb.c /shadow/imp/p4/newcard/src/sys/dev/usb/usb.c --- /shadow/imp/p4/src/sys/dev/usb/usb.c Sat Nov 6 12:30:32 2004 +++ /shadow/imp/p4/newcard/src/sys/dev/usb/usb.c Sat Nov 6 12:18:31 2004 @@ -213,6 +213,17 @@ return (UMATCH_GENERIC); } +#if defined(USB_USE_SOFTINTR) && defined(__HAVE_TASKQUEUE) +static void +usb_taskqueue_fn(void *argp, int pending) +{ + mtx_lock(&Giant); + usbd_bus_handle bus = argp; + bus->methods->soft_intr(bus); + mtx_unlock(&Giant); +} +#endif + USB_ATTACH(usb) { #if defined(__NetBSD__) || defined(__OpenBSD__) @@ -264,6 +275,9 @@ usb_add_event(USB_EVENT_CTRLR_ATTACH, &ue); #ifdef USB_USE_SOFTINTR +#ifdef __HAVE_TASKQUEUE + TASK_INIT(&sc->sc_bus->task, 0, usb_taskqueue_fn, sc->sc_bus); +#else #ifdef __HAVE_GENERIC_SOFT_INTERRUPTS /* XXX we should have our own level */ sc->sc_bus->soft = softintr_establish(IPL_SOFTNET, @@ -277,6 +291,7 @@ usb_callout_init(sc->sc_bus->softi); #endif #endif +#endif err = usbd_new_device(USBDEV(sc->sc_dev), sc->sc_bus, 0, speed, 0, &sc->sc_port); @@ -745,7 +760,7 @@ void usb_needs_explore(usbd_device_handle dev) { - DPRINTFN(2,("usb_needs_explore\n")); + printf("usb_needs_explore\n"); dev->bus->needs_explore = 1; wakeup(&dev->bus->needs_explore); } @@ -847,6 +862,9 @@ if (bus->use_polling) { bus->methods->soft_intr(bus); } else { +#ifdef __HAVE_TASKQUEUE + taskqueue_enqueue(taskqueue_thread, &bus->task); +#else #ifdef __HAVE_GENERIC_SOFT_INTERRUPTS softintr_schedule(bus->soft); #else @@ -854,6 +872,7 @@ callout_reset(&bus->softi, 0, bus->methods->soft_intr, bus); #endif /* __HAVE_GENERIC_SOFT_INTERRUPTS */ +#endif } #else bus->methods->soft_intr(bus); @@ -920,6 +939,9 @@ usbd_finish(); #ifdef USB_USE_SOFTINTR +#ifdef __HAVE_TASKQUEUE + /* XXX should disestablish this task item */ +#else #ifdef __HAVE_GENERIC_SOFT_INTERRUPTS if (sc->sc_bus->soft != NULL) { softintr_disestablish(sc->sc_bus->soft); @@ -927,6 +949,7 @@ } #else callout_stop(&sc->sc_bus->softi); +#endif #endif #endif diff --exclude CVS -I\$Revision -I\$Id -I\$Header -I \$FreeBSD -ur /shadow/imp/p4/src/sys/dev/usb/usb_port.h /shadow/imp/p4/newcard/src/sys/dev/usb/usb_port.h --- /shadow/imp/p4/src/sys/dev/usb/usb_port.h Tue Nov 9 17:09:39 2004 +++ /shadow/imp/p4/newcard/src/sys/dev/usb/usb_port.h Tue Nov 9 17:09:31 2004 @@ -346,10 +346,9 @@ #define USBVERBOSE -/* We don't use the soft interrupt code in FreeBSD. */ -#if 0 #define USB_USE_SOFTINTR -#endif +#define __HAVE_TASKQUEUE +#include #define Static static @@ -525,7 +524,6 @@ SYSCTL_DECL(_hw_usb); #endif -#endif /* __FreeBSD__ */ +#endif /* FreeBSD */ #endif /* _USB_PORT_H */ - diff --exclude CVS -I\$Revision -I\$Id -I\$Header -I \$FreeBSD -ur /shadow/imp/p4/src/sys/dev/usb/usbdivar.h /shadow/imp/p4/newcard/src/sys/dev/usb/usbdivar.h --- /shadow/imp/p4/src/sys/dev/usb/usbdivar.h Sat Nov 6 12:30:32 2004 +++ /shadow/imp/p4/newcard/src/sys/dev/usb/usbdivar.h Sat Nov 6 12:18:31 2004 @@ -122,10 +122,14 @@ #define USBREV_STR { "unknown", "pre 1.0", "1.0", "1.1", "2.0" } #ifdef USB_USE_SOFTINTR +#ifdef __HAVE_TASKQUEUE + struct task task; +#else #ifdef __HAVE_GENERIC_SOFT_INTERRUPTS void *soft; /* soft interrupt cookie */ #else struct callout softi; +#endif #endif #endif ----Next_Part(Fri_Nov_12_08:39:50_2004_364)---- From owner-freebsd-usb@FreeBSD.ORG Fri Nov 12 22:00:38 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7122916A4CE for ; Fri, 12 Nov 2004 22:00:38 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59DD943D2F for ; Fri, 12 Nov 2004 22:00:38 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 427447A403 for ; Fri, 12 Nov 2004 14:00:38 -0800 (PST) Message-ID: <41953285.8070405@elischer.org> Date: Fri, 12 Nov 2004 14:00:37 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: anyone seen this problem.. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 22:00:38 -0000 I'm working in 4.10++ plus a few MFC patches.. One of our applications regularly crashes when using a uhid device. The stack trace and core dump makes me think it is a use-after-free problem.. It only happens at random intervals between 10 minutes and 1 day. Sometimes it has done 1000s of opertaions.. sometimes it is the 2nd. The end of the stack trace is always: #9 0xc0298049 in usb_allocmem (bus=0xc1bec400, size=0xc, align=0x0, p=0xc1bed53c) at ../../dev/usb/usb_mem.c:259 #10 0xc028dc6f in ehci_allocm (bus=0xc1bec400, dma=0xc1bed53c, size=0xc) at ../../dev/usb/ehci.c:1024 #11 0xc0296937 in usbd_transfer (xfer=0xc1bed500) at ../../dev/usb/usbdi.c:309 #12 0xc0297c7d in usbd_bulk_transfer (xfer=0xc1bed500, pipe=0xc1e7d680, flags=0x4, timeout=0x3e8, buf=0xc2367000, size=0xcfc06d2c, lbl=0xc and the place it crashes is: [in allocmem] 256 s = splusb(); 257 /* Check for free fragments. */ 258 for (f = LIST_FIRST(&usb_frag_freelist); f; f = LIST_NEXT(f, next)) 259 if (f->block->tag == tag) <--------------------here 260 break; 261 if (f == NULL) { it looks on analysis that something is trashing the most recent frag that was freed (i.e. the first on the list, the one pointed to by usb_frag_freelist.) The first word of it (f->block) is set to either "0x00000c" or "0x1000c", where it should be a valid pointer.. It look like it's being treated like a flag of some sort.. Does this look at all familiar to anyone? julian (still reading code) From owner-freebsd-usb@FreeBSD.ORG Fri Nov 12 22:07:08 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CBD216A4CE for ; Fri, 12 Nov 2004 22:07:08 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71F5E43D6B for ; Fri, 12 Nov 2004 22:07:08 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 58E257A403; Fri, 12 Nov 2004 14:07:08 -0800 (PST) Message-ID: <4195340C.6030201@elischer.org> Date: Fri, 12 Nov 2004 14:07:08 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Julian Elischer References: <41953285.8070405@elischer.org> In-Reply-To: <41953285.8070405@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: usb@freebsd.org Subject: Re: anyone seen this problem.. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 22:07:08 -0000 Julian Elischer wrote: > > I'm working in 4.10++ plus a few MFC patches.. > > One of our applications regularly crashes when using a uhid device. ^^^^^ ugen > The stack trace and core dump makes me think it is a use-after-free > problem.. > It only happens at random intervals between 10 minutes and 1 day. > Sometimes it has done 1000s of opertaions.. sometimes it is the 2nd. > > > The end of the stack trace is always: > > #9 0xc0298049 in usb_allocmem (bus=0xc1bec400, size=0xc, align=0x0, > p=0xc1bed53c) at ../../dev/usb/usb_mem.c:259 > #10 0xc028dc6f in ehci_allocm (bus=0xc1bec400, dma=0xc1bed53c, > size=0xc) at ../../dev/usb/ehci.c:1024 > #11 0xc0296937 in usbd_transfer (xfer=0xc1bed500) at > ../../dev/usb/usbdi.c:309 > #12 0xc0297c7d in usbd_bulk_transfer (xfer=0xc1bed500, > pipe=0xc1e7d680, flags=0x4, timeout=0x3e8, buf=0xc2367000, > size=0xcfc06d2c, lbl=0xc > > and the place it crashes is: > [in allocmem] > 256 s = splusb(); > 257 /* Check for free fragments. */ > 258 for (f = LIST_FIRST(&usb_frag_freelist); f; f = > LIST_NEXT(f, next)) > 259 if (f->block->tag == tag) > <--------------------here > 260 break; > 261 if (f == NULL) { > > it looks on analysis that something is trashing the most recent frag > that was freed > (i.e. the first on the list, the one pointed to by usb_frag_freelist.) > > The first word of it (f->block) is set to either "0x00000c" or > "0x1000c", > where it should be a valid pointer.. > It look like it's being treated like a flag of some sort.. > > Does this look at all familiar to anyone? > > julian > (still reading code) > > > > > > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Fri Nov 12 22:56:37 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 526C916A4CE for ; Fri, 12 Nov 2004 22:56:37 +0000 (GMT) Received: from ms-smtp-02.nyroc.rr.com (ms-smtp-02.nyroc.rr.com [24.24.2.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8EA443D45 for ; Fri, 12 Nov 2004 22:56:36 +0000 (GMT) (envelope-from akropel1@rochester.rr.com) Received: from mail.kroptech.com (roc-24-93-20-125.rochester.rr.com [24.93.20.125])iACMuSYn007868; Fri, 12 Nov 2004 17:56:30 -0500 (EST) Received: from pia (pia.kroptech.com [192.168.200.3]) by mail.kroptech.com (Postfix) with SMTP id 70C1011376E; Fri, 12 Nov 2004 18:48:22 -0500 (EST) Message-ID: <049301c4c90a$d8109d80$03c8a8c0@kroptech.com> From: "Adam Kropelin" To: "Julian Elischer" References: <41953285.8070405@elischer.org> <4195340C.6030201@elischer.org> Date: Fri, 12 Nov 2004 17:56:28 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: usb@freebsd.org Subject: Re: anyone seen this problem.. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 22:56:37 -0000 Julian Elischer wrote: > Julian Elischer wrote: > >> >> I'm working in 4.10++ plus a few MFC patches.. >> >> One of our applications regularly crashes when using a uhid device. > > > ^^^^^ ugen I've been able to panic the kernel fairly easily using ugen (this is on 5.2.1 and 5.3). The trigger seems to be a length mismatch where the device returns a different amount of data than was expected for a particular transfer. I'm suspecting memory corruption since it will often fail the ioctl a few times before actually panicing. I am not sufficiently clued to obtain a kernel backtrace like you did. I presume I need to configure something to dump me into a kernel debugger upon panic instead of the automatic reboot I'm currently getting. I'll read up on such things and see if I can determine how closely my situation matches yours. --Adam From owner-freebsd-usb@FreeBSD.ORG Fri Nov 12 23:38:41 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8F8E16A4CE for ; Fri, 12 Nov 2004 23:38:41 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D44243D39 for ; Fri, 12 Nov 2004 23:38:41 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 2C7967A440; Fri, 12 Nov 2004 15:38:41 -0800 (PST) Message-ID: <41954980.6050201@elischer.org> Date: Fri, 12 Nov 2004 15:38:40 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Adam Kropelin References: <41953285.8070405@elischer.org> <4195340C.6030201@elischer.org> <049301c4c90a$d8109d80$03c8a8c0@kroptech.com> In-Reply-To: <049301c4c90a$d8109d80$03c8a8c0@kroptech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: usb@freebsd.org Subject: Re: anyone seen this problem.. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 23:38:41 -0000 Adam Kropelin wrote: > Julian Elischer wrote: > >> Julian Elischer wrote: >> >>> >>> I'm working in 4.10++ plus a few MFC patches.. >>> >>> One of our applications regularly crashes when using a uhid device. >> >> >> >> ^^^^^ ugen > > > I've been able to panic the kernel fairly easily using ugen (this is > on 5.2.1 and 5.3). The trigger seems to be a length mismatch where the > device returns a different amount of data than was expected for a > particular transfer. I'm suspecting memory corruption since it will > often fail the ioctl a few times before actually panicing. > > I am not sufficiently clued to obtain a kernel backtrace like you did. > I presume I need to configure something to dump me into a kernel > debugger upon panic instead of the automatic reboot I'm currently > getting. I'll read up on such things and see if I can determine how > closely my situation matches yours. you need to set dumpdev="/dev/ad0s1b" in /etc/rc.conf and after the next boot. cd /(kernelcompile directory) kgdb kernel.debug /var/crash/vmcore.0 (probably best to make /var/crash a symlink somewhere with more space) 'bt' to get a stacktrace. > > > --Adam From owner-freebsd-usb@FreeBSD.ORG Sat Nov 13 00:27:15 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C16216A4CE; Sat, 13 Nov 2004 00:27:15 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AA4F43D48; Sat, 13 Nov 2004 00:27:15 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 2B4857A41E; Fri, 12 Nov 2004 16:27:15 -0800 (PST) Message-ID: <419554E2.5060104@elischer.org> Date: Fri, 12 Nov 2004 16:27:14 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: usb@freebsd.org, peter@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: race condition in ehci/USB code.. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2004 00:27:15 -0000 I just found a case where the ehci hardware is writing data back into a buffer that has been put back on the free list. I assume that there was a timeout on the command, but the trasaction was never cancelled.. (or we a re part way through cancelling it). Ian, was this fixed in your timeout changes you just reverted? Does anyone else have any domain knowldge on this stuff? From owner-freebsd-usb@FreeBSD.ORG Sat Nov 13 10:50:18 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C648416A4CE for ; Sat, 13 Nov 2004 10:50:18 +0000 (GMT) Received: from mail.newlines.ru (mail.newlines.ru [195.54.211.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54D8D43D31 for ; Sat, 13 Nov 2004 10:50:17 +0000 (GMT) (envelope-from anton@nikiforov.ru) Received: from mail.newlines.ru (root@localhost) by mail.newlines.ru (8.12.10/8.12.9) with SMTP id iADAoDcV047282 for ; Sat, 13 Nov 2004 10:50:13 GMT (envelope-from anton@nikiforov.ru) Received: from [213.252.67.117] (master-hosting.newlines.ru [213.252.67.117] (may be forged)) (authenticated bits=0) by mail.newlines.ru (8.12.10/8.12.9) with ESMTP id iADAoDck047268; Sat, 13 Nov 2004 10:50:13 GMT (envelope-from anton@nikiforov.ru) Message-ID: <4195F535.7090804@nikiforov.ru> Date: Sat, 13 Nov 2004 14:51:17 +0300 From: Anton Nikiforov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040907 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Remo Collet References: <200411121611.02439.remo@astro.uu.se> In-Reply-To: <200411121611.02439.remo@astro.uu.se> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms000003060007060308040009" cc: freebsd-usb@freebsd.org Subject: Re: USB external CD-RW and FreeBSD 5.3 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: anton@nikiforov.ru List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2004 10:50:18 -0000 This is a cryptographically signed message in MIME format. --------------ms000003060007060308040009 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Remo Collet wrote: >>>Alex Povolotsky writes: >>> >>> >>>>I have an external AOPEN CD-RW with USB interface, it works fine >>>>with 4.10, but doesn't work with 5.ANY (including 5.3BETA7). >>>> >>>>5.x DOES see umass device, but doesn't see any cd device > > > Hi! > I experienced the same problem with a Dell D400. > Try to patch umass.c as indicated below, it worked for me > (on FreeBSD 5.3-STABLE #1) > Cheers, > > Remo > > > diff -c umass.c.original umass.c.quirk > *** umass.c.original Fri Nov 12 14:29:36 2004 > --- umass.c.quirk Fri Nov 12 14:31:21 2004 > *************** > *** 319,324 **** > --- 319,328 ---- > UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, > RS_NO_CLEAR_UA > }, > + { USB_VENDOR_DELL, PID_WILDCARD, RID_WILDCARD, > + UMASS_PROTO_SCSI | UMASS_PROTO_BBB, > + FORCE_SHORT_INQUIRY > + }, > { USB_VENDOR_FUJIPHOTO, USB_PRODUCT_FUJIPHOTO_MASS0100, RID_WILDCARD, > UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, > RS_NO_CLEAR_UA Hello and THANKS! This patch really helped to get my X300's USB cdrw working. -- ó Õ×ÁÖÅÎÉÅÍ (Best regads), áÎÔÏÎ îÉËÉÆÏÒÏ× (Anton Nikiforov) --------------ms000003060007060308040009 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII7TCC AtEwggI6oAMCAQICAwvaFTANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDQwMzA1MjExMjI4WhcNMDUwMzA1MjExMjI4 WjBEMR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSEwHwYJKoZIhvcNAQkBFhJh bnRvbkBuaWtpZm9yb3YucnUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC1Ps7E cf3xTnaY72Aip/U5HeUmGwQ6QmbCjMcqS3XfO6EsA+5ol526JvhQ1XStpDX/kh8R8MDELUJD SVooXFiDInspw5tmPOlXV1C60xH4VWf5Gh+2y3yDGzHyWBAalul7LbhC1p8zDNUA12pAu4Ry 1k1A0Yepomr8CRbh/Z9JryfJcqHYDL+z1qgLzQlpJsao9E3Zld5ZfgJPORcFoRB7Z6jvqVLh pLNmSrvfDbSw6WK/K9EbZT9zlOTlmOnt4uLBy3hKZMcvkaFrYVYTRXLMegJHFPAp3sxLYef2 iW9fEUKgrs4W7d5c8UWlmiGurVt1Xdzc58W8X3vekMLqu9elAgMBAAGjLzAtMB0GA1UdEQQW MBSBEmFudG9uQG5pa2lmb3Jvdi5ydTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GB ABINGnCD0TGnBHqGYbJHSwjFfxEsVS1ygSUVIyb0Q1S0SphgUSeRWIZ4+joWR9TzxFGqLtYM TEQvRTQ7VJcugjn2o2nTgQ4EPhze0O5ki2eUWHE9dViHboQWOWI0r1vurUTkDnmloeM8mpMo CAAtXbjyhz7AVKUwI7vULQKuE+imMIIC0TCCAjqgAwIBAgIDC9oVMA0GCSqGSIb3DQEBBAUA MGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQu MSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTAeFw0wNDAz MDUyMTEyMjhaFw0wNTAzMDUyMTEyMjhaMEQxHzAdBgNVBAMTFlRoYXd0ZSBGcmVlbWFpbCBN ZW1iZXIxITAfBgkqhkiG9w0BCQEWEmFudG9uQG5pa2lmb3Jvdi5ydTCCASIwDQYJKoZIhvcN AQEBBQADggEPADCCAQoCggEBALU+zsRx/fFOdpjvYCKn9Tkd5SYbBDpCZsKMxypLdd87oSwD 7miXnbom+FDVdK2kNf+SHxHwwMQtQkNJWihcWIMieynDm2Y86VdXULrTEfhVZ/kaH7bLfIMb MfJYEBqW6XstuELWnzMM1QDXakC7hHLWTUDRh6miavwJFuH9n0mvJ8lyodgMv7PWqAvNCWkm xqj0TdmV3ll+Ak85FwWhEHtnqO+pUuGks2ZKu98NtLDpYr8r0RtlP3OU5OWY6e3i4sHLeEpk xy+RoWthVhNFcsx6AkcU8CnezEth5/aJb18RQqCuzhbt3lzxRaWaIa6tW3Vd3Nznxbxfe96Q wuq716UCAwEAAaMvMC0wHQYDVR0RBBYwFIESYW50b25AbmlraWZvcm92LnJ1MAwGA1UdEwEB /wQCMAAwDQYJKoZIhvcNAQEEBQADgYEAEg0acIPRMacEeoZhskdLCMV/ESxVLXKBJRUjJvRD VLRKmGBRJ5FYhnj6OhZH1PPEUaou1gxMRC9FNDtUly6COfajadOBDgQ+HN7Q7mSLZ5RYcT11 WIduhBY5YjSvW+6tROQOeaWh4zyakygIAC1duPKHPsBUpTAju9QtAq4T6KYwggM/MIICqKAD AgECAgENMA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVy biBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5n MSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtU aGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZy ZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcNMTMwNzE2MjM1OTU5WjBiMQsw CQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoG A1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwgZ8wDQYJKoZIhvcN AQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f6f+jHuy9zfVb8hp2vX8MOmHy v1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/EfkTYkKhPPK9Xzgnc9A74r/rsY Pge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7AgMBAAGjgZQwgZEwEgYDVR0T AQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3JsLnRoYXd0ZS5jb20v VGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8EBAMCAQYwKQYDVR0RBCIwIKQe MBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqGSIb3DQEBBQUAA4GBAEiM0VCD 6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCTcDz9reFhYsPZOhl+hLGZ GwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo05RAaWzVNd+NWIXiC 3CEZNd4ksdMdRv9dX2VPMYIDOzCCAzcCAQEwaTBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMc VGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFs IEZyZWVtYWlsIElzc3VpbmcgQ0ECAwvaFTAJBgUrDgMCGgUAoIIBpzAYBgkqhkiG9w0BCQMx CwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wNDExMTMxMTUxMTdaMCMGCSqGSIb3DQEJ BDEWBBS071AHdv33rHv/Jum8dK3zWR8WhjBSBgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMH MA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIB KDB4BgkrBgEEAYI3EAQxazBpMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29u c3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwg SXNzdWluZyBDQQIDC9oVMHoGCyqGSIb3DQEJEAILMWugaTBiMQswCQYDVQQGEwJaQTElMCMG A1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBl cnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECAwvaFTANBgkqhkiG9w0BAQEFAASCAQCktA3p TFLfl2cKbYxS1sXs7NTsUyrqa9KOFUqLIchR4piX4CDppiSymUgADEQYLs/zW/PEzpSEmjgE A6ITh4kNMorTqnA0UjRylWiVZ2ae6kdiKoJ3hn9GTdjWswnWI4vDK3ukVY+devju/yONIrnB rwXpoj1S/04Mw4Z2S++IAOlJDzumwf558s4fkoJfjv+EnVKRoySec3PLC9wKpQfeTmEBpTrA gbJZUvxSTveW8MrPQvrr/3BjUSey9kx+vKJZr3vyrQSVrzW1TIOHsubeU/HN1ZXVhm3uhWTz snmD7ZgCRZTKdMP1AKUMVwUZd6WGb/K2dnvrETdQx/P9fiD4AAAAAAAA --------------ms000003060007060308040009--