You are not logged in.

#1 2018-07-17 04:43:38

zaxdan69
Member
Registered: 2016-06-04
Posts: 318

[Solved]Problem with xorg configuration for graphics tablet

I'm trying to add some options to an xorg config file for a Huion tablet, which uses the wacom driver and xwacomset. I already installed the necessary kernel module etc and the tablet recognized and work fine. I also have created a "50-tablet.conf" file in xorg.conf.d directory, to use wacom driver, as suggested by digimend-kernel-driver readme file, which have these contents:

    Section "InputClass"
        Identifier "Tablet"
        Driver "wacom"
        MatchDevicePath "/dev/input/event*"
	MatchUSBID "256c:006e"
    EndSection

Now I want to change the tablet' s buttons actions. I managed to do this via xsetwacom set command, but I want the setting to be permanent. So, I'm trying to add these options in the above file, but it doesn't seems to work. Using wiki' s examples in wacom tablet section I've add this section to  the file:

Section "InputClass"
	Identifier "Huion Tablet Pad pad"
	MatchDriver "wacom"
	MatchProduct "pad"
	Option "Mode" "Relative"
	Option "Button1" "2"
	Option "Button2" "2"
    EndSection

I don't actually want to change the "Mode" option, but is there because after I tested the button options and didn't work, I used "xsetwacom get all" command and I get some "Action is not supported by xorg" errors. So I used that option, which doesn't give an error in xsetwacom, to check if this is the reason. It doesn't work too though, so seems that something else is wrong.
The device is recognized as:

HUION Huion Tablet Pen stylus   	id: 8	type: STYLUS    
HUION Huion Tablet Pad pad      	id: 9	type: PAD    

So, what else I'm doing wrong?

Last edited by zaxdan69 (2018-07-22 09:44:31)

Offline

#2 2018-07-22 09:43:48

zaxdan69
Member
Registered: 2016-06-04
Posts: 318

Re: [Solved]Problem with xorg configuration for graphics tablet

Since there was no answer, I leave this way to make the settings permanent. I created a script and I added it to autostart.

Offline

Board footer

Powered by FluxBB