Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2008 13:43:56 -0500
From:      Chuck Robey <chuckr@chuckr.org>
To:        "Julian H. Stacey" <jhs@berklix.org>
Cc:        FreeBSD-Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: USB Graphic Tablets
Message-ID:  <47AF45EC.3000602@chuckr.org>
In-Reply-To: <200802092334.m19NYUax000451@fire.js.berklix.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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: <UC-LOGIC Tablet WP8060U, class 0/0, rev 1.10/0.00, addr 2> 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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47AF45EC.3000602>