Waltop graphics tablet buttons not working

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
ronnieb

Waltop graphics tablet buttons not working

Post by ronnieb »

I have an Aiptek Hyperpen Mini, which is a rebranded Waltop pen. It uses the driver from the xserver-xorg-input-wacom package. Mostly works out of the box, but the two buttons on the side of the stylus reports the same button number. So I cant use them as seperate buttons.

According to the blue square on the bottom of this page: http://sourceforge.net/apps/mediawiki/l ... let_Set_Up, this was a kernel bug in 2.6.35 and 2.6.36. It was fixed in 2.6.37.

I'm using Mint 12, which uses kernel 3? Any tips on how to fix this?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Favux

Re: Waltop graphics tablet buttons not working

Post by Favux »

This is a bummer. It should work for the 3.0 kernel AFAIK. Have you verified it is on the Wacom X driver in your Xorg.0.log or something?

What is the output of the following command in a terminal?

Code: Select all

lsusb
Also:

Code: Select all

xinput list
ronnieb

Re: Waltop graphics tablet buttons not working

Post by ronnieb »

Thanks for reply. Problably a bummer yes. I still feel like a newbie, even though I've been using linux on and of for at least 5 years...

Code: Select all

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 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 002 Device 003: ID 0846:9001 NetGear, Inc. WN111(v2) RangeMax Next Wireless [Atheros AR9001U-(2)NG]
Bus 002 Device 007: ID 0bc2:3000 Seagate RSS LLC 
Bus 005 Device 002: ID 046d:092f Logitech, Inc. QuickCam Express Plus
Bus 006 Device 002: ID 09da:000a A4 Tech Co., Ltd Port Mouse
Bus 008 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 007 Device 002: ID 172f:0037 Waltop International Corp

Code: Select all

xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ A4Tech USB Mouse                        	id=9	[slave  pointer  (2)]
⎜   ↳          WALTOP             Tablet     stylus	id=10	[slave  pointer  (2)]
⎜   ↳          WALTOP             Tablet     eraser	id=12	[slave  pointer  (2)]
⎜   ↳          WALTOP             Tablet     pad	id=13	[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)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ spca561                                 	id=8	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=11	[slave  keyboard (3)]
Last part of Xorg.0.log:

Code: Select all

