DIGImend / digimend-kernel-drivers

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

xp-pen star05 #64

Open ilvinc3nt opened 7 years ago

ilvinc3nt commented 7 years ago

$ lsusb Bus 002 Device 005: ID 28bd:0071

$ xinput list ↳ XP-PEN STAR 05 id=15 [slave pointer (2)]

$ cat /proc/bus/input/devices I: Bus=0003 Vendor=28bd Product=0071 Version=0100 N: Name="XP-PEN STAR 05" P: Phys=usb-0000:00:1d.0-1.1/input0 S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/0003:28BD:0071.0002/input/input15 U: Uniq= H: Handlers=event14 mouse2 B: PROP=0 B: EV=1f B: KEY=400 3f0000 0 0 0 0 B: REL=303 B: ABS=1000003 B: MSC=10

$ xinput list-props 15 Device 'XP-PEN STAR 05': Device Enabled (139): 1 Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 libinput Calibration Matrix (624): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 libinput Calibration Matrix Default (625): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 libinput Accel Speed (275): 0.000000 libinput Accel Speed Default (276): 0.000000 libinput Accel Profiles Available (277): 1, 1 libinput Accel Profile Enabled (278): 1, 0 libinput Accel Profile Enabled Default (279): 1, 0 libinput Natural Scrolling Enabled (280): 0 libinput Natural Scrolling Enabled Default (281): 0 libinput Send Events Modes Available (260): 1, 0 libinput Send Events Mode Enabled (261): 0, 0 libinput Send Events Mode Enabled Default (262): 0, 0 libinput Left Handed Enabled (282): 0 libinput Left Handed Enabled Default (283): 0 libinput Scroll Methods Available (284): 0, 0, 1 libinput Scroll Method Enabled (285): 0, 0, 0 libinput Scroll Method Enabled Default (286): 0, 0, 0 libinput Button Scrolling Button (287): 2 libinput Button Scrolling Button Default (288): 2 libinput Middle Emulation Enabled (289): 0 libinput Middle Emulation Enabled Default (290): 0 Device Node (263): "/dev/input/event14" Device Product ID (264): 10429, 113 libinput Drag Lock Buttons (291): libinput Horizontal Scroll Enabled (292): 1

it doesn't work (arch linux) even if i compiled the last kernel-drivers

ilvinc3nt commented 7 years ago

the problem i think is in xorg. i don't know. the pen cannot write. (i'm on arch linux)

i added this to /etc/X11/xorg.conf.d/52-tablet.conf

Section "InputClass" Identifier "XP-PEN STAR 05" Driver "evdev" MatchProduct "XP-PEN STAR 05" MatchDevicePath "/dev/input/event*" EndSection

Xorg.0.log: 41.374] (II) config/udev: Adding input device XP-PEN STAR 05 (/dev/input/event5) [ 41.374] ( ) XP-PEN STAR 05: Applying InputClass "evdev pointer catchall" [ 41.374] ( ) XP-PEN STAR 05: Applying InputClass "libinput pointer catchall" [ 41.374] ( ) XP-PEN STAR 05: Applying InputClass "XP-PEN STAR 05" [ 41.374] (II) LoadModule: "evdev" [ 41.375] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [ 41.383] (II) Module evdev: vendor="X.Org Foundation" [ 41.383] compiled for 1.19.1, module version = 2.10.5 [ 41.383] Module class: X.Org XInput Driver [ 41.383] ABI class: X.Org XInput driver, version 24.1 [ 41.384] (II) Using input driver 'evdev' for 'XP-PEN STAR 05' [ 41.384] ( ) XP-PEN STAR 05: always reports core events [ 41.384] ( ) evdev: XP-PEN STAR 05: Device: "/dev/input/event5" [ 41.440] (--) evdev: XP-PEN STAR 05: Vendor 0x28bd Product 0x71 [ 41.440] (--) evdev: XP-PEN STAR 05: Found 10 mouse buttons [ 41.440] (--) evdev: XP-PEN STAR 05: Found scroll wheel(s) [ 41.440] (--) evdev: XP-PEN STAR 05: Found relative axes [ 41.440] (--) evdev: XP-PEN STAR 05: Found x and y relative axes [ 41.440] (--) evdev: XP-PEN STAR 05: Found absolute axes [ 41.440] (--) evdev: XP-PEN STAR 05: Found x and y absolute axes [ 41.440] (--) evdev: XP-PEN STAR 05: Found absolute touchpad. [ 41.440] (II) evdev: XP-PEN STAR 05: Configuring as touchpad [ 41.440] (II) evdev: XP-PEN STAR 05: Adding scrollwheel support [ 41.440] ( ) evdev: XP-PEN STAR 05: YAxisMapping: buttons 4 and 5 [ 41.440] ( ) evdev: XP-PEN STAR 05: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 41.440] ( ) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/0003:28BD:0071.0001/input/input6/event5" [ 41.440] (II) XINPUT: Adding extended input device "XP-PEN STAR 05" (type: TOUCHPAD, id 11) [ 41.440] (WW) evdev: XP-PEN STAR 05: touchpads, tablets and touchscreens ignore relative axes. [ 41.440] (II) evdev: XP-PEN STAR 05: initialized for absolute axes. [ 41.440] ( ) XP-PEN STAR 05: (accel) keeping acceleration scheme 1 [ 41.440] ( ) XP-PEN STAR 05: (accel) acceleration profile 0 [ 41.440] ( ) XP-PEN STAR 05: (accel) acceleration factor: 2.000 [ 41.440] ( ) XP-PEN STAR 05: (accel) acceleration threshold: 4 [ 41.441] (II) config/udev: Adding input device XP-PEN STAR 05 (/dev/input/mouse0) [ 41.441] (II) No input driver specified, ignoring this device. [ 41.441] (II) This device may have been added with another device file.

spbnick commented 7 years ago

Hi @ilvinc3nt, did you try this HOWTO: http://digimend.github.io/support/howto/trbl/locating_failure/ ?

ilvinc3nt commented 7 years ago

did you try this HOWTO: http://digimend.github.io/support/howto/trbl/locating_failure/ ?

thanks for replying to me!

first of all 28bd:0071 is ugee ex07 (searched in Tablet repo)

second:

sudo usbhid-dump -es -m 28bd:0071

i got stream

[root@vinc-lnx 0003:13EE:0001.0004]# cat events

no straming (only when i move a usb mouse)

evtest

