DIGImend / digimend-kernel-drivers

DIGImend graphics tablet drivers for the Linux kernel
GNU General Public License v2.0
1.18k stars 175 forks source link

Huion Q11K not detected #76

Open mifth opened 7 years ago

mifth commented 7 years ago

Hi. I have Linux 64bit, Ubuntu 17.04. I have compiled and installed Digimend but nothing works. ((( My Huion Q11K Inspiroy is not recognized and not seen in xinput --list. My Pen does not work at all. I even cannot move a pointer. (( It seems this is the same issue as here https://github.com/DIGImend/digimend-kernel-drivers/issues/59

MJA0vEsa.txt 33S7rT7w.txt Dy9G4pMW.txt 1SdDM2VL.txt

I also tried to set my conf but it did not help: https://pastebin.com/05E9hQQW

Please, help me if you can! I just need to get my pen get working with 2 its buttons.

Thank you.

stefanv commented 6 years ago

Driver initialization output:

``` [2218061.035885] ish-hid {33AECD58-B679-4E54-9BD9-A04D34F0C226}: [hid-ish]: enum_devices_done OK, num_hid_devices=2 [2218061.270468] Bluetooth: hci0: Waiting for firmware download to complete [2218061.271324] Bluetooth: hci0: Firmware loaded in 1480076 usecs [2218061.271346] Bluetooth: hci0: Waiting for device to boot [2218061.283339] Bluetooth: hci0: Device booted in 11728 usecs [2218061.283343] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-11-5.ddc [2218061.287351] Bluetooth: hci0: Applying Intel DDC parameters completed [2218177.129463] usb 1-1: new full-speed USB device number 64 using xhci_hcd [2218177.282312] usb 1-1: config 1 has an invalid interface number: 1 but max is 0 [2218177.282318] usb 1-1: config 1 has no interface number 0 [2218177.283071] usb 1-1: New USB device found, idVendor=0416, idProduct=a316, bcdDevice= 0.00 [2218177.283076] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [2218177.283080] usb 1-1: Product: WPM USB [2218177.283084] usb 1-1: Manufacturer: NUVOTON [2218177.288850] input: NUVOTON WPM USB as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:0416:A316.0038/input/input75 [2218177.349618] hid-generic 0003:0416:A316.0038: input,hidraw0: USB HID v1.10 Device [NUVOTON WPM USB] on usb-0000:00:14.0-1/input1 [2218180.476329] usb 1-1: USB disconnect, device number 64 [2218180.801457] usb 1-1: new full-speed USB device number 65 using xhci_hcd [2218180.977807] usb 1-1: New USB device found, idVendor=256c, idProduct=006e, bcdDevice= 0.00 [2218180.977814] usb 1-1: New USB device strings: Mfr=5, Product=6, SerialNumber=0 [2218180.988573] uclogic_params_init:894: uclogic 0003:256C:006E.0039: pen v2 parameters found [2218180.988594] uclogic_probe:205: uclogic 0003:256C:006E.0039: parameters: .invalid = false .desc_ptr = (null) .desc_size = 0 .pen_unused = false .pen.desc_ptr = 00000000d98e40f8 .pen.desc_size = 96 .pen.id = 8 .pen.inrange = none .pen.fragmented_hires = true .frame.desc_ptr = 00000000b3840f29 .frame.desc_size = 70 .frame.id = 247 .frame.re_lsb = 0 .frame.dev_id_byte = 0 .pen_frame_flag = 0x20 [2218180.989390] input: HID 256c:006e Pen as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:256C:006E.0039/input/input76 [2218180.989748] input: HID 256c:006e Pad as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:256C:006E.0039/input/input77 [2218180.990088] uclogic 0003:256C:006E.0039: input,hidraw0: USB HID v1.11 Keypad [HID 256c:006e] on usb-0000:00:14.0-1/input0 [2218180.994252] uclogic_probe:205: uclogic 0003:256C:006E.003A: parameters: .invalid = false .desc_ptr = (null) .desc_size = 0 .pen_unused = true .pen.desc_ptr = (null) .pen.desc_size = 0 .pen.id = 0 .pen.inrange = normal .pen.fragmented_hires = false .frame.desc_ptr = (null) .frame.desc_size = 0 .frame.id = 0 .frame.re_lsb = 0 .frame.dev_id_byte = 0 .pen_frame_flag = 0x00 [2218180.994449] uclogic 0003:256C:006E.003A: No inputs registered, leaving [2218180.994595] uclogic 0003:256C:006E.003A: hidraw1: USB HID v1.11 Device [HID 256c:006e] on usb-0000:00:14.0-1/input1 ```
stefanv commented 5 years ago

@spbnick Did the fix for #217 provide any insight as to what might be going on here?

NOOBuntu2 commented 5 years ago

Tried the drivers from konachan700, but when I do lsusb there is no tablet.

MasterJubei commented 5 years ago

I just installed digimend from Aur in manjaro, 9.4r0.98b but it does not do anything for my q11k. I tried to install the deb in Ubuntu and nothing.

Will this be implemented? I also tried kona's drivers which worked for me in Ubuntu and Deepin but not working for me in Manjaro.

I noticed I did not see the uclogic name in lsusb,

but I compared the before and after disconnect. Bus 003 Device 021: ID 256c:006e
It has no identifier, not sure where to start troubleshooting this.

EDIT: Got digimend working! For anyone else, make sure you run all the uninstall scrips then try this:

 sudo rmmod hid-kye
 sudo rmmod hid-uclogic
 sudo rmmod hid-huion

Then reboot, run the installer again from the latest on github.

sudo make
sudo make install

Then it worked, also make sure you have xf86-input-wacom installed, I am pretty sure that had to be installed to get it working, but I can't be sure. I had to install it from aur in Manjaro.

Also if you are using multiple displays and nvidia driver's driver: xsetwacom -v set "Huion Q11K Tablet stylus" MapToOutput HEAD-0

It does not persist after reboot, maps the tablet to your primary display. You can use crontab to do this.

EDIT2: The driver on Manjaro does not work if your kernel is 5.0 or above, the stock 4.19 kernel it will work. Linux kernel 5.1 adds native support for the tablet, but it won't be seen as a Wacom tablet then. Just a generic tablet, but pressure does work. You can't use xsetwacom if you use the default tablet driver.

LuciusTalane commented 5 years ago

Hi Everybody! I just wanted to share an experience. I just installed Ubuntu 19.10 on a new disk, fresh install and the Tablet Huion q11k is working by just plugin it in, I did not install any tablet driver or configuration yet, I've been trying it on Krita and the sensibility works excellent. The only downside for some people could be the tablet's buttons are not working and I cant assign them to any tool on the custom Krita shortcuts (but I never use the tablet's buttons). So I'm pretty happy working on Ubuntu 19.10 right now. I wanted to share it in case any new user is interested in trying this amazing tablet.

MasterJubei commented 5 years ago

Yup I believe since kernel 5.0(maybe 5.1), the drivers are part of the kernel.

avsej commented 4 years ago

I have kernel 5.5.0-0.rc2.git1.1.fc32.x86_64, and my Q11K does not get recognized by the system. Shall I load some module explicitly?

nexar commented 4 years ago

I took delivery of a huion q11k v2 today and plugged it into my ubuntu 16.04 and it is not getting recognised. Cant even move the cursor.

Attached is a uclogic-probe output.

All help gratefully received. uclogic.txt

Since most of this thread relates to q11k v1 I haven't tried implementing any of the suggested solutions.

I'm currently not able to move to a later version of Ubuntu to get kernel 5 which apparently solves the problem.