[    15.694] (II) config/udev: Adding input device          WALTOP             Tablet     (/dev/input/event3)
[    15.694] (**)          WALTOP             Tablet    : Applying InputClass "evdev pointer catchall"
[    15.694] (**)          WALTOP             Tablet    : Applying InputClass "evdev tablet catchall"
[    15.694] (**)          WALTOP             Tablet    : Applying InputClass "Wacom class"
[    15.694] (**)          WALTOP             Tablet    : Applying InputClass "Waltop on wacom class"
[    15.694] (II) LoadModule: "wacom"
[    15.694] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[    15.941] (II) Module wacom: vendor="X.Org Foundation"
[    15.942] 	compiled for 1.10.4, module version = 0.11.0
[    15.942] 	Module class: X.Org XInput Driver
[    15.942] 	ABI class: X.Org XInput driver, version 12.3
[    15.942] (II) Using input driver 'wacom' for '         WALTOP             Tablet    '
[    15.942] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[    15.942] (**)          WALTOP             Tablet    : always reports core events
[    15.942] (**) Option "Device" "/dev/input/event3"
[    15.942] (II)          WALTOP             Tablet    : type not specified, assuming 'stylus'.
[    15.942] (II)          WALTOP             Tablet    : other types will be automatically added.
[    15.942] (**) Option "Mode" "Relative"
[    15.942] (**) Option "Button2" "2"
[    15.942] (**) Option "Button3" "3"
[    15.942] (--)          WALTOP             Tablet     stylus: using pressure threshold of 27 for button 1
[    15.942] (--)          WALTOP             Tablet     stylus: Wacom USB Graphire4 tablet maxX=12288 maxY=9216 maxZ=1023 resX=800
00 resY=80000  tilt=disabled
[    15.942] (II)          WALTOP             Tablet     stylus: hotplugging dependent devices.
[    15.943] (II)          WALTOP             Tablet     stylus: hotplugging completed.
[    15.949] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.2/usb7/7-1/7-1:1.0/input/input3/event3"
[    15.949] (II) XINPUT: Adding extended input device "         WALTOP             Tablet     stylus" (type: STYLUS)
[    15.950] (**)          WALTOP             Tablet     stylus: (accel) keeping acceleration scheme 1
[    15.950] (**)          WALTOP             Tablet     stylus: (accel) acceleration profile 0
[    15.950] (**)          WALTOP             Tablet     stylus: (accel) acceleration factor: 2.000
[    15.950] (**)          WALTOP             Tablet     stylus: (accel) acceleration threshold: 4
[    15.950] (II) config/udev: Adding input device          WALTOP             Tablet     (/dev/input/mouse0)
[    15.950] (II) No input driver/identifier specified (ignoring)
[    15.955] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event2)
[    15.955] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    15.955] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    15.956] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    15.956] (**) AT Translated Set 2 keyboard: always reports core events
[    15.956] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event2"
[    15.956] (--) AT Translated Set 2 keyboard: Found keys
[    15.956] (II) AT Translated Set 2 keyboard: Configuring as keyboard
[    15.956] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input2/event2"
[    15.956] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
[    15.956] (**) Option "xkb_rules" "evdev"
[    15.956] (**) Option "xkb_model" "pc105"
[    15.956] (**) Option "xkb_layout" "no"
[    15.968] (**)          WALTOP             Tablet     eraser: Applying InputClass "evdev pointer catchall"
[    15.968] (**)          WALTOP             Tablet     eraser: Applying InputClass "evdev tablet catchall"
[    15.968] (**)          WALTOP             Tablet     eraser: Applying InputClass "Wacom class"
[    15.968] (**)          WALTOP             Tablet     eraser: Applying InputClass "Waltop on wacom class"
[    15.968] (II) Using input driver 'wacom' for '         WALTOP             Tablet     eraser'
[    15.968] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[    15.969] (**)          WALTOP             Tablet     eraser: always reports core events
[    15.969] (**) Option "Device" "/dev/input/event3"
[    15.969] (**) Option "Mode" "Relative"
[    15.969] (**) Option "Button2" "2"
[    15.969] (**) Option "Button3" "3"
[    15.969] (--)          WALTOP             Tablet     eraser: Wacom USB Graphire4 tablet maxX=12288 maxY=9216 maxZ=1023 resX=800
00 resY=80000  tilt=disabled
[    15.996] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.2/usb7/7-1/7-1:1.0/input/input3/event3"
[    15.996] (II) XINPUT: Adding extended input device "         WALTOP             Tablet     eraser" (type: ERASER)
[    15.996] (**)          WALTOP             Tablet     eraser: (accel) keeping acceleration scheme 1
[    15.996] (**)          WALTOP             Tablet     eraser: (accel) acceleration profile 0
[    15.996] (**)          WALTOP             Tablet     eraser: (accel) acceleration factor: 2.000
[    15.996] (**)          WALTOP             Tablet     eraser: (accel) acceleration threshold: 4
[    15.996] (**)          WALTOP             Tablet     pad: Applying InputClass "evdev pointer catchall"
[    15.996] (**)          WALTOP             Tablet     pad: Applying InputClass "evdev tablet catchall"
[    15.996] (**)          WALTOP             Tablet     pad: Applying InputClass "Wacom class"
[    15.996] (**)          WALTOP             Tablet     pad: Applying InputClass "Waltop on wacom class"
[    15.996] (II) Using input driver 'wacom' for '         WALTOP             Tablet     pad'
[    15.996] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[    15.996] (**)          WALTOP             Tablet     pad: always reports core events
[    15.996] (**) Option "Device" "/dev/input/event3"
[    15.997] (**) Option "Mode" "Relative"
[    15.997] (**) Option "Button2" "2"
[    15.997] (**) Option "Button3" "3"
[    15.997] (--)          WALTOP             Tablet     pad: Wacom USB Graphire4 tablet maxX=12288 maxY=9216 maxZ=1023 resX=80000 
resY=80000  tilt=disabled
[    16.008] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.2/usb7/7-1/7-1:1.0/input/input3/event3"
[    16.008] (II) XINPUT: Adding extended input device "         WALTOP             Tablet     pad" (type: PAD)
[    16.008] (**)          WALTOP             Tablet     pad: (accel) keeping acceleration scheme 1
[    16.008] (**)          WALTOP             Tablet     pad: (accel) acceleration profile 0
[    16.008] (**)          WALTOP             Tablet     pad: (accel) acceleration factor: 2.000
[    16.008] (**)          WALTOP             Tablet     pad: (accel) acceleration threshold: 4
[    24.640] (II) XKB: reuse xkmfile /var/lib/xkb/server-7B2BF228C4008E2F9C93CDD8D0E2F7F1BB6016A5.xkm
Favux

Re: Waltop graphics tablet buttons not working

Post by Favux »

Alright your model is:

Code: Select all

Bus 007 Device 002: ID 172f:0037 Waltop International Corp
Vendor ID = 172f = Waltop Product ID = 0037

The kernel is exporting the "device name" as:

Code: Select all

        WALTOP             Tablet
which is deformed, it should be:

Code: Select all

Waltop Tablet
There may also be trailing whitespaces from the look of things. Also it should identify itself a little more uniquely say with Hyperpen or Hperpen Mini.

The Xorg.0.log shows what appears to be a good match by your custom wacom.conf and the Wacom X driver accepting the tablet without a problem. You get the spurious eraser and pad because the driver is using the Graphire logic to set up your stylus.

Looking at Nick's compatibility table: http://digimend.git.sourceforge.net/git ... TY;hb=v0.4 I don't see your model/Product ID. I assume that is the problem. A corrected HID descriptor for your model hasn't been added to the kernel. I checked a 3.2 kernel I have lying around and I don't see it in that either. Not in the hid-ids.h file in /drivers/hid or in hid-waltop.c/drivers/hid.

So what you would need to do is submit the usbhid-dump and any other diagnostics Nick asks for. How to do that is described on his DIGImend site: http://digimend.sourceforge.net/#proj-kernel-patches The contact link is at the bottom of the page. You could check how well it is being handled generically by removing the custom wacom.conf. Does it match to the evdev driver and work including pressure? Stylus buttons? Although I assume it didn't work out of the box and that's why you added the wacom.conf in the first place.
ronnieb

Re: Waltop graphics tablet buttons not working

Post by ronnieb »

Actually, it did mostly work when I first plugged it in. Stylus pressure worked perfectly as far as I can tell. I can draw with different pressure in gimp. But, the two buttons on the side of the stylus always reported the the same button number. I made my custom wacom.conf later, desperately trying to fix the buttons issue.

Code: Select all

~$ xsetwacom --get "         WALTOP             Tablet     stylus" Button 2
3
~ $ xsetwacom --get "         WALTOP             Tablet     stylus" Button 3
3
Anyways thanks, I'll have a look at Nicks page and send the usbhid-dump to him.
Locked

Return to “Hardware Support”