From owner-freebsd-usb@FreeBSD.ORG Thu Oct 11 13:04:52 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABD8216A41B for ; Thu, 11 Oct 2007 13:04:52 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 7887E13C469 for ; Thu, 11 Oct 2007 13:04:52 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.13.4) with ESMTP id l9BD2cgm030875; Thu, 11 Oct 2007 07:02:39 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 11 Oct 2007 07:02:49 -0600 (MDT) Message-Id: <20071011.070249.2073896410.imp@bsdimp.com> To: xiaofanc@gmail.com From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Thu, 11 Oct 2007 07:02:39 -0600 (MDT) Cc: freebsd-usb@freebsd.org Subject: Re: VID parser problem with usbdevs X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2007 13:04:52 -0000 In message: "Xiaofan Chen" writes: : Somehow the vendor ID is parsed wrongly. 0x04d8 is for Microchip technology. : : ===[mcuee] ~/Desktop/build/fsusb/fsusb-0.1.11-2 # sudo usbdevs -v : Controller /dev/usb1: : addr 126: full speed, power 100 mA, config 1, product 0x000b(0x000b), : I-Tuner Networks(0x04d8), rev 0.00 : port 4 addr 126: full speed, power 100 mA, config 1, product : 0x000b(0x000b), I-Tuner Networks(0x04d8), rev 0.00 While 4d8 is for microchip technology, we get the name that we print here directly from the usb device itself. What makes you think that the vendor ID is parsed wrong? Warner