On Tuesday 29 August 2006 10:32, Pablo Giménez wrote: > Hi all! > I am experimenting some problems using my wacom graphire and linux > wacom on my Ubuntu Dapper box. > I am using the wacom drivers that came with Dapper, version 1.44. > All work perfectly, but the computer is used by other people so > sometimes it have two X sessions opened, and here is where the problem > cames. > I am using wacom without problem, and then I change my user from > Gnome, so mantein my previous session opened but open a new one, in > this new session all works perfectly, but when I change again to my > original user, manteining my new session opened, the in my old sesion > the wacom device is freeze, I have to close the session I opened to > have again my wacom device working in my original session. > I know is a bit confussing but maybe somebody have suffered the same > problem. Anyone know a solution or work around for this?
Ah... Yes, *that* problem. I've seen this as well and the underlying problem is this: (X:0 - first X-server, X:1 - second) * X:0 starts and open the tablet. It also GRABs it to prevent data going to /dev/input/mice (which quite a few X-configurations uses for mouse-input). * You start X:1, but before that happened the VT is switched so X:0 closes the tablet. * X:1 starts and opens/grabs the tablet. * When you switch to X:0 again somehow the close/open/grab cycle fails and that way you will not be able to use the tablet on X:0. I did ask on the linux kernel mailing list about this problem (there are other situations than running two X-servers which are more likely to happend), but I don't think there has been any changes to get the linux kernel 'behave better' in this situation. I have a feeling that the upcoming X-releases will have a better support for hot-plugging input-devices (thus eliminating the mice-device). But until that works and is included in your distro (my guess is that it might take a while) there's not that many options for you. I developed a kernel module to solve some other things I'd wanted and at the same time I (without much thought actually) tweaked the GRAB-behavior to work better in this situation. Feel free to use it if you'd like. It's called Wacomproxy and can be found at: http://195.38.3.2/linuxprojs/ BR Magnus ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Linuxwacom-discuss mailing list Linuxwacom-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss