From owner-freebsd-stable@FreeBSD.ORG Mon Jul 13 15:25:50 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B24F106564A for ; Mon, 13 Jul 2009 15:25:50 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: from us1.tomahawkonline.net (us1.tomahawkonline.net [66.98.178.56]) by mx1.freebsd.org (Postfix) with SMTP id BD73C8FC0C for ; Mon, 13 Jul 2009 15:25:49 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: (qmail 31804 invoked by alias); 13 Jul 2009 12:07:32 -0000 Message-ID: <20090713120732.31803.qmail@us1.tomahawkonline.net> From: "Sagara Wijetunga" To: freebsd-stable@freebsd.org Date: Mon, 13 Jul 2009 07:07:32 -0500 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: nsouch@freebsd.org, bishop@rr.iij4u.or.jp, n_hibma@freebsd.org Subject: FreeBSD 7.2 USB stack info needed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2009 15:25:50 -0000 Hi FreeBSD community After an USB thumb drive id pluged in, the devd prints following line: +umass0 vendor=0x0781 product=0x5406 devclass=0x00 devsubclass=0x00 release=0x0200 sernum="087663165D8139E6" intclass=0x08 intsubclass=0x06 at port=0 interface=0 vendor=0x0781 product=0x5406 devclass=0x00 devsubclass=0x00 release=0x0200 sernum="087663165D8139E6" intclass=0x08 intsubclass=0x06 on uhub4 1. Could I know which exact program print above line on /dev/devctl ? 2. I want to print another line with "daN" as the device-name, where N is 0 to 9, with minimum vendor and product ids once the allocated device-name is known for USB Mass Storage devices. Your additional ideas/feedback/help is most welcomed. Kind regards Sagara