RE: usbd not opening all usb busses for event watching.

From: Darren Pilgrim <dmp_at_bitfreak.org>
Date: Mon, 20 Jun 2005 14:06:45 -0700
From: John Baldwin [mailto:jhb_at_FreeBSD.org] 
> On Thursday 26 May 2005 12:42 am, Darren Pilgrim wrote:
> > I appear to be running up against the hard-coded limit of four
> > usb hubs in usbd.  The problems were devices not attaching
> > properly.  The machines in question are a new notebook with
> > four USB 2.0 ports and an older desktop with onboard USB 1.1
> > and a USB 2.0 card.  The notebook produces 5 hubs and the
> > desktop produces 7.
> >
> > The problems disappeared after I increased MAXUSBDEV to match
> > the number of hubs present.  This isn't really a bug, so I
> > wasn't sure if send-pr was appropriate.  Should I file a PR
> > for this?
> 
> Actually, it does sound like a bug. :)  I would file a PR and 
> then post a message with the PR to usb_at_FreeBSD.org as that is
> the list of folks who look after the USB code.

I filed a PR, with a patch to bump up MAXUSBDEV to 40.  The PR was
closed and I was told devd will be replacing usbd, so usbd will be
allowed to rot in the tree.  I guess a one-line change to completely fix
severe brokenness in a well-established program is too much trouble.
Received on Mon Jun 20 2005 - 19:06:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:37 UTC