From owner-freebsd-stable@FreeBSD.ORG Sun Feb 29 12:11:53 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D24B16A4CE for ; Sun, 29 Feb 2004 12:11:53 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id F22D643D1D for ; Sun, 29 Feb 2004 12:11:52 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc12) with ESMTP id <2004022920115001200hfroje>; Sun, 29 Feb 2004 20:11:50 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA47251; Sun, 29 Feb 2004 12:11:49 -0800 (PST) Date: Sun, 29 Feb 2004 12:11:48 -0800 (PST) From: Julian Elischer To: freebsd-stable@freebsd.org In-Reply-To: <20040229200317.A6D1116A4DB@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: alexander.pohoyda@gmx.net Subject: Re: freebsd-stable Digest, Vol 49, Issue 7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 20:11:53 -0000 On Sun, 29 Feb 2004 freebsd-stable-request@freebsd.org wrote: > Date: Sun, 29 Feb 2004 16:40:31 +0100 > From: Holger Kipp > Subject: USB 2.0 Hub, patch for BSD stack > To: alexander.pohoyda@gmx.net > Cc: stable@freebsd.org > Message-ID: <20040229164031.A56175@intserv.int1.b.intern> > Content-Type: text/plain; charset=us-ascii > > I have an ednet. USB 2.0 Hub 4-1 which seems to be > identicyl to the Cypress Semiconductor Slim Hub. > > The latest 4.9-STABLE is still missing the patch > > > > --- uhub.c.orig Fri Jul 4 20:17:50 2003 > > > +++ uhub.c Fri Jul 4 21:57:31 2003 > > > @@ -185,7 +185,7 @@ > > > /* Get hub descriptor. */ > > > req.bmRequestType = UT_READ_CLASS_DEVICE; > > > req.bRequest = UR_GET_DESCRIPTOR; > > > - USETW(req.wValue, 0); > > > + USETW2(req.wValue, (dev->address > 1 ? UDESC_HUB : 0), 0); > > > USETW(req.wIndex, 0); > > > USETW(req.wLength, USB_HUB_DESCRIPTOR_SIZE); > > > DPRINTFN(1,("usb_init_hub: getting hub descriptor\n")); > > http://lists.freebsd.org/pipermail/freebsd-hardware/2003-July/000390.html > > The hub is now working on my system, even though detaching and attaching > an 8-in-1 Card Reader (USB 2: hama 46945) several times locks the system > (ie reset required). > > > > Will this patch be MFCd any time soon or was this part just forgotten, > as the other minor patches (usbdevs.h, usbdevs_data.h) made it to > 4.9-STABLE? I'm Merging the entire USB stack today.. have patience.. > > Regards, > Holger Kipp > > ------------------------------ > > Message: 11 > Date: Sun, 29 Feb 2004 16:45:32 +0100 > From: Holger Kipp > Subject: USB 2.0 Hub, patch for BSD stack, addendum > To: alexander.pohoyda@gmx.net > Cc: stable@freebsd.org > Message-ID: <20040229164532.A56871@intserv.int1.b.intern> > Content-Type: text/plain; charset=us-ascii > > Here what happens after detaching and attaching: > > Feb 29 16:43:26 katrin /kernel: umass0: at uhub2 port 4 (addr 3) disconnected > Feb 29 16:43:26 katrin /kernel: (da0:umass-sim0:0:0:0): lost device > Feb 29 16:43:26 katrin /kernel: (da0:umass-sim0:0:0:0): removing device entry > Feb 29 16:43:26 katrin /kernel: umass0: detached > Feb 29 16:43:33 katrin /kernel: umass0: SMSC 223 USB97C223, rev 2.00/1.95, addr 3 > Feb 29 16:43:40 katrin /kernel: umass0: BBB reset failed, IOERROR > Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-in clear stall failed, IOERROR > Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-out clear stall failed, IOERROR > Feb 29 16:43:40 katrin /kernel: umass0: BBB reset failed, IOERROR > Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-in clear stall failed, IOERROR > Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-out clear stall failed, IOERROR > Feb 29 16:43:40 katrin /kernel: umass0: BBB reset failed, IOERROR > Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-in clear stall failed, IOERROR > Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-out clear stall failed, IOERROR > Feb 29 16:43:40 katrin /kernel: umass0: BBB reset failed, IOERROR > Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-in clear stall failed, IOERROR > Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-out clear stall failed, IOERROR > Feb 29 16:43:40 katrin /kernel: umass0: BBB reset failed, IOERROR > Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-in clear stall failed, IOERROR > Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-out clear stall failed, IOERROR > Feb 29 16:43:40 katrin /kernel: umass0: at uhub2 port 4 (addr 3) disconnected > Feb 29 16:43:40 katrin /kernel: umass0: detached > Feb 29 16:43:42 katrin /kernel: umass0: SMSC 223 USB97C223, rev 2.00/1.95, addr 3 > > MfG, > Holger Kipp >