No device specified, trying to scan all of /dev/input/event* Available devices: /dev/input/event0: Power Button /dev/input/event1: Lid Switch /dev/input/event2: Power Button /dev/input/event3: Video Bus /dev/input/event4: AT Translated Set 2 keyboard /dev/input/event5: XP-PEN STAR 05 /dev/input/event6: MOON AND /dev/input/event7: HP WMI hotkeys /dev/input/event8: HDA Digital PCBeep /dev/input/event9: HDA Intel MID Mic /dev/input/event10: HDA Intel MID Headphone /dev/input/event11: HDA Intel MID HDMI/DP,pcm=3 /dev/input/event12: SynPS/2 Synaptics TouchPad /dev/input/event13: HP Webcam-101 /dev/input/event14: GIGABYTE U7300 Select the device event number [0-14]:

5

Input driver version is 1.0.1 Input device ID: bus 0x3 vendor 0x28bd product 0x71 version 0x100 Input device name: "XP-PEN STAR 05" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 272 (BTN_LEFT) Event code 273 (BTN_RIGHT) Event code 274 (BTN_MIDDLE) Event code 275 (BTN_SIDE) Event code 276 (BTN_EXTRA) Event code 277 (BTN_FORWARD) Event code 330 (BTN_TOUCH) Event type 2 (EV_REL) Event code 0 (REL_X) Event code 1 (REL_Y) Event code 8 (REL_WHEEL) Event code 9 (REL_MISC) Event type 3 (EV_ABS) Event code 0 (ABS_X) Value 24818 Min 0 Max 32767 Event code 1 (ABS_Y) Value 21419 Min 0 Max 32767 Event code 24 (ABS_PRESSURE) Value 0 Min 0 Max 1023 Event type 4 (EV_MSC) Event code 4 (MSC_SCAN) Properties: Testing ... (interrupt to exit)

i got streaming!

