Comment 4 for bug 994978

Revision history for this message
william2018 (huion-brooks) wrote :

1
  Copy huiontablet.c to [kernel]/drivers/hid

2
  Open Makefile ,before the end of file ,you can write

obj-$(CONFIG_HID_HUIONTABLET) += huiontablet.o

3
  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 endif(about Line 675),add
#define USB_VENDOR_ID_HUIONTABLET 0x256C
#define USB_VENDOR_ID_HUIONTABLET2 0x5543
#define USB_DEVICE_ID_HUIONTABLET 0x0005
#define USB_DEVICE_ID_HUIONTABLET2 0x006E

5
  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},
        { USB_VENDOR_ID_HUIONTABLET2,USB_DEVICE_ID_HUIONTABLET, HID_QUIRK_IGNORE},
        { USB_VENDOR_ID_HUIONTABLET2,USB_DEVICE_ID_HUIONTABLET2, HID_QUIRK_IGNORE},

about Line 90

6 make menuconfig

  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

Huion Install Guide
http://www.huiontablet.com/developer/huion_guide.txt

source code
http://www.huiontablet.com/developer/huiontablet.c

official website/feedback
http://www.huiontablet.com