Driver does not work on the kernel 3.x (Linux Mint 13 “Maya” or Ubuntu 12.04 "Precise")

Bug #1029951 reported by Yaroslav
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Wizardpen
New
Undecided
Unassigned

Bug Description

Tablet HuionH580

uname -a:
Linux konan-linux 3.5.0-6-generic #7~edgers2-Ubuntu SMP Tue Jul 24 19:43:31 UTC 2012 i686 athlon i386 GNU/Linux

This device (lsusb):
Bus 002 Device 004: ID 5543:006e UC-Logic Technology Corp.

xorg.log:
[ 3724.585] (II) config/udev: Adding input device HV HuionH580 (/dev/input/mouse0)
[ 3724.585] (II) No input driver specified, ignoring this device.
[ 3724.585] (II) This device may have been added with another device file.
[ 3724.586] (II) config/udev: Adding input device HV HuionH580 (/dev/input/event3)
[ 3724.586] (**) HV HuionH580: Applying InputClass "evdev tablet catchall"
[ 3724.586] (**) HV HuionH580: Applying InputClass "wizardpen"
[ 3724.586] (II) LoadModule: "wizardpen"
[ 3724.587] (II) Loading /usr/lib/xorg/modules/input/wizardpen_drv.so
[ 3724.587] (II) Module wizardpen: vendor="X.Org Foundation"
[ 3724.587] compiled for 1.10.1, module version = 0.8.1
[ 3724.587] Module class: X.Org XInput Driver
[ 3724.587] ABI class: X.Org XInput driver, version 12.3
[ 3724.587] (EE) module ABI major version (12) doesn't match the server's version (16)
[ 3724.587] (II) UnloadModule: "wizardpen"
[ 3724.587] (II) Unloading wizardpen
[ 3724.587] (EE) Failed to load module "wizardpen" (module requirement mismatch, 0)
[ 3724.587] (EE) No input driver matching `wizardpen'
[ 3724.591] (II) config/udev: Adding input device HV HuionH580 (/dev/input/mouse1)
[ 3724.591] (II) No input driver specified, ignoring this device.
[ 3724.591] (II) This device may have been added with another device file.
[ 3724.592] (II) config/udev: Adding input device HV HuionH580 (/dev/input/event4)
[ 3724.592] (**) HV HuionH580: Applying InputClass "evdev pointer catchall"
[ 3724.592] (**) HV HuionH580: Applying InputClass "evdev tablet catchall"
[ 3724.592] (**) HV HuionH580: Applying InputClass "wizardpen"
[ 3724.592] (II) LoadModule: "wizardpen"
[ 3724.592] (II) Loading /usr/lib/xorg/modules/input/wizardpen_drv.so
[ 3724.592] (II) Module wizardpen: vendor="X.Org Foundation"
[ 3724.592] compiled for 1.10.1, module version = 0.8.1
[ 3724.592] Module class: X.Org XInput Driver
[ 3724.592] ABI class: X.Org XInput driver, version 12.3
[ 3724.592] (EE) module ABI major version (12) doesn't match the server's version (16)
[ 3724.592] (II) UnloadModule: "wizardpen"
[ 3724.592] (II) Unloading wizardpen
[ 3724.592] (EE) Failed to load module "wizardpen" (module requirement mismatch, 0)
[ 3724.592] (EE) No input driver matching `wizardpen'
[ 3724.593] (II) config/udev: Adding input device HV HuionH580 (/dev/input/event5)
[ 3724.593] (**) HV HuionH580: Applying InputClass "evdev keyboard catchall"
[ 3724.593] (**) HV HuionH580: Applying InputClass "evdev tablet catchall"
[ 3724.593] (**) HV HuionH580: Applying InputClass "wizardpen"
[ 3724.594] (II) LoadModule: "wizardpen"
[ 3724.594] (II) Loading /usr/lib/xorg/modules/input/wizardpen_drv.so
[ 3724.594] (II) Module wizardpen: vendor="X.Org Foundation"
[ 3724.594] compiled for 1.10.1, module version = 0.8.1
[ 3724.594] Module class: X.Org XInput Driver
[ 3724.594] ABI class: X.Org XInput driver, version 12.3
[ 3724.594] (EE) module ABI major version (12) doesn't match the server's version (16)
[ 3724.594] (II) UnloadModule: "wizardpen"
[ 3724.594] (II) Unloading wizardpen
[ 3724.594] (EE) Failed to load module "wizardpen" (module requirement mismatch, 0)
[ 3724.594] (EE) No input driver matching `wizardpen'

Revision history for this message
Pablo Benavides (dinazafarraya) wrote :

Hi there!.

So too in Ubuntu 12.04 Precise Pangolin with Genius WP8060U.

This is my info:

uname -r
3.2.0-26-generic

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 001 Device 003: ID 06f8:3005 Guillemot Corp. Hercules Dualpix Exchange
Bus 004 Device 002: ID 5543:0005 UC-Logic Technology Corp. Tablet WP8060U
Bus 005 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub

Xord.log
...
667.253] (II) config/udev: Adding input device UC-LOGIC Tablet WP8060U (/dev/input/event4)
[ 667.253] (**) UC-LOGIC Tablet WP8060U: Applying InputClass "evdev tablet catchall"
[ 667.253] (**) UC-LOGIC Tablet WP8060U: Applying InputClass "wizardpen"
[ 667.253] (II) LoadModule: "wizardpen"
[ 667.253] (II) Loading /usr/lib/xorg/modules/input/wizardpen_drv.so
[ 667.259] (II) Module wizardpen: vendor="X.Org Foundation"
[ 667.259] compiled for 1.10.1, module version = 0.8.1
[ 667.259] Module class: X.Org XInput Driver
[ 667.259] ABI class: X.Org XInput driver, version 12.3
[ 667.259] (EE) module ABI major version (12) doesn't match the server's version (16)
[ 667.259] (II) UnloadModule: "wizardpen"
[ 667.259] (II) Unloading wizardpen
[ 667.259] (EE) Failed to load module "wizardpen" (module requirement mismatch, 0)
[ 667.259] (EE) No input driver matching `wizardpen'
[ 667.260] (II) config/udev: Adding input device UC-LOGIC Tablet WP8060U (/dev/input/mouse0)
[ 667.260] (II) No input driver specified, ignoring this device.
[ 667.260] (II) This device may have been added with another device file.
[ 667.260] (II) config/udev: Adding input device UC-LOGIC Tablet WP8060U (/dev/input/event5)
[ 667.260] (**) UC-LOGIC Tablet WP8060U: Applying InputClass "evdev pointer catchall"
[ 667.260] (**) UC-LOGIC Tablet WP8060U: Applying InputClass "evdev tablet catchall"
[ 667.260] (**) UC-LOGIC Tablet WP8060U: Applying InputClass "wizardpen"
[ 667.260] (II) LoadModule: "wizardpen"
[ 667.260] (II) Loading /usr/lib/xorg/modules/input/wizardpen_drv.so
[ 667.260] (II) Module wizardpen: vendor="X.Org Foundation"
[ 667.260] compiled for 1.10.1, module version = 0.8.1
[ 667.260] Module class: X.Org XInput Driver
[ 667.261] ABI class: X.Org XInput driver, version 12.3
[ 667.261] (EE) module ABI major version (12) doesn't match the server's version (16)
[ 667.261] (II) UnloadModule: "wizardpen"
[ 667.261] (II) Unloading wizardpen
[ 667.261] (EE) Failed to load module "wizardpen" (module requirement mismatch, 0)
[ 667.261] (EE) No input driver matching `wizardpen'
[ 667.261] (II) config/udev: Adding input device UC-LOGIC Tablet WP8060U (/dev/input/mouse1)
[ 667.261] (II) No input driver specified, ignoring this device.
[ 667.261] (II) This device may have been added with another device file.
...

Please help.

Saludos, Pablo.

Revision history for this message
Yaroslav (konan-mail) wrote :

Actual problem! And I'm not the only one!

Developers are the driver, please update to 12.04 "Precise".

Revision history for this message
Pablo Benavides (dinazafarraya) wrote :

Hi again:

I solved my problem by simply downloading sources and recompiling.
The problem seems to be driver compiled with the wrong headers.

This stupid thing made me get fool, because i couldn't think something so simple could be happening.

Saludos, Pablo.

Revision history for this message
Yaroslav (konan-mail) wrote :

Hi Pablo.

I'm probably doing something wrong, I do not know enough.
Please, write step by step, how to make recompiling.

Thanks.

Revision history for this message
Pablo Benavides (dinazafarraya) wrote :

Hi Yaroslav:

As you can see in your logfile, the error could be:

[ 3724.587] (EE) module ABI major version (12) doesn't match the server's version (16)

So I thought that if i recompile the module the problem should be solved. And that was it!.

The steps to do that were so simple.

1.- Install all the build essential with sudo apt-get install build-essentials

2.- Download the wizardpen sources from https://launchpad.net/wizardpen/trunk/0.8/+download/xorg-input-wizardpen-0.8.0.tar.gz and untar them to a new directory.

3.- cd to the new directory and do a make command. I can't remember if there were some dependencies to solve. Anyway it so simple to apt-get them.

4º And finally if everything was ok, do a sudo make install

Unplug and replug your tablet and restart your gdm or lightdm service, et voilá... it should be working!.

That's what i did and everything is working ok. I don't know if your problem is similar to mine, but it should be the same since Linux Mint is a derivated from Ubuntu. So...

Good luck.

Saludos, Pablo.

Revision history for this message
negora (negora) wrote :

Hello:

Just when I installed Kubuntu 12.04 (Precise Pangolin) and checked that my tablet had stopped working, I took a look into the file /var/log/Xorg.0.log and saw the line about which you comment above, which reports about the versions mismatch. I thought that it was a problem that required some kind of specific modification in the source code and that I had to wait for a new release of the driver.

Today I've decided to look for more information about this issue and have found this bug report. If months ago I had known that a simple re-compilation of the source code was enough to have it solved... He he he. The next time that I face something similar I'll try to re-compile before giving up so soon :P .

Thank you for the information Pablo!

Revision history for this message
Alejandro Mery (amery) wrote :

@negora: just uninstall the wizardped driver and remove the udev rules file (if you have any). it should work out of the box.

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
http://www.huiontablet.com

Revision history for this message
Martin Owens (doctormo) wrote :

William, that should really be built into a DKMS package so people can install it without recompiling their kernel.

Revision history for this message
lvkz (evilalien) wrote :

^Please do come out with that soon as I'm a noob who doesn't know how to get this working after making the edits

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.