On Tue, 30 May 2006 00:47:47 +0200 Magnus Vigerlöf wrote: [...} > So I got a crazy idea last friday. Why not do for tablets as they've done for > mice? Create an aggregation device which is always there, and always possible > to open which forwards the events from every Wacom tablet (usually people > only have one connected, right?).
I can imagine situations (eg. a production studio) where a huge, medium and small tablet plugged in would get the jobs done most efficiently/quickly. Or the transition period where you get used to a new tablet/model and have the old one as a quick fallback. Etc... > Took me two days and now I have a module that allows me to plug/unplug it > whenever *I* choose to. Also, as long as I have that module loaded before X > starts, all I have to do is to plug the Wacom in and start using it. > Wounderful! > > Now, personally I don't really like this solution (but it works fairly > well) 'cause imho this should be handled automatically by the X-server or a > helper application (where the different tools should be managed as well). As > far as I know they're planning for something in Xorg 7.something, but I > haven't seen anything yet, as the page has not been updated for a while > (http://wiki.x.org/wiki/XInputHotplug). Maybe they've posted information > somewhere else though.. Only on the X mailing list as the usual, 'Yeah, I'll start on it soon'. > I'm really interested in how viable you think the idea is, I haven't seen > anything like it on the net so far. I bet there's lots and lots of pit-falls > that must be handled which I havn't touched as I hardly knows the > Wacom-specific stuff as well as you guys. > > If someone wants to have a look at the module-source, mail me and I'll send > you the tar-ball. Since I'm a kernel-newbie I'd love to know what I actually > do right with the module ;) Could you toss the source in my direction, or even better put it on a web-page somewhere so we don't have to beg for it ;) Even this silly comhem ISP of mine hand out 5x10 MB web-space, so I suspect you have a few bytes available. I (probably) can't comment on the code, but your situation with a laptop is akin to mine. And since I don't use udev but a static /dev with a simple shell script to discover USB devices, the tablet still burns and crashes when (un)plugged in 0.7.4 - when the new soft links are created. Any stopgap measurement is better than just waiting for the X devs to implement a "correct" hotplug. That will take time... Mvh Mats Johannesson -- _______________________________________________ Linuxwacom-discuss mailing list Linuxwacom-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss