Re: [DIGImend-devel] tinkering with HUION tablet and the hidrd-convert tool to generate a HID repor
Brought to you by:
spb_nick
|
From: Nikolai K. <sp...@gm...> - 2014-12-13 20:02:12
|
On 12/13/2014 08:27 PM, Vince Herried wrote: > I'm on Fedora F20 Then you need libxml2-devel package installed when configuring and building hidrd. Nick > On Sat, Dec 13, 2014 at 1:23 PM, Nikolai Kondrashov <sp...@gm...> wrote: >> On 12/13/2014 08:15 PM, Vince Herried wrote: >>> >>> the info file gives example of converting the hex input into xml >>> I get invalid output format. >>> the output from your dump program is: >>> $ cat HID-descriptor2.native >>> 05 0D 09 02 A1 01 85 07 09 20 A1 00 09 42 09 44 >>> 09 45 09 3C 09 43 09 44 15 00 25 01 75 01 95 06 >>> 81 02 09 32 75 01 95 01 81 02 81 03 05 01 09 30 >>> 75 10 95 01 A4 55 0D 65 13 35 00 46 10 27 27 40 >>> 9C 00 00 81 02 09 31 46 6A 18 26 A8 61 81 02 B4 >>> 05 0D 09 30 26 FF 07 46 FF 07 55 00 66 11 E1 75 >>> 10 81 02 C0 C0 05 01 09 02 A1 01 85 09 09 01 A1 >>> 00 05 09 19 01 29 03 15 00 25 01 95 03 75 01 81 >>> 02 95 05 81 01 05 01 09 30 75 10 95 01 A4 35 00 >>> 46 00 08 26 00 08 81 02 09 31 46 00 08 26 00 08 >>> 81 02 B4 05 0D 09 30 26 FF 07 46 FF 07 75 10 81 >>> B2 C0 C0 >>> >>> $ cat HID-descriptor2.native | hidrd-convert -i hex -o spec >>> produces >>> >>> but attempt to use -o xml generates error >>> >>> appears the built in help says no xml output available while the >>> info output example shows using -o xml >>> >>> Did I built it wrong? >> >> >> Yes, most likely libxml development package wasn't installed. Check >> "./configure" output. Also, if you use a Debian-based distro, hidrd should >> be >> in the package repositories (although without "hex" format support). >> >> Nick |