Bug 2215749 - Wacom tablet pen input kills all input
Summary: Wacom tablet pen input kills all input
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 38
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-18 10:26 UTC by nonstandarduser
Modified: 2023-07-06 14:07 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-06 14:07:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dmesg shows CPU LOCKUP on 19:04:27, 20s after connecting the pen tablet. Note: Input disregard starts almost immediately after connecting, but is not shown in the log. (128.98 KB, text/plain)
2023-06-18 10:26 UTC, nonstandarduser
no flags Details
Updated dmesg output; now contains calltrace (137.76 KB, text/plain)
2023-06-20 12:18 UTC, nonstandarduser
no flags Details

Description nonstandarduser 2023-06-18 10:26:02 UTC
Created attachment 1971383 [details]
dmesg shows CPU LOCKUP on 19:04:27, 20s after connecting the pen tablet. Note: Input disregard starts almost immediately after connecting, but is not shown in the log.

Created attachment 1971383 [details]
dmesg shows CPU LOCKUP on 19:04:27, 20s after connecting the pen tablet. Note: Input disregard starts almost immediately after connecting, but is not shown in the log.

My thoughts on this issue: just up until yesterday, the tablet's pen input worked fine(was using 6.3.8 yesterday). This was well after upgrading to kernel 6.3.* . And yet, out of nowhere, this issue started happening today. I did do ``dnf update`` today, but there are reasons why I think this is a kernel problem rather that a package issue. 
- First: kernel 6.2.15 works fine with the same updated packages.
- Second: I tested the rawhide kernel on a different drive(but same computer). This only has basic packages installed, and moreover, I did not apply the update to this system. I believe this definitively narrows the possible cause to the kernel.
 Just for good measure- the packages updated today, per the output of ``dnf info``, are: cpp, distribution-gpg-keys, gcc, libX11, libatomic, libgcc, libgfortran, libgomp, libquadmath, libstdc++, and selinux.

My system specs: Ryzen 7700X, RX 7900XTX, B650i, 32GB RAM running on Fedora 38, Gnome, Wayland.


1. Please describe the problem:
Upon giving a pen input with Wacom Intuos Pro M(pen tablet) via bluetooth, the system almost immediately starts disregarding all input from any input device(USB keyboard/mouse, pen tablet input etc.). I am then forced to hard-reset the PC.
Touch input on the tablet does not create issue.
[I originally stated that the system crashes sometime after all input dies; I verified by playing a video in the background that this is not the case. Only the input dies as far as I can tell. There has been some confusion due to not being able to do anything with the system after this issue happens]


2. What is the Version-Release number of the kernel:
Kernel 6.3.8-200.fc38.x86_64

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :
The newest kernel that currently does not have this issue is 6.2.15; Happens in 6.3.7, 6.3.8 etc.

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:
Connect a Wacom Intuos Pro M pen tablet via bluetooth, and input using pen.

5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:
Yes

6. Are you running any modules that not shipped with directly Fedora's kernel?:
No

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

Comment 1 nonstandarduser 2023-06-18 10:49:56 UTC
Comment on attachment 1971383 [details]
dmesg shows CPU LOCKUP on 19:04:27, 20s after connecting the pen tablet. Note: Input disregard starts almost immediately after connecting, but is not shown in the log.

Update: the issue starts when "pen input" is given using the tablet(as opposed to touch input on the tablet); simply connecting the device does not create issue. Replace the "connect" on my original attachment comment with "input using pen" and the rest of the issue still stands.

Comment 2 Kate Hsuan 2023-06-19 08:54:21 UTC
Hi,

Thank you for reporting the issue.

I've found a missing patch for fixing wacom battery status issue listed below in fedora 6.3 kernel.
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2354

I also made a scratch build for it. Once it is done, you could download kernel rpm from the following URL and try it.
https://koji.fedoraproject.org/koji/taskinfo?taskID=102343771

Thank you:)

Comment 3 nonstandarduser 2023-06-19 16:57:53 UTC
(In reply to Kate Hsuan from comment #2)
> 
> I also made a scratch build for it. Once it is done, you could download
> kernel rpm from the following URL and try it.
> https://koji.fedoraproject.org/koji/taskinfo?taskID=102343771
> 
> Thank you:)

Unfortunately, your kernel did not fix the issue.

Comment 4 Kate Hsuan 2023-06-20 04:16:22 UTC
Hi,

Thank you for testing it.

Could you please update the dmesg log with a complete call trace after the HARD LOCK was detected?
It should look like the drm call trace in your dmesg log.

Thank you

Comment 5 nonstandarduser 2023-06-20 12:18:37 UTC
Created attachment 1971716 [details]
Updated dmesg output; now contains calltrace

Comment 6 nonstandarduser 2023-07-06 14:07:30 UTC
On kernel 6.3.11, the tablet pen input works again. Thanks!


Note You need to log in before you can comment on or make changes to this bug.