http://bugs.winehq.org/show_bug.cgi?id=30893
Bug #: 30893 Summary: No pressure in gimp 2.8 windows version with evdev tablet Product: Wine Version: 1.5.5 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wintab32 AssignedTo: wine-bugs@winehq.org ReportedBy: viktoria.s@freemail.hu Classification: Unclassified
Created attachment 40482 --> http://bugs.winehq.org/attachment.cgi?id=40482 Output of gimp 2.8 windows version with WINEDEBUG=+wintab32
I got an Genius Mousepen i608X tablet. It works only with the evdev driver. (I am using xubuntu 64 bit with a patched kernel (which includes the driver of this tablet on a VM.)) I have got no pressure in gimp 2.8 windows version. (Gimp 2.8 linux version works perfectly on the same operating system.)
In the attachment log you can see that it reports as a tablet: trace:wintab32:X11DRV_LoadTabletInfo Device 10: [id 12|name Genius MousePen i608X|type TABLET|num_classes 2|use 4] but at the end wine writes: warn:wintab32:X11DRV_LoadTabletInfo Did not find a valid stylus, unable to determine system context parameters. Wintab is disabled.
Which is wrong. I attached the output of xinput list --long (xinput.txt), so you can see clearly which device reports what. (I guess I should add that attachment separately because the bug can contain only one attachment.)
One thing to note: this device comes with a mouse too. And the kernel gives identical name to both devices. (That is the reason why you can fin 2 mousepens in the logs. The one with the id=12 is the pen, because this one is reporting the pressure, the other one is the mouse.)
In my opinion if you modify the wine source/dlls/winex11.drv/wintab.c according to this: in line 622 you write this: if (! is_tablet_cursor(target->name, device_type) && ! devices[loop].type == XInternAtom(data->display, XI_TABLET, False)) in line 641 you write this: if (is_stylus(target->name, device_type) || devices[loop].type == XInternAtom(data->display, XI_TABLET, False)) my tablet will be recognised.
Unfortunately I was not able to test if this is going to work or not, because I was not able to build wine properly so far. (Gimp 2.8 windows version was always crashed with the one I have built, but the tablet was recognised as tablet though.)
You can find a list of tablets which are using the evdev driver here: http://sourceforge.net/apps/mediawiki/digimend/index.php?title=Tablet_suppor...
If you have any questions please let me know.