Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] UC-LOGIC WP8060U graphics tablet driver
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Ivorne
n00b
n00b


Joined: 20 Nov 2012
Posts: 11

PostPosted: Thu Nov 29, 2018 8:20 pm    Post subject: [solved] UC-LOGIC WP8060U graphics tablet driver Reply with quote

Hello,
I am trying to get the Genius MousePen 8x6 UC-LOGIC WP8060U graphics tablet working using wizardpen driver (https://launchpad.net/wizardpen). I am using ebuild from jm-overlay (http://gpo.zugaina.org/x11-drivers/wizardpen). I had it working few months ago using this driver. I think that some upgrade messed it up.

I am not realy asking for help with this particular driver. My question is more general about X11 modules. I am sure I will be able to work it out somehow. But I there are some things I need to learn to do that.

The driver works as a xorg plugin. It comes with its udev rules file - /lib/udev/rules.d/67-xorg-wizardpen.rules (mine is the Genius MousePen 8x6 Tablet).
Code:
# to configure the active area, pressure sensitivity and other settings see
# /usr/share/X11/xorg.conf.d/70-wizardpen.conf

ACTION!="add|change", GOTO="xorg_wizardpen_end"
SUBSYSTEM!="input", GOTO="xorg_wizardpen_end"

# KYE Systems Corp Wide Screen Design Tablet TB-7300
ENV{ID_VENDOR_ID}=="0458",  ENV{ID_MODEL_ID}=="5003", ENV{x11_driver}="wizardpen"
# KYE Systems Corp Wide Screen Design Tablet TB-7300
ENV{ID_VENDOR_ID}=="0458",  ENV{ID_MODEL_ID}=="5004", ENV{x11_driver}="wizardpen"
# AceCad Corp Flair II GT-504
ENV{ID_VENDOR_ID}=="0460",  ENV{ID_MODEL_ID}=="0004", ENV{x11_driver}="wizardpen"

# Waltop
ENV{ID_VENDOR_ID}=="172f",  ENV{ID_MODEL_ID}=="0038", ENV{x11_driver}="wizardpen"

# UC-Logic Technology Corp
# SuperPen WP3325U Tablet
ENV{ID_VENDOR_ID}=="5543", ENV{ID_MODEL_ID}=="0002", ENV{x11_driver}="wizardpen"
# WP4030, Genius MousePen 4x3 Tablet/Aquila L1 Tablet
ENV{ID_VENDOR_ID}=="5543", ENV{ID_MODEL_ID}=="0003", ENV{x11_driver}="wizardpen"
# WP5540, Genius MousePen 5x4 Tablet
ENV{ID_VENDOR_ID}=="5543", ENV{ID_MODEL_ID}=="0004", ENV{x11_driver}="wizardpen"
# WP8060, Genius MousePen 8x6 Tablet, Trust TB-6300
ENV{ID_VENDOR_ID}=="5543", ENV{ID_MODEL_ID}=="0005", ENV{x11_driver}="wizardpen"
# Genius PenSketch 6x8 Tablet
ENV{ID_VENDOR_ID}=="5543", ENV{ID_MODEL_ID}=="0041", ENV{x11_driver}="wizardpen"
# Genius PenSketch 12x9 Tablet
ENV{ID_VENDOR_ID}=="5543", ENV{ID_MODEL_ID}=="0042", ENV{x11_driver}="wizardpen"
# Digital Organizer (may not exist)
ENV{ID_VENDOR_ID}=="5543", ENV{ID_MODEL_ID}=="6000", ENV{x11_driver}="wizardpen"
# Genius G-Note 5000
ENV{ID_VENDOR_ID}=="5543", ENV{ID_MODEL_ID}=="6001", ENV{x11_driver}="wizardpen"

# disable the /dev/input/mouseX device
ENV{x11_driver}=="wizardpen", KERNEL=="mouse*", ENV{x11_driver}=""

# Specify this device as a tablet to the xorg config
ENV{x11_driver}=="wizardpen", KERNEL=="event*", ENV{ID_INPUT.tags}="wizardpen"
ENV{x11_driver}=="wizardpen", KERNEL=="event*", ENV{ID_INPUT_TABLET}="1"

LABEL="xorg_wizardpen_end"


And it also has a xorg conf file - /usr/share/X11/xorg.conf.d/70-wizardpen.conf:
Code:
Section "InputClass"
   Identifier "wizardpen"
   MatchIsTablet "on"
   MatchDevicePath "/dev/input/event*"
   MatchTag "wizardpen"
   Driver "wizardpen"
   Option      "TopX"      "1506"
   Option      "TopY"      "2705"
   Option      "BottomX"   "31225"
   Option      "BottomY"   "30892"
EndSection


When I plug the tablet in, xorg crashes. And this is printed to journalctl:
Code:
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (II) config/udev: Adding input device UC-LOGIC Tablet WP8060U (/dev/input/event6)
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (**) UC-LOGIC Tablet WP8060U: Applying InputClass "evdev tablet catchall"
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (**) UC-LOGIC Tablet WP8060U: Applying InputClass "libinput tablet catchall"
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (**) UC-LOGIC Tablet WP8060U: Applying InputClass "wizardpen"
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (II) LoadModule: "wizardpen"
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (II) Loading /usr/lib64/xorg/modules/input/wizardpen_drv.so
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (II) Module wizardpen: vendor="X.Org Foundation"
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]:         compiled for 1.20.1, module version = 0.8.1
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]:         Module class: X.Org XInput Driver
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]:         ABI class: X.Org XInput driver, version 24.1
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (II) Using input driver 'wizardpen' for 'UC-LOGIC Tablet WP8060U'
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (**) UC-LOGIC Tablet WP8060U: always reports core events
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (**) Option "Device" "/dev/input/event6"
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) xf86OpenSerial: Cannot open device /dev/input/event6
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]:         Permission denied.
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) UC-LOGIC Tablet WP8060U: unable to open device
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:5543:0005.0001/input/input9/event6"
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (II) XINPUT: Adding extended input device "UC-LOGIC Tablet WP8060U" (type: WizardPen Tablet, id 10)
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) BUG: triggered 'if (dev->proximity != ((void *)0))'
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) BUG: /var/tmp/portage/x11-base/xorg-server-1.20.1/work/xorg-server-1.20.1/Xi/exevents.c:2082 in InitProximityClassDeviceStruct()
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE)
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) Backtrace:
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 0: /usr/libexec/Xorg (xorg_backtrace+0x4d) [0x55d0dbef569d]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 1: /usr/libexec/Xorg (InitProximityClassDeviceStruct+0x47) [0x55d0dbe842c7]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 2: /usr/lib64/xorg/modules/input/wizardpen_drv.so (0x7f4040537000+0x2c9f) [0x7f4040539c9f]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 3: /usr/libexec/Xorg (ActivateDevice+0x53) [0x55d0dbd990c3]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 4: /usr/libexec/Xorg (0x55d0dbd4d000+0xa0a31) [0x55d0dbdeda31]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 5: /usr/libexec/Xorg (0x55d0dbd4d000+0xb2ec4) [0x55d0dbdffec4]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 6: /usr/libexec/Xorg (0x55d0dbd4d000+0xb3423) [0x55d0dbe00423]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 7: /usr/libexec/Xorg (config_init+0x9) [0x55d0dbdfeec9]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 8: /usr/libexec/Xorg (InitInput+0xc7) [0x55d0dbde2de7]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 9: /usr/libexec/Xorg (0x55d0dbd4d000+0x5b8e1) [0x55d0dbda88e1]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 10: /lib64/libc.so.6 (__libc_start_main+0xe7) [0x7f4049609ae7]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 11: /usr/libexec/Xorg (_start+0x2a) [0x55d0dbd9255a]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE)
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) UC-LOGIC Tablet WP8060U: unable to allocate ProximityClassDeviceStruct
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (**) UC-LOGIC Tablet WP8060U: (accel) keeping acceleration scheme 1
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (**) UC-LOGIC Tablet WP8060U: (accel) acceleration profile 0
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (**) UC-LOGIC Tablet WP8060U: (accel) acceleration factor: 2.000
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (**) UC-LOGIC Tablet WP8060U: (accel) acceleration threshold: 4
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) xf86OpenSerial: Cannot open device /dev/input/event6
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]:         Permission denied.
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (WW) UC-LOGIC Tablet WP8060U: cannot open input device /dev/input/event6: Permission denied
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: [dix] couldn't enable device 10
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) Couldn't init device "UC-LOGIC Tablet WP8060U"
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (II) UnloadModule: "wizardpen"
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (II) config/udev: Adding input device UC-LOGIC Tablet WP8060U (/dev/input/mouse0)
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (II) No input driver specified, ignoring this device.
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (II) This device may have been added with another device file.
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (II) config/udev: Adding input device Logitech M705 (/dev/input/event11)
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (**) Logitech M705: Applying InputClass "evdev pointer catchall"
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (**) Logitech M705: Applying InputClass "libinput pointer catchall"
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (II) Using input driver 'libinput' for 'Logitech M705'
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 28 paused 0
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (**) Logitech M705: always reports core events
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (**) Option "Device" "/dev/input/event11"
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (**) Option "_source" "server/udev"
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE)
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) Backtrace:
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 0: /usr/libexec/Xorg (xorg_backtrace+0x4d) [0x55d0dbef569d]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 1: /usr/libexec/Xorg (0x55d0dbd4d000+0x1ac349) [0x55d0dbef9349]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 2: /lib64/libpthread.so.0 (0x7f40499b0000+0x14090) [0x7f40499c4090]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 3: /lib64/libc.so.6 (__libc_malloc+0x167) [0x7f4049671dc7]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 4: /lib64/libudev.so.1 (0x7f404b954000+0x1319c) [0x7f404b96719c]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 5: /lib64/libudev.so.1 (0x7f404b954000+0x136f2) [0x7f404b9676f2]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 6: /lib64/libudev.so.1 (0x7f404b954000+0x1433c) [0x7f404b96833c]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 7: /lib64/libudev.so.1 (0x7f404b954000+0xadbe) [0x7f404b95edbe]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 8: /lib64/libudev.so.1 (0x7f404b954000+0xd15b) [0x7f404b96115b]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 9: /lib64/libudev.so.1 (0x7f404b954000+0xd43f) [0x7f404b96143f]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 10: /lib64/libudev.so.1 (0x7f404b954000+0xe4f3) [0x7f404b9624f3]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 11: /lib64/libudev.so.1 (0x7f404b954000+0xe74d) [0x7f404b96274d]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 12: /lib64/libudev.so.1 (0x7f404b954000+0xeadd) [0x7f404b962add]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 13: /lib64/libudev.so.1 (udev_device_get_is_initialized+0x28) [0x7f404b9596b8]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 14: /usr/lib64/libinput.so.10 (libinput_path_add_device+0xca) [0x7f4040b87dfa]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 15: /usr/lib64/xorg/modules/input/libinput_drv.so (0x7f4040e0b000+0xb1fa) [0x7f4040e161fa]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 16: /usr/libexec/Xorg (0x55d0dbd4d000+0xa090c) [0x55d0dbded90c]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 17: /usr/libexec/Xorg (0x55d0dbd4d000+0xb2ec4) [0x55d0dbdffec4]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 18: /usr/libexec/Xorg (0x55d0dbd4d000+0xb3423) [0x55d0dbe00423]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 19: /usr/libexec/Xorg (config_init+0x9) [0x55d0dbdfeec9]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 20: /usr/libexec/Xorg (InitInput+0xc7) [0x55d0dbde2de7]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 21: /usr/libexec/Xorg (0x55d0dbd4d000+0x5b8e1) [0x55d0dbda88e1]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 22: /lib64/libc.so.6 (__libc_start_main+0xe7) [0x7f4049609ae7]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) 23: /usr/libexec/Xorg (_start+0x2a) [0x55d0dbd9255a]
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE)
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) Segmentation fault at address 0x0
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE)
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: Fatal server error:
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) Caught signal 11 (Segmentation fault). Server aborting
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE)
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: Please consult the The X.Org Foundation support
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]:          at http://wiki.x.org
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]:  for help.
lis 29 20:46:13 kosar-toshiba NetworkManager[2812]: <info>  [1543520773.1296] manager: startup complete
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) Please also check the log file at "/var/lib/gdm/.local/share/xorg/Xorg.0.log" for additional information.
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE)
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (II) AIGLX: Suspending AIGLX clients for VT switch
lis 29 20:46:13 kosar-toshiba /usr/libexec/gdm-x-session[2919]: (EE) Server terminated with error (1). Closing log file.


