[Wayland-bugs] [Bug 97771] Huion DWH69 not working with libinput 1.4.2 and xf86-input-libinput 0.19
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Sep 12 07:09:58 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=97771
--- Comment #2 from ngoonee at gmail.com ---
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 -
http://forum.huiontablet.com/discussion/22/can-dwh69-work-on-linux/p1 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 -
http://pastebin.com/ykCYrryL
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
(https://source.android.com/devices/tech/input/input-device-configuration-files.html)
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
https://source.android.com/devices/tech/input/input-device-configuration-files.html)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160912/c4133438/attachment.html>
More information about the wayland-bugs
mailing list