Event: time 1494833262.170441, type 3 (EV_ABS), code 0 (ABS_X), value 1716 Event: time 1494833262.170441, type 3 (EV_ABS), code 1 (ABS_Y), value 10909 Event: time 1494833262.170441, -------------- SYN_REPORT ------------ Event: time 1494833262.206426, type 3 (EV_ABS), code 0 (ABS_X), value 1690 Event: time 1494833262.206426, -------------- SYN_REPORT ------------ Event: time 1494833262.210441, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001 Event: time 1494833262.210441, type 1 (EV_KEY), code 275 (BTN_SIDE), value 1 Event: time 1494833262.210441, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1 Event: time 1494833262.210441, -------------- SYN_REPORT ------------ Event: time 1494833262.218388, type 3 (EV_ABS), code 1 (ABS_Y), value 10878 Event: time 1494833262.218388, -------------- SYN_REPORT ------------ Event: time 1494833262.230383, type 3 (EV_ABS), code 0 (ABS_X), value 1716 Event: time 1494833262.230383, -------------- SYN_REPORT ------------ Event: time 1494833262.234407, type 3 (EV_ABS), code 0 (ABS_X), value 1742 Event: time 1494833262.234407, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 984 Event: time 1494833262.234407, -------------- SYN_REPORT ------------ Event: time 1494833262.238372, type 3 (EV_ABS), code 0 (ABS_X), value 1770 Event: time 1494833262.238372, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 939 Event: time 1494833262.238372, -------------- SYN_REPORT ------------ Event: time 1494833262.242372, type 3 (EV_ABS), code 0 (ABS_X), value 1801 Event: time 1494833262.242372, type 3 (EV_ABS), code 1 (ABS_Y), value 10859 Event: time 1494833262.242372, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 911 Event: time 1494833262.242372, -------------- SYN_REPORT ------------ Event: time 1494833262.246399, type 3 (EV_ABS), code 0 (ABS_X), value 1833 Event: time 1494833262.246399, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 903 Event: time 1494833262.246399, -------------- SYN_REPORT ------------ Event: time 1494833262.250446, type 3 (EV_ABS), code 0 (ABS_X), value 1865 Event: time 1494833262.250446, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 918 Event: time 1494833262.250446, -------------- SYN_REPORT ------------ Event: time 1494833262.254375, type 3 (EV_ABS), code 0 (ABS_X), value 1901 Event: time 1494833262.254375, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 944 Event: time 1494833262.254375, -------------- SYN_REPORT ------------ Event: time 1494833262.258386, type 3 (EV_ABS), code 0 (ABS_X), value 1936 Event: time 1494833262.258386, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 978 Event: time 1494833262.258386, -------------- SYN_REPORT ------------ Event: time 1494833262.262398, type 3 (EV_ABS), code 0 (ABS_X), value 1969 Event: time 1494833262.262398, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 1023 Event: time 1494833262.262398, -------------- SYN_REPORT ------------ Event: time 1494833262.266436, type 3 (EV_ABS), code 0 (ABS_X), value 2004 Event: time 1494833262.266436, -------------- SYN_REPORT ------------ Event: time 1494833262.270395, type 3 (EV_ABS), code 0 (ABS_X), value 2040 Event: time 1494833262.270395, type 3 (EV_ABS), code 1 (ABS_Y), value 10894 Event: time 1494833262.270395, -------------- SYN_REPORT ------------ Event: time 1494833262.274399, type 3 (EV_ABS), code 0 (ABS_X), value 2078 Event: time 1494833262.274399, -------------- SYN_REPORT ------------ Event: time 1494833262.278375, type 3 (EV_ABS), code 0 (ABS_X), value 2114 Event: time 1494833262.278375, type 3 (EV_ABS), code 1 (ABS_Y), value 10927 Event: time 1494833262.278375, -------------- SYN_REPORT ------------ Event: time 1494833262.282433, type 3 (EV_ABS), code 0 (ABS_X), value 2151 Event: time 1494833262.282433, type 3 (EV_ABS), code 1 (ABS_Y), value 10948 Event: time 1494833262.282433, -------------- SYN_REPORT ------------ Event: time 1494833262.286426, type 3 (EV_ABS), code 0 (ABS_X), value 2185 Event: time 1494833262.286426, type 3 (EV_ABS), code 1 (ABS_Y), value 10973 Event: time 1494833262.286426, -------------- SYN_REPORT ------------ Event: time 1494833262.290399, type 3 (EV_ABS), code 0 (ABS_X), value 2218 Event: time 1494833262.290399, type 3 (EV_ABS), code 1 (ABS_Y), value 11002 Event: time 1494833262.290399, -------------- SYN_REPORT ------------ Event: time 1494833262.294440, type 3 (EV_ABS), code 0 (ABS_X), value 2252 Event: time 1494833262.294440, type 3 (EV_ABS), code 1 (ABS_Y), value 11030 Event: time 1494833262.294440, -------------- SYN_REPORT ------------ Event: time 1494833262.298374, type 3 (EV_ABS), code 0 (ABS_X), value 2283 Event: time 1494833262.298374, type 3 (EV_ABS), code 1 (ABS_Y), value 11059 Event: time 1494833262.298374, -------------- SYN_REPORT ------------ Event: time 1494833262.302400, type 3 (EV_ABS), code 0 (ABS_X), value 2311 Event: time 1494833262.302400, type 3 (EV_ABS), code 1 (ABS_Y), value 11089 Event: time 1494833262.302400, -------------- SYN_REPORT ------------ Event: time 1494833262.306426, type 3 (EV_ABS), code 0 (ABS_X), value 2334 Event: time 1494833262.306426, type 3 (EV_ABS), code 1 (ABS_Y), value 11117 Event: time 1494833262.306426, -------------- SYN_REPORT ------------ Event: time 1494833262.310371, type 3 (EV_ABS), code 0 (ABS_X), value 2356 Event: time 1494833262.310371, type 3 (EV_ABS), code 1 (ABS_Y), value 11141 Event: time 1494833262.310371, -------------- SYN_REPORT ------------ Event: time 1494833262.314398, type 3 (EV_ABS), code 0 (ABS_X), value 2375 Event: time 1494833262.314398, type 3 (EV_ABS), code 1 (ABS_Y), value 11166 Event: time 1494833262.314398, -------------- SYN_REPORT ------------ Event: time 1494833262.318412, type 3 (EV_ABS), code 0 (ABS_X), value 2391 Event: time 1494833262.318412, type 3 (EV_ABS), code 1 (ABS_Y), value 11186 Event: time 1494833262.318412, -------------- SYN_REPORT ------------ Event: time 1494833262.322420, type 3 (EV_ABS), code 0 (ABS_X), value 2407 Event: time 1494833262.322420, type 3 (EV_ABS), code 1 (ABS_Y), value 11200 Event: time 1494833262.322420, -------------- SYN_REPORT ------------ Event: time 1494833262.326390, type 3 (EV_ABS), code 0 (ABS_X), value 2418 Event: time 1494833262.326390, type 3 (EV_ABS), code 1 (ABS_Y), value 11212 Event: time 1494833262.326390, -------------- SYN_REPORT ------------ Event: time 1494833262.330399, type 3 (EV_ABS), code 0 (ABS_X), value 2426 Event: time 1494833262.330399, type 3 (EV_ABS), code 1 (ABS_Y), value 11222 Event: time 1494833262.330399, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 979 Event: time 1494833262.330399, -------------- SYN_REPORT ------------ Event: time 1494833262.334411, type 3 (EV_ABS), code 0 (ABS_X), value 2431 Event: time 1494833262.334411, type 3 (EV_ABS), code 1 (ABS_Y), value 11231 Event: time 1494833262.334411, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 756 Event: time 1494833262.334411, -------------- SYN_REPORT ------------ Event: time 1494833262.338399, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001 Event: time 1494833262.338399, type 1 (EV_KEY), code 275 (BTN_SIDE), value 0 Event: time 1494833262.338399, type 3 (EV_ABS), code 0 (ABS_X), value 2436 Event: time 1494833262.338399, type 3 (EV_ABS), code 1 (ABS_Y), value 11240 Event: time 1494833262.338399, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0 Event: time 1494833262.338399, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0 Event: time 1494833262.338399, -------------- SYN_REPORT ------------ Event: time 1494833262.342369, type 3 (EV_ABS), code 0 (ABS_X), value 2439 Event: time 1494833262.342369, type 3 (EV_ABS), code 1 (ABS_Y), value 11248 Event: time 1494833262.342369, -------------- SYN_REPORT ------------ Event: time 1494833262.346396, type 3 (EV_ABS), code 1 (ABS_Y), value 11251 Event: time 1494833262.346396, -------------- SYN_REPORT ------------ Event: time 1494833262.350387, type 3 (EV_ABS), code 1 (ABS_Y), value 11254 Event: time 1494833262.350387, -------------- SYN_REPORT ------------ Event: time 1494833262.354423, type 3 (EV_ABS), code 1 (ABS_Y), value 11261 Event: time 1494833262.354423, -------------- SYN_REPORT ------------ Event: time 1494833262.358413, type 3 (EV_ABS), code 1 (ABS_Y), value 11264 Event: time 1494833262.358413, -------------- SYN_REPORT ------------ Event: time 1494833262.362397, type 3 (EV_ABS), code 0 (ABS_X), value 2417 Event: time 1494833262.362397, type 3 (EV_ABS), code 1 (ABS_Y), value 11272 Event: time 1494833262.362397, -------------- SYN_REPORT ------------ Event: time 1494833262.366431, type 3 (EV_ABS), code 1 (ABS_Y), value 11276 Event: time 1494833262.366431, -------------- SYN_REPORT ------------ Event: time 1494833262.370399, type 3 (EV_ABS), code 1 (ABS_Y), value 11287 Event: time 1494833262.370399, -------------- SYN_REPORT ------------ Event: time 1494833262.374424, type 3 (EV_ABS), code 1 (ABS_Y), value 11302 Event: time 1494833262.374424, -------------- SYN_REPORT ------------ Event: time 1494833262.378373, type 3 (EV_ABS), code 1 (ABS_Y), value 11326 Event: time 1494833262.378373, -------------- SYN_REPORT ------------ Event: time 1494833262.382422, type 3 (EV_ABS), code 0 (ABS_X), value 2439 Event: time 1494833262.382422, type 3 (EV_ABS), code 1 (ABS_Y), value 11351 Event: time 1494833262.382422, -------------- SYN_REPORT ------------ Event: time 1494833262.386413, type 3 (EV_ABS), code 1 (ABS_Y), value 11376 Event: time 1494833262.386413, -------------- SYN_REPORT ------------ Event: time 1494833262.390423, type 3 (EV_ABS), code 0 (ABS_X), value 2484 Event: time 1494833262.390423, type 3 (EV_ABS), code 1 (ABS_Y), value 11402 Event: time 1494833262.390423, -------------- SYN_REPORT ------------ Event: time 1494833262.394398, type 3 (EV_ABS), code 0 (ABS_X), value 2510 Event: time 1494833262.394398, type 3 (EV_ABS), code 1 (ABS_Y), value 11426 Event: time 1494833262.394398, -------------- SYN_REPORT ------------ Event: time 1494833262.398377, type 3 (EV_ABS), code 0 (ABS_X), value 2541 Event: time 1494833262.398377, type 3 (EV_ABS), code 1 (ABS_Y), value 11457 Event: time 1494833262.398377, -------------- SYN_REPORT ------------ Event: time 1494833262.402397, type 3 (EV_ABS), code 0 (ABS_X), value 2573 Event: time 1494833262.402397, type 3 (EV_ABS), code 1 (ABS_Y), value 11472 Event: time 1494833262.402397, -------------- SYN_REPORT ------------ Event: time 1494833265.666411, type 3 (EV_ABS), code 0 (ABS_X), value 29385 Event: time 1494833265.666411, type 3 (EV_ABS), code 1 (ABS_Y), value 26119 Event: time 1494833265.666411, -------------- SYN_REPORT ------------ Event: time 1494833265.698402, type 3 (EV_ABS), code 0 (ABS_X), value 29412 Event: time 1494833265.698402, -------------- SYN_REPORT ------------ Event: time 1494833265.702393, type 3 (EV_ABS), code 0 (ABS_X), value 29433 Event: time 1494833265.702393, -------------- SYN_REPORT ------------ Event: time 1494833265.706443, type 3 (EV_ABS), code 0 (ABS_X), value 29459 Event: time 1494833265.706443, type 3 (EV_ABS), code 1 (ABS_Y), value 26144 Event: time 1494833265.706443, -------------- SYN_REPORT ------------ Event: time 1494833265.710436, type 3 (EV_ABS), code 0 (ABS_X), value 29492 Event: time 1494833265.710436, -------------- SYN_REPORT ------------ Event: time 1494833265.714399, type 3 (EV_ABS), code 0 (ABS_X), value 29528 Event: time 1494833265.714399, type 3 (EV_ABS), code 1 (ABS_Y), value 26165 Event: time 1494833265.714399, -------------- SYN_REPORT ------------ Event: time 1494833265.718401, type 3 (EV_ABS), code 0 (ABS_X), value 29575 Event: time 1494833265.718401, -------------- SYN_REPORT ------------