(the /var/lib/gdm/.local/share/xorg/Xorg.0.log file does not have any additional information - it is the same log as from journalctl)

My interpretation is that the wizardpen driver crashes due to `xf86OpenSerial: Cannot open device /dev/input/event6 Permission denied.` message. But the crash is not fatal. This somehow messes up udev which then causes fatal crash when trying to configure the next device (logitech mouse). Whish seems strange to me. Can you tell me more about what can be happening there?

The main question I want to ask is however about the `xf86OpenSerial: Cannot open device /dev/input/event6 Permission denied.` message. What problem can this indicate? When does the xserver reports this problem? My user is in the 'input' user group so there should not be any problems there. And when I try `cat /dev/input/event0` as a user, there seems to be no problem (nothing is printed, but no Permission denied errors). I don't know, I am lost here. I do not know where should I try to solve this prolem. Which part of the system might have a problem that would cause this?

I do not need full solutions from you. I just need to know more about how the xorg drivers are incorporated into xorg, what does the xorg need to have good permissions or what parts of the configuration are capable of causing this error.

Thank you,
Ivorne


Last edited by Ivorne on Thu Nov 29, 2018 9:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5859

PostPosted: Thu Nov 29, 2018 8:30 pm    Post subject: Reply with quote

Well if you're insistent on using a driver that hasn't been maintained for close to a decade instead of libinput... try using an X server of a similar vintage.
Back to top
View user's profile Send private message
Ivorne
n00b
n00b


