From owner-svn-src-all@FreeBSD.ORG Wed Jan 14 16:54:12 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E95DB1065678; Wed, 14 Jan 2009 16:54:12 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id B7CA48FC20; Wed, 14 Jan 2009 16:54:12 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n0EGs91L020593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Jan 2009 08:54:10 -0800 (PST) (envelope-from sam@freebsd.org) Message-ID: <496E18B1.5020501@freebsd.org> Date: Wed, 14 Jan 2009 08:54:09 -0800 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Hans Petter Selasky References: <200901131901.n0DJ1EF1011980@svn.freebsd.org> <20090114012719.6145076a.stas@FreeBSD.org> <496D1CE0.40401@freebsd.org> <200901141059.20295.hselasky@c2i.net> In-Reply-To: <200901141059.20295.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r187162 - head/usr.sbin/usbconfig X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2009 16:54:14 -0000 Hans Petter Selasky wrote: > On Tuesday 13 January 2009, Sam Leffler wrote: > >> Stanislav Sedov wrote: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> Hi! >>> >>> Would it make sense to rename usbconfig to something like "usbcontrol" >>> to follow the *control tradition (cdcontrol, pmccontrol, vidcontrol, and >>> so on)? >>> >> I don't care what it's called but I think it is important that a >> (sym)link to it named usbdevs w/ provide output that is compatible w/ >> the old tool. >> >> Sam >> > > I tried to make it similar to "ifconfig". > > That's fine. My point was that when running the new usb stack usbdevs does this: trouble% usbdevs trouble% usbdevs -v usbdevs: no USB controllers found while usbconfig does this: trouble% usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen2.3: at usbus2, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ugen2.4: at usbus2, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ugen2.5: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON None of these match the existing behaviour of usbdevs w/ the current stack and we will need that when we switch the default stack to avoid breaking 3rd party scripts that parse the output. Sam