Button presses problems with G-Pen F610

Bug #888781 reported by Milan Zamazal
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Wizardpen
Fix Committed
Undecided
Unassigned

Bug Description

When using Wizardpen with Genius G-Pen F610, pen buttons are often mutually exchanged and tablet touches sometimes completely stop working. This is because the tablet sends multiple events (event->value == 2) when holding a button while dragging the pen. The driver expects just pairs of single button-on/off events and implements the button state switching as simple toggle. This can be fixed by switching button states based on the actual event value, see the attached patch. After applying the patch buttons on my tablet work perfectly.

Related branches

Revision history for this message
Milan Zamazal (pdm-j) wrote :
Revision history for this message
Nikolai Kondrashov (spbnick) wrote :

It looks like a hardware failure, a contact bounce, maybe.

As an alternative to wizardpen driver, you could try using the tablet with the evdev driver - simply remove any wizardpen configuration from X.org configs - it should also work.

Revision history for this message
Milan Zamazal (pdm-j) wrote :

It's not a hardware failure and the patch fixing the software problem has already been applied (BTW, it's a good idea to use facts instead of speculations). As for evdev, I wasn't aware it can handle pressure levels, does it really? But I'm going to try the tablet with wacom driver, since I use a Wacom tablet and presence of both wacom and wizardpen drivers causes an X server crash.

Revision history for this message
Nikolai Kondrashov (spbnick) wrote :

Great! Then the bug should have probably been marked as "fixed" :)

It's just I don't remember this tablet producing multiple events, when I tested it.
Did you see this happen with other samples of this model?

Yes, evdev can handle that. And in fact I tested this tablet with evdev, when I was doing the kernel driver.

Regarding the wacom driver, I've heard that at least some Waltop tablets worked with it.

Revision history for this message
Milan Zamazal (pdm-j) wrote :

I tried it and the tablet indeed works with both the evdev and wacom drivers, great!

I don't have another sample of the tablet, so I can't say whether producing multiple events is a fault or a feature or a feature of just some series of the model. But it doesn't hurt if the driver can handle them.

Changed in wizardpen:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.