Date: Sun, 29 Feb 2004 16:40:31 +0100 From: Holger Kipp <Holger.Kipp@alogis.com> To: alexander.pohoyda@gmx.net Cc: hardware@freebsd.org Subject: USB 2.0 Hub, patch for BSD stack Message-ID: <20040229164031.A56175@intserv.int1.b.intern> In-Reply-To: <20040229141720.GA447@tuatara.fishballoon.org>; from rsm@freebsd.org on Sun, Feb 29, 2004 at 02:17:20PM %2B0000 References: <Pine.BSF.4.21.0402271745150.23658-100000@InterJet.elischer.org> <20040229141720.GA447@tuatara.fishballoon.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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? Regards, Holger Kipp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040229164031.A56175>