Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2005 14:06:45 -0700
From:      "Darren Pilgrim" <dmp@bitfreak.org>
To:        "'John Baldwin'" <jhb@FreeBSD.org>, <freebsd-current@freebsd.org>
Subject:   RE: usbd not opening all usb busses for event watching.
Message-ID:  <001601c575db$f8527bd0$0b2a15ac@SMILEY>
In-Reply-To: <200506201619.07579.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
From: John Baldwin [mailto:jhb@FreeBSD.org]=20
> 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?
>=20
> Actually, it does sound like a bug. :)  I would file a PR and=20
> then post a message with the PR to usb@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001601c575db$f8527bd0$0b2a15ac>