$ xinput test 11

motion a[0]=21587 a[1]=14506 motion a[0]=18010 a[1]=16684 a[2]=959 button press 8 motion a[0]=17988 motion a[0]=17998 a[1]=16684 a[2]=976 motion a[0]=17974 a[1]=16739 motion a[0]=17986 a[1]=16700 a[2]=993 motion a[0]=17959 motion a[0]=17972 a[1]=16700 a[2]=1006 motion a[0]=17945 a[1]=16751 motion a[0]=17959 a[1]=16715 a[2]=1020 motion a[0]=17934 a[1]=16745 motion a[0]=17907 motion a[0]=17876 a[1]=16789 motion a[0]=17845 a[1]=16827 motion a[0]=17812 a[1]=16864 motion a[0]=17779 a[1]=16908 motion a[0]=17746 a[1]=16960 motion a[0]=17719 a[1]=17001 motion a[0]=17690 a[1]=17038 motion a[0]=17663 a[1]=17079 motion a[0]=17636 a[1]=17113 motion a[0]=17611 a[1]=17140 motion a[0]=17588 a[1]=17166 motion a[0]=17565 a[1]=17193 motion a[0]=17542 a[1]=17216 motion a[0]=17523 a[1]=17229 motion a[0]=17504 a[1]=17252 motion a[0]=17485 a[1]=17264 motion a[0]=17468 a[1]=17280 motion a[0]=17455 a[1]=17296 motion a[0]=17440 a[1]=17305 motion a[0]=17427 a[1]=17314 motion a[0]=17416 a[1]=17330 motion a[0]=17399 a[1]=17353 motion a[0]=17386 a[1]=17369 motion a[0]=17373 a[1]=17392 motion a[0]=17360 a[1]=17412 motion a[0]=17347 a[1]=17438 motion a[0]=17336 a[1]=17465 motion a[0]=17325 a[1]=17492 motion a[0]=17312 a[1]=17515 motion a[0]=17299 a[1]=17534 motion a[0]=17288 a[1]=17558 motion a[0]=17277 a[1]=17584 motion a[0]=17266 a[1]=17611 motion a[0]=17255 a[1]=17638 motion a[0]=17240 a[1]=17664 motion a[0]=17225 a[1]=17684 motion a[0]=17214 a[1]=17703 motion a[0]=17205 a[1]=17719 motion a[0]=17198 a[1]=17732 motion a[0]=17193 motion a[0]=17188 motion a[0]=17181 a[1]=17737 motion a[0]=17199 motion a[0]=17211 motion a[0]=17241 motion a[0]=17614 a[1]=17737 a[2]=953 motion a[0]=17629 motion a[0]=17621 a[1]=17737 a[2]=805 motion a[0]=17632 motion a[0]=17626 a[1]=17737 a[2]=550 button release 8

but i don't touch any buttons!. it's like i press buttons even if i don't.

ilvinc3nt commented 7 years ago

ok i noticed that button 8 was clicked even if no button i touched. so i add this:

Option "ButtonMapping" "1 2 3 4 5 6 7 0 9 10 11 12 13 14"

to 52-tablet.conf

now i got only 1 trouble (i think) and it's that i lost the distant movement (pen and tablet distance) on first pen touch the tablet.

spbnick commented 7 years ago

Alright. The input stack actually seems to be dealing with this mostly OK. Except it doesn't notice the in-range event and produces some spurious button events. Nothing that can't be fixed with a proper report descriptor.

However, the tablet also crops the horizontal resolution (horizontal extent is 32767, but should be 40640). Apparently because of the limited generic HID driver in Windows. This is a recurring pattern. You can try to hunt down the initialization sequence of the tablet to enable full resolution.

I suggest you try with uclogic-tools first. Run uclogic-probe | uclogic-decode on it and see if it manages to get any useful data.

ilvinc3nt commented 7 years ago

uclogic-probe 2 4 | uclogic-decode

Manufacturer: XP-PEN Product: STAR 05 Max X: 40640 Max Y: 25400 Max pressure: 2047 Resolution: 5080 Internal model: U608i Buttons status: U608i

if it needs:

xinput list-props 15

