USB 2.0 Hub, patch for BSD stack

Holger Kipp Holger.Kipp at alogis.com
Sun Feb 29 07:40:37 PST 2004


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


More information about the freebsd-stable mailing list