Re: [DIGImend-users] Huion H610PRO generates multiple clicks
Brought to you by:
spb_nick
From: Christopher B. <chr...@gm...> - 2015-03-04 04:29:07
|
On Wed, 4 Mar 2015 02:20:02 +0100 Ulrich Lauther <ulr...@t-...> wrote: >On Wed, Mar 04, 2015 at 01:22:38AM +0200, Nikolai Kondrashov wrote: >> >> Actually, wait with this. I suspect that your problem might be >> caused by the faulty driver-rebinding script (hid-rebind). Could you >> please try the latest master: >> >> https://github.com/DIGImend/digimend-kernel-drivers/archive/master.zip >> > >Compilation does not work: > >/usr/local/src/digimend-kernel-drivers-master/hid-uclogic.c: In >function >‘uclogic_input_configured’: /usr/local/src/digimend-kernel-drivers-master/hid-uclogic.c:764:7: >error: ‘HID_CP_CONSUMER_CONTROL’ undeclared (first use in > this function) >/usr/local/src/digimend-kernel-drivers-master/hid-uclogic.c:764:7: >note: each undeclared identifier is reported only once for each >function it appears >in /usr/local/src/digimend-kernel-drivers-master/hid-uclogic.c:767:7: >error: ‘HID_GD_SYSTEM_CONTROL’ undeclared (first use in this > function) >make[2]: *** >[/usr/local/src/digimend-kernel-drivers-master/hid-uclogic.o] Error 1 >make[1]: *** [_module_/usr/local/src/digimend-kernel-drivers-master] >Error 2 make[1]: Leaving directory >`/usr/src/linux-headers-3.13.0-46-generic' make: *** [modules] Error 2 > >I deleted the whole digimend-kernel-drivers-master directory and then >unpacked the zip-file, to have a clean start. Then "make" in the newly >created directory. > >Maybe some h-file missing? > > > ulrich > I added the following, copied from 3.19 hid.h: #define HID_GD_SYSTEM_CONTROL 0x00010080 #define HID_CP_CONSUMER_CONTROL 0x000c0001 to /usr/src/<kenel-header-version>/linux/hid.h and it compiles now. have not tested yet. -- Regards, Christopher Barry Random geeky fortune: IBM Pollyanna Principle: Machines should work. People should think. |