Bug 1217291 - Kernel 6.6 regression: Wacom tablet detected as USB hub
Summary: Kernel 6.6 regression: Wacom tablet detected as USB hub
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Oliver Neukum
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-17 16:57 UTC by Luca Beltrame
Modified: 2023-12-16 11:42 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
dmesg under kernel 6.5 (since boot) (98.91 KB, text/plain)
2023-11-23 20:31 UTC, Luca Beltrame
Details
hwinfo under kernel 6.5 (1.57 MB, text/plain)
2023-11-23 20:32 UTC, Luca Beltrame
Details
dmesg under kernel 6.6 (since boot) (94.88 KB, text/plain)
2023-11-23 20:35 UTC, Luca Beltrame
Details
hwinfo under kernel 6.6 (1.58 MB, text/plain)
2023-11-23 20:37 UTC, Luca Beltrame
Details
dmesg under kernel 6.6 (since boot) - working machine (113.60 KB, text/plain)
2023-11-27 17:52 UTC, Luca Beltrame
Details
hwinfo under kernel 6.6 (working machine) (1.57 MB, text/plain)
2023-11-27 17:52 UTC, Luca Beltrame
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Beltrame 2023-11-17 16:57:13 UTC
I own a Wacom Tablet One 12 which is supported by libwacom. 

$ lsusb # From kernel 6.5
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 056a:03cf Wacom Co., Ltd Wacom Billboard
Bus 003 Device 003: ID 056a:03ce Wacom Co., Ltd Wacom One pen display 11.6"
Bus 003 Device 002: ID 056a:03cd Wacom Co., Ltd WACOM One 12 HUB

With kernel 6.6 hitting Factory, the tablet works as a display (it has an integrated display) but it is no longer detected by libwacom-tools and does nto function as a tablet. dmesg only reports, when plugging it in,

[    3.081943] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
[    3.081949] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1

and lsusb, unlike the output above, only shows a USB hub. When downgrading to the latest 6.5 kernel, the tablet is fully functional again. 

My tests were carried under Wayland (Plasma), but I assume the issue will be on X11 as well, as the issue seems at a lower level.

Hardware information: 
Lenovo Thinkpad X470

The tablet is connected with a single USB cable through the Thunderbolt port. I will test later with the three-way cable Wacom supplies (with an external power supply).
Comment 1 Takashi Iwai 2023-11-21 16:03:52 UTC
Could you give hwinfo outputs from both working (6.5.x) and non-working (6.6.x) kernels, as well as dmesg outputs from them?  Please use attachments on Bugzilla.
Comment 2 Luca Beltrame 2023-11-23 20:31:56 UTC
Created attachment 870949 [details]
dmesg under kernel 6.5 (since boot)
Comment 3 Luca Beltrame 2023-11-23 20:32:24 UTC
Created attachment 870950 [details]
hwinfo under kernel 6.5
Comment 4 Luca Beltrame 2023-11-23 20:35:34 UTC
Created attachment 870951 [details]
dmesg under kernel 6.6 (since boot)
Comment 5 Luca Beltrame 2023-11-23 20:37:49 UTC
Created attachment 870952 [details]
hwinfo under kernel 6.6

I also ran a test on a different machine, but which uses the 3-way cable and a power supply rather than going through the Thunderbolt port (and no external power) like on this laptop, and the behavior does *not* occur.
Comment 6 Takashi Iwai 2023-11-24 08:22:48 UTC
Thanks, so it looks like a typical issue via Thunderbolt port.
Tossed to Oliver, who has a better clue.
Comment 7 Oliver Neukum 2023-11-27 13:23:31 UTC
(In reply to Luca Beltrame from comment #5)
> Created attachment 870952 [details]
> hwinfo under kernel 6.6
> 
> I also ran a test on a different machine, but which uses the 3-way cable and
> a power supply rather than going through the Thunderbolt port (and no
> external power) like on this laptop, and the behavior does *not* occur.

Please provide dmesg and hwinfo from the machine it works on with the other cable.
Comment 8 Luca Beltrame 2023-11-27 17:52:28 UTC
Created attachment 871008 [details]
dmesg under kernel 6.6 (since boot) - working machine
Comment 9 Luca Beltrame 2023-11-27 17:52:59 UTC
Created attachment 871009 [details]
hwinfo under kernel 6.6 (working machine)
Comment 10 Luca Beltrame 2023-12-16 11:42:51 UTC
Ok, I think it is something about supplying power via Thunderbolt. If I attach a power supply to the second USB-C port of this tablet, it works instantly - and more than that, unplugging the PSU maintains functionality until it is switched off.