Hi Yusuke,
On 01/07/2013 09:08 AM, yus...@ya... wrote:
> I have Waltop Sirius Battery Free Tablet (172F:0502).
>
> I want to use this tablet with 4000 LPI.
> (Currently, kernel driver supports only 2000 LPI.)
>
> According to http://sourceforge.net/apps/mediawiki/digimend/index.php?title=Waltop_Sirius_Battery_Free_Tablet,
>
>> As probably all the other Waltop tablets, this tablet has other modes than
>> the default. One such mode is enabled by sending 0x10, 0x01 as feature
>> report with ID 0x02. After that, the tablet starts reporting pen
>> coordinates in full resolution of 4000 LPI and all the frame button
>> pressures.
>
> I would like to try 4000 LPI mode experimentally by using libusb-1.0.
>
> To send feature report, I'm not sure which function should I use,
> libusb_control_transfer() or libusb_bulk_transfer() or
> libusb_interrupt_transfer()?
>
> If I should use libusb_control_transfer(), what kind of value should I set
> to bmRequestType and bRequest argument?
I just pushed "waltop" branch of usbhid-dump which I had locally for a long
time and which enables this mode on Waltop tablets:
http://digimend.git.sourceforge.net/git/gitweb.cgi?p=digimend/usbhid-dump.git;a=shortlog;h=refs/heads/waltop
You can take a look at the top commit, or at uhd_iface_set_waltop_mode in
lib/iface.c and its invocation in dump_iface_list_stream in src/usbhid-dump.c.
You can build this branch of usbhid-dump to get dumps with this mode enabled.
Sincerely,
Nick
|