<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Huion DWH69 not working with libinput 1.4.2 and xf86-input-libinput 0.19"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97771#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Huion DWH69 not working with libinput 1.4.2 and xf86-input-libinput 0.19"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97771">bug 97771</a>
from <span class="vcard"><a class="email" href="mailto:ngoonee@gmail.com" title="ngoonee@gmail.com">ngoonee@gmail.com</a>
</span></b>
<pre>Sorry, will get that soon. But in the mean time, I do have a confirmed working
'driver' provided by the manufacturer, which I believe may be even more useful.
The driver was linked on this forum post -
<a href="http://forum.huiontablet.com/discussion/22/can-dwh69-work-on-linux/p1">http://forum.huiontablet.com/discussion/22/can-dwh69-work-on-linux/p1</a> but I
understand as a random dropbox link not everyone would want to download it. It
contains an 'idc' (for android) file, and instruction file which I replicate
below, and `huiontablet.c` which I've uploaded to pastebin here -
<a href="http://pastebin.com/ykCYrryL">http://pastebin.com/ykCYrryL</a>
The current Arch 4.7.2 kernel could not compile with the provided c file,
producing the following error:-
drivers/hid/huiontablet.c: In function ‘usb_mouse_irq’:
drivers/hid/huiontablet.c:100:3: error: implicit declaration of function ‘err’
[-Werror=implicit-function-declaration]
err ("can't resubmit intr, %s-%s/input0, status %d",
^~~
Simple fix, I just removed the call to 'err' and substituted printk (which was
commented out there, I believe 'err' is used in Android).
Note, I've cleaned up some chinese from the instructions file.
1 huiontablet.c [kernel]/drivers/hid
Copy huiontablet.c to [kernel]/drivers/hid
2 Makefile
Open Makefile ,before the end of file ,you can write
obj-$(CONFIG_HID_HUIONTABLET) += huiontablet.o
3 Kconfig "drivers/hid/usbhid/Kconfig"
Open Kconfig,after "drivers/hid/usbhid/Kconfig" (about Line 60),add
config HID_HUIONTABLET
tristate "Huion tablet"
depends on INPUT
---help---
Support for Huion tablet.
4 hid-ids.h
Open hid-ids.h,before endif(about Line 675),add
#define USB_VENDOR_ID_HUIONTABLET 0x256C
#define USB_DEVICE_ID_HUIONTABLET 0x0005
#define USB_DEVICE_ID_HUIONTABLET2 0x006E
5 [kernel]/drivers/hid/usbhid hid-quirks.c
Enter the folder [kernel]/drivers/hid/usbhid,open hid-quirks.c,in
hid_blacklist struct,before { 0, 0 }£¬add
{ USB_VENDOR_ID_HUIONTABLET,USB_DEVICE_ID_HUIONTABLET,
HID_QUIRK_IGNORE},
{ USB_VENDOR_ID_HUIONTABLET,USB_DEVICE_ID_HUIONTABLET2,
HID_QUIRK_IGNORE},
about Line 90
6 make menuconfig
Device Drivers-> HID Devices-> Huion tablet
open console and enter the kernel folder,
make menuconfig
select Device Drivers-> HID Devices-> Huion tablet
Warning:This guide is according to Linux version 3.0,you can modify according
to the actual circumstance
7 Aodroid ROM Vendor_256c_Product_006e.idc /system/usr/idc
(<a href="https://source.android.com/devices/tech/input/input-device-configuration-files.html">https://source.android.com/devices/tech/input/input-device-configuration-files.html</a>)
After update the kernel of the Android device,you may find the cursor can not
be rotated if the Android device was rotated.Please put the file
Vendor_256c_Product_006e.idc to folder /system/usr/idc/
(refer to
<a href="https://source.android.com/devices/tech/input/input-device-configuration-files.html">https://source.android.com/devices/tech/input/input-device-configuration-files.html</a>)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>