From owner-freebsd-usb@FreeBSD.ORG  Sun Nov 14 11:25:23 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 C98CD16A4D7; Sun, 14 Nov 2004 11:25:23 +0000 (GMT)
Received: from mta05-winn.mailhost.ntl.com (mailhost.ntl.com [212.250.162.8])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 2AEAE43D48; Sun, 14 Nov 2004 11:25:14 +0000 (GMT)
	(envelope-from ben@spooty.net)
Received: from aamta03-winn.mailhost.ntl.com ([212.250.162.8])
	by mta05-winn.mailhost.ntl.com with ESMTP
	<20041114112512.TXCV3998.mta05-winn.mailhost.ntl.com@aamta03-winn.mailhost.ntl.com>;
	Sun, 14 Nov 2004 11:25:12 +0000
Received: from cpc2-brig4-3-0-cust110.brtn.cable.ntl.com ([82.0.100.110])
	by aamta03-winn.mailhost.ntl.com with ESMTP
	<20041114112512.VALT16823.aamta03-winn.mailhost.ntl.com@cpc2-brig4-3-0-cust110.brtn.cable.ntl.com>;
	Sun, 14 Nov 2004 11:25:12 +0000
From: Ben Paley <ben@spooty.net>
To: joe@freebsd.org
Date: Sun, 14 Nov 2004 11:28:52 +0000
User-Agent: KMail/1.7
References: <20041113120110.CBE8716A4D3@hub.freebsd.org>
In-Reply-To: <20041113120110.CBE8716A4D3@hub.freebsd.org>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200411141128.52894.ben@spooty.net>
cc: Ian Dowse <iedowse@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 <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Nov 2004 11:25:24 -0000

On Saturday 13 November 2004 12:01, Josef Karthauser <joe@FreeBSD.org> wrote:

> > 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.
>
> 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.

I don't think I can say much more about the technical issues involved through 
ignorance - but I will be happy to answer any questions about my hardware.

But as for the patch - doesn't it just put up a message suggesting disabling 
legacy support if you encounter problems? That would have saved me weeks of 
head-scratching, lots of emails to lists (including this one) and some hours 
of Joe's time - maybe, in the short term, not such a bad substitute for 
actually solving the problem.

Cheers,
Ben.

From owner-freebsd-usb@FreeBSD.ORG  Mon Nov 15 00:08:20 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 1638016A4CE
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 00:08:20 +0000 (GMT)
Received: from mta09-winn.mailhost.ntl.com (mailhost.ntl.com [212.250.162.8])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2F66943D41
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 00:08:19 +0000 (GMT)
	(envelope-from scott@fishballoon.org)
Received: from aamta01-winn.mailhost.ntl.com ([212.250.162.8])
	by mta09-winn.mailhost.ntl.com with ESMTP
	<20041115000818.TEFZ1968.mta09-winn.mailhost.ntl.com@aamta01-winn.mailhost.ntl.com>
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 00:08:18 +0000
Received: from llama.fishballoon.org ([82.4.146.133])
	by aamta01-winn.mailhost.ntl.com with ESMTP
	<20041115000818.SKXI17601.aamta01-winn.mailhost.ntl.com@llama.fishballoon.org>
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 00:08:18 +0000
Received: from tuatara.fishballoon.org ([192.168.1.6])
	by llama.fishballoon.org with esmtp (Exim 4.43 (FreeBSD))
	id 1CTUPo-000P2B-5A
	for freebsd-usb@freebsd.org; Mon, 15 Nov 2004 00:08:16 +0000
Received: (from scott@localhost)
	by tuatara.fishballoon.org (8.13.1/8.13.1/Submit) id iAF08FtB008799
	for freebsd-usb@freebsd.org; Mon, 15 Nov 2004 00:08:15 GMT
	(envelope-from scott)
Date: Mon, 15 Nov 2004 00:08:15 +0000
From: Scott Mitchell <scott+freebsd@fishballoon.org>
To: freebsd-usb@freebsd.org
Message-ID: <20041115000815.GD57138@tuatara.fishballoon.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.2.1i
X-Operating-System: FreeBSD 4.10-STABLE i386
Subject: USB Ethernet (aue) panics on 4.10 (kern/69319)
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 00:08:20 -0000

Hi all,

Is anyone else using USB Ethernet - particularly anything that uses the
aue(4) driver - on FreeBSD 4.10, with or without success?  I have a
reproducible panic when aue(4) devices are first brought up, ie. on the
first ifconfig(8) of the device, with two different adapters on two
different 4.10/4-STABLE systems.  See PR kern/69319 for more details:
http://www.freebsd.org/cgi/query-pr.cgi?pr=69319

Anyone else seeing this or am I the only one using these devices on 4.10?

I discussed this a bit with Julian and others a few weeks ago, until the
5.3 release got in the way.  It seems to be related to the removal of the
'tsleep hack' from the 4-STABLE USB code, although I don't know this stuff
well enough to say exactly why it's breaking.  Certainly restoring the
tsleep hack makes my aue(4) adapters work again.

The attached patch restores the tsleep hack and fixes a couple of other
problems I found while looking into this:
- Fix an mbuf leak when the [ackr]_start() function was called again before
  the previous mbuf had been freed.
- Fix ioctl handling to return EINVAL for commands that don't make sense
  for this device.  Otherwise ifconfig(8) prints a lot of irrelevant data,
  such as wireless settings.
With this patch in place both of my adapters work just fine.

I'm tempted to just commit this patch to get everything working again, but
I know people will be upset about the return of the tsleep hack.  It is a
hack, but one that we had in the tree for several years, so clearly not
causing anybody too much pain.  I'd love to find out what's really wrong
and fix it, but I have neither the USB know-how nor the free time to
acquire it right now.

So, any of the USB gurus out there who'd like to help me fix this?  I know
it's only 4.x, but it would be nice if we could retire it in a working
state... :-)

Cheers,

	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  Mon Nov 15 02:10:26 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 D4BD116A4CE
	for <freebsd-usb@hub.freebsd.org>;
	Mon, 15 Nov 2004 02:10:26 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C325443D1D
	for <freebsd-usb@hub.freebsd.org>;
	Mon, 15 Nov 2004 02:10:26 +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 iAF2AQXi060573
	for <freebsd-usb@freefall.freebsd.org>; Mon, 15 Nov 2004 02:10:26 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAF2AQfh060568;
	Mon, 15 Nov 2004 02:10:26 GMT
	(envelope-from gnats)
Date: Mon, 15 Nov 2004 02:10:26 GMT
Message-Id: <200411150210.iAF2AQfh060568@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
From: Anish Mistry <mistry.7@osu.edu>
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 <mistry.7@osu.edu>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 02:10:27 -0000

The following reply was made to PR kern/33004; it has been noted by GNATS.

From: Anish Mistry <mistry.7@osu.edu>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/33004: Patch for USB (uhci)
Date: Sun, 14 Nov 2004 21:12:35 -0500

 --nextPart2770488.l6p9IYFflt
 Content-Type: text/plain;
   charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 On Sunday 14 November 2004 06:18 am, you wrote:
 > * Anish Mistry <mistry.7@osu.edu> [2004-11-11 08:10]:
 > > Does this problem persist with 5.3-RELEASE, 5-STABLE, or 6-CURRENT?
 >
 > Just tested the 5-STABLE branch: the patch is no longer necessary,
 > USB works 'out of the box'.
 >
 > Best regards
 >
 >         -Thorsten
 This PR can be closed now.
 
 =2D-=20
 Anish Mistry
 
 --nextPart2770488.l6p9IYFflt
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (FreeBSD)
 
 iD8DBQBBmBCexqA5ziudZT0RAm7cAKDCRSVrGdAQ64nNj4KrvnWjCxjRQACg0W8j
 N0w4QkreATOXTmSMzY/vd2o=
 =tdeE
 -----END PGP SIGNATURE-----
 
 --nextPart2770488.l6p9IYFflt--

From owner-freebsd-usb@FreeBSD.ORG  Mon Nov 15 02:19:22 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 E538716A4CE; Mon, 15 Nov 2004 02:19:22 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id C166B43D46; Mon, 15 Nov 2004 02:19:22 +0000 (GMT)
	(envelope-from iedowse@FreeBSD.org)
Received: from freefall.freebsd.org (iedowse@localhost [127.0.0.1])
	iAF2JMqp017509;	Mon, 15 Nov 2004 02:19:22 GMT
	(envelope-from iedowse@freefall.freebsd.org)
