Mark Chandler <mcl@...> writes:
> Based on Bastien's recent blog post, I've created a tablet file for my
> Graphire3.
> 
> I'm still a bit clueless about how to discover the stylus ID.

You might need to update the stylus database to name your stylus, but you 
should be able to get the ID using gnome-settings-daemon's "list-wacom" test 
program. For example, on my Intuos4 (after removing the tablet definition), I 
would get:

$ ./list-wacom -m -d | grep "Could not find stylus ID"
Gtk-Message: Failed to load module "pk-gtk-module"
** DEBUG: Could not find stylus ID 0x80a for tablet 'Wacom Intuos4 6x9', 
setting general pen ID 0xffffe instead
** DEBUG: Could not find stylus ID 0x802 for tablet 'Wacom Intuos4 6x9', 
setting general pen ID 0xfffff instead
** DEBUG: Could not find stylus ID 0x802 for tablet 'Wacom Intuos4 6x9', 
setting general pen ID 0xfffff instead
** DEBUG: Could not find stylus ID 0x20802 for tablet 'Wacom Intuos4 6x9', 
setting general pen ID 0xfffff instead
** DEBUG: Could not find stylus ID 0x20802 for tablet 'Wacom Intuos4 6x9', 
setting general pen ID 0xfffff instead
** DEBUG: Could not find stylus ID 0x802 for tablet 'Wacom Intuos4 6x9', 
setting general pen ID 0xfffff instead

You should get something similar for your tablet, although I believe Jason 
mentioned a kernel and/or driver bug that would mean that the last stylus used 
doesn't get saved in the device property.

For more information about how we get the ID see:
http://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/common/gsd-
input-helper.c#n292

I've committed what you sent so far.

Cheers


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to