From owner-freebsd-current@FreeBSD.ORG Tue Jun 21 17:08:53 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F7D316A41C for ; Tue, 21 Jun 2005 17:08:53 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 318B443D5D for ; Tue, 21 Jun 2005 17:08:51 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.41.231] (Not Verified[65.202.103.25]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Tue, 21 Jun 2005 13:22:23 -0400 From: John Baldwin To: "Darren Pilgrim" Date: Tue, 21 Jun 2005 12:55:45 -0400 User-Agent: KMail/1.8 References: <001601c575db$f8527bd0$0b2a15ac@SMILEY> In-Reply-To: <001601c575db$f8527bd0$0b2a15ac@SMILEY> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506211255.45837.jhb@FreeBSD.org> Cc: freebsd-current@FreeBSD.org Subject: Re: usbd not opening all usb busses for event watching. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2005 17:08:53 -0000 On Monday 20 June 2005 05:06 pm, Darren Pilgrim wrote: > From: John Baldwin [mailto:jhb@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@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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org