Device 'XP-PEN STAR 05': Device Enabled (139): 1 Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 Device Accel Profile (271): 0 Device Accel Constant Deceleration (272): 1.000000 Device Accel Adaptive Deceleration (273): 1.000000 Device Accel Velocity Scaling (274): 10.000000 Device Product ID (264): 10429, 113 Device Node (263): "/dev/input/event14" Evdev Axis Inversion (535): 0, 0 Evdev Axis Calibration (536): Evdev Axes Swap (537): 0 Axis Labels (538): "Abs X" (496), "Abs Y" (497), "Abs Pressure" (498), "Rel Vert Wheel" (534) Button Labels (539): "Button Left" (142), "Button Middle" (143), "Button Right" (144), "Button Wheel Up" (145), "Button Wheel Down" (146), "Button Horiz Wheel Left" (147), "Button Horiz Wheel Right" (148), "Button Side" (265), "Button Extra" (266), "Button Forward" (267), "Button Unknown" (533), "Button Unknown" (533), "Button Unknown" (533), "Button Unknown" (533) Evdev Scrolling Distance (540): 1, 1, 1 Evdev Middle Button Emulation (541): 0 Evdev Middle Button Timeout (542): 50 Evdev Middle Button Button (543): 2 Evdev Third Button Emulation (544): 0 Evdev Third Button Emulation Timeout (545): 1000 Evdev Third Button Emulation Button (546): 3 Evdev Third Button Emulation Threshold (547): 20 Evdev Wheel Emulation (548): 0 Evdev Wheel Emulation Axes (549): 0, 0, 4, 5 Evdev Wheel Emulation Inertia (550): 10 Evdev Wheel Emulation Timeout (551): 200 Evdev Wheel Emulation Button (552): 4 Evdev Drag Lock Buttons (553): 0

spbnick commented 7 years ago

Ah, so it's UC-Logic after all, great! Then this could be easy. Let me spend some time on this. Perhaps I'll have a driver to test for you tomorrow.

ilvinc3nt commented 7 years ago

thank Nikolai for this giant support!

but my big problem is that the distance movement works before the pen touches the table. When i touch the table, the mouse pointer stucks on the screen when i take a short distance (distance movement is lost). evtest works (i mean the distance stream) but the pointer stucks. it's like some buttons stay in one click status even if i release the pen from table. of course the pointer starts moving when i move the pen on the table as it should be.

spbnick commented 7 years ago

Let's see what happens when we enable the fully-functional mode with the driver. Perhaps the behavior will change and we'll go from there.

ilvinc3nt commented 7 years ago

yes, it's a good starting point. maybe everything is gonna be fixed with driver.

thanks so much

ilvinc3nt commented 7 years ago

added this:

90-hid-rehind.rules

SUBSYSTEM=="hid", ACTION=="add", ENV{HID_ID}=="0003:000028BD:00000071", \ RUN+="/sbin/hid-rebind"

hid-ids.h

define USB_VENDOR_ID_XPPEN 0x28bd

define USB_DEVICE_ID_XPPEN_STAR_05 0x0071

hid-uclogic.c

case USB_DEVICE_ID_XPPEN_STAR_05: { HID_USB_DEVICE(USB_VENDOR_ID_XPPEN, USB_DEVICE_ID_XPPEN_STAR_05) },

It works with (52-tablet.conf), maybe with evdev or libinput too:

Driver "wacom"

now the issue is with hard buttons on tablet.

spbnick commented 7 years ago

It turns out that the upstream kernel already has the tablet enabled: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fe1a83b43869790501ed82b58dc8229023c69f74

I'll merge that into the driver package.

Meanwhile could you please collect buttons diagnostics as described here: http://digimend.github.io/support/howto/trbl/diagnostics/

spbnick commented 7 years ago

Also, can I ask you to make an entry on your tablet in the tablets repo, so that we have info on it on the website?

spbnick commented 7 years ago

Alright, pushed. Could you please try the latest master?

ilvinc3nt commented 7 years ago

with your last commits everything is buggy (no distance movement, no writing:

It turns out that the upstream kernel already has the tablet enabled: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fe1a83b43869790501ed82b58dc8229023c69f74 I'll merge that into the driver package.

xinput:

xinput ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ MOON AND id=9 [slave pointer (2)] ⎜ ↳ XP-PEN STAR 05 touch id=11 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=14 [slave pointer (2)] ⎜ ↳ XP-PEN STAR 05 pad id=16 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ GIGABYTE U7300 id=10 [slave keyboard (3)] ↳ HP Webcam-101 id=12 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)] ↳ HP WMI hotkeys id=15 [slave keyboard (3)]

xsetwacom --list

XP-PEN STAR 05 touch id: 11 type: TOUCH
XP-PEN STAR 05 pad id: 16 type: PAD

Xorg.0.log:

