Re: A tablet driver question

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steven Hunt
Date: Tuesday, May 19, 2009 - 11:16 pm

On Tue, May 19, 2009 at 10:12 PM, Greg KH <greg@kroah.com> wrote:

On the product packaging, it says "Hanvon Drawing Tablet"; however
dmesg reports:
HanWang co. HW Micro Drawing Tablet
with a vendor ID of 0B57, and a product ID of 8019.

Full output from 2.6.28-11-generic at device connect:
[ 1673.776066] usb 2-2: new low speed USB device using uhci_hcd and address 5
[ 1673.961620] usb 2-2: configuration #1 chosen from 1 choice
[ 1673.982901] generic-usb 0003:0B57:8019.0005: hiddev96,hidraw1: USB
HID v1.00 Device [HanWang co. HW Micro Drawing Tablet] on
usb-0000:00:1d.0-2/input0


I'm pretty sure that the device uses HID.  On Windows, connecting the
tablet causes two USB devices to show up, one of which is labelled
"HID compatible device".  The communication consists of some
initialization messages (that seem to be state-independent), followed
by a return of 8 bytes of data for each polling request.

Snoopy reports that the functions that show up in the initialization
messages are:
GET_DESCRIPTOR_FROM_DEVICE,
CONTROL_TRANSFER,
SELECT_CONFIGURATION,
CLASS_INTERFACE, and
GET_DESCRIPTOR_FROM_INTERFACE
while the main polling data is simply a BULK_OR_INTERRUPT_TRANSFER.

I can't say I understand the contents of the init messages, but I do
understand the 8 bytes that come back after each poll.

Thanks for the quick reply!

Steve
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[No subject], , (Wed Dec 31, 5:00 pm)
Dearest Beloved,, Mr. Kunio Uematsu, (Tue Mar 16, 12:52 pm)
Hope to hear from you soon., Christopher Green, (Tue Oct 26, 12:02 pm)
Kick off the Linux Driver Project (again, this time for real), Peter W. Morreale, (Thu Sep 27, 6:21 am)
Kick off the Linux Driver Project (again, this time for real), Peter W. Morreale, (Thu Sep 27, 6:55 am)
Kick off the Linux Driver Project (again, this time for real), Peter W. Morreale, (Thu Sep 27, 7:58 am)
Kick off the Linux Driver Project (again, this time for real), Tomasz Grzegurzko, (Thu Sep 27, 6:40 pm)
JOINT VENTURE., ming yang, (Sun Dec 23, 5:41 am)
broken mailing list, try 47..., Greg KH, (Fri Jan 11, 12:12 pm)
Re: broken mailing list, try 47..., Steven Le Roux, (Sat Jan 12, 11:10 am)
Re: broken mailing list, try 47..., stuart, (Sat Jan 12, 3:56 pm)
Mailing Lists, Tomasz Grzegurzko, (Fri Feb 8, 5:22 pm)
what is the status of this initiative ?, JoJo jojo, (Thu Mar 13, 12:20 am)
Re: what is the status of this initiative ?, Greg KH, (Thu Mar 13, 7:51 am)
Re: what is the status of this initiative ?, Javi Roman, (Thu Mar 13, 10:13 am)
Re: what is the status of this initiative ?, Davide Madrisan, (Thu Mar 13, 10:30 am)
Re: what is the status of this initiative ?, Greg KH, (Thu Mar 13, 10:36 am)
[patch 00/10] firedtv: a few more updates, Stefan Richter, (Mon Sep 29, 10:15 am)
[patch 08/10] firedtv: remove unused struct members, Stefan Richter, (Mon Sep 29, 10:21 am)
Re: [patch 00/10] firedtv: a few more updates, Stefan Richter, (Mon Sep 29, 10:46 am)
Gettinng started with Linux drivers, Amit Uttamchandani, (Fri Apr 10, 3:04 pm)
Re: Gettinng started with Linux drivers, Stefan Richter, (Sat Apr 11, 3:00 am)
Re: Gettinng started with Linux drivers, Amit Uttamchandani, (Sun Apr 12, 6:08 pm)
Re: Gettinng started with Linux drivers, Stefan Richter, (Mon Apr 13, 12:39 am)
A tablet driver question, Steven Hunt, (Tue May 19, 9:49 pm)
Re: A tablet driver question, Greg KH, (Tue May 19, 10:12 pm)
Re: A tablet driver question, Steven Hunt, (Tue May 19, 11:16 pm)
Re: A tablet driver question, Jiri Slaby, (Wed May 20, 12:19 am)
Re: A tablet driver question, Steven Hunt, (Wed May 20, 8:58 am)
Re: A tablet driver question, Jiri Slaby, (Wed May 20, 9:24 am)
Re: A tablet driver question, Mohamed Ikbel Boulabiar, (Wed May 20, 9:50 am)
Re: A tablet driver question, Jiri Kosina, (Thu May 21, 1:33 am)