Received: (from iedowse@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAF2JMvI017484;
	Mon, 15 Nov 2004 02:19:22 GMT
	(envelope-from iedowse)
Date: Mon, 15 Nov 2004 02:19:22 GMT
From: Ian Dowse <iedowse@FreeBSD.org>
Message-Id: <200411150219.iAF2JMvI017484@freefall.freebsd.org>
To: thorsten.greiner@consol.de, iedowse@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 <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 02:19:23 -0000

Synopsis: Patch for USB (uhci)

State-Changed-From-To: feedback->closed
State-Changed-By: iedowse
State-Changed-When: Mon Nov 15 02:18:12 GMT 2004
State-Changed-Why: 

Submitter confirms that the patch is no longer necessary. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=33004

From owner-freebsd-usb@FreeBSD.ORG  Mon Nov 15 09:16:41 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 E7B6916A4CE
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 09:16:41 +0000 (GMT)
Received: from mailhost.tao.org.uk (transwarp.tao.org.uk [212.135.162.50])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CED7843D58
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 09:16:40 +0000 (GMT)
	(envelope-from joe@tao.org.uk)
Received: by mailhost.tao.org.uk (Postfix, from userid 1000)
	id CDDA3759B; Mon, 15 Nov 2004 09:16:35 +0000 (GMT)
Date: Mon, 15 Nov 2004 09:16:35 +0000
From: Josef Karthauser <joe@FreeBSD.org>
To: Scott Mitchell <scott+freebsd@fishballoon.org>
Message-ID: <20041115091635.GS85362@transwarp.tao.org.uk>
References: <20041115000815.GD57138@tuatara.fishballoon.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
In-Reply-To: <20041115000815.GD57138@tuatara.fishballoon.org>
User-Agent: Mutt/1.4.2.1i
X-taoresearch-MailScanner-Information: Please contact Tao Research for more
	information
X-taoresearch-MailScanner: Found to be clean
X-MailScanner-From: joe@tao.org.uk
cc: freebsd-usb@freebsd.org
Subject: Re: USB Ethernet (aue) panics on 4.10 (kern/69319)
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 09:16:42 -0000

Aue is quite stable under > 5 in this regard.  What is screwed, and has
been for a long time, is that it doesn't handle 100basetx at all well.
Very often just plugging into a 100base network freezes the machine
solid.  (Doing a preliminary 'ifconfig aue0 media 10baset/utp' some
times helps, but not always; quite often it will go 100base anyway! :().

Joe

On Mon, Nov 15, 2004 at 12:08:15AM +0000, Scott Mitchell wrote:
> Hi all,
>=20
> Is anyone else using USB Ethernet - particularly anything that uses the
> aue(4) driver - on FreeBSD 4.10, with or without success?  I have a
> reproducible panic when aue(4) devices are first brought up, ie. on the
> first ifconfig(8) of the device, with two different adapters on two
> different 4.10/4-STABLE systems.  See PR kern/69319 for more details:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D69319
>=20
> Anyone else seeing this or am I the only one using these devices on 4.10?

--=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

From owner-freebsd-usb@FreeBSD.ORG  Mon Nov 15 11:02:19 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 EEFE416A4CE
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 11:02:19 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C45E743D1F
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 11:02:19 +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 iAFB2Jtd074758
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 11:02:19 GMT
	(envelope-from owner-bugmaster@freebsd.org)
Received: (from peter@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAFB2IV6074752
	for freebsd-usb@freebsd.org; Mon, 15 Nov 2004 11:02:18 GMT
	(envelope-from owner-bugmaster@freebsd.org)
Date: Mon, 15 Nov 2004 11:02:18 GMT
Message-Id: <200411151102.iAFB2IV6074752@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: peter set sender to
	owner-bugmaster@freebsd.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
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 <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 11:02:20 -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 [2001/09/11] kern/30502  usb         panics if logitech joystick usb attached 
a [2001/10/31] kern/31659  usb         USB controller driver will die after some
f [2001/12/12] kern/32713  usb         [usb] mouse detaches from hub and doesnt 
f [2002/01/13] kern/33839  usb         usb0: host controller halted (involving A
f [2002/02/17] kern/35061  usb         After printing to HP Deskjet 656c USB pri
f [2002/04/07] i386/36850  usb         Page Fault using ppp with USB Modem [4.9]
f [2002/06/15] kern/39341  usb         ppp + USB modem problem
f [2002/06/24] kern/39805  usb         4.6R install panics with umass0 device co
o [2002/07/19] kern/40792  usb         signals lead to data loss on device ugen
o [2002/09/13] kern/42748  usb         USB does not work (Fujitsu Lifebook)
f [2002/09/25] i386/43366  usb         Cannot format media in USB floppy devices
o [2002/09/29] kern/43462  usb         copying files from olympus C-4040 digital
o [2002/10/13] bin/43993   usb         /usr/sbin/usbd does not handle an usb eve
f [2002/11/22] kern/45579  usb         Panic from USB stack after device detach
o [2002/12/10] kern/46176  usb         umass causes kernel panic if device remov
o [2002/12/19] i386/46371  usb         USB controller cannot be initialized on I
f [2002/12/24] i386/46506  usb         [usb] [hang] Crash Before Initialization 
o [2002/12/29] kern/46618  usb         USB (UHCI/ICH3) PALM connect/disconnect/c
f [2003/01/12] kern/47005  usb         OHCI USB not noticing device detachments 
o [2003/02/17] kern/48359  usb         SiS 5597/8 USB + uscanner breakage
a [2003/03/02] kern/48849  usb         Maxtor XT5000 causes panic in boot
o [2003/03/05] kern/48952  usb         uscanner0 hangs
a [2003/03/20] kern/50149  usb         Using Alcatel SpeedTouch results in "usb0
a [2003/08/14] kern/55587  usb         null dereference in usbdi.c: usb_transfer
o [2003/09/26] bin/57255   usb         usbd and multi-function devices
f [2003/12/11] kern/60131  usb         [usb] Page fault on disconnect of USB dev
f [2003/12/13] kern/60217  usb         EHCI controller halts when USB 2.0 device
o [2003/12/15] kern/60276  usb         [usb] Kernel panic when plugging in USB (
o [2004/01/11] kern/61191  usb         [usb] panic: USB vs. Serial problems
o [2004/01/15] kern/61377  usb         [kbd] usb keyboard not functional after b
o [2004/01/20] kern/61627  usb         [usb] [patch] New USB printer not support
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
p [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

50 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
o [2001/12/09] kern/32652  usb         [patch] A new ioctl to uscanner
s [2001/12/09] ports/32653 usb         Added patches to improve USB scanner supp
f [2002/04/23] kern/37374  usb         [PATCH] closing ums0 blocks with wmesg uh
f [2002/05/04] conf/37732  usb         usbd start in wrong place in /etc/rc in 4
o [2002/05/23] kern/38452  usb         [usb] Logitech USB iFeel: device_probe_an
o [2002/07/16] kern/40657  usb         [usb] Logitech iFeel usb mouse will not a
o [2002/07/24] kern/40948  usb         [usb] USB HP CDW8200 does not work
o [2002/08/01] kern/41243  usb         [patch] [usb] getting full desc failed, H
o [2002/08/07] kern/41415  usb         [usb] [patch] Some USB scanners cannot ta
f [2002/10/25] kern/44450  usb         USB support FAILURE for device that was s
o [2003/01/18] kern/47200  usb         USB port is disabled when Kodak DX4900 is
o [2003/02/06] kern/48014  usb         [usb] moused fails to correctly identify 
o [2003/02/16] bin/48342   usb         [PATCH] usbd dynamic device list.
o [2003/03/19] kern/50110  usb         [usb] Astra 2100U scanner being detected 
o [2003/05/08] kern/51958  usb         [usb] [patch] update for urio driver
o [2003/05/10] kern/52026  usb         [usb] feature request: umass driver suppo
o [2003/06/08] kern/53025  usb         [PATCH] ugen does not allow O_NONBLOCK fo
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/11/11] kern/59169  usb         [patch] ulpt is missing read operation
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

46 problems total.

From owner-freebsd-usb@FreeBSD.ORG  Mon Nov 15 11:21:48 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 78C6816A4CE
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 11:21:48 +0000 (GMT)
Received: from smtp.cegetel.net (mf01.sitadelle.com [212.94.174.78])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2AD1B43D31
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 11:21:48 +0000 (GMT)
	(envelope-from a.bonte@netheos.net)
Received: from speedball (80-124-167-39.dti.cegetel.net [80.124.167.39])
	by smtp.cegetel.net (Postfix) with ESMTP id 3C6B237DCE
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 12:21:46 +0100 (CET)
From: Antonin Bonte <a.bonte@netheos.net>
Organization: Netheos
To: freebsd-usb@freebsd.org
Date: Mon, 15 Nov 2004 12:21:46 +0100
User-Agent: KMail/1.7
References: <200411081050.iA8AoS4s008816@freefall.freebsd.org>
In-Reply-To: <200411081050.iA8AoS4s008816@freefall.freebsd.org>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200411151221.46467.a.bonte@netheos.net>
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: a.bonte@netheos.net
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 11:21:48 -0000

Le Lundi 8 Novembre 2004 11:50, Matt Wright a =E9crit=A0:
>  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

Hi,=20

I own a Microsoft Wireless Notebook Optical USB  Mouse, i tried=20
with 5.2.1 then 5.3-stable , and with 5.3-stable with your patch.=20
The mouse still doesn't work ( Without the patch the mouse is=20
top-left of X with right button random click, with the patch the=20
mouse is top-right X of with random clicks too )=20

The mouse isn't detected as ums0 but as uhid0.

Nov 15 12:13:29 speedball kernel: uhid0: Microsoft Microsoft USB Wireless=20
Mouse, rev 2.00/0.17, addr 2, iclass 3/1

Are you planning to add support for this mouse ?

I can send you mouse raw data and test driver updates.=20

Thanks=20

=2D-=20
Antonin Bonte - Netheos
http://www.netheos.net

Email: a.bonte@netheos.net

[ Look, buddy: Windows 3.1 IS A General Protection Fault. ]

From owner-freebsd-usb@FreeBSD.ORG  Mon Nov 15 12:55:44 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 5103516A4D0
	for <freebsd-usb@FreeBSD.org>; Mon, 15 Nov 2004 12:55:44 +0000 (GMT)
Received: from vsmtp2.tin.it (vsmtp2alice.tin.it [212.216.176.142])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AB68243D39
	for <freebsd-usb@FreeBSD.org>; Mon, 15 Nov 2004 12:55:43 +0000 (GMT)
	(envelope-from nivit@email.it)
Received: from psyllobora (82.54.153.22) by vsmtp2.tin.it (7.0.027)
	id 4195EF2F000B14B7 for freebsd-usb@FreeBSD.org;
	Mon, 15 Nov 2004 13:55:43 +0100
Received: (qmail 45318 invoked by uid 1005); 15 Nov 2004 12:44:50 -0000
From: nivit@email.it (Nicola Vitale)
Date: Mon, 15 Nov 2004 13:44:50 +0100
To: Josef Karthauser <joe@FreeBSD.org>
Message-ID: <20041115124450.GA45269@Psyllobora>
Mail-Followup-To: Josef Karthauser <joe@FreeBSD.org>,
	freebsd-usb@FreeBSD.org, freebsd-bugs@FreeBSD.org
References: <200411101104.iAAB4pPP043956@freefall.freebsd.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200411101104.iAAB4pPP043956@freefall.freebsd.org>
X-Operating-System: FreeBSD/i386 (http://www.freebsd.org)
User-Agent: Mutt (http://www.mutt.org)
cc: freebsd-bugs@FreeBSD.org
cc: 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 <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 12:55:44 -0000

> [Josef Karthauser, 2004-11-10T11:04:51+00:00]
> Synopsis: [patch] [usb] getting full desc failed, HID device, STALLED
> 
> Responsible-Changed-From-To: joe->freebsd-usb
> [...]
> Hand this over to the usb mailling list.

This PR may be closed.
Recent modifies settled this issue.

Grazie, ciao.
-- 
Nicola Vitale
nivit@email.it

From owner-freebsd-usb@FreeBSD.ORG  Mon Nov 15 13:44:57 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 63E2E16A4CE; Mon, 15 Nov 2004 13:44:57 +0000 (GMT)
Received: from mta09-winn.mailhost.ntl.com (mailhost.ntl.com [212.250.162.8])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 6B59443D39; Mon, 15 Nov 2004 13:44:56 +0000 (GMT)
	(envelope-from scott@fishballoon.org)
Received: from aamta05-winn.mailhost.ntl.com ([212.250.162.8])
	by mta09-winn.mailhost.ntl.com with ESMTP
	<20041115134455.NYSI1968.mta09-winn.mailhost.ntl.com@aamta05-winn.mailhost.ntl.com>;
	Mon, 15 Nov 2004 13:44:55 +0000
Received: from llama.fishballoon.org ([82.4.146.133])
	by aamta05-winn.mailhost.ntl.com with ESMTP
	<20041115134455.UTRG24809.aamta05-winn.mailhost.ntl.com@llama.fishballoon.org>;
	Mon, 15 Nov 2004 13:44:55 +0000
Received: from scott by llama.fishballoon.org with local (Exim 4.43 (FreeBSD))
	id 1CThA5-0000cQ-4I; Mon, 15 Nov 2004 13:44:53 +0000
Date: Mon, 15 Nov 2004 13:44:53 +0000
From: Scott Mitchell <scott+freebsd@fishballoon.org>
To: Josef Karthauser <joe@FreeBSD.org>
Message-ID: <20041115134452.GA774@llama.fishballoon.org>
References: <20041115000815.GD57138@tuatara.fishballoon.org>
	<20041115091635.GS85362@transwarp.tao.org.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20041115091635.GS85362@transwarp.tao.org.uk>
User-Agent: Mutt/1.4.2.1i
X-Operating-System: FreeBSD 4.9-RELEASE-p4 i386
Sender: Scott Mitchell <scott@fishballoon.org>
cc: freebsd-usb@freebsd.org
Subject: Re: USB Ethernet (aue) panics on 4.10 (kern/69319)
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 13:44:57 -0000

On Mon, Nov 15, 2004 at 09:16:35AM +0000, Josef Karthauser wrote:
> Aue is quite stable under > 5 in this regard.  What is screwed, and has
> been for a long time, is that it doesn't handle 100basetx at all well.
> Very often just plugging into a 100base network freezes the machine
> solid.  (Doing a preliminary 'ifconfig aue0 media 10baset/utp' some
> times helps, but not always; quite often it will go 100base anyway! :().
> 
> Joe

Interestingly, one of my adapters (a LinkSys) always locks the machine when
plugged into a 100Mbit network, but the other one (a Belkin) never does.
Or at least it hasn't yet.  Fortunately my cable modem only talks 10baseT 
so the LinkSys is fine on there :-)

Anyway, the problem in kern/69319 is quite different and only affects 4.x.

	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  Mon Nov 15 18:30:19 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 1D35516A4CE; Mon, 15 Nov 2004 18:30:19 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id ED71D43D2F; Mon, 15 Nov 2004 18:30:18 +0000 (GMT)
	(envelope-from linimon@FreeBSD.org)
Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1])
	iAFIUIOm034374;	Mon, 15 Nov 2004 18:30:18 GMT
	(envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAFIUIoR034370;
	Mon, 15 Nov 2004 18:30:18 GMT
	(envelope-from linimon)
Date: Mon, 15 Nov 2004 18:30:18 GMT
From: Mark Linimon <linimon@FreeBSD.org>
Message-Id: <200411151830.iAFIUIoR034370@freefall.freebsd.org>
To: nivit@libero.it, linimon@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 <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 18:30:19 -0000

Synopsis: [patch] [usb] getting full desc failed, HID device, STALLED

State-Changed-From-To: open->closed
State-Changed-By: linimon
State-Changed-When: Mon Nov 15 18:29:59 GMT 2004
State-Changed-Why: 
Submitter notes that the problem is resolved in more recent versions
of FreeBSD.

http://www.freebsd.org/cgi/query-pr.cgi?pr=41243

From owner-freebsd-usb@FreeBSD.ORG  Mon Nov 15 19:54:12 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 AA7CB16A4CE
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 19:54:12 +0000 (GMT)
Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net
	[66.42.172.210])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 30C6D43D1F
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 19:54:12 +0000 (GMT)
	(envelope-from mistry.7@osu.edu)
Received: from [192.168.0.5] (adsl-68-250-184-205.dsl.wotnoh.ameritech.net
	[68.250.184.205])	(authenticated bits=0)iAFJYsUJ055245
	(version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO);
	Mon, 15 Nov 2004 14:34:56 -0500 (EST)
	(envelope-from mistry.7@osu.edu)
From: Anish Mistry <mistry.7@osu.edu>
To: a.bonte@netheos.net
Date: Mon, 15 Nov 2004 14:56:52 -0500
User-Agent: KMail/1.7
References: <200411081050.iA8AoS4s008816@freefall.freebsd.org>
	<200411151221.46467.a.bonte@netheos.net>
In-Reply-To: <200411151221.46467.a.bonte@netheos.net>
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart3550909.muMbMAty4m";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200411151456.59506.mistry.7@osu.edu>
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on 
	crumpet.united-ware.com
cc: freebsd-usb@freebsd.org
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
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 19:54:12 -0000

--nextPart3550909.muMbMAty4m
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Monday 15 November 2004 06:21 am, Antonin Bonte wrote:
> Le Lundi 8 Novembre 2004 11:50, Matt Wright a =E9crit=A0:
> >  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
>
> Hi,
>
> I own a Microsoft Wireless Notebook Optical USB  Mouse, i tried
> with 5.2.1 then 5.3-stable , and with 5.3-stable with your patch.
> The mouse still doesn't work ( Without the patch the mouse is
> top-left of X with right button random click, with the patch the
> mouse is top-right X of with random clicks too )
>
> The mouse isn't detected as ums0 but as uhid0.
>
> Nov 15 12:13:29 speedball kernel: uhid0: Microsoft Microsoft USB
> Wireless Mouse, rev 2.00/0.17, addr 2, iclass 3/1
>
Well it isn't working since it's not being detected as a mouse.  You'll=20
want to add the device id to the ums driver and see if that fixes it.

=2D-=20
Anish Mistry

--nextPart3550909.muMbMAty4m
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBmQoLxqA5ziudZT0RAgBDAJ4gV1CtJj3KwlnWsButApa3XDEuPwCgxbEu
Yrki5gJbhJujvhgm5xapSbY=
=PP3g
-----END PGP SIGNATURE-----

--nextPart3550909.muMbMAty4m--

From owner-freebsd-usb@FreeBSD.ORG  Mon Nov 15 20:55:29 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 3C25416A4D0
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 20:55:29 +0000 (GMT)
Received: from mta08-winn.mailhost.ntl.com (mailhost.ntl.com [212.250.162.8])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5439D43D2F
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 20:55:28 +0000 (GMT)
	(envelope-from scott@fishballoon.org)
Received: from aamta05-winn.mailhost.ntl.com ([212.250.162.8])
	by mta08-winn.mailhost.ntl.com with ESMTP
	<20041115205527.MFBP18909.mta08-winn.mailhost.ntl.com@aamta05-winn.mailhost.ntl.com>
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 20:55:27 +0000
Received: from llama.fishballoon.org ([82.4.146.133])
	by aamta05-winn.mailhost.ntl.com with ESMTP
	<20041115205526.ZFV24809.aamta05-winn.mailhost.ntl.com@llama.fishballoon.org>
	for <freebsd-usb@freebsd.org>; Mon, 15 Nov 2004 20:55:26 +0000
Received: from tuatara.fishballoon.org ([192.168.1.6])
	by llama.fishballoon.org with esmtp (Exim 4.43 (FreeBSD))
	id 1CTnsi-0001dT-R2
	for freebsd-usb@freebsd.org; Mon, 15 Nov 2004 20:55:24 +0000
Received: (from scott@localhost)
	by tuatara.fishballoon.org (8.13.1/8.13.1/Submit) id iAFKtSuT000579
	for freebsd-usb@freebsd.org; Mon, 15 Nov 2004 20:55:28 GMT
	(envelope-from scott)
Date: Mon, 15 Nov 2004 20:55:27 +0000
From: Scott Mitchell <scott+freebsd@fishballoon.org>
To: freebsd-usb@freebsd.org
Message-ID: <20041115205527.GA498@tuatara.fishballoon.org>
References: <20041115000815.GD57138@tuatara.fishballoon.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="HlL+5n6rz5pIUxbD"
Content-Disposition: inline
In-Reply-To: <20041115000815.GD57138@tuatara.fishballoon.org>
User-Agent: Mutt/1.4.2.1i
X-Operating-System: FreeBSD 4.10-STABLE i386
Subject: Re: USB Ethernet (aue) panics on 4.10 (kern/69319)
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 20:55:29 -0000


--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Nov 15, 2004 at 12:08:15AM +0000, Scott Mitchell wrote:
> 
> The attached patch [...]

If only I had a dollar for every time I've done that :-)

Here's the patch.

-- 
===========================================================================
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

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="usb.diff"

Index: sys/dev/usb/if_aue.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/if_aue.c,v
retrieving revision 1.19.2.21
diff -u -r1.19.2.21 if_aue.c
--- sys/dev/usb/if_aue.c	16 Apr 2004 18:12:57 -0000	1.19.2.21
+++ sys/dev/usb/if_aue.c	8 Aug 2004 16:26:31 -0000
@@ -270,7 +270,8 @@
 	USETW(req.wIndex, reg);
 	USETW(req.wLength, 1);
 
-	err = usbd_do_request(sc->aue_udev, &req, &val);
+	err = usbd_do_request_flags(sc->aue_udev, &req,
+	    &val, USBD_NO_TSLEEP, NULL, USBD_DEFAULT_TIMEOUT);
 
 	AUE_UNLOCK(sc);
 
@@ -299,7 +300,8 @@
 	USETW(req.wIndex, reg);
 	USETW(req.wLength, 2);
 
-	err = usbd_do_request(sc->aue_udev, &req, &val);
+	err = usbd_do_request_flags(sc->aue_udev, &req,
+	    &val, USBD_NO_TSLEEP, NULL, USBD_DEFAULT_TIMEOUT);
 
 	AUE_UNLOCK(sc);
 
@@ -327,7 +329,8 @@
 	USETW(req.wIndex, reg);
 	USETW(req.wLength, 1);
 
-	err = usbd_do_request(sc->aue_udev, &req, &val);
+	err = usbd_do_request_flags(sc->aue_udev, &req,
+	    &val, USBD_NO_TSLEEP, NULL, USBD_DEFAULT_TIMEOUT);
 
 	AUE_UNLOCK(sc);
 
@@ -355,7 +358,8 @@
 	USETW(req.wIndex, reg);
 	USETW(req.wLength, 2);
 
-	err = usbd_do_request(sc->aue_udev, &req, &val);
+	err = usbd_do_request_flags(sc->aue_udev, &req,
+	    &val, USBD_NO_TSLEEP, NULL, USBD_DEFAULT_TIMEOUT);
 
 	AUE_UNLOCK(sc);
 
@@ -1071,6 +1075,7 @@
 	struct aue_chain	*c = priv;
 	struct aue_softc	*sc = c->aue_sc;
 	struct ifnet		*ifp;
+	struct mbuf		*m;
 	usbd_status		err;
 
 	AUE_LOCK(sc);
@@ -1090,13 +1095,16 @@
 	}
 
 	ifp->if_timer = 0;
-	ifp->if_flags &= ~IFF_OACTIVE;
+
 	usbd_get_xfer_status(c->aue_xfer, NULL, NULL, NULL, &err);
+	m = c->aue_mbuf;
+	c->aue_mbuf = NULL;
 
-	if (c->aue_mbuf != NULL) {
-		c->aue_mbuf->m_pkthdr.rcvif = ifp;
-		usb_tx_done(c->aue_mbuf);
-		c->aue_mbuf = NULL;
+ 	ifp->if_flags &= ~IFF_OACTIVE;
+
+	if (m != NULL) {
+		m->m_pkthdr.rcvif = ifp;
+		usb_tx_done(m);
 	}
 
 	if (err)
@@ -1129,11 +1137,14 @@
 	}
 
 	mii_tick(mii);
-	if (!sc->aue_link && mii->mii_media_status & IFM_ACTIVE &&
-	    IFM_SUBTYPE(mii->mii_media_active) != IFM_NONE) {
-		sc->aue_link++;
-		if (ifp->if_snd.ifq_head != NULL)
-			aue_start(ifp);
+	if (!sc->aue_link) {
+		mii_pollstat(mii);
+		if (mii->mii_media_status & IFM_ACTIVE &&
+		    IFM_SUBTYPE(mii->mii_media_active) != IFM_NONE) {
+			sc->aue_link++;
+			if (ifp->if_snd.ifq_head != NULL)
+				aue_start(ifp);
+		}
 	}
 
 	sc->aue_stat_ch = timeout(aue_tick, sc, hz);
@@ -1391,6 +1402,11 @@
 	AUE_LOCK(sc);
 
 	switch(command) {
+	case SIOCSIFADDR:
+	case SIOCGIFADDR:
+	case SIOCSIFMTU:
+		error = ether_ioctl(ifp, command, data);
+		break;
 	case SIOCSIFFLAGS:
 		if (ifp->if_flags & IFF_UP) {
 			if (ifp->if_flags & IFF_RUNNING &&
@@ -1421,7 +1437,7 @@
 		error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
 		break;
 	default:
-		error = ether_ioctl(ifp, command, data);
+		error = EINVAL;
 		break;
 	}
 
Index: sys/dev/usb/if_cue.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/if_cue.c,v
retrieving revision 1.7.2.8
diff -u -r1.7.2.8 if_cue.c
--- sys/dev/usb/if_cue.c	16 Apr 2004 18:12:57 -0000	1.7.2.8
+++ sys/dev/usb/if_cue.c	8 Aug 2004 17:03:13 -0000
@@ -174,7 +174,8 @@
 	USETW(req.wIndex, reg);
 	USETW(req.wLength, 1);
 
-	err = usbd_do_request(sc->cue_udev, &req, &val);
+	err = usbd_do_request_flags(sc->cue_udev, &req, &val,
+	    USBD_NO_TSLEEP, NULL, USBD_DEFAULT_TIMEOUT);
 
 	CUE_UNLOCK(sc);
 
@@ -202,7 +203,8 @@
 	USETW(req.wIndex, reg);
 	USETW(req.wLength, 2);
 
-	err = usbd_do_request(sc->cue_udev, &req, &val);
+	err = usbd_do_request_flags(sc->cue_udev, &req, &val,
+	    USBD_NO_TSLEEP, NULL, USBD_DEFAULT_TIMEOUT);
 
 	CUE_UNLOCK(sc);
 
@@ -229,7 +231,8 @@
 	USETW(req.wIndex, reg);
 	USETW(req.wLength, 0);
 
-	err = usbd_do_request(sc->cue_udev, &req, NULL);
+	err = usbd_do_request_flags(sc->cue_udev, &req, &val,
+	    USBD_NO_TSLEEP, NULL, USBD_DEFAULT_TIMEOUT);
 
 	CUE_UNLOCK(sc);
 
@@ -257,7 +260,8 @@
 	USETW(req.wIndex, reg);
 	USETW(req.wLength, 0);
 
-	err = usbd_do_request(sc->cue_udev, &req, NULL);
+	err = usbd_do_request_flags(sc->cue_udev,
+	    &req, &val, USBD_NO_TSLEEP, NULL);
 
 	CUE_UNLOCK(sc);
 
@@ -288,7 +292,8 @@
 	USETW(req.wIndex, addr);
 	USETW(req.wLength, len);
 
-	err = usbd_do_request(sc->cue_udev, &req, buf);
+	err = usbd_do_request_flags(sc->cue_udev, &req, &buf,
+	    USBD_NO_TSLEEP, NULL, USBD_DEFAULT_TIMEOUT);
 
 	CUE_UNLOCK(sc);
 
@@ -315,7 +320,8 @@
 	USETW(req.wIndex, 0);
 	USETW(req.wLength, ETHER_ADDR_LEN);
 
-	err = usbd_do_request(sc->cue_udev, &req, buf);
+	err = usbd_do_request_flags(sc->cue_udev, &req, buf,
+	    USBD_NO_TSLEEP, NULL, USBD_DEFAULT_TIMEOUT);
 
 	CUE_UNLOCK(sc);
 
@@ -415,7 +421,9 @@
 	USETW(req.wValue, 0);
 	USETW(req.wIndex, 0);
 	USETW(req.wLength, 0);
-	err = usbd_do_request(sc->cue_udev, &req, NULL);
+	err = usbd_do_request_flags(sc->cue_udev, &req, NULL,
+	    USBD_NO_TSLEEP, NULL, USBD_DEFAULT_TIMEOUT);
+
 	if (err)
 		printf("cue%d: reset failed\n", sc->cue_unit);
 
@@ -780,6 +788,7 @@
 	struct cue_softc	*sc;
 	struct cue_chain	*c;
 	struct ifnet		*ifp;
+	struct mbuf		*m;
 	usbd_status		err;
 
 	c = priv;
@@ -801,13 +810,16 @@
 	}
 
 	ifp->if_timer = 0;
-	ifp->if_flags &= ~IFF_OACTIVE;
+
 	usbd_get_xfer_status(c->cue_xfer, NULL, NULL, NULL, &err);
+	m = c->cue_mbuf;
+	c->cue_mbuf = NULL;
 
-	if (c->cue_mbuf != NULL) {
-		c->cue_mbuf->m_pkthdr.rcvif = ifp;
-		usb_tx_done(c->cue_mbuf);
-		c->cue_mbuf = NULL;
+	ifp->if_flags &= ~IFF_OACTIVE;
+
+	if (m != NULL) {
+		m->m_pkthdr.rcvif = ifp;
+		usb_tx_done(m);
 	}
 
 	if (err)
@@ -1042,6 +1054,11 @@
 	CUE_LOCK(sc);
 
 	switch(command) {
+	case SIOCSIFADDR:
+	case SIOCGIFADDR:
+	case SIOCSIFMTU:
+		error = ether_ioctl(ifp, command, data);
+		break;
 	case SIOCSIFFLAGS:
 		if (ifp->if_flags & IFF_UP) {
 			if (ifp->if_flags & IFF_RUNNING &&
@@ -1069,7 +1086,7 @@
 		error = 0;
 		break;
 	default:
-		error = ether_ioctl(ifp, command, data);
+		error = EINVAL;
 		break;
 	}
 
Index: sys/dev/usb/if_kue.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/if_kue.c,v
retrieving revision 1.17.2.10
diff -u -r1.17.2.10 if_kue.c
--- sys/dev/usb/if_kue.c	1 Mar 2004 00:07:21 -0000	1.17.2.10
+++ sys/dev/usb/if_kue.c	8 Aug 2004 16:29:53 -0000
@@ -192,7 +192,7 @@
 
 	xfer = usbd_alloc_xfer(dev);
 	usbd_setup_default_xfer(xfer, dev, 0, 500000, req,
-	    data, UGETW(req->wLength), USBD_SHORT_XFER_OK, 0);
+	    data, UGETW(req->wLength), USBD_SHORT_XFER_OK|USBD_NO_TSLEEP, 0);
 	err = usbd_sync_transfer(xfer);
 	usbd_free_xfer(xfer);
 	return(err);
@@ -753,6 +753,7 @@
 	struct kue_softc	*sc;
 	struct kue_chain	*c;
 	struct ifnet		*ifp;
+	struct mbuf		*m;
 	usbd_status		err;
 
 	c = priv;
@@ -760,8 +761,6 @@
 	KUE_LOCK(sc);
 
 	ifp = &sc->arpcom.ac_if;
-	ifp->if_timer = 0;
-	ifp->if_flags &= ~IFF_OACTIVE;
 
 	if (status != USBD_NORMAL_COMPLETION) {
 		if (status == USBD_NOT_STARTED || status == USBD_CANCELLED) {
@@ -776,12 +775,17 @@
 		return;
 	}
 
+	ifp->if_timer = 0;
+
 	usbd_get_xfer_status(c->kue_xfer, NULL, NULL, NULL, &err);
+	m = c->kue_mbuf;
+	c->kue_mbuf = NULL;
 
-	if (c->kue_mbuf != NULL) {
-		c->kue_mbuf->m_pkthdr.rcvif = ifp;
-		usb_tx_done(c->kue_mbuf);
-		c->kue_mbuf = NULL;
+	ifp->if_flags &= ~IFF_OACTIVE;
+
+	if (m != NULL) {
+		m->m_pkthdr.rcvif = ifp;
+		usb_tx_done(m);
 	}
 
 	if (err)
@@ -976,6 +980,11 @@
 	KUE_LOCK(sc);
 
 	switch(command) {
+	case SIOCSIFADDR:
+	case SIOCGIFADDR:
+	case SIOCSIFMTU:
+		error = ether_ioctl(ifp, command, data);
+		break;
 	case SIOCSIFFLAGS:
 		if (ifp->if_flags & IFF_UP) {
 			if (ifp->if_flags & IFF_RUNNING &&
@@ -1005,7 +1014,7 @@
 		error = 0;
 		break;
 	default:
-		error = ether_ioctl(ifp, command, data);
+		error = EINVAL;
 		break;
 	}
 
Index: sys/dev/usb/if_rue.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/if_rue.c,v
retrieving revision 1.2.2.3
diff -u -r1.2.2.3 if_rue.c
--- sys/dev/usb/if_rue.c	16 Apr 2004 18:12:57 -0000	1.2.2.3
+++ sys/dev/usb/if_rue.c	8 Aug 2004 16:29:04 -0000
@@ -231,7 +231,8 @@
 	USETW(req.wIndex, 0);
 	USETW(req.wLength, len);
 
-	err = usbd_do_request(sc->rue_udev, &req, buf);
+	err = usbd_do_request_flags(sc->rue_udev, &req, buf,
+	    USBD_NO_TSLEEP, NULL, USBD_DEFAULT_TIMEOUT);
 
 	RUE_UNLOCK(sc);
 
@@ -261,7 +262,8 @@
 	USETW(req.wIndex, 0);
 	USETW(req.wLength, len);
 
-	err = usbd_do_request(sc->rue_udev, &req, buf);
+	err = usbd_do_request_flags(sc->rue_udev, &req, buf,
+	    USBD_NO_TSLEEP, NULL, USBD_DEFAULT_TIMEOUT);
 
 	RUE_UNLOCK(sc);
 
@@ -1008,6 +1010,7 @@
 	struct rue_chain	*c = priv;
 	struct rue_softc	*sc = c->rue_sc;
 	struct ifnet		*ifp;
+	struct mbuf		*m;
 	usbd_status		err;
 
 	RUE_LOCK(sc);
@@ -1028,13 +1031,16 @@
 	}
 
 	ifp->if_timer = 0;
-	ifp->if_flags &= ~IFF_OACTIVE;
+
 	usbd_get_xfer_status(c->rue_xfer, NULL, NULL, NULL, &err);
+	m = c->rue_mbuf;
+	c->rue_mbuf = NULL;
 
-	if (c->rue_mbuf != NULL) {
-		c->rue_mbuf->m_pkthdr.rcvif = ifp;
-		usb_tx_done(c->rue_mbuf);
-		c->rue_mbuf = NULL;
+	ifp->if_flags &= ~IFF_OACTIVE;
+
+	if (m != NULL) {
+		m->m_pkthdr.rcvif = ifp;
+		usb_tx_done(m);
 	}
 
 	if (err)
@@ -1065,11 +1071,14 @@
 	}
 
 	mii_tick(mii);
-	if (!sc->rue_link && mii->mii_media_status & IFM_ACTIVE &&
-	    IFM_SUBTYPE(mii->mii_media_active) != IFM_NONE) {
-		sc->rue_link++;
-		if (ifp->if_snd.ifq_head != NULL)
-			rue_start(ifp);
+	if (!sc->rue_link) {
+		mii_pollstat(mii);
+		if (mii->mii_media_status & IFM_ACTIVE &&
+		    IFM_SUBTYPE(mii->mii_media_active) != IFM_NONE) {
+			sc->rue_link++;
+			if (ifp->if_snd.ifq_head != NULL)
+				rue_start(ifp);
+		}
 	}
 
 	sc->rue_stat_ch = timeout(rue_tick, sc, hz);
@@ -1334,6 +1343,11 @@
 	RUE_LOCK(sc);
 
 	switch (command) {
+	case SIOCSIFADDR:
+	case SIOCGIFADDR:
+	case SIOCSIFMTU:
+		error = ether_ioctl(ifp, command, data);
+		break;
 	case SIOCSIFFLAGS:
 		if (ifp->if_flags & IFF_UP) {
 			if (ifp->if_flags & IFF_RUNNING &&
@@ -1368,7 +1382,7 @@
 		error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
 		break;
 	default:
-		error = ether_ioctl(ifp, command, data);
+		error = EINVAL;
 		break;
 	}
 
Index: sys/dev/usb/usbdi.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/usbdi.c,v
retrieving revision 1.34.2.10
diff -u -r1.34.2.10 usbdi.c
--- sys/dev/usb/usbdi.c	16 Apr 2004 18:12:58 -0000	1.34.2.10
+++ sys/dev/usb/usbdi.c	20 Jul 2004 20:19:44 -0000
@@ -338,8 +338,29 @@
 	s = splusb();
 	if (!xfer->done) {
 		if (pipe->device->bus->use_polling)
-			panic("usbd_transfer: not done");
-		tsleep(xfer, PRIBIO, "usbsyn", 0);
+			panic("usbd_transfer: not done\n");
+		/* XXX Temporary hack XXX */
+		if (xfer->flags & USBD_NO_TSLEEP) {
+			int i;
+			usbd_bus_handle bus = pipe->device->bus;
+			int to = xfer->timeout * 1000;
+			DPRINTFN(2,("usbd_transfer: polling\n"));
+			for (i = 0; i < to; i += 10) {
+				delay(10);
+				bus->methods->do_poll(bus);
+				if (xfer->done)
+					break;
+			}
+			DPRINTFN(2,("usbd_transfer: polling done =\n",
+			    xfer->done));
+			/* XXX Is this right, what about the HC timeout? */
+			if (!xfer->done) {
+				pipe->methods->abort(xfer);
+				xfer->status = USBD_TIMEOUT;
+			}
+		} else
+		/* XXX End hack XXX */
+			tsleep(xfer, PRIBIO, "usbsyn", 0);
 	}
 	splx(s);
 	return (xfer->status);
Index: sys/dev/usb/usbdi.h
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/usbdi.h,v
retrieving revision 1.21.2.4
diff -u -r1.21.2.4 usbdi.h
--- sys/dev/usb/usbdi.h	1 Mar 2004 00:07:23 -0000	1.21.2.4
+++ sys/dev/usb/usbdi.h	20 Jul 2004 20:20:59 -0000
@@ -85,6 +85,9 @@
 /* in usb.h #define USBD_SHORT_XFER_OK	0x04*/	/* allow short reads */
 #define USBD_FORCE_SHORT_XFER	0x08	/* force last short packet on write */
 
+/* XXX Temporary hack XXX */
+#define USBD_NO_TSLEEP		0x80	/* XXX use busy wait */
+
 #define USBD_NO_TIMEOUT 0
 #define USBD_DEFAULT_TIMEOUT 5000 /* ms = 5 s */
 

--HlL+5n6rz5pIUxbD--

From owner-freebsd-usb@FreeBSD.ORG  Tue Nov 16 07:02:30 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 2D57D16A4CE
	for <usb@freebsd.org>; Tue, 16 Nov 2004 07:02:30 +0000 (GMT)
Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7AD8443D1F
	for <usb@freebsd.org>; Tue, 16 Nov 2004 07:02:29 +0000 (GMT)
	(envelope-from wilkinsa@squash.dsto.defence.gov.au)
Received: from ednmsw503.dsto.defence.gov.au (ednmsw503.dsto.defence.gov.au
	[131.185.2.150])
	by digger1.defence.gov.au with ESMTP id iAG71UZg019894
	for <usb@freebsd.org>; Tue, 16 Nov 2004 17:31:30 +1030 (CST)
Received: from muttley.dsto.defence.gov.au (unverified) by 
    ednmsw503.dsto.defence.gov.au (Content Technologies SMTPRS 4.3.10) with 
    ESMTP id <T6d4ed9e5ed83b902965b0@ednmsw503.dsto.defence.gov.au>; Tue, 16 
    Nov 2004 17:32:18 +1030
Received: from ednex501.dsto.defence.gov.au 
    (ednex501.dsto.defence.gov.au [131.185.2.81]) by 
    muttley.dsto.defence.gov.au (8.11.3/8.11.3) with ESMTP id iAG6vCh21496; 
    Tue, 16 Nov 2004 17:27:12 +1030 (CST)
Received: from squash.dsto.defence.gov.au ([131.185.40.212]) by 
    ednex501.dsto.defence.gov.au with SMTP 
    (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 
    RZJDNHPY; Tue, 16 Nov 2004 17:27:05 +1030
Received: from squash.dsto.defence.gov.au (localhost [127.0.0.1]) by 
    squash.dsto.defence.gov.au (8.12.11/8.12.11) with ESMTP id iAG6w1iv058565
    ; Tue, 16 Nov 2004 17:28:01 +1030 (CST) 
    (envelope-from wilkinsa@squash.dsto.defence.gov.au)
Received: (from wilkinsa@localhost) by squash.dsto.defence.gov.au 
    (8.12.11/8.12.11/Submit) id iAG6w1r6058564; Tue, 16 Nov 2004 17:28:01 
    +1030 (CST) (envelope-from wilkinsa)
Date: Tue, 16 Nov 2004 17:28:01 +1030
From: "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au>
To: usb@freebsd.org
Message-ID: <20041116065801.GG58198@squash.dsto.defence.gov.au>
Mail-Followup-To: usb@freebsd.org, imp@bsdimp.com
References: <20041112.083950.81797260.imp@bsdimp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20041112.083950.81797260.imp@bsdimp.com>
User-Agent: Mutt/1.5.6i
Subject: Re: 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 <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Nov 2004 07:02:30 -0000

Warner, for the sake of others reading the archives and myself, can you
please give us all a quick summary of what the diff is between "fast" and
"soft" interrupts ?

Cheers

 - aW

	0n Fri, Nov 12, 2004 at 08:39:50AM -0700, M. Warner Losh wrote: 

	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

From owner-freebsd-usb@FreeBSD.ORG  Tue Nov 16 07:20:51 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 4531216A4CE
	for <usb@freebsd.org>; Tue, 16 Nov 2004 07:20:51 +0000 (GMT)
Received: from harmony.village.org (rover.village.org [168.103.84.182])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CB5FB43D41
	for <usb@freebsd.org>; Tue, 16 Nov 2004 07:20:50 +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 iAG7IH08029821;
	Tue, 16 Nov 2004 00:18:17 -0700 (MST)
	(envelope-from imp@bsdimp.com)
Date: Tue, 16 Nov 2004 00:18:37 -0700 (MST)
Message-Id: <20041116.001837.08405046.imp@bsdimp.com>
To: alex.wilkinson@dsto.defence.gov.au
From: "M. Warner Losh" <imp@bsdimp.com>
In-Reply-To: <20041116065801.GG58198@squash.dsto.defence.gov.au>
References: <20041112.083950.81797260.imp@bsdimp.com>
	<20041116065801.GG58198@squash.dsto.defence.gov.au>
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: 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 <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Nov 2004 07:20:51 -0000

In message: <20041116065801.GG58198@squash.dsto.defence.gov.au>
            "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au> writes:
: Warner, for the sake of others reading the archives and myself, can you
: please give us all a quick summary of what the diff is between "fast" and
: "soft" interrupts ?

First, the patch just make the interrupts MPSAFE.  This means that
they can be called w/o giant being held.  A FAST interrupt has further
restirtions which this patch doesn't quite meet (but could with a
little work).  A normal interrupt MPSAFE or not is scheduled to run
and all the ISRs for that interrupt get called.  A soft interrupt,
also referred to as a SWI sometimes, is a way for the interrupt
handler to be lightweight and have it defer processing of the data a
little so that other ISRs can run with less latency.  A soft interrupt
basically runs when there are no hardware interrupts to service, but
higher in priority than kernel or user threads.

The above is only an approximate flavor of the different terms.

Warner

From owner-freebsd-usb@FreeBSD.ORG  Tue Nov 16 13:17:40 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 971E716A4CE
	for <freebsd-usb@freebsd.org>; Tue, 16 Nov 2004 13:17:40 +0000 (GMT)
Received: from smtp.cegetel.net (mf01.sitadelle.com [212.94.174.78])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0D0BB43D41
	for <freebsd-usb@freebsd.org>; Tue, 16 Nov 2004 13:17:40 +0000 (GMT)
	(envelope-from a.bonte@netheos.net)
Received: from speedball (80-124-167-39.dti.cegetel.net [80.124.167.39])
	by smtp.cegetel.net (Postfix) with ESMTP id CF04937B04
	for <freebsd-usb@freebsd.org>; Tue, 16 Nov 2004 14:17:36 +0100 (CET)
From: Antonin Bonte <a.bonte@netheos.net>
Organization: Netheos
To: freebsd-usb@freebsd.org
Date: Tue, 16 Nov 2004 14:17:30 +0100
User-Agent: KMail/1.7
References: <200411081050.iA8AoS4s008816@freefall.freebsd.org>
	<200411151221.46467.a.bonte@netheos.net> <200411151456.59506.mistry.7@osu.edu>
In-Reply-To: <200411151456.59506.mistry.7@osu.edu>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200411161417.30416.a.bonte@netheos.net>
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: a.bonte@netheos.net
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Nov 2004 13:17:40 -0000

Le Lundi 15 Novembre 2004 20:56, Anish Mistry a =E9crit=A0:
> Well it isn't working since it's not being detected as a mouse.  You'll
> want to add the device id to the ums driver and see if that fixes it.

using the "usbdevs -v"  command i got the product Id for the mouse :=20

#> usbdevs -v
port 1 addr 2: low speed, power 50 mA, config 1, Microsoft USB Wireless=20
Mouse(0x00b9), Microsoft(0x045e), rev 0.17
port 2 powered

then i added :=20

product MICROSOFT WIFIINTELLIMOUSE      0x00b9  Wireless IntelliMouse

to src/sys/dev/usb/usbdevs ( to regenerate the files usbdevs.h and
 usbdevs_data.h )=20

and i rebuild my new kernel. But the mouse still isn't detected as ums, but=
=20
as uhid0.  Is there other files i must modify to get that mice recognized=20
as ums ?=20

Thanks for your help=20

=2D-=20
Antonin Bonte - Netheos
http://www.netheos.net

[ transient bus protocol violation ]

From owner-freebsd-usb@FreeBSD.ORG  Tue Nov 16 17:19:19 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 40A6516A4CE; Tue, 16 Nov 2004 17:19:19 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 1ED6143D39; Tue, 16 Nov 2004 17:19:19 +0000 (GMT)
	(envelope-from linimon@FreeBSD.org)
Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1])
	iAGHJIAw030368;	Tue, 16 Nov 2004 17:19:18 GMT
	(envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAGHJIaC030364;
	Tue, 16 Nov 2004 17:19:18 GMT
	(envelope-from linimon)
Date: Tue, 16 Nov 2004 17:19:18 GMT
From: Mark Linimon <linimon@FreeBSD.org>
Message-Id: <200411161719.iAGHJIaC030364@freefall.freebsd.org>
To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org,
	freebsd-usb@FreeBSD.org
Subject: Re: kern/73999: [usb] USB Freezes when a device is plugged
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Nov 2004 17:19:19 -0000

Old Synopsis: USB Freezes when a device is plugged
New Synopsis: [usb] USB Freezes when a device is plugged

Responsible-Changed-From-To: freebsd-bugs->freebsd-usb
Responsible-Changed-By: linimon
Responsible-Changed-When: Tue Nov 16 17:18:46 GMT 2004
Responsible-Changed-Why: 
Over to mailing list.

http://www.freebsd.org/cgi/query-pr.cgi?pr=73999

From owner-freebsd-usb@FreeBSD.ORG  Tue Nov 16 22:38:50 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 B71D016A4CE; Tue, 16 Nov 2004 22:38:50 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 945B143D1D; Tue, 16 Nov 2004 22:38:50 +0000 (GMT)
	(envelope-from rsm@FreeBSD.org)
Received: from freefall.freebsd.org (rsm@localhost [127.0.0.1])
	iAGMcoI0077860;	Tue, 16 Nov 2004 22:38:50 GMT
	(envelope-from rsm@freefall.freebsd.org)
Received: (from rsm@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAGMcoIl077856;
	Tue, 16 Nov 2004 22:38:50 GMT
	(envelope-from rsm)
Date: Tue, 16 Nov 2004 22:38:50 GMT
From: Scott Mitchell <rsm@FreeBSD.org>
Message-Id: <200411162238.iAGMcoIl077856@freefall.freebsd.org>
To: rsm@FreeBSD.org, freebsd-bugs@FreeBSD.org,
	freebsd-usb@FreeBSD.org
Subject: Re: kern/69319: [usb] Panic when configuring aue(4) adapter on 4.10
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Nov 2004 22:38:50 -0000

Old Synopsis: [aue] panic: aue startup panic
New Synopsis: [usb] Panic when configuring aue(4) adapter on 4.10

Responsible-Changed-From-To: freebsd-bugs->freebsd-usb
Responsible-Changed-By: rsm
Responsible-Changed-When: Tue Nov 16 22:33:33 GMT 2004
Responsible-Changed-Why: 
Assign to the USB mailing list.

http://www.freebsd.org/cgi/query-pr.cgi?pr=69319

From owner-freebsd-usb@FreeBSD.ORG  Wed Nov 17 15:30:26 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 8C7B916A4CE
	for <freebsd-usb@hub.freebsd.org>;
	Wed, 17 Nov 2004 15:30:26 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 72FAE43D2D
	for <freebsd-usb@hub.freebsd.org>;
	Wed, 17 Nov 2004 15:30:26 +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 iAHFUQoP029043
	for <freebsd-usb@freefall.freebsd.org>; Wed, 17 Nov 2004 15:30:26 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAHFUQBL029042;
	Wed, 17 Nov 2004 15:30:26 GMT
	(envelope-from gnats)
Date: Wed, 17 Nov 2004 15:30:26 GMT
Message-Id: <200411171530.iAHFUQBL029042@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
From: John Baldwin <jhb@FreeBSD.org>
Subject: Re: kern/63837: [patch] USB: hid_is_collection() only looks for the
	first item
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: John Baldwin <jhb@FreeBSD.org>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Nov 2004 15:30:26 -0000

The following reply was made to PR kern/63837; it has been noted by GNATS.

From: John Baldwin <jhb@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, nivit@email.it
Cc:  
Subject: Re: kern/63837: [patch] USB: hid_is_collection() only looks for the first item
Date: Wed, 17 Nov 2004 09:59:20 -0500

 So, I think that the first part of the patch (setting h.report_ID to zero) is 
 not needed.  Basically, AFAICT, the effect of the patch is that 
 hid_report_size() will now return the ID of the first device of a given kind 
 rather than the last such device.  This seems to be a horrible interface 
 fwiw, and while this hack might work, I think the real fix is to adopt some 
 of the changes NetBSD made with their uhiddev.
 
 -- 
 John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
 "Power Users Use the Power to Serve"  =  http://www.FreeBSD.org

From owner-freebsd-usb@FreeBSD.ORG  Wed Nov 17 16:00:57 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 AD53B16A4F3
	for <freebsd-usb@hub.freebsd.org>;
	Wed, 17 Nov 2004 16:00:57 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 85B8143D4C
	for <freebsd-usb@hub.freebsd.org>;
	Wed, 17 Nov 2004 16:00:57 +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 iAHG0vNU031002
	for <freebsd-usb@freefall.freebsd.org>; Wed, 17 Nov 2004 16:00:57 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAHG0vIi031001;
	Wed, 17 Nov 2004 16:00:57 GMT
	(envelope-from gnats)
Date: Wed, 17 Nov 2004 16:00:57 GMT
Message-Id: <200411171600.iAHG0vIi031001@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
From: ANISH MISTRY <mistry.7@osu.edu>
Subject: Re: kern/63837: [patch] USB: hid_is_collection() only looks for
 the first item
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: ANISH MISTRY <mistry.7@osu.edu>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Nov 2004 16:00:57 -0000

The following reply was made to PR kern/63837; it has been noted by GNATS.

From: ANISH MISTRY <mistry.7@osu.edu>
To: John Baldwin <jhb@freebsd.org>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/63837: [patch] USB: hid_is_collection() only looks for
 the first item
Date: Wed, 17 Nov 2004 10:59:01 -0500

 I've talked with Ian, and I'm working on getting this bit inline with that NetBSD has so we can put the fix in, and then work on the full HID import sync.
 

From owner-freebsd-usb@FreeBSD.ORG  Wed Nov 17 18:20:30 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 E908416A4DF
	for <freebsd-usb@hub.freebsd.org>;
	Wed, 17 Nov 2004 18:20:30 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D66C143D41
	for <freebsd-usb@hub.freebsd.org>;
	Wed, 17 Nov 2004 18:20: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 iAHIKUgM049591
	for <freebsd-usb@freefall.freebsd.org>; Wed, 17 Nov 2004 18:20:30 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAHIKUqW049590;
	Wed, 17 Nov 2004 18:20:30 GMT
	(envelope-from gnats)
Date: Wed, 17 Nov 2004 18:20:30 GMT
Message-Id: <200411171820.iAHIKUqW049590@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
From: nivit@email.it (Nicola Vitale)
Subject: Re: kern/63837: [patch] USB: hid_is_collection() only looks for the
	first item
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: Nicola Vitale <nivit@email.it>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Nov 2004 18:20:31 -0000

The following reply was made to PR kern/63837; it has been noted by GNATS.

From: nivit@email.it (Nicola Vitale)
To: John Baldwin <jhb@FreeBSD.org>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/63837: [patch] USB: hid_is_collection() only looks for the first item
Date: Wed, 17 Nov 2004 17:11:10 +0100

 Hello,
 
 > [John Baldwin, 2004-11-17T09:59:20-05::00]
 > So, I think that the first part of the patch (setting h.report_ID to zero) is 
 > not needed.  Basically, AFAICT, the effect of the patch is that 
 > hid_report_size() will now return the ID of the first device of a given kind 
 > rather than the last such device.
 
 I'm agree with you. But I can't understand how this patch to hid_report_size()
 can magically eliminate the bug in hid_is_collection(), which this PR originally
 referred to.
 The function hid_is_collection() never calls hid_report_size()
 directly or indirectly.
 
 Thanks, ciao.
 -- 
 Nicola S. Vitale
 nivit@email.it

From owner-freebsd-usb@FreeBSD.ORG  Wed Nov 17 19:50:31 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 7D0A816A4CE
	for <freebsd-usb@hub.freebsd.org>;
	Wed, 17 Nov 2004 19:50:31 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6C49343D4C
	for <freebsd-usb@hub.freebsd.org>;
	Wed, 17 Nov 2004 19:50:31 +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 iAHJoVNf059166
	for <freebsd-usb@freefall.freebsd.org>; Wed, 17 Nov 2004 19:50:31 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAHJoVNK059165;
	Wed, 17 Nov 2004 19:50:31 GMT
	(envelope-from gnats)
Date: Wed, 17 Nov 2004 19:50:31 GMT
Message-Id: <200411171950.iAHJoVNK059165@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
From: John Baldwin <jhb@FreeBSD.org>
Subject: Re: kern/63837: [patch] USB: hid_is_collection() only looks for the
	first item
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: John Baldwin <jhb@FreeBSD.org>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Nov 2004 19:50:31 -0000

The following reply was made to PR kern/63837; it has been noted by GNATS.

From: John Baldwin <jhb@FreeBSD.org>
To: nivit@email.it (Nicola Vitale)
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/63837: [patch] USB: hid_is_collection() only looks for the first item
Date: Wed, 17 Nov 2004 14:25:55 -0500

 On Wednesday 17 November 2004 11:11 am, Nicola Vitale wrote:
 > Hello,
 >
 > > [John Baldwin, 2004-11-17T09:59:20-05::00]
 > > So, I think that the first part of the patch (setting h.report_ID to
 > > zero) is not needed.  Basically, AFAICT, the effect of the patch is that
 > > hid_report_size() will now return the ID of the first device of a given
 > > kind rather than the last such device.
 >
 > I'm agree with you. But I can't understand how this patch to
 > hid_report_size() can magically eliminate the bug in hid_is_collection(),
 > which this PR originally referred to.
 > The function hid_is_collection() never calls hid_report_size()
 > directly or indirectly.
 
 I think it affects the IDs that other drivers use (see uhid.c for example) and 
 thus they use a "more correct" ID.
 
 -- 
 John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
 "Power Users Use the Power to Serve"  =  http://www.FreeBSD.org

From owner-freebsd-usb@FreeBSD.ORG  Wed Nov 17 21:48:10 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 63BF016A4CE
	for <freebsd-usb@FreeBSD.org>; Wed, 17 Nov 2004 21:48:10 +0000 (GMT)
Received: from vsmtp2.tin.it (vsmtp2alice.tin.it [212.216.176.142])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DF5A943D1F
	for <freebsd-usb@FreeBSD.org>; Wed, 17 Nov 2004 21:48:09 +0000 (GMT)
	(envelope-from nivit@email.it)
Received: from psyllobora (82.52.75.81) by vsmtp2.tin.it (7.0.027)
	id 419BC46D000010FE for freebsd-usb@FreeBSD.org;
	Wed, 17 Nov 2004 22:48:07 +0100
Received: (qmail 1342 invoked by uid 1005); 17 Nov 2004 21:41:50 -0000
From: nivit@email.it (Nicola Vitale)
Date: Wed, 17 Nov 2004 22:41:50 +0100
To: John Baldwin <jhb@FreeBSD.org>
Message-ID: <20041117214150.GA1142@Psyllobora>
References: <200411171950.iAHJoVNK059165@freefall.freebsd.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200411171950.iAHJoVNK059165@freefall.freebsd.org>
X-Operating-System: FreeBSD/i386 (http://www.freebsd.org)
User-Agent: Mutt (http://www.mutt.org)
cc: freebsd-usb@FreeBSD.org
Subject: Re: kern/63837: [patch] USB: hid_is_collection() only looks for the
	first item
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Nov 2004 21:48:10 -0000

> [John Baldwin, 2004-11-17T19:50:31+00:00]
>  I think it affects the IDs that other drivers use (see uhid.c for example) and 
>  thus they use a "more correct" ID.

Ah, I thought that hid_is_collection() checked only the presence of a
certain Collection item, not the size of the associated input/output/
feature items too.

Thanks for your explanation, ciao.
-- 
Nicola S. Vitale
nivit@email.it

From owner-freebsd-usb@FreeBSD.ORG  Wed Nov 17 22:43:28 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 7681E16A4CE; Wed, 17 Nov 2004 22:43:28 +0000 (GMT)
Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net
	[66.42.172.210])	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 8982543D3F; Wed, 17 Nov 2004 22:43:26 +0000 (GMT)
	(envelope-from mistry.7@osu.edu)
Received: from [192.168.0.5] (adsl-68-250-184-205.dsl.wotnoh.ameritech.net
	[68.250.184.205])	(authenticated bits=0)iAHMNjUJ005658
	(version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO);
	Wed, 17 Nov 2004 17:23:56 -0500 (EST)
	(envelope-from mistry.7@osu.edu)
From: Anish Mistry <mistry.7@osu.edu>
To: John Baldwin <jhb@freebsd.org>
Date: Wed, 17 Nov 2004 17:45:46 -0500
User-Agent: KMail/1.7
References: <200411171530.iAHFUQBL029042@freefall.freebsd.org>
In-Reply-To: <200411171530.iAHFUQBL029042@freefall.freebsd.org>
MIME-Version: 1.0
Content-Type: Multipart/Mixed;
  boundary="Boundary-00=_rS9mBDUGtup/7UF"
Message-Id: <200411171746.03225.mistry.7@osu.edu>
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on 
	crumpet.united-ware.com
X-Content-Filtered-By: Mailman/MimeDel 2.1.1
cc: Ian Dowse <iedowse@freebsd.org>
cc: freebsd-usb@freebsd.org
Subject: Partial NetBSD HID import
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Nov 2004 22:43:28 -0000

--Boundary-00=_rS9mBDUGtup/7UF
Content-Type: multipart/signed;
  boundary="nextPart1243186.UEaGqOLk3p";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

--nextPart1243186.UEaGqOLk3p
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Ask and yee shall receive.  This is an import of a good chunk of the NetBSD=
=20
HID code.  No uhidev, but our current stuff should work with my little=20
shim.

This should fix the issues in these PRs:
kern/63837
kern/62323
kern/62088

My combo keyboard/mouse set is 100 miles away right now so I can't test it,=
=20
but this hasn't broken my normal usb mouse.  The patch applies to 5-STABLE=
=20
and 6-CURRENT.

http://am-productions.biz/docs/hid-update-part1.patch

=2D-=20
Anish Mistry

--nextPart1243186.UEaGqOLk3p
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBm9SrxqA5ziudZT0RAl9wAJ40FgVXa0s1PXo5ovac6tnKnXJFpwCeKvSb
TcQCLjzcZC/bQDLVele/Ve8=
=Uht2
-----END PGP SIGNATURE-----

--nextPart1243186.UEaGqOLk3p--

--Boundary-00=_rS9mBDUGtup/7UF--

From owner-freebsd-usb@FreeBSD.ORG  Thu Nov 18 06:42:39 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 2526916A4CE
	for <usb@freebsd.org>; Thu, 18 Nov 2004 06:42:39 +0000 (GMT)
Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 42ED243D53
	for <usb@freebsd.org>; Thu, 18 Nov 2004 06:42:33 +0000 (GMT)
	(envelope-from wilkinsa@squash.dsto.defence.gov.au)
Received: from ednmsw503.dsto.defence.gov.au (ednmsw503.dsto.defence.gov.au
	[131.185.2.150])
	by digger1.defence.gov.au with ESMTP id iAI6fXZg005782
	for <usb@freebsd.org>; Thu, 18 Nov 2004 17:11:33 +1030 (CST)
Received: from muttley.dsto.defence.gov.au (unverified) by 
    ednmsw503.dsto.defence.gov.au (Content Technologies SMTPRS 4.3.10) with 
    ESMTP id <T6d59146fc883b902965b0@ednmsw503.dsto.defence.gov.au> for 
    <usb@freebsd.org>; Thu, 18 Nov 2004 17:12:26 +1030
Received: from ednex501.dsto.defence.gov.au 
    (ednex501.dsto.defence.gov.au [131.185.2.81]) by 
    muttley.dsto.defence.gov.au (8.11.3/8.11.3) with ESMTP id iAI6ceh09856 
    for <usb@freebsd.org>; Thu, 18 Nov 2004 17:08:40 +1030 (CST)
Received: from squash.dsto.defence.gov.au ([131.185.40.212]) by 
    ednex501.dsto.defence.gov.au with SMTP 
    (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 
    RZJDRB81; Thu, 18 Nov 2004 17:08:30 +1030
Received: from squash.dsto.defence.gov.au (localhost [127.0.0.1]) by 
    squash.dsto.defence.gov.au (8.12.11/8.12.11) with ESMTP id iAI6db0V068690 
    for <usb@freebsd.org>; Thu, 18 Nov 2004 17:09:37 +1030 (CST) 
    (envelope-from wilkinsa@squash.dsto.defence.gov.au)
Received: (from wilkinsa@localhost) by squash.dsto.defence.gov.au 
    (8.12.11/8.12.11/Submit) id iAI6daWk068689 for usb@freebsd.org; Thu, 18 
    Nov 2004 17:09:36 +1030 (CST) (envelope-from wilkinsa)
Date: Thu, 18 Nov 2004 17:09:36 +1030
From: "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au>
To: usb@freebsd.org
Message-ID: <20041118063936.GB66822@squash.dsto.defence.gov.au>
Mail-Followup-To: usb@freebsd.org
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
User-Agent: Mutt/1.5.6i
Subject: usb3: wrong number of companions (4 != 3)
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Nov 2004 06:42:39 -0000

Hi all,

I addde "device ehci" to my kernel on a 
FreeBSD 5.3-STABLE #12: Thu Nov 18 16:30:58 CST 2004 box. 

And get the following errors upon bootstrap:

	ehci_pci_attach: companion usb0
	ehci_pci_attach: companion usb1
	ehci_pci_attach: companion usb2
	usb3: EHCI version 1.0
	usb3: wrong number of companions (4 != 3)
	ehci0: USB init failed err=13
	device_attach: ehci0 attach returned 5

I'm not sure what the aforementioned error means. Anyone ?

# usbdevs -v

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered


 - aW

From owner-freebsd-usb@FreeBSD.ORG  Fri Nov 19 11:20:29 2004
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
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 838E516A4CE; Fri, 19 Nov 2004 11:20:29 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 5E4DB43D54; Fri, 19 Nov 2004 11:20:29 +0000 (GMT)
	(envelope-from arved@FreeBSD.org)
Received: from freefall.freebsd.org (arved@localhost [127.0.0.1])
	iAJBKTLF058411;	Fri, 19 Nov 2004 11:20:29 GMT
	(envelope-from arved@freefall.freebsd.org)
Received: (from arved@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAJBKSSr058407;
	Fri, 19 Nov 2004 11:20:28 GMT
	(envelope-from arved)
Date: Fri, 19 Nov 2004 11:20:28 GMT
From: Tilman Linneweh <arved@FreeBSD.org>
Message-Id: <200411191120.iAJBKSSr058407@freefall.freebsd.org>
To: arved@FreeBSD.org, freebsd-bugs@FreeBSD.org,
	freebsd-usb@FreeBSD.org
Subject: Re: kern/74088: ohci ehci uhub: port disabled on connecting USB
	memory card reader
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Nov 2004 11:20:29 -0000

Synopsis: ohci ehci uhub: port disabled on connecting USB memory card reader

Responsible-Changed-From-To: freebsd-bugs->freebsd-usb
Responsible-Changed-By: arved
Responsible-Changed-When: Fri Nov 19 11:20:11 GMT 2004
Responsible-Changed-Why: 
Over to new usb mailinglist

http://www.freebsd.org/cgi/query-pr.cgi?pr=74088