41.184] (II) config/udev: Adding input device XP-PEN STAR 05 (/dev/input/event5) [ 41.184] ( ) XP-PEN STAR 05: Applying InputClass "evdev pointer catchall" [ 41.184] ( ) XP-PEN STAR 05: Applying InputClass "libinput pointer catchall" [ 41.184] ( ) XP-PEN STAR 05: Applying InputClass "XP-PEN STAR 05" [ 41.184] (II) LoadModule: "wacom" [ 41.184] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so [ 41.202] (II) Module wacom: vendor="X.Org Foundation" [ 41.202] compiled for 1.19.2, module version = 0.34.2 [ 41.202] Module class: X.Org XInput Driver [ 41.202] ABI class: X.Org XInput driver, version 24.1 [ 41.202] (II) wacom: Driver for Wacom graphics tablets: PenPartner, Graphire, Graphire2 4x5, Graphire2 5x7, Graphire3 4x5, Graphire3 6x8, Graphire4 4x5, Graphire4 6x8, BambooFun 4x5, BambooFun 6x8, Bamboo1 Medium, Graphire4 6x8 BlueTooth, CTL-460, CTH-461, CTL-660, CTL-461/S, Bamboo Touch, CTH-460/K, CTH-461/S, CTH-661/S1, CTH-461/L, CTH-661/L, Intuos 4x5, Intuos 6x8, Intuos 9x12, Intuos 12x12, Intuos 12x18, PTU600, PL400, PL500, PL600, PL600SX, PL550, PL800, PL700, PL510, PL710, DTI520, DTF720, DTF720a, DTF521, DTU1931, DTU2231, DTU1631, Intuos2 4x5, Intuos2 6x8, Intuos2 9x12, Intuos2 12x12, Intuos2 12x18, Intuos2 6x8 , Volito, PenStation, Volito2 4x5, Volito2 2x3, PenPartner2, Bamboo, Bamboo1, Bamboo1 4x6, Bamboo1 5x8, Intuos3 4x5, Intuos3 6x8, Intuos3 9x12, Intuos3 12x12, Intuos3 12x19, Intuos3 6x11, Intuos3 4x6, Intuos4 4x6, Intuos4 6x9, Intuos4 8x13, Intuos4 12x19, Intuos4 WL USB Endpoint, Intuos4 WL Bluetooth Endpoint, Intuos5 touch S, Intuos5 touch M, Intuos5 touch L, Intuos5 S, Intuos5 M, Intuos Pro S, Intuos Pro M, Intuos Pro L, Cintiq 21UX, Cintiq 20WSX, Cintiq 12WX, Cintiq 21UX2, Cintiq 24HD, Cintiq 22HD, Cintiq 24HD touch (EMR digitizer), Cintiq 13HD, DTK2241, DTH2242, Cintiq 22HDT, TabletPC 0x90, TabletPC 0x93, TabletPC 0x97, TabletPC 0x9A, CapPlus 0x9F, TabletPC 0xE2, TabletPC 0xE3, TabletPC 0xE5, TabletPC 0xE6, TabletPC 0xEC, TabletPC 0xED, TabletPC 0xEF, TabletPC 0x100, TabletPC 0x101, TabletPC 0x10D, TabletPC 0x116, TabletPC 0x12C, TabletPC 0x4001, TabletPC 0x4004, TabletPC 0x5000, TabletPC 0x5002, usb:172f:0024, usb:172f:0025, usb:172f:0026, usb:172f:0027, usb:172f:0028, usb:172f:0030, usb:172f:0031, usb:172f:0032, usb:172f:0033, usb:172f:0034, usb:172f:0035, usb:172f:0036, usb:172f:0037, usb:172f:0038, usb:172f:0039, usb:172f:0051, usb:172f:0052, usb:172f:0053, usb:172f:0054, usb:172f:0055, usb:172f:0056, usb:172f:0057, usb:172f:0058, usb:172f:0500, usb:172f:0501, usb:172f:0502, usb:172f:0503, usb:1b96:0001, usb:17ef:6004 [ 41.204] (II) Using input driver 'wacom' for 'XP-PEN STAR 05' [ 41.204] ( ) XP-PEN STAR 05: always reports core events [ 41.204] ( ) Option "Device" "/dev/input/event5" [ 41.260] (EE) XP-PEN STAR 05: Invalid type 'stylus' for this device. [ 41.260] (EE) XP-PEN STAR 05: Invalid type 'eraser' for this device. [ 41.260] (EE) XP-PEN STAR 05: Invalid type 'cursor' for this device. [ 41.260] (II) XP-PEN STAR 05: type not specified, assuming 'touch'. [ 41.260] (II) XP-PEN STAR 05: other types will be automatically added. [ 41.260] (--) XP-PEN STAR 05 touch: maxX=32767 maxY=32767 maxZ=1023 resX=0 resY=0 [ 41.260] (II) XP-PEN STAR 05 touch: hotplugging dependent devices. [ 41.260] (EE) XP-PEN STAR 05 touch: Invalid type 'stylus' for this device. [ 41.260] (EE) XP-PEN STAR 05 touch: Invalid type 'eraser' for this device. [ 41.260] (EE) XP-PEN STAR 05 touch: Invalid type 'cursor' for this device. [ 41.260] (II) XP-PEN STAR 05 touch: hotplugging completed. [ 41.306] ( ) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/0003:28BD:0071.0001/input/input6/event5" [ 41.306] (II) XINPUT: Adding extended input device "XP-PEN STAR 05 touch" (type: TOUCH, id 11) [ 41.307] ( ) XP-PEN STAR 05 touch: (accel) keeping acceleration scheme 1 [ 41.307] ( ) XP-PEN STAR 05 touch: (accel) acceleration profile 0 [ 41.307] ( ) XP-PEN STAR 05 touch: (accel) acceleration factor: 2.000 [ 41.307] ( ) XP-PEN STAR 05 touch: (accel) acceleration threshold: 4 [ 41.364] (II) config/udev: Adding input device XP-PEN STAR 05 (/dev/input/mouse0) [ 41.364] (II) No input driver specified, ignoring this device. [ 41.364] (II) This device may have been added with another device file.

switching back to previous version (without your commits and using my fix),

Xorg.0.log:

