From owner-freebsd-usb@FreeBSD.ORG Sat Mar 22 19:54:59 2008 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 7F6F5106564A for ; Sat, 22 Mar 2008 19:54:59 +0000 (UTC) (envelope-from markus@FreeBSD.org) Received: from mail-in-06.arcor-online.net (mail-in-06.arcor-online.net [151.189.21.46]) by mx1.freebsd.org (Postfix) with ESMTP id 3ED848FC19 for ; Sat, 22 Mar 2008 19:54:59 +0000 (UTC) (envelope-from markus@FreeBSD.org) Received: from mail-in-04-z2.arcor-online.net (mail-in-04-z2.arcor-online.net [151.189.8.16]) by mail-in-06.arcor-online.net (Postfix) with ESMTP id D480E97B5D; Sat, 22 Mar 2008 20:54:48 +0100 (CET) Received: from mail-in-14.arcor-online.net (mail-in-14.arcor-online.net [151.189.21.54]) by mail-in-04-z2.arcor-online.net (Postfix) with ESMTP id C75C7ABAE7; Sat, 22 Mar 2008 20:54:48 +0100 (CET) Received: from galaxy.homeunix.org (dslb-084-061-049-204.pools.arcor-ip.net [84.61.49.204]) by mail-in-14.arcor-online.net (Postfix) with ESMTP id ABF25187B22; Sat, 22 Mar 2008 20:54:48 +0100 (CET) Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) by galaxy.homeunix.org (Postfix) with ESMTP id BCB5E3F508; Sat, 22 Mar 2008 20:52:30 +0100 (CET) From: Markus Brueffer To: freebsd-usb@freebsd.org Date: Sat, 22 Mar 2008 20:54:32 +0100 User-Agent: KMail/1.9.7 References: <47E2E97D.3050101@chuckr.org> In-Reply-To: <47E2E97D.3050101@chuckr.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart16754271.G91KtTelN7"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200803222054.33059.markus@FreeBSD.org> X-Virus-Scanned: ClamAV 0.92.1/6329/Sat Mar 22 14:53:30 2008 on mail-in-14.arcor-online.net X-Virus-Status: Clean Cc: Subject: Re: dumping usb device reports 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: Sat, 22 Mar 2008 19:54:59 -0000 --nextPart16754271.G91KtTelN7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Donnerstag, 20. M=E4rz 2008 23:47:25 schrieb Chuck Robey: > I need to take a look at what crud comes in from my tablet, because I need > to test my understanding of it's configuration descriptors. Ultimately,= I > need to be able to view the raw data in hex. I'm NOT talking about the > stuff that krepdump puts out (thje configuration descriptors) I'm talking > about the reports. Anyone know how I might do this? Understand, the > device I'm talking about has no FreeBSD device, so it won't just have a > device file in /dev/ I could dump from. Let uhid(4) attach to the device (remove ums(4) from your kernel config if= =20 neccessary or unload the ums(4) module), then: # cat /dev/uhid0 | hd Markus --nextPart16754271.G91KtTelN7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBH5WP51I0Qcnj4qNQRAjvXAJ9VV68DWQk+c3XNTSpLk4cjEsDVkwCePx+i GA0Zr9SesK/rDnIeEkdKqGg= =fZqA -----END PGP SIGNATURE----- --nextPart16754271.G91KtTelN7--