Bug 2293600 - kernel-6.9.4-200.fc40.x86_64- USB devices not detected/won't connect
Summary: kernel-6.9.4-200.fc40.x86_64- USB devices not detected/won't connect
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 40
Hardware: x86_64
OS: All
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-21 06:04 UTC by knipp30
Modified: 2024-07-15 21:49 UTC (History)
18 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-15 21:49:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
6.8.11 kernel dmesg logs (2.84 MB, text/plain)
2024-06-21 06:04 UTC, knipp30
no flags Details
6.9.4 dmesg logs (424.48 KB, text/plain)
2024-06-21 06:11 UTC, knipp30
no flags Details

Description knipp30 2024-06-21 06:04:23 UTC
Created attachment 2037898 [details]
6.8.11 kernel dmesg logs

Created attachment 2037898 [details]
6.8.11 kernel dmesg logs

1. Please describe the problem:
After update to kernel-6.9.4-200.fc40.x86_64, USB xinput devices are not detected. it seems that the xpad kernel module is not loaded in the 6.9 kernels.

Example- XBOX-like USB controller. Controllers that use x-input.

2. What is the Version-Release number of the kernel:
kernel-6.9.4-200.fc40.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 :

First found on kernel-6.9.4-200.fc40.x86_64, devices detected and work just fine on 
kernel-6.8.11-300.fc40.x86_64

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:
a. boot into kernel 6.9.4-200
b. Try and use above USB devices (even in different ports)
c. USB XBOX controller receives power, but is never connected as a controller
d. Depending on the boot, the mouse will/wont work as well.

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``:

Have not tested, will do so if absolutely necessary.

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.

Will upload both working and non-working logs to the BZ.

Comment 1 knipp30 2024-06-21 06:11:31 UTC
Created attachment 2037899 [details]
6.9.4 dmesg logs

Comment 2 knipp30 2024-06-24 05:55:58 UTC
Issue still present on kernel:
6.9.5-200.fc40.x86_64

Thanks!

Comment 3 knipp30 2024-06-27 19:58:09 UTC
One more update, after some digging I was able to find the following:
https://lore.kernel.org/all/CABRw72orHLEqpAS%3DcW1ThGkVUW0juqc7Y_-N2%3Do-k0rSqgpLxA@mail.gmail.com/

Looks to be a regression from 6.8 > 6.9. 

Please let me know if I can assist.

Comment 4 knipp30 2024-07-03 06:26:53 UTC
Still present in kernel -6.9.7-200.fc40.x86_64

Comment 5 knipp30 2024-07-12 15:23:07 UTC
Still present in kernel 6.9.8-200.fc40.x86_64

Comment 6 knipp30 2024-07-15 18:31:20 UTC
Hi, 

I seem to have found the issue. It seems that the xpad kernel module, which was in the 6.8 and below kernels, is not present in the 6.9.4+ kernels. 

Can this be added back to the kernel?

Comment 7 Justin M. Forbes 2024-07-15 20:40:05 UTC
That module is in the kernel-modules-extra package:

rpm -ql kernel-modules-extra-6.9.7-200.fc40.x86_64 | grep xpad
/lib/modules/6.9.7-200.fc40.x86_64/extra/drivers/input/joystick/psxpad-spi.ko.xz
/lib/modules/6.9.7-200.fc40.x86_64/extra/drivers/input/joystick/xpad.ko.xz

Comment 8 knipp30 2024-07-15 21:29:29 UTC
Hi Justin,

Do you know if there is a reason that this changed between 6.8 and 6.9?

Looking at my installed kernel packages for 6.8.11 and 6.9.7:
~~~
$ rpm -qa |grep 6.8.11
kernel-modules-core-6.8.11-300.fc40.x86_64
kernel-core-6.8.11-300.fc40.x86_64
kernel-modules-6.8.11-300.fc40.x86_64
kernel-6.8.11-300.fc40.x86_64
kernel-devel-6.8.11-300.fc40.x86_64

$ rpm -qa |grep 6.9.7
kernel-modules-core-6.9.7-200.fc40.x86_64
kernel-core-6.9.7-200.fc40.x86_64
kernel-modules-6.9.7-200.fc40.x86_64
kernel-6.9.7-200.fc40.x86_64
kernel-devel-6.9.7-200.fc40.x86_64
~~~

I'll test in a moment and let you know if this resolves the issue.

Thanks!

Comment 9 knipp30 2024-07-15 21:49:32 UTC
Justin, 

Thanks for the update on this! Installing the kernel-modules-extra package fixed this issue and now the xinput devices work as expected. 

There are a handful of users in the Fedora subreddit that had this issue, as well as the mailing list update I shared earlier. Ill do what I can to update any that I see experiencing this issue. 

Ill go ahead and close this BZ, thanks!


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