Re: [DIGImend-users] Huion H610 and Gimp: sometimes strange behaviour
Brought to you by:
spb_nick
From: Sergey 'J. B. <ji...@me...> - 2015-02-14 10:12:29
|
Hi Vince, thanks for your reply. The xorg config worked, the Wacom driver is now loaded. xsetwacom --list devices does indeed list: HUION PenTablet stylus id: 15 type: STYLUS HUION PenTablet stylus id: 17 type: STYLUS HUION PenTablet eraser id: 18 type: ERASER HUION PenTablet pad id: 19 type: PAD In gimp I also see those devices as well (although there I have only one "stylus", the other one is just called "HUION PenTablet" The huion.sh script does not work however, it prints the following message 7 times: Invalid offset into Wacom Button Actions property. I can confirm that the script is not faulty, i.e. it's trying to set things like: ++ xsetwacom set 19 button 11 key '[' Invalid offset into Wacom Button Actions property. So it's some problem with the wacom driver or xsetwacom tool? Setting the keys does not seem to work :( Also, in Gimp, I do not really know how to select the other devices (or if it even makes sesnes to select other devices? It's always using the "HUION PenTablet stylus". Question is... why does xsetwacom work for you? xsetwacom -V gives me: 0.23.0 What version do you have? Kind regards, Jin On Fri, Feb 13, 2015 at 11:03:22PM -0500, Vince Herried wrote: > to set up the buttons you need to do several things. > first create this file.... > [vince@desk2 ~]$ cat /etc/X11/xorg.conf.d/50-huion.conf > Section "InputClass" > Identifier "digimend2 version" > MatchIsTablet "on" > MatchDevicePath "/dev/input/event*" > # use for wacom driver > MatchProduct "PenTablet" > Driver "wacom" > Option "rotate" "half" > #Option "Button1" "key +Control_L +z -z " # undo > #Option "Button2" "key +Shift_L +e -e " # eraser > #Option "Button3" "key +n -n " # pencil > #Option "Button8" "key +Shift_L +equal -equal " # zoom in > #Option "Button9" "key +minus -minus " # zoom out > #Option "Button10" "key +bracketright -bracketright " > # + pencil > #Option "Button11" "key +bracketleft -bracketleft " > # - pencil > # Option "Button12" # hand > # > # end GIMP settings > # > > # use for evdev > # Driver "evdev" > # Option "InvertX" "on" > # Option "InvertY" "on" > EndSection > --------------------------------------------------------ends above > this line-------------------------------------------------- > note the commented out settings they don't work. > I have the line > Option "rotate" "half" > because I'm left handed, if you are not left handed, leave that out. > > > Then re-start X. There is a setting in the system settings that will > enable the key combination of ctrl alt backspace to cause X to > restart. > I can't find the kde settings at moment where I enabled that key > combination. There are several ways to re-start X, search google. > > Then copy the attached shell script some place and mark it executable...;. > chmod u+x huion.sh > > the script is kind of messy, but it works to set up the buttons on my H610. > > good luck. > ------------------ > Vince > > On Fri, Feb 13, 2015 at 5:49 PM, Sergey 'Jin' Bostandzhyan > <ji...@me...> wrote: > > Hi, > > > > first of all: thanks a lot for the driver! I'm on Fedora 20 with > > 3.18.5-101.fc20.x86_64 kernel, just plugged it in and it worked :) > > > > I do however experience some glitches now and then and I am not sure if its > > a problem with the driver or with Gimp. > > > > Sometimes when I start Gimp I can not paint using the tablet, i.e. the input > > devices does not switch to Huion when I'm trying to paint. I can still > > navigate all menus and clicks on menus and toolboxes work, but painting on > > the canvas is impossible. When this happens, painting with the mouse is also > > impossible, while clicks on menus etc. work fine. > > > > When this happens I have to quite Gimp, disconnect and reconnect the tablet > > and start Gimp again and chances are high that it will just start working > > again. > > > > Any ideas how to debug this? > > > > Second thing that I noticed is that it's sometimes recognized differently > > in Gimp. When selecting the tablet in the input devices dialog > > I will see no keys at all, sometimes I will see >200 keys which is really > > weird. > > > > And one last question: is there also a utility, similar to the one that is > > supplied with the windows drivers, to tell the tablet to send other key > > combos? In default mode it sends weird combinations with ctrl- and shift- > > and I somehow failed to remap that. > > > > Kind regards, > > Jin > > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming. The Go Parallel Website, > > sponsored by Intel and developed in partnership with Slashdot Media, is your > > hub for all things parallel software development, from weekly thought > > leadership blogs to news, videos, case studies, tutorials and more. Take a > > look and join the conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > DIGImend-users mailing list > > DIG...@li... > > https://lists.sourceforge.net/lists/listinfo/digimend-users |