usbd not opening all usb busses for event watching.

John Baldwin jhb at FreeBSD.org
Tue Jun 21 17:08:53 GMT 2005


On Monday 20 June 2005 05:06 pm, Darren Pilgrim wrote:
> 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.

What was the PR number?

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-current mailing list