[ 44.188] (II) config/udev: Adding input device XP-PEN STAR 05 Mouse (/dev/input/event13) [ 44.188] ( ) XP-PEN STAR 05 Mouse: Applying InputClass "evdev pointer catchall" [ 44.188] ( ) XP-PEN STAR 05 Mouse: Applying InputClass "libinput pointer catchall" [ 44.188] ( ) XP-PEN STAR 05 Mouse: Applying InputClass "XP-PEN STAR 05" [ 44.188] (II) LoadModule: "wacom" [ 44.189] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so [ 44.256] (II) Module wacom: vendor="X.Org Foundation" [ 44.256] compiled for 1.19.2, module version = 0.34.2 [ 44.256] Module class: X.Org XInput Driver [ 44.256] ABI class: X.Org XInput driver, version 24.1 [ 44.256] (II) wacom: Driver for Wacom graphics tablets: PenPartner, Graphire, Graphire2 4x5, Graphire2 5x7, Graphire3 4x5, Graphire3 6x8, Graphire4 4x5, Graphire4 6x8, BambooFun 4x5, BambooFun 6x8, Bamboo1 Medium, Graphire4 6x8 BlueTooth, CTL-460, CTH-461, CTL-660, CTL-461/S, Bamboo Touch, CTH-460/K, CTH-461/S, CTH-661/S1, CTH-461/L, CTH-661/L, Intuos 4x5, Intuos 6x8, Intuos 9x12, Intuos 12x12, Intuos 12x18, PTU600, PL400, PL500, PL600, PL600SX, PL550, PL800, PL700, PL510, PL710, DTI520, DTF720, DTF720a, DTF521, DTU1931, DTU2231, DTU1631, Intuos2 4x5, Intuos2 6x8, Intuos2 9x12, Intuos2 12x12, Intuos2 12x18, Intuos2 6x8 , Volito, PenStation, Volito2 4x5, Volito2 2x3, PenPartner2, Bamboo, Bamboo1, Bamboo1 4x6, Bamboo1 5x8, Intuos3 4x5, Intuos3 6x8, Intuos3 9x12, Intuos3 12x12, Intuos3 12x19, Intuos3 6x11, Intuos3 4x6, Intuos4 4x6, Intuos4 6x9, Intuos4 8x13, Intuos4 12x19, Intuos4 WL USB Endpoint, Intuos4 WL Bluetooth Endpoint, Intuos5 touch S, Intuos5 touch M, Intuos5 touch L, Intuos5 S, Intuos5 M, Intuos Pro S, Intuos Pro M, Intuos Pro L, Cintiq 21UX, Cintiq 20WSX, Cintiq 12WX, Cintiq 21UX2, Cintiq 24HD, Cintiq 22HD, Cintiq 24HD touch (EMR digitizer), Cintiq 13HD, DTK2241, DTH2242, Cintiq 22HDT, TabletPC 0x90, TabletPC 0x93, TabletPC 0x97, TabletPC 0x9A, CapPlus 0x9F, TabletPC 0xE2, TabletPC 0xE3, TabletPC 0xE5, TabletPC 0xE6, TabletPC 0xEC, TabletPC 0xED, TabletPC 0xEF, TabletPC 0x100, TabletPC 0x101, TabletPC 0x10D, TabletPC 0x116, TabletPC 0x12C, TabletPC 0x4001, TabletPC 0x4004, TabletPC 0x5000, TabletPC 0x5002, usb:172f:0024, usb:172f:0025, usb:172f:0026, usb:172f:0027, usb:172f:0028, usb:172f:0030, usb:172f:0031, usb:172f:0032, usb:172f:0033, usb:172f:0034, usb:172f:0035, usb:172f:0036, usb:172f:0037, usb:172f:0038, usb:172f:0039, usb:172f:0051, usb:172f:0052, usb:172f:0053, usb:172f:0054, usb:172f:0055, usb:172f:0056, usb:172f:0057, usb:172f:0058, usb:172f:0500, usb:172f:0501, usb:172f:0502, usb:172f:0503, usb:1b96:0001, usb:17ef:6004 [ 44.258] (II) Using input driver 'wacom' for 'XP-PEN STAR 05 Mouse' [ 44.258] ( ) XP-PEN STAR 05 Mouse: always reports core events [ 44.258] ( ) Option "Device" "/dev/input/event13" [ 44.313] (EE) XP-PEN STAR 05 Mouse: Invalid type 'stylus' for this device. [ 44.313] (EE) XP-PEN STAR 05 Mouse: Invalid type 'eraser' for this device. [ 44.313] (EE) XP-PEN STAR 05 Mouse: Invalid type 'cursor' for this device. [ 44.313] (EE) XP-PEN STAR 05 Mouse: Invalid type 'touch' for this device. [ 44.313] (EE) XP-PEN STAR 05 Mouse: Invalid type 'pad' for this device. [ 44.313] (EE) XP-PEN STAR 05 Mouse: No type specified [ 44.353] (EE) PreInit returned 8 for "XP-PEN STAR 05 Mouse" [ 44.353] (II) UnloadModule: "wacom" [ 44.354] (II) config/udev: Adding input device XP-PEN STAR 05 Mouse (/dev/input/mouse3) [ 44.354] (II) No input driver specified, ignoring this device. [ 44.354] (II) This device may have been added with another device file. [ 44.355] (II) config/udev: Adding input device XP-PEN STAR 05 Mouse (/dev/input/event14) [ 44.355] ( ) XP-PEN STAR 05 Mouse: Applying InputClass "evdev pointer catchall" [ 44.355] ( ) XP-PEN STAR 05 Mouse: Applying InputClass "libinput pointer catchall" [ 44.355] ( ) XP-PEN STAR 05 Mouse: Applying InputClass "XP-PEN STAR 05" [ 44.355] (II) Using input driver 'wacom' for 'XP-PEN STAR 05 Mouse' [ 44.356] ( ) XP-PEN STAR 05 Mouse: always reports core events [ 44.356] ( ) Option "Device" "/dev/input/event14" [ 44.410] (EE) XP-PEN STAR 05 Mouse: Invalid type 'stylus' for this device. [ 44.410] (EE) XP-PEN STAR 05 Mouse: Invalid type 'eraser' for this device. [ 44.410] (EE) XP-PEN STAR 05 Mouse: Invalid type 'cursor' for this device. [ 44.410] (II) XP-PEN STAR 05 Mouse: type not specified, assuming 'touch'. [ 44.410] (II) XP-PEN STAR 05 Mouse: other types will be automatically added. [ 44.410] (--) XP-PEN STAR 05 Mouse touch: maxX=32767 maxY=32767 maxZ=1023 resX=0 resY=0 [ 44.410] (II) XP-PEN STAR 05 Mouse touch: hotplugging dependent devices. [ 44.410] (EE) XP-PEN STAR 05 Mouse touch: Invalid type 'stylus' for this device. [ 44.410] (EE) XP-PEN STAR 05 Mouse touch: Invalid type 'eraser' for this device. [ 44.410] (EE) XP-PEN STAR 05 Mouse touch: Invalid type 'cursor' for this device. [ 44.410] (EE) XP-PEN STAR 05 Mouse touch: Invalid type 'pad' for this device. [ 44.410] (II) XP-PEN STAR 05 Mouse touch: hotplugging completed. [ 44.456] ( ) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/0003:28BD:0071.0001/input/input16/event14" [ 44.456] (II) XINPUT: Adding extended input device "XP-PEN STAR 05 Mouse touch" (type: TOUCH, id 11) [ 44.457] ( ) XP-PEN STAR 05 Mouse touch: (accel) keeping acceleration scheme 1 [ 44.457] ( ) XP-PEN STAR 05 Mouse touch: (accel) acceleration profile 0 [ 44.457] ( ) XP-PEN STAR 05 Mouse touch: (accel) acceleration factor: 2.000 [ 44.457] ( ) XP-PEN STAR 05 Mouse touch: (accel) acceleration threshold: 4 [ 44.515] (II) config/udev: Adding input device XP-PEN STAR 05 Mouse (/dev/input/mouse4) [ 44.515] (II) No input driver specified, ignoring this device. [ 44.515] (II) This device may have been added with another device file. [ 44.517] (II) config/udev: Adding input device XP-PEN STAR 05 Pen (/dev/input/event5) [ 44.517] ( ) XP-PEN STAR 05 Pen: Applying InputClass "evdev tablet catchall" [ 44.517] ( ) XP-PEN STAR 05 Pen: Applying InputClass "libinput tablet catchall" [ 44.517] ( ) XP-PEN STAR 05 Pen: Applying InputClass "XP-PEN STAR 05" [ 44.517] (II) Using input driver 'wacom' for 'XP-PEN STAR 05 Pen' [ 44.517] ( ) XP-PEN STAR 05 Pen: always reports core events [ 44.517] ( ) Option "Device" "/dev/input/event5" [ 44.573] (II) XP-PEN STAR 05 Pen: type not specified, assuming 'stylus'. [ 44.573] (II) XP-PEN STAR 05 Pen: other types will be automatically added. [ 44.573] (--) XP-PEN STAR 05 Pen stylus: using pressure threshold of 873 for button 1 [ 44.573] (--) XP-PEN STAR 05 Pen stylus: maxX=40640 maxY=25400 maxZ=2047 resX=200000 resY=200000 tilt=enabled [ 44.573] (II) XP-PEN STAR 05 Pen stylus: hotplugging dependent devices. [ 44.573] (EE) XP-PEN STAR 05 Pen stylus: Invalid type 'eraser' for this device. [ 44.573] (EE) XP-PEN STAR 05 Pen stylus: Invalid type 'cursor' for this device. [ 44.573] (EE) XP-PEN STAR 05 Pen stylus: Invalid type 'touch' for this device. [ 44.573] (EE) XP-PEN STAR 05 Pen stylus: Invalid type 'pad' for this device. [ 44.573] (II) XP-PEN STAR 05 Pen stylus: hotplugging completed. [ 44.613] ( ) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.1/0003:28BD:0071.0002/input/input14/event5" [ 44.613] (II) XINPUT: Adding extended input device "XP-PEN STAR 05 Pen stylus" (type: STYLUS, id 12) [ 44.614] ( ) XP-PEN STAR 05 Pen stylus: (accel) keeping acceleration scheme 1 [ 44.614] ( ) XP-PEN STAR 05 Pen stylus: (accel) acceleration profile 0 [ 44.614] ( ) XP-PEN STAR 05 Pen stylus: (accel) acceleration factor: 2.000 [ 44.614] ( ** ) XP-PEN STAR 05 Pen stylus: (accel) acceleration threshold: 4 [ 44.670] (II) config/udev: Adding input device XP-PEN STAR 05 Pen (/dev/input/mouse0) [ 44.670] (II) No input driver specified, ignoring this device. [ 44.670] (II) This device may have been added with another device file.

