Date: Sat, 22 Mar 2008 20:54:32 +0100 From: Markus Brueffer <markus@FreeBSD.org> To: freebsd-usb@freebsd.org Subject: Re: dumping usb device reports Message-ID: <200803222054.33059.markus@FreeBSD.org> In-Reply-To: <47E2E97D.3050101@chuckr.org> References: <47E2E97D.3050101@chuckr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803222054.33059.markus>