Date: Mon, 6 Aug 2007 11:26:50 +0200 From: Bernd Walter <ticso@cicely12.cicely.de> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: freebsd-current@freebsd.org Subject: Re: odd usbdevs output Message-ID: <20070806092649.GK41893@cicely12.cicely.de> In-Reply-To: <20070806003120.GA13806@kobe.laptop> References: <20070806003120.GA13806@kobe.laptop>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 06, 2007 at 03:31:20AM +0300, Giorgos Keramidas wrote: > Hi all, > > I recently acquired a USB stick which seems to work with umass but shows > odd output in "usbdevs": > > % 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. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070806092649.GK41893>