Joined: 20 Nov 2012
Posts: 11

PostPosted: Thu Nov 29, 2018 9:08 pm    Post subject: Reply with quote

Well I did not know that I can use libinput for that. But thanks to you, I now know that. We need to write it to a wiki. Because trust me, I spent a lot of time researching this and I had no clue.

But I guess the only emotion I am justified to feel now is relief and gratitude towards you. So thank you.

And the solution is to firstly have libinput installed. But it does not work out of the box. `libinput list-devices` prints 'event17 - UC-LOGIC Tablet WP8060U: libinput bug: missing tablet capabilities: resolution. Ignoring this device.'. So I googled around and found out that the problem is that the there is no record in '/lib/udev/hwdb.d/60-evdev.hwdb' for this tablet. So I found the evdev id or whatever is that called for the tablet (https://askubuntu.com/questions/742946/how-to-find-the-hwdb-header-of-a-general-input-device) - it is 'evdev:input:b0003v5543p0005*'. Then I created file '/etc/udev/hwdb.d/61-evdev-local.hwdb' with following content:

Code:
#########################################
# UC-LOGIC
#########################################

# UC-LOGIC Tablet WP8060U
evdev:input:b0003v5543p0005*
 EVDEV_ABS_00=::234
 EVDEV_ABS_01=::328


I don't know what the two numbers 234 and 328 are, but the tablet works fine now. Even pressure sensitive pen works well.

I would like to send pull request to upstream with this tablet. But before that, I should know what those numbers mean, so I would appreciate your comment on that.

Thank you again, it was easier and more straightforward than I thought.
Back to top
View user's profile Send private message
Ivorne
n00b
n00b


Joined: 20 Nov 2012
Posts: 11

PostPosted: Thu Nov 29, 2018 9:36 pm    Post subject: Reply with quote

So I found out that those numbers affect the size of the tablet that is reported by `libinput list-devices` command. So I changed those numbers so that the size reported is right. So now this is how the file looks - /etc/udev/hwdb.d/61-evdev-local.hwdb:

Code:
#########################################
# UC-LOGIC
#########################################

# UC-LOGIC Tablet WP8060U
evdev:input:b0003v5543p0005*
 EVDEV_ABS_00=::160
 EVDEV_ABS_01=::219
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum