From owner-freebsd-current@FreeBSD.ORG Mon Jun 20 21:06:46 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 9A97D16A41C; Mon, 20 Jun 2005 21:06:46 +0000 (GMT) (envelope-from dmp@bitfreak.org) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7354E43D49; Mon, 20 Jun 2005 21:06:46 +0000 (GMT) (envelope-from dmp@bitfreak.org) Received: from SMILEY (mail.bitfreak.org [65.75.198.146]) by mail.bitfreak.org (Postfix) with ESMTP id 9D8A219F3B; Mon, 20 Jun 2005 14:08:22 -0700 (PDT) From: "Darren Pilgrim" To: "'John Baldwin'" , Date: Mon, 20 Jun 2005 14:06:45 -0700 Message-ID: <001601c575db$f8527bd0$0b2a15ac@SMILEY> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 In-Reply-To: <200506201619.07579.jhb@FreeBSD.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Importance: Normal Cc: 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: Mon, 20 Jun 2005 21:06:46 -0000 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.