From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 10 18:49:18 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0930816A419 for ; Sun, 10 Feb 2008 18:49:18 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id 00C5D13C448 for ; Sun, 10 Feb 2008 18:49:17 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 12029 invoked from network); 10 Feb 2008 18:49:17 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 10 Feb 2008 18:49:17 -0000 Message-ID: <47AF45EC.3000602@chuckr.org> Date: Sun, 10 Feb 2008 13:43:56 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: "Julian H. Stacey" References: <47ADFD2C.80009@chuckr.org> <200802091951.m19JpJfj096492@fire.js.berklix.net> <47AE0BFA.5030007@chuckr.org> <200802092216.m19MGgte098739@fire.js.berklix.net> <47AE2628.3070500@chuckr.org> <200802092334.m19NYUax000451@fire.js.berklix.net> In-Reply-To: <200802092334.m19NYUax000451@fire.js.berklix.net> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD-Hackers Subject: Re: USB Graphic Tablets X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 18:49:18 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Julian H. Stacey wrote: > Chuck Robey wrote: > Ah, sorry, forgot to say: Using a 2nd PC as traffic monitor. > > You'd issue probe from FreeBSD to USB device using whatever tools, > & the (Gasp! Wash my mouth out with soap!) - MS.EXE prog running > on a 2nd PC would trap a copy of traffic in each direction, > synchronising the 2 as well I believe though never tried it. The > 2nd monitoring (MS) PC uses 2 USB ports, one to copy FreeSBD PC to > tablet device traffic, & the other port to copy tablet to FreeBSD > traffic. ... & you have to make up a special USB cable, eg a male > to female USB extender cable, with tapped copies of signal in each > direction going to 2 extra USB connectors to 2 ports on 2nd monitor > PC. Sane developers seem to do that a lot on new unknown USB > scanners. > > >> but I know darn well you're right more often than I am, so I >> will give a good look at that list anyhow. > > Non tech flippancy: > Chuckle, dreadful thought to be wise! .. BBC's Hitchkikers Guide > To The Galaxy: To leader of bird people: "What do we call you ?" > "Well, some call me the wise .. old .. bird" ponderously said > by John Le Mesurier (Sergeant Wilson in BBC's 'Dad's Army') :-) Well, while I do have extra machines, none of them run MS, so that's no help for me. Kai Wang gave me an extremely nice kernel module, he's named it krepdump, and it's made a really remarkable report. I think I will cut and paste it here, it's obviously full of info, but I don't yet really know how to interpret it. I mailed a better description of the tablet to Kai separately (and also to the usb list), maybe that info might be of help in making sense of this: What follows is all from my dmesg. [report desc size=212] USAGE PAGE Digitizer(13) USAGE Pen(2) COLLECTION Application(1) REPORT ID 7 USAGE Stylus(32) COLLECTION Physical(0) USAGE Tip Switch(66) USAGE Barrel Switch(68) USAGE Eraser(69) LOGICAL MINIMUM 0 LOGICAL MAXIMUM 1 REPORT SIZE 1 REPORT COUNT 3 INPUT ( Data Variable Absolute ) (2) REPORT COUNT 3 INPUT ( Const Variable Absolute ) (3) USAGE In Range(50) REPORT COUNT 1 INPUT ( Data Variable Absolute ) (2) REPORT COUNT 1 INPUT ( Const Variable Absolute ) (3) USAGE PAGE Generic Desktop(1) USAGE X(48) REPORT SIZE 16 REPORT COUNT 1 PUSH UNIT EXPONENT 13 UNIT Seconds(51) PHYSICAL MINIMUM 0 PHYSICAL MAXIMUM 8000 LOGICAL MAXIMUM 16000 INPUT ( Data Variable Absolute ) (2) USAGE Y(49) PHYSICAL MAXIMUM 6000 LOGICAL MAXIMUM 12000 INPUT ( Data Variable Absolute ) (2) POP USAGE PAGE Digitizer(13) USAGE Tip Pressure(48) LOGICAL MAXIMUM 1023 INPUT ( Data Variable Absolute ) (2) REPORT SIZE 16 END COLLECTION END COLLECTION USAGE PAGE Generic Desktop(1) USAGE Mouse(2) COLLECTION Application(1) REPORT ID 8 USAGE Pointer(1) COLLECTION Physical(0) USAGE PAGE Button(9) USAGE MINIMUM Button1(1) USAGE MAXIMUM Button3(3) LOGICAL MINIMUM 0 LOGICAL MAXIMUM 1 REPORT COUNT 3 REPORT SIZE 1 INPUT ( Data Variable Absolute ) (2) REPORT COUNT 5 INPUT ( Const Array Absolute ) (1) USAGE PAGE Generic Desktop(1) USAGE X(48) USAGE Y(49) USAGE Wheel(56) USAGE Undefined(0) LOGICAL MINIMUM -127 LOGICAL MAXIMUM 127 REPORT SIZE 8 REPORT COUNT 4 INPUT ( Data Variable Relative ) (6) END COLLECTION END COLLECTION USAGE PAGE Generic Desktop(1) USAGE Mouse(2) COLLECTION Application(1) REPORT ID 9 USAGE Pointer(1) COLLECTION Physical(0) USAGE PAGE Button(9) USAGE MINIMUM Button1(1) USAGE MAXIMUM Button3(3) LOGICAL MINIMUM 0 LOGICAL MAXIMUM 1 REPORT COUNT 3 REPORT SIZE 1 INPUT ( Data Variable Absolute ) (2) REPORT COUNT 5 INPUT ( Const Array Absolute ) (1) USAGE PAGE Generic Desktop(1) USAGE X(48) USAGE Y(49) LOGICAL MINIMUM 0 LOGICAL MAXIMUM 32767 PHYSICAL MINIMUM 0 PHYSICAL MAXIMUM 32767 REPORT COUNT 2 REPORT SIZE 16 INPUT ( Data Variable Absolute ) (2) USAGE PAGE Digitizer(13) USAGE Tip Pressure(48) LOGICAL MAXIMUM 1023 REPORT COUNT 1 REPORT SIZE 16 INPUT ( Data Variable Absolute ) (2) END COLLECTION END COLLECTION ums0: on uhub0 ums0: X report 0x0002 not supported device_attach: ums0 attach returned 6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHr0Xsz62J6PPcoOkRAvBWAKCWF2MEedgY8jnmOmmopS4m7Ww86wCgoEj7 /HeovqjS5bPdU4sbSlONdD4= =aplG -----END PGP SIGNATURE-----