From owner-freebsd-current@FreeBSD.ORG Mon Aug 6 12:14:34 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEB5616A469 for ; Mon, 6 Aug 2007 12:14:34 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 527CA13C457 for ; Mon, 6 Aug 2007 12:14:34 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (vader.bytemobile.ondsl.gr [83.235.244.135]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l76CE2m9023295 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 Aug 2007 15:14:13 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l76CDi67063570; Mon, 6 Aug 2007 15:14:00 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l76CDfqc063569; Mon, 6 Aug 2007 15:13:41 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 6 Aug 2007 15:13:41 +0300 From: Giorgos Keramidas To: ticso@cicely.de Message-ID: <20070806121340.GA63533@kobe.laptop> References: <20070806003120.GA13806@kobe.laptop> <20070806092649.GK41893@cicely12.cicely.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070806092649.GK41893@cicely12.cicely.de> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.907, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.49, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-current@freebsd.org Subject: Re: odd usbdevs output 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, 06 Aug 2007 12:14:34 -0000 On 2007-08-06 11:26, Bernd Walter wrote: >On Mon, Aug 06, 2007 at 03:31:20AM +0300, Giorgos Keramidas wrote: >> % keramida@kobe:/home/keramida$ sudo usbdevs -dv >> % Password: >> % [...] >> % Controller /dev/usb4: >> % addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00 >> % uhub4 >> % port 1 addr 2: high speed, power 80 mA, config 1, USB Mass Storage Device(0x0163), ????????y(0x1307), rev 1.00 >> % umass0 >> % [...] >> >> Does the odd `????????y' vendor name mean that the kernel prints >> random `garbage' here? If that is so, how can I use kdb and watch >> this while it happens? > > It does mean, that the device has an unprintable name. > The strings in USB are unicode and the device is free to use non ascii > character, but the kernel has to reduce it to printable ascii ones > and replaces ever other character with an '?'. > But more often than using non ascii characters broken devices uses > plain ascii with garbage in the high byte. > Anyway - it's the device sending non ascii codes. I see. Thanks for the enlightening reply :-)