after a recent update to Leap 15.4, I have now lost access to the USB ports.
Funny enough, I can use my wireless keyboard to decrypt the disk at startup, but no USB peripherals works after log in; before you ask, user log in is automatic.
From my initial troubleshooting:
Repositories are all correctly pointing to 15.4 (Name column deleted for readability
zypper ve
Loading repository data...
Reading installed packages...
Dependencies of all installed packages are satisfied.
Both lsusb and inxi --usb hang, and forcing a re-install for these doesn’t fix the issue. A version check yields
zypper se -si libusb
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
--+------------------+---------+-------------------+--------+------------------
i | libusb-1_0-0 | package | 1.0.24-150400.1.4 | x86_64 | Main Repository
i | libusbmuxd-2_0-6 | package | 2.0.2-150400.1.6 | x86_64 | Main Repository
i | libusbmuxd4 | package | 1.0.10-3.23 | x86_64 | (System Packages)
and
zypper se -si inxi
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
--+------+---------+-------------------+--------+----------------
i | inxi | package | 3.3.07-bp154.1.19 | noarch | Main Repository
Not sure is fully relevant, but the system hangs at shutdown. Even switching to a TTY and calling shutdown from root hangs the computer. I am guessing it hangs for the same reason lsusb is unresponsive?
after a recent update to Leap 15.4, I have now lost access to the USB ports.
What is the difference between “recent” and “now”?
This does not make it easy to decide if it is just the upgrade to 15.4 or if it worked for some time (from “recent” to “now”) on 15.4 and only “now” (after some update, any other idea) doesn’t anymore.
It definitely worked for a bit, then it became erratic, i.e. I could make it work by restarting, and now stopped working completely. I would say it had taken no more than 10 restarts to get to the current state
uname -a
Linux localhost.localdomain 5.14.21-150400.22-default #1 SMP PREEMPT_DYNAMIC Wed May 11 06:57:18 UTC 2022 (49db222) x86_64 x86_64 x86_64 GNU/Linux
LLR1:~ # cd /etc/zypp/repos.d
LLR1:/etc/zypp/repos.d # cat repo-backports-update.repo
[repo-backports-update]
name=Update repository of openSUSE Backports
enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/update/leap/$releasever/backports/
path=/
type=rpm-md
keeppackages=0
LLR1:/etc/zypp/repos.d # cat repo-sle-update.repo
[repo-sle-update]
name=Update repository with updates from SUSE Linux Enterprise 15
enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/update/leap/$releasever/sle/
path=/
type=rpm-md
keeppackages=0
LLR1:/etc/zypp/repos.d #
I would add those 2 repos and do a zypper ref and a zypper dup and reboot and see if that fixes it
Also what does “lsusb” show
LLR1:~ # lsusb
Bus 004 Device 003: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS578 SATA 6Gb/s
Bus 004 Device 002: ID 05e3:0626 Genesys Logic, Inc. USB3.1 Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 006: ID 1058:2624 Western Digital Technologies, Inc. easystore Portable 5TB (WDBKUZ0050)
Bus 002 Device 005: ID 0bc2:3323 Seagate RSS LLC Seagate RSS LLC
Bus 002 Device 004: ID 1058:25ee Western Digital Technologies, Inc. My Book 25EE
Bus 002 Device 003: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 002: ID 05e3:0626 Genesys Logic, Inc. USB3.1 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 005: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 003: ID 0c45:6715 Microdia Integrated_Webcam_HD
Bus 001 Device 008: ID 0c45:7403 Microdia Foot Switch
Bus 001 Device 006: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 004: ID 04f9:0429 Brother Industries, Ltd HL-L2395DW series
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
LLR1:~ #
I discovered from your post that they are the same repo but the https:/ pointed to different websites - but you are correct they are duplicates and I have deleted them.
They got added in the 15.3 to 15.4 dup, Why - I don’t know - they added all the debug repos too, I deleted the debug repos.
I had to add these to the /etc/default/grub line GRUB_CMDLINE_LINUX_DEFAULT usbcore.autosuspend=-1 intel_pstate=disable on some laptops to keep the USB from going to sleep.
It has to be rebooted after the “grub2-mkconfig -o /boot/grub2/grub.cfg” is done
Yes!!! That worked!
I removed the intel_pstate option though, as I have an AMD processor.
For didascalic purposes, it would be interesting to know what has changed so that now I have to explicitly tell the system not to send the USBs to sleep…
Thanks a lot larryr and everyone else for your support, it has been much appreciated