Comments (16)
Confirmed on a fresh Ubuntu 18.04 installation. The device works fine on my workstation though, so there's definitely something odd going on. The data stream from the kernel device seems to continue when the pen goes down, but I see it stop when monitoring for X11 events. I still get "RawMotion" events over XI2, but not regular Motion events, so I suspect that something is going wrong in the X driver. I'll need to dig around some more...
from input-wacom.
After quite a bit of digging, I've discovered that simply changing the device name from "Wacom USB Bamboo PAD Pen" to "Wacom USB Bamboo PA Pen" is enough to get the device to start working. I now suspect that the root cause is a desktop component that has some kludgy name-based device type detection. It's probably trying to prevent pointer jumps from occurring when a "pad" sub-device is used, but rather than querying the X server for the actual device type, it assumes the name is a good enough indicator.
Still a little more digging left...
from input-wacom.
Thank you! Any luck till now?
from input-wacom.
I've done a little more testing and am still finding really weird results. When I turn on the X driver logging to see what's going on, it appears that the events are still being processed as expected even when the pen tip is down. This means that it's not a bug with something like the palm rejection code that would be disabling the stream.
I'll have to add additional logging right at the point we send out events to the X server to make sure that they aren't being derailed at the last second. If they are, it shouldn't take too long to figure out the cause. If the events are making it all the way to our call to the X server though, it'll be a bit more complicated to debug since that means the server itself is eating our events for some reason.
from input-wacom.
Did you make it work? If not, any way I can for now?
from input-wacom.
I don't have a real fix, but I've attached a workaround that should get the pen working for the moment. If you cloned the input-wacom driver from git, you can run git am 0001-HACK-Rename-Bamboo-PAD-for-Ubuntu-18.04-compatibilit.patch.txt
to apply the fix; otherwise you'll need to run patch -p1 < 0001-HACK-Rename-Bamboo-PAD-for-Ubuntu-18.04-compatibilit.patch.txt
from inside the "input-wacom" source directory. Afterwards, recompile/reinstall/reboot.
0001-HACK-Rename-Bamboo-PAD-for-Ubuntu-18.04-compatibilit.patch.txt
from input-wacom.
mutter's repo has clutter/clutter/x11/clutter-device-manager-xi2.c:create_device()
with this bit:
gchar *name;
name = g_ascii_strdown (info->name, -1);
if (strstr (name, "eraser") != NULL)
source = CLUTTER_ERASER_DEVICE;
else if (strstr (name, "cursor") != NULL)
source = CLUTTER_CURSOR_DEVICE;
else if (strstr (name, " pad") != NULL)
source = CLUTTER_PAD_DEVICE;
And yeah, re-using "PAD" in the name of the device is probably going to cause issues with the libwacom udev rules too, isn't it?
from input-wacom.
re-using "PAD" in the name of the device is probably going to cause issues with the libwacom udev rules too, isn't it?
good news here, it won't because we match on "Pad" and udev rule matching is case-sensitive. So libwacom's side is sorted in that regard afaict.
from input-wacom.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/250 is the mutter fix, I hope.
from input-wacom.
Closing, the fix for mutter above assigns the right device type now, so this isn't something we need to track in libwacom.
from input-wacom.
This may need to be reopened, with the latest update my Bamboo pad stylus is no longer clicking or moving on press.
from input-wacom.
As @boxbotteries said, my Bamboo pad stylus has stopped clicking and moving on press as well.
from input-wacom.
The fix hasn't yet been integrated into the GNOME codebase. Until it is, you will need to re-compile and install the input-wacom driver with the above "HACK" patch whenever your system installs a kernel update.
from input-wacom.
Did exactly that and lost all response to my tablet; it won't even acknowledge the stylus' movement now. Got a new system update just now so will give it another try.
from input-wacom.
Found out I was recompiling an older version of the input-wacom driver. Recompiled the latest version with the hack patch and everything is back to normal! Thanks @jigpu .
from input-wacom.
Oh, me too @boxbotteries. Thanks!
from input-wacom.
Related Issues (20)
- XP-Pen Deco Pro M orientation on Wayland HOT 1
- Bamboo One CTE-460 not being loaded with correct driver, possible driver failure? HOT 2
- Anyone running a kernel 4.4 or older? HOT 1
- Erattic behavior with the Dell Active Pen (PN5122W)
- Consider Disabling AES Pens on Broken Platforms HOT 3
- Wacom driver won't load properly HOT 3
- Error with bluetooth connection with version wacom 1.2
- 3D pen support HOT 2
- idleprox stylus patch is a regression on my Lenovo system HOT 1
- Linux multi-monitor pen tracking problem HOT 3
- Incorrect indentation in `configure` HOT 2
- Huion HS64 not working. HOT 1
- Fedora 40 - IdeaPad Flex 5 14ALC05 - Touch screen not working
- Ubuntu 22.04.4 LTS x86_64, 80VV Lenovo MIIX 720-12IKB, My tablet cannot touch anymore HOT 2
- Pen starts to have long delays after some usage, dmesg says wacom_idleprox_timeout: tool appears to be hung in-prox. forcing it out.
- Intuos Pro M via bluetooth not working HOT 1
- Linux mint - not updating.
- Wacom module not loaded for "key rejected by service" in Secure Boot HOT 1
- Pen is not working in fullscreen HOT 8
- Gnome-Control-Center does not detect bamboo ink gen 2 on Ubuntu 22.04
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from input-wacom.