[Bug 1194071] New: Request to build kernel-default with 'kmod(analog.ko)'

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 Bug ID: 1194071 Summary: Request to build kernel-default with 'kmod(analog.ko)' Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.3 Hardware: x86-64 OS: openSUSE Leap 15.3 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: leaplxde@tutanota.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Kernel-default for openSUSE Leap 15.3 is not built with kernel module 'kmod(analog.ko)' that is needed to configure and use gaming joysticks. Other Linux distributions such as Fedora and Mageia have it already in their kernel build. I would appreciate the support of openSUSE kernel maintainers and developers to make this module available out-of-the-box. Thanks -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c2 --- Comment #2 from leaplxde <leaplxde@tutanota.com> --- (In reply to Takashi Iwai from comment #1)
Hrm, this module (and other gameport stuff) has been disabled on Leap 15.3 intentionally because it would bring the unwanted dependency chains to other modules, with a hope that no one actually uses any longer. But it looks like a too naive wish.
I'm building a test kernel with the re-enablement of gameport and analog modules in OBS home:tiwai:bsc1194071 repo. Let's see whether the build works, and if that's OK, please give it a try later.
Dear Takashi Iwai, Thanks for your prompt feedback and action, I'll certainly test your newly built kernel once it's published in your OBS home repo and provide you with the necessary feedback. Let me wish you a happy new year. -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c3 --- Comment #3 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854936 --> http://bugzilla.opensuse.org/attachment.cgi?id=854936&action=edit Screenshot 01 -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c4 --- Comment #4 from leaplxde <leaplxde@tutanota.com> --- (In reply to leaplxde from comment #2)
(In reply to Takashi Iwai from comment #1)
Hrm, this module (and other gameport stuff) has been disabled on Leap 15.3 intentionally because it would bring the unwanted dependency chains to other modules, with a hope that no one actually uses any longer. But it looks like a too naive wish.
I'm building a test kernel with the re-enablement of gameport and analog modules in OBS home:tiwai:bsc1194071 repo. Let's see whether the build works, and if that's OK, please give it a try later.
Dear Takashi Iwai,
Thanks for your prompt feedback and action, I'll certainly test your newly built kernel once it's published in your OBS home repo and provide you with the necessary feedback. Let me wish you a happy new year.
Takashi Iwai, As promised, I have enabled your OBS repo and installed your newly built kernel-default in addition to kernel-default-optional package that contains kernel module 'kmod(analog.ko)'. The installation was successful with no errors. I have rebooted my system to the newly installed kernel, then I installed additional packages, which I re-built from srpms (ported from fedora), namely (i) joystick-support; and (ii) jstest-gtk. Last but not least, I made sure that the following packages are also installed in my system (i) xf86-input-joystick; and (ii) linuxconsoletools. I plugged in my usb controller and rebooted my pc for the second time. When I opened jstest-gtk, the application did not detect my usb controller (please see attached screenshots). Then I opened my terminal and executed the following commands: gecko@gecko-vivobook15asuslaptopx540uar:~> lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 006: ID 04ca:3018 Lite-On Technology Corp. Bus 001 Device 004: ID 13d3:5a11 IMC Networks USB2.0 VGA UVC WebCam Bus 001 Device 008: ID 045e:028e Microsoft Corp. Xbox360 Controller Bus 001 Device 002: ID 03f0:2641 HP, Inc HP Wireless Keyboard and Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub gecko@gecko-vivobook15asuslaptopx540uar:~> lsmod | grep joydev joydev 28672 0 gecko@gecko-vivobook15asuslaptopx540uar:~> So, I can see that the system has detected the usb controller as 'Bus 001 Device 008: ID 045e:028e Microsoft Corp. Xbox360 Controller' but jstest-gtk cannot detect it. Am I missing installing an important package in order to make it work properly? Kindly advise, thanks. -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c5 --- Comment #5 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854937 --> http://bugzilla.opensuse.org/attachment.cgi?id=854937&action=edit Screenshot 02 -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c6 --- Comment #6 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854938 --> http://bugzilla.opensuse.org/attachment.cgi?id=854938&action=edit Screenshot 03 -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c7 --- Comment #7 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854939 --> http://bugzilla.opensuse.org/attachment.cgi?id=854939&action=edit Screenshot 04 -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c8 --- Comment #8 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854940 --> http://bugzilla.opensuse.org/attachment.cgi?id=854940&action=edit Screenshot 05 -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c9 --- Comment #9 from Takashi Iwai <tiwai@suse.com> --- Which device do you want to enable? The analog.ko module you requested is really for a very old analog joystick, and it's unlikely relevant with USB stuff. I'm afraid you're trying to scratch a wrong surface. Please give the lsusb -v output of the corresponding device you want to enable. -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c10 --- Comment #10 from leaplxde <leaplxde@tutanota.com> --- (In reply to Takashi Iwai from comment #9)
Which device do you want to enable? The analog.ko module you requested is really for a very old analog joystick, and it's unlikely relevant with USB stuff.
I'm afraid you're trying to scratch a wrong surface. Please give the lsusb -v output of the corresponding device you want to enable.
Dear Takashi Iwai, The analog.ko module is required for my usb controller, I already tested that in Fedora 35 and without it my usb controller will not be detected by jstest-gtk nor function properly. Please find below the output of running the lsusb -v command in terminal: gecko@gecko-vivobook15asuslaptopx540uar:~> lsusb -v Bus 001 Device 009: ID 045e:028e Microsoft Corp. Xbox360 Controller Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 255 Vendor Specific Protocol bMaxPacketSize0 8 idVendor 0x045e Microsoft Corp. idProduct 0x028e Xbox360 Controller bcdDevice 1.10 iManufacturer 1 D iProduct 2 TGZ Controller iSerial 3 3E529640 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0030 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 93 bInterfaceProtocol 1 iInterface 0 ** UNRECOGNIZED: 10 21 10 01 01 24 81 14 03 00 03 13 02 00 03 00 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0020 1x 32 bytes bInterval 4 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0020 1x 32 bytes bInterval 8 I pasted above the info related to usb controller only, you may check the attached text file for the full output if you need it. my controller is a generic wireless gamepad with a nano 2.4GHz usb dongle. Thanks again for your support. -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c11 --- Comment #11 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854945 --> http://bugzilla.opensuse.org/attachment.cgi?id=854945&action=edit lsusb -v full output -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c12 --- Comment #12 from Takashi Iwai <tiwai@suse.com> --- AFAIK, the xbox joystick should be supported by xpad driver instead. Please check whether the module gets bound with the xbox device at first. At best, after connecting the device, run hwinfo and upload the output, as well as the output of dmesg command. -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c13 --- Comment #13 from leaplxde <leaplxde@tutanota.com> --- (In reply to Takashi Iwai from comment #12)
AFAIK, the xbox joystick should be supported by xpad driver instead. Please check whether the module gets bound with the xbox device at first. At best, after connecting the device, run hwinfo and upload the output, as well as the output of dmesg command.
I installed xboxdrv from the official repo and rebooted my machine. my wireless usb controller was not detected. I have run hwinfo and dmesg as root. 43: USB 00.0: 0000 Unclassified device [Created at usb.122] Unique ID: 2UT6.U5JZiRux1U4 Old Unique ID: 9yrU.xoDUhTx5iRB Parent ID: k4bc.2DFUsyrieMD SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0 SysFS BusID: 1-3:1.0 Hardware Class: unknown HW Class List: usb Model: "Microsoft Xbox360 Controller" Hotplug: USB Vendor: usb 0x045e "Microsoft Corp." Device: usb 0x028e "Xbox360 Controller" Revision: "1.10" Serial ID: "3E529600" Speed: 12 Mbps Module Alias: "usb:v045Ep028Ed0110dcFFdscFFdpFFicFFisc5Dip01in00" Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #45 (Hub) unknown: /dev/input/event20 Microsoft Xbox360 Controller gecko-vivobook15asuslaptopx540uar:/home/gecko # dmesg -t usb 1-3: USB disconnect, device number 3 usb 1-3: new full-speed USB device number 7 using xhci_hcd usb 1-3: New USB device found, idVendor=045e, idProduct=028e, bcdDevice= 1.10 usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-3: Product: TGZ Controller usb 1-3: Manufacturer: D usb 1-3: SerialNumber: 3E529650 gecko-vivobook15asuslaptopx540uar:/home/gecko # dmesg | grep "xhci_hcd" [ 3.284870] xhci_hcd 0000:00:14.0: xHCI Host Controller [ 3.284878] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1 [ 3.285996] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000081109810 [ 3.286327] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported [ 3.288709] xhci_hcd 0000:00:14.0: xHCI Host Controller [ 3.288715] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2 [ 3.288719] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed [ 3.782398] usb 1-2: new full-speed USB device number 2 using xhci_hcd [ 4.082376] usb 1-3: new full-speed USB device number 3 using xhci_hcd [ 4.378309] usb 1-6: new high-speed USB device number 4 using xhci_hcd [ 4.690300] usb 1-8: new full-speed USB device number 5 using xhci_hcd [ 14.202474] usb 1-8: new full-speed USB device number 6 using xhci_hcd [ 2870.362292] usb 1-3: new full-speed USB device number 7 using xhci_hcd I also attached the output files for your reference. I hope the provided info is helpful. Thanks -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c14 --- Comment #14 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854947 --> http://bugzilla.opensuse.org/attachment.cgi?id=854947&action=edit hardwareinfo -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c15 --- Comment #15 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854948 --> http://bugzilla.opensuse.org/attachment.cgi?id=854948&action=edit hwinfo -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c16 --- Comment #16 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854949 --> http://bugzilla.opensuse.org/attachment.cgi?id=854949&action=edit dmesg grep -i usb -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c17 --- Comment #17 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854950 --> http://bugzilla.opensuse.org/attachment.cgi?id=854950&action=edit dmesg -t -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c18 --- Comment #18 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854951 --> http://bugzilla.opensuse.org/attachment.cgi?id=854951&action=edit Xbox360 -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c19 --- Comment #19 from Takashi Iwai <tiwai@suse.com> --- OK, then try the kernel in OBS Kernel:stable:Backport repo. It's a built from the latest 5.15.x kernel, and we'll see whether the device gets detected there or not. http://download.opensuse.org/repositories/Kernel:/stable:/Backport/standard/ -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c20 --- Comment #20 from leaplxde <leaplxde@tutanota.com> --- (In reply to Takashi Iwai from comment #19)
OK, then try the kernel in OBS Kernel:stable:Backport repo. It's a built from the latest 5.15.x kernel, and we'll see whether the device gets detected there or not.
http://download.opensuse.org/repositories/Kernel:/stable:/Backport/standard/
I installed kernel-default 5.15 from the Kernel Stable repo but the problem persists. I noticed that this new kernel does not provide kernel-default-optional and thus kmod(analog.ko) does not exist in this kernel version. -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c21 --- Comment #21 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854955 --> http://bugzilla.opensuse.org/attachment.cgi?id=854955&action=edit Yast2-package-manager -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c23 --- Comment #23 from leaplxde <leaplxde@tutanota.com> --- (In reply to Takashi Iwai from comment #22)
The lack of analog module is expected, and let's forget about it right now.
On the 5.15.x kernel, with Xbox controller connected, try to run modprobe xpad as root. Does the driver bind with the device if loaded manually?
You're genius, I ran 'modprobe xpad' as root and the problem is fixed (See attached screenshots). You're right it's the xpad module not 'kmod(analog.ko)'. Now, how can I make xpad module load automatically upon each reboot and make it available for all users in my machine? Thanks again for your support and apologies for the trouble. -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c24 --- Comment #24 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854958 --> http://bugzilla.opensuse.org/attachment.cgi?id=854958&action=edit Problem solved 01 -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c25 --- Comment #25 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854959 --> http://bugzilla.opensuse.org/attachment.cgi?id=854959&action=edit Problem solved 02 -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c26 --- Comment #26 from Takashi Iwai <tiwai@suse.com> --- Good to hear, and that relieved me (we don't need to add the tad legacy driver again :) It's still puzzling why xpad module wasn't loaded as default. Could you give the output of modprobe -c and modinfo xpad on your system? Also, please check whether manually loading xpad also works with Leap 15.3 kernel, too. -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c27 --- Comment #27 from leaplxde <leaplxde@tutanota.com> --- (In reply to Takashi Iwai from comment #26)
Good to hear, and that relieved me (we don't need to add the tad legacy driver again :)
It's still puzzling why xpad module wasn't loaded as default. Could you give the output of modprobe -c and modinfo xpad on your system?
Also, please check whether manually loading xpad also works with Leap 15.3 kernel, too.
Please find attached 'modprobe -c' and 'modinfo xpad' output files as root, these files are lengthy. I reboot my machine to Leap 15.3 default kernel (5.3.18-57-default) and when I tried to run 'modprobe xpad', I got the following error message: gecko@gecko-vivobook15asuslaptopx540uar:~> su Password: gecko-vivobook15asuslaptopx540uar:/home/gecko # modprobe xpad modprobe: FATAL: Module xpad not found in directory /lib/modules/5.3.18-57-default I also noticed that since I installed xboxdrv package from the official repo, I got a config file named '50-xpad.conf' and it's located under /etc/modprobe.d The content of this file is written below as follows: # xpad must not be loaded in order for xboxdrv to function blacklist xpad Do you recommend that I should uninstall xboxdrv from my machine? -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c28 --- Comment #28 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854961 --> http://bugzilla.opensuse.org/attachment.cgi?id=854961&action=edit modprobe -c -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c29 --- Comment #29 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854962 --> http://bugzilla.opensuse.org/attachment.cgi?id=854962&action=edit modinfo xpad -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c30 --- Comment #30 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854963 --> http://bugzilla.opensuse.org/attachment.cgi?id=854963&action=edit 50-xpad.conf -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c31 --- Comment #31 from Takashi Iwai <tiwai@suse.com> --- (In reply to leaplxde from comment #27)
gecko-vivobook15asuslaptopx540uar:/home/gecko # modprobe xpad modprobe: FATAL: Module xpad not found in directory /lib/modules/5.3.18-57-default
Weird. Do you have installed kernel-default-extra as well?
I also noticed that since I installed xboxdrv package from the official repo, I got a config file named '50-xpad.conf' and it's located under /etc/modprobe.d
The content of this file is written below as follows: # xpad must not be loaded in order for xboxdrv to function blacklist xpad
Ah, that's it. It explicitly disables the kernel driver, as it's replacing with the user-space driver.
Do you recommend that I should uninstall xboxdrv from my machine?
If the kernel xpad driver works enough, you should uninstall xboxdrv, yes. -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c32 --- Comment #32 from leaplxde <leaplxde@tutanota.com> --- (In reply to Takashi Iwai from comment #31)
(In reply to leaplxde from comment #27)
gecko-vivobook15asuslaptopx540uar:/home/gecko # modprobe xpad modprobe: FATAL: Module xpad not found in directory /lib/modules/5.3.18-57-default
Weird. Do you have installed kernel-default-extra as well?
I also noticed that since I installed xboxdrv package from the official repo, I got a config file named '50-xpad.conf' and it's located under /etc/modprobe.d
The content of this file is written below as follows: # xpad must not be loaded in order for xboxdrv to function blacklist xpad
Ah, that's it. It explicitly disables the kernel driver, as it's replacing with the user-space driver.
Do you recommend that I should uninstall xboxdrv from my machine?
If the kernel xpad driver works enough, you should uninstall xboxdrv, yes.
I have uninstalled the following packages from my machine: joystick-support kernel-default-optional kernel-default-extra xboxdrv I noticed that both kernel-default-optional and kernel-default-extra belong to your OBS kernel build not the official Leap 15.3 kernel. After rebooting my machine, I ran the modprobe xpad command as root but I got the same error message. gecko@gecko-vivobook15asuslaptopx540uar:~> su Password: gecko-vivobook15asuslaptopx540uar:/home/gecko # modprobe xpad modprobe: FATAL: Module xpad not found in directory /lib/modules/5.3.18-57-default -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c33 --- Comment #33 from Takashi Iwai <tiwai@suse.com> --- You shouldn't uninstall kernel-default-extra and kernel-default-optional. Those are kernel drivers that are needed for many devices. You can just uninstall my test kernel, but re-install kernel-default-extra and kernel-default-optional from the official repo. -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c34 --- Comment #34 from leaplxde <leaplxde@tutanota.com> --- (In reply to Takashi Iwai from comment #33)
You shouldn't uninstall kernel-default-extra and kernel-default-optional. Those are kernel drivers that are needed for many devices. You can just uninstall my test kernel, but re-install kernel-default-extra and kernel-default-optional from the official repo.
Thanks for the advice, I have removed your testing kernel and deleted your OBS repo. Then I reinstalled both kernel-default-extra and kernel-default-optional from the official repo. I reboot the machine and tried to modprobe xpad with no success. I got the same error message. gecko@gecko-vivobook15asuslaptopx540uar:~> su Password: gecko-vivobook15asuslaptopx540uar:/home/gecko # modprobe xpad modprobe: FATAL: Module xpad not found in directory /lib/modules/5.3.18-57-default Do you recommend that I do a fresh installation of Leap 15.3 and test modprobe xpad again as root? -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c35 --- Comment #35 from Takashi Iwai <tiwai@suse.com> --- Make sure that you install the correct kernels. Run the following as root: zypper in -f kernel-default-5.3.18-59.37.2 kernel-default-extra-5.3.18-59.37.2 kernel-default-optional-5.3.18-59.37.2 -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c36 --- Comment #36 from leaplxde <leaplxde@tutanota.com> --- (In reply to Takashi Iwai from comment #35)
Make sure that you install the correct kernels.
Run the following as root: zypper in -f kernel-default-5.3.18-59.37.2 kernel-default-extra-5.3.18-59.37.2 kernel-default-optional-5.3.18-59.37.2
I ran the command as per your instructions but it didn't work after the reboot gecko-vivobook15asuslaptopx540uar:/home/gecko # zypper in -f kernel-default-5.3.18-59.37.2 kernel-default-extra-5.3.18-59.37.2 kernel-default-optional-5.3.18-59.37.2 Loading repository data... Reading installed packages... Forcing installation of 'kernel-default-5.3.18-59.37.2.x86_64' from repository 'Leap-15.3_updates_SLE'. Forcing installation of 'kernel-default-extra-5.3.18-59.37.2.x86_64' from repository 'Leap-15.3_updates_SLE'. Forcing installation of 'kernel-default-optional-5.3.18-59.37.2.x86_64' from repository 'Leap-15.3_updates_SLE'. Resolving package dependencies... The following 3 packages are going to be reinstalled: kernel-default-5.3.18-59.37.2 kernel-default-extra-5.3.18-59.37.2 kernel-default-optional-5.3.18-59.37.2 The following package requires a system reboot: kernel-default-5.3.18-59.37.2 3 packages to reinstall. Overall download size: 0 B. Already cached: 96.5 MiB. No additional space will be used or freed after the operation. Note: System reboot required. Continue? [y/n/v/...? shows all options] (y): y In cache kernel-default-5.3.18-59.37.2.x86_64.rpm (1/3), 64.4 MiB (148.5 MiB unpacked) In cache kernel-default-extra-5.3.18-59.37.2.x86_64.rpm (2/3), 20.2 MiB ( 13.7 MiB unpacked) In cache kernel-default-optional-5.3.18-59.37.2.x86_64.rpm (3/3), 11.9 MiB ( 5.8 MiB unpacked) Checking for file conflicts: .............................................[done] (1/3) Installing: kernel-default-5.3.18-59.37.2.x86_64 ...................[done] (2/3) Installing: kernel-default-extra-5.3.18-59.37.2.x86_64 .............[done] (3/3) Installing: kernel-default-optional-5.3.18-59.37.2.x86_64 ..........[done] Executing %posttrans script 'kernel-default-extra-5.3.18-59.37.2.x86_64.rpm' [/] Output of kernel-default-extra-5.3.18-59.37.2.x86_64.rpm %posttrans script: Creating initrd: /boot/initrd-5.3.18-59.37-default dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-5.3.18-59.37-default 5.3.18-59.37-default dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found! dracut: 95nfs: Could not find any command of 'rpcbind portmap'! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found! dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found! dracut: 95nfs: Could not find any command of 'rpcbind portmap'! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: i18n *** dracut: *** Including module: drm *** dracut: *** Including module: plymouth gecko-vivobook15asuslaptopx540uar:/home/gecko # modprobe xpadmodprobe: FATAL: Module xpad not found in directory /lib/modules/5.3.18-57-default gecko-vivobook15asuslaptopx540uar:/home/gecko # *** dracut: *** Including module: btrfs *** dracut: *** Including module: kernel-modules *** dracut: *** Including module: kernel-modules-extra *** dracut: *** Including module: resume *** dracut: *** Including module: rootfs-block *** dracut: *** Including module: suse-btrfs *** dracut: *** Including module: suse-xfs *** dracut: *** Including module: terminfo *** dracut: *** Including module: udev-rules *** dracut: Skipping udev rule: 40-redhat.rules dracut: Skipping udev rule: 50-firmware.rules dracut: Skipping udev rule: 50-udev.rules dracut: Skipping udev rule: 91-permissions.rules dracut: Skipping udev rule: 80-drivers-modprobe.rules dracut: *** Including module: dracut-systemd *** dracut: *** Including module: haveged *** dracut: *** Including module: usrmount *** dracut: *** Including module: base *** dracut: *** Including module: fs-lib *** dracut: *** Including module: shutdown *** dracut: *** Including module: suse *** dracut: *** Including module: suse-initrd *** dracut: *** Including modules done *** dracut: *** Installing kernel module dependencies *** dracut: *** Installing kernel module dependencies done *** dracut: *** Resolving executable dependencies *** dracut: *** Resolving executable dependencies done *** dracut: *** Hardlinking files *** dracut: *** Hardlinking files done *** dracut: *** Stripping files *** dracut: *** Stripping files done *** dracut: *** Generating early-microcode cpio image *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Store current command line parameters *** dracut: Stored kernel commandline: dracut: resume=UUID=5cb02867-8f45-4823-8e02-9c9ce0c4ddd7 dracut: root=UUID=4ef4e9ea-8174-4ee5-a029-1702632c7dee rootfstype=btrfs rootflags=rw,noatime,compress=lzo,space_cache,autodefrag,subvolid=257,subvol=/@,subvol=@ dracut: *** Creating image file '/boot/initrd-5.3.18-59.37-default' *** dracut: *** Creating initramfs image file '/boot/initrd-5.3.18-59.37-default' done *** Executing %posttrans scripts .............................................[done] gecko-vivobook15asuslaptopx540uar:/home/gecko # gecko-vivobook15asuslaptopx540uar:/home/gecko # modprobe xpad modprobe: FATAL: Module xpad not found in directory /lib/modules/5.3.18-57-default Sorry to bother you, should I reinstall Leap 15.3 (the whole system)? -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c37 --- Comment #37 from leaplxde <leaplxde@tutanota.com> --- Created attachment 854970 --> http://bugzilla.opensuse.org/attachment.cgi?id=854970&action=edit kernel installation log -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c38 --- Comment #38 from leaplxde <leaplxde@tutanota.com> --- (In reply to Takashi Iwai from comment #35)
Make sure that you install the correct kernels.
Run the following as root: zypper in -f kernel-default-5.3.18-59.37.2 kernel-default-extra-5.3.18-59.37.2 kernel-default-optional-5.3.18-59.37.2
Dear Takashi Iwai, First of all, thank you so much for your patience and tremendous support throughout this bug troubleshooting. I want to confirm that after fresh re-installation of Leap 15.3 and updating the system to the latest packages from the official repos. The gamepad problem is automatically resolved. Currently, I'm running kernel 5.3.18-59.37-default and the xpad kernel module was loaded out-of-the-box without any intervention from my side. I learned from you that the required kernel module is xpad not the obsolete analog. You may close this bug report as solved. -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c39 --- Comment #39 from leaplxde <leaplxde@tutanota.com> --- I forgot to mention that I also installed kernel-default-extra and kernel-default-optional as per your advice. Thanks -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1194071 http://bugzilla.opensuse.org/show_bug.cgi?id=1194071#c40 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #40 from Takashi Iwai <tiwai@suse.com> --- OK, let's close the bug now. -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com