Re: [DIGImend-devel] tinkering with HUION tablet and the hidrd-convert tool to generate a HID repor
Brought to you by:
spb_nick
|
From: Vince H. <Vi...@Pl...> - 2014-12-14 17:13:11
|
[vince@desk2 Huion]$ cat HID-descriptor2.native | hidrd-convert -i hex -o xml Unknown output format "xml". Formats supported by hidrd-convert: natv [IO] - native format . . . where this works [vince@desk2 Huion]$ cat HID-descriptor2.native | hidrd-convert -i hex -o code --- Vince On Sun, Dec 14, 2014 at 11:07 AM, Nikolai Kondrashov <sp...@gm...> wrote: > > Hi Vince, > > Please keep the maillist in CC so others can benefit from our discussion. > Thank you. > > On 12/13/2014 10:55 PM, Vince Herried wrote: > >> Hmmm that wasn't it. it was already installed. >> I don't see any thing missing in the config.log >> $ cat config.log >> > > Please just attach files to messages directly (this time it might make > sense > to compress it). This way they will be preserved in the archive and it > will be > easier to access them. Unless you want to keep them secret, of course. > Thank > you. > > Yes, config.log looks OK. > > What was the exact hidrd-convert invocation that failed for you and what > was > the output? > > Nick > > On 12/13/2014 10:55 PM, Vince Herried wrote: > >> Hmmm that wasn't it. it was already installed. >> I don't see any thing missing in the config.log >> $ cat config.log >> >> >> config.log <https://docs.google.com/file/d/0BwgN_ >> uWIl5AdVENmX3dvZllOV00/edit?usp=drive_web> >> >> >> On Sat, Dec 13, 2014 at 3:02 PM, Nikolai Kondrashov <sp...@gm... >> <mailto:sp...@gm...>> wrote: >> >> 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... <mailto: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 >> >> >> > |