On söndag 10 februari 2008, Andrew Zappacky wrote:
> I've tried everything and I simply can not get the tablet to talk to me.
>
> I opened up windows xp in KVM and usb-sniffed it until the tablet
> started talking (oddly, the tablet didn't work in the vm). I then
> edited the wacom driver to send the same sequence of packets, no
> matter what combination of packets i sent, the tablet came back with
> error -32 and didn't talk. I don't know how I should modify these
> packets, I am pasting the output from the usbmonitor from the VM so
> perhaps somebody could give me a hand.
[...]
> f6a98640 2116336662 S Ci:007:00 s 80 06 0100 0000 0040 64 <
> f6a98640 2116336977 C Ci:007:00 0 18 = 12010101 00000008 6a059400 01000000
0001
Put the following code in wacom_probe just before the do-while with call to
usb_get_report and see if that give you any result (found a bug in
usb_get_report, it also returns -32 btw).
{char testdata[128];
int testrval;
testrval = usb_control_msg(dev, usb_rcvctrlpipe(dev, 0),
13, USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN,
1, intf->altsetting[0].desc.bInterfaceNumber,
testdata, 40, 1000);
printk(KERN_INFO "Test msg: %d\n", testrval);
if(testrval > 0) {
int c = 0;
printk(KERN_INFO "Received: ");
for(; c<testrval; c++)
printk("%02x", testdata[c]&0xff);
printk("\n");
}}
Hopefully it should show something familiar (it does on my Volito 2 at least).
[...]
> Any ideas? I'm burned out for the day.
Change '13', USB_TYPE_CLASS, and USB_RECIP_INTERFACE and maybe some of the
other params above. See what you get, and correlate it to the output you get.
If you have another Wacom tablet (that actually is supported and works) use
the usb-sniffer with that one too so you can see the differences.
Cheers
Magnus
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@...
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel