Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Feb 2004 12:11:48 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        freebsd-stable@freebsd.org
Cc:        alexander.pohoyda@gmx.net
Subject:   Re: freebsd-stable Digest, Vol 49, Issue 7
Message-ID:  <Pine.BSF.4.21.0402291208140.27862-100000@InterJet.elischer.org>
In-Reply-To: <20040229200317.A6D1116A4DB@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sun, 29 Feb 2004 freebsd-stable-request@freebsd.org wrote:
> Date: Sun, 29 Feb 2004 16:40:31 +0100
> From: Holger Kipp <Holger.Kipp@alogis.com>
> 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 <Holger.Kipp@alogis.com>
> 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
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0402291208140.27862-100000>