now tablet works again (the buttons issue is still there, but i'm gonna try this: http://digimend.github.io/support/howto/trbl/diagnostics/ and then report here). Maybe Ugee EX07 and XP-PEN STAR05 are different in something and they needs different lines in the code.

evtest

No device specified, trying to scan all of /dev/input/event* Available devices: /dev/input/event0: Power Button /dev/input/event1: Lid Switch /dev/input/event2: Power Button /dev/input/event3: Video Bus /dev/input/event4: AT Translated Set 2 keyboard /dev/input/event5: XP-PEN STAR 05 Pen /dev/input/event6: MOON AND /dev/input/event7: SynPS/2 Synaptics TouchPad /dev/input/event8: HDA Digital PCBeep /dev/input/event9: HDA Intel MID Mic /dev/input/event10: HDA Intel MID Headphone /dev/input/event11: HDA Intel MID HDMI/DP,pcm=3 /dev/input/event12: HP WMI hotkeys /dev/input/event13: XP-PEN STAR 05 Mouse /dev/input/event14: XP-PEN STAR 05 Mouse /dev/input/event15: GIGABYTE U7300 /dev/input/event16: HP Webcam-101

$ xinput

⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ MOON AND id=9 [slave pointer (2)] ⎜ ↳ XP-PEN STAR 05 Mouse touch id=11 [slave pointer (2)] ⎜ ↳ XP-PEN STAR 05 Pen stylus id=12 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=15 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ GIGABYTE U7300 id=10 [slave keyboard (3)] ↳ HP Webcam-101 id=13 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)] ↳ HP WMI hotkeys id=16 [slave keyboard (3)]

$ xsetwacom --list

XP-PEN STAR 05 Mouse touch id: 11 type: TOUCH
XP-PEN STAR 05 Pen stylus id: 12 type: STYLUS

spbnick commented 7 years ago

Right, I forgot the rebinding piece, as the upstream commit doesn't need/have it. Could you please try the latest master again? I pushed a fix.

ilvinc3nt commented 7 years ago

now it works! buttons bug as it was.

sudo usbhid-dump -es -m 28bd:0071 | tee frame_buttons.txt

002:003:001:STREAM 1495213146.125198 06 00 00 00 40

002:003:001:STREAM 1495213146.217195 06 00 00 00 00

002:003:001:STREAM 1495213147.301212 06 00 00 00 80

002:003:001:STREAM 1495213147.401158 06 00 00 00 00

002:003:001:STREAM 1495213148.423233 06 01 00 00 00

002:003:001:STREAM 1495213148.523224 06 00 00 00 00

002:003:001:STREAM 1495213149.493233 06 02 00 00 00

002:003:001:STREAM 1495213149.607230 06 00 00 00 00

002:003:001:STREAM 1495213150.691260 06 04 00 00 00

002:003:001:STREAM 1495213150.783245 06 00 00 00 00

002:003:001:STREAM 1495213151.813256 06 08 00 00 00

002:003:001:STREAM 1495213151.927270 06 00 00 00 00

ilvinc3nt commented 7 years ago

@spbnick look at this:

xinput

↳ XP-PEN STAR 05 Mouse touch id=11 [slave pointer (2)] ↳ XP-PEN STAR 05 Pen stylus id=12 [slave pointer (2)]

xsetwacom --list

XP-PEN STAR 05 Mouse touch id: 11 type: TOUCH
XP-PEN STAR 05 Pen stylus id: 12 type: STYLUS

so: the buttons on stylus work. maybe 'mouse touch" should be 'pad' to make buttons work?

wuyiadepoju commented 6 years ago

I followed the instructions http://digimend.github.io/support/howto/drivers/wizardpen/ to set-up XP-Pen star06, the tablet is writing but buttons are not working,

the command xsetwacom --list returned empty line

Please how can i map the buttons?

@spbnick