On 07/28/2010 07:08 PM, Peter Hutterer wrote: > On Wed, Jul 28, 2010 at 06:32:32PM -0400, Rafi Rubin wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 07/28/10 18:20, Peter Hutterer wrote: >>> This commit introduces a regression, the pen stops working on TouchSmart tx2 >>> devices. From the report "with 0.10.7 I can't left click anymore with my >>> pen. It seems it's not recognized anymore... (used to work with 0.10.6)" >>> >>> Bisected by Thomas Spura to commit 83db7fb4a71c6460ac2aaee3476fb49c36f9cbb6. >>> For more detail and logs see. >>> http://www.mail-archive.com/[email protected]/msg01183.html >>> >>> Reverting this commit means the device uses the evdev driver instead which >>> seems to work fine. >> >> I'll have to see what's in the current fedora. With evdev 2.3.2, I get left >> clicks with the pen but nothing else. Also evdev does not implement multiple >> tools (ie no eraser). > > yeah, evdev won't be implementing this anytime soon, at least not in this > way. the problem though is that this match pattern _breaks_ things, Thomas' > device worked before and doesn't anymore.
I'm not sure I consider left clicks only a particularly functional state. It might solve Thomas' concerns, but will almost certainly raise issues with many others. >> If you'd like to shift to using evdev for n-trig pens, we should discuss it >> further. > > depends much on how "special" n-trig pens are. we can fix up evdev to make > it work properly but if it requires things like the multi-tool approach I'd > rather keep it in wacom. I don't know how many programs make a big deal about the difference between tools/devices vs. buttons. Gimp at least is nicer when the eraser is treated as a separate device. >> But if you do choose to make that change, it would be better to just >> remove the entire block instead of reducing the pattern to the older >> unmatched >> form. If evdev is now good enough for the current firmware+kernel driver, it >> should be good enough for the older versions. > > works for me. we've added the ntrig pattern to the Fedora fdi files at some > point but I can't seem to find the bug prompting for that, so I'm willing to > revert this to see what happens :) > > Cheers, > Peter Installing 0.10.7 to see what's wrong. I see there's also a 0.10.8, should I be testing that instead? Rafi >>> This reverts commit 83db7fb4a71c6460ac2aaee3476fb49c36f9cbb6. >>> >>> Signed-off-by: Peter Hutterer <[email protected]> >>> CC: Rafi Rubin <[email protected]> >>> CC: Thomas Spura <[email protected]> >>> --- >>> conf/50-wacom.conf | 2 +- >>> 1 files changed, 1 insertions(+), 1 deletions(-) >>> >>> diff --git a/conf/50-wacom.conf b/conf/50-wacom.conf >>> index ce49613..c64d8d2 100644 >>> --- a/conf/50-wacom.conf >>> +++ b/conf/50-wacom.conf >>> @@ -24,7 +24,7 @@ EndSection >>> # N-Trig Duosense Electromagnetic Digitizer >>> Section "InputClass" >>> Identifier "Wacom N-Trig class" >>> - MatchProduct "HID 1b96:0001|N-Trig Pen" >>> + MatchProduct "HID 1b96:0001" >>> MatchDevicePath "/dev/input/event*" >>> Driver "wacom" >>> Option "Button2" "3" >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.10 (GNU/Linux) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >> >> iEYEARECAAYFAkxQr/4ACgkQwuRiAT9o60/GJQCfRvygGUKvj2pBLyvUXYSc7KJD >> 0AkAoMxyOQ1Bc/oybIU9HGT+5VJHJc00 >> =EkQk >> -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
