09-04-2016, 02:52 AM
i ran those instructions through interpreter then cleaned and arrived at following. a bit more understandable, but you still have a lot of work to do on this one. good luck.
Code:
duplicates huiontablet.c
2 to open Makefile to [kernel]/drivers/hid table of contents Copy huiontablet.c to [kernel]/drivers/hid, increases following sentence Open Makefile in the end, before the end of file, you can write obj-$(CONFIG_HID_HUIONTABLET) += huiontablet.o
3 opens Kconfig, "drivers/hid/usbhid/Kconfig " increases in source, about 60 lines 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 open hid-ids.h, before 675th line about endif, increases 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 enter [kernel]/drivers/hid/usbhid to open hid-quirks.c, in the hid_blacklist syntagma, {0, before 0}, increases 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}, makes 90th line about Line 90
6 make menuconfig to select Device Drivers-> HID Devices-> Huion tablet open console and enter the kernel folder, the make menuconfig select Device Drivers-> HID Devices-> Huion tablet note: This revision according to the essence edition 3.0, the different essence editions possibly has a difference, please after the actual situation revises Warning:This guide is according to Linux version 3.0, you can modify according to the actual circumstance 7 Aodroid equipment renewal ROM, if the cursor cannot the equipment revolve, please the Vendor_256c_Product_006e.idc document, put the /system/usr/idc table of contents (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