-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pen/eraser confusion with wacom bamboo ink plus #74
Comments
The Wacom pen seems to work correctly with the libinput driver, though the Lenovo pen lost the eraser function. |
EDIT: See following reply... |
Oops, looks like I tested the wrong recording 😳 Indeed, the problem you describe looks like it's a variant of #52 (and would probably explain #39 as well). Specifically, our driver is seeing that your hardware sends It looks like commit 3657396 didn't go quite far enough in preventing this issue from ocurring... |
@cstoitner Sorry for bothering you and for the off-topic: I also have the Bamboo Ink Plus stylus and want to make it run unter Linux and a Thinkpad Yoga 14. However, for me it already fails at the Bluetooth connection stage. The pairing works but the connection is killed instantly after it's established. I don't want to abuse this issue so if you can provide some information about that please drop me a mail at: noir@mailbox.org |
@Noir- I understand wanting to get in touch with somebody else that has the same stylus, but please open a new issue rather than replying off-topic. I've heard of a similar issue and may have a workaround. Note, however, that even with the workaround, the Bluetooth button does not work correctly under Linux at the moment. |
AES sensors "appear" to use protocol 5 since they send ABS_MISC events which contain information about the tool type in use. The tool type information sent by AES sensors does not contain stylus/eraser/puck information, however, so we need to ignore it or else we may randomly end up treating the pens as erasers if a certian bit is set. Fixes: linuxwacom#74 Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
I've just pushed a possible fix for this up to my personal repository if anyone is interested in testing it. You should run |
I've tested this fix on a New Dell XPS 13 2-in-1 7390 with a FHD+ display, also applying the additions from this branch here https://github.com/dotellie/libwacom/tree/dell-xps-2-in-1-7390 so that the Wacom HID 48ED panel is recognised, and it appears to fix the problems with the eraser automatically selecting when using a Dell PN579X. |
AES sensors "appear" to use protocol 5 since they send ABS_MISC events which contain information about the tool type in use. The tool type information sent by AES sensors does not contain stylus/eraser/puck information, however, so we need to ignore it or else we may randomly end up treating the pens as erasers if a certian bit is set. Fixes: linuxwacom#74 Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
AES sensors "appear" to use protocol 5 since they send ABS_MISC events which contain information about the tool type in use. The tool type information sent by AES sensors does not contain stylus/eraser/puck information, however, so we need to ignore it or else we may randomly end up treating the pens as erasers if a certian bit is set. Fixes: linuxwacom#74 Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
AES sensors use protocol 5 since they send ABS_MISC events which contain information about the tool type in use. The tool type information sent by AES sensors does not match that used by EMR sensors, however. In particular, it is not possible to extract stylus/eraser/puck information from the ID. This commit adds detection for AES pen IDs and does not try to extract such information if an AES pen is in use. Fixes: linuxwacom#74 Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
AES sensors use protocol 5 since they send ABS_MISC events which contain information about the tool type in use. The tool type information sent by AES sensors does not match that used by EMR sensors, however. In particular, it is not possible to extract stylus/eraser/puck information from the ID. The driver would normally never try to extract this information, but the problem was highlighed when a bug in the kernel would cause the device ID to be reported twice: once in a packet alongside a BTN_TOOL_* event (fine) and a second time in a packet without such an event (causing the driver to try to figure it out from the ID instead). This commit adds detection for AES pen IDs and does not try to extract such information if an AES pen is in use. Ref: linuxwacom/input-wacom#134 Fixes: linuxwacom#74 Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
AES sensors use protocol 5 since they send ABS_MISC events which contain information about the tool type in use. The tool type information sent by AES sensors does not match that used by EMR sensors, however. In particular, it is not possible to extract stylus/eraser/puck information from the ID. The driver would normally never try to extract this information, but the problem was highlighed when a bug in the kernel would cause the device ID to be reported twice: once in a packet alongside a BTN_TOOL_* event (fine) and a second time in a packet without such an event (causing the driver to try to figure it out from the ID instead). This commit adds detection for AES pen IDs and does not try to extract such information if an AES pen is in use. Ref: linuxwacom/input-wacom#134 Fixes: linuxwacom#74 Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
After spending some time on this and other related pen ID issues, I've made some changes to the "fix-74" branch mentioned above and created a pull request for the updated version. Would anyone be willing to test the updated version to make sure it still works for them? You should delete the xf86-input-wacom source directory you may already have and then follow the instructions in my post just above. |
In order to test this update I re-installed the AUR version of xf86-input-wacom to confirm that the issue still persisted, then I cloned the mentioned repository to a clean folder and installed it. This solution still works. |
AES sensors use protocol 5 since they send ABS_MISC events which contain information about the tool type in use. The tool type information sent by AES sensors does not match that used by EMR sensors, however. In particular, it is not possible to extract stylus/eraser/puck information from the ID. The driver would normally never try to extract this information, but the problem was highlighed when a bug in the kernel would cause the device ID to be reported twice: once in a packet alongside a BTN_TOOL_* event (fine) and a second time in a packet without such an event (causing the driver to try to figure it out from the ID instead). This commit adds detection for AES pen IDs and does not try to extract such information if an AES pen is in use. Ref: linuxwacom/input-wacom#134 Fixes: linuxwacom#74 Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
AES sensors use protocol 5 since they send ABS_MISC events which contain information about the tool type in use. The tool type information sent by AES sensors does not match that used by EMR sensors, however. In particular, it is not possible to extract stylus/eraser/puck information from the ID. The driver would normally never try to extract this information, but the problem was highlighed when a bug in the kernel would cause the device ID to be reported twice: once in a packet alongside a BTN_TOOL_* event (fine) and a second time in a packet without such an event (causing the driver to try to figure it out from the ID instead). This commit adds detection for AES pen IDs and does not try to extract such information if an AES pen is in use. We assume that any protocol 5 device which predates the use of Intuos5-era technology uses the legacy IDs. Ref: linuxwacom/input-wacom#134 Fixes: linuxwacom#74 Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
On my Lenovo X1 Tablet 3. gen the Wacom bamboo ink plus stylus seems to confuse eraser and pen mode. Usually the eraser-tool is selected when the stylus is brought near the display, irrespective of pushing the eraser button. Sometimes the normal pen tool is selected instead. When the eraser button is pushed after they stylus is already near the display then the pen tool is usually selected (and it stays that way even after the button is released).
Kritas tablet tester windows usually prints the following when the stylus is brought near the display and than taken away again:
With the Lenovo pen it looks like this instead:
´´´
Pen tip brought near
...
Pen tip taken away
´´´
The Lenovo pen included with the tablet works without problems. Both pens work on windows without problems. I am running debian bullseye with xserver-xorg-input-wacom 0.34.99.1-1.
This bug sound pretty similar to #39 and maybe #52.
I have run the
capture.sh
script from the other issue on the stylus device, drawing a short line with either pen without any buttons pressed.lenovo_pen_stylus.tar.gz
wacom_bamboo_ink_plus_stylus.tar.gz
The text was updated successfully, but these errors were encountered: