System doesn't shut down... sometimes

Hey there,
I’m using tumbleweed and I’m having this very weird issue where the system doesn’t power off properly in like 30% of cases. It just sits at the shutdown screen with the tumbleweed logo until I hard reset it. When I disable the splash screen to see what’s going on, it says this:

The system will power off now!

[168334.467431][    T838] usb 1-12: hub failed to enable device, error -108
[168334.579428][    T838] usb 1-12: hub failed to enable device, error -108

So it seems like one of the usb devices is blocking the shutdown? I don’t know what to do from here, though. Any ideas?

Thanks!

The first message is printed very early and there is no evidence that the second message is related. You can boot with plymouth.enable=0 and without quiet on the kernel command line; it will show more status output.

Thanks, I tried that and after a few days I caught one of the shutdown errors. This is were the system stops doing anything:

[54691.533975][         T1] ACPI:  PM Preparing to ener system slepp state S5
[54691.933201][    T822] usb 1-12: reset high-speed USB device number 8 using hci_hcd
[54691.933737][    T822] usb 1-12: hub failed to enable device, error -108
[54691.050205][    T822] usb 1-12: reset high-speed USB device number 8 using hci_hcd
[54691.050713][    T822] usb 1-12: hub failed to enable device, error -108
[54691.165226][    T822] usb 1-12: reset high-speed USB device number 8 using hci_hcd

After that it just freezes indefinitely.

What is this device? The output of lsusb would be useful.

Also

cat /proc/acpi/wakeup

Interesting, looking at lsusb and device 8 gives me

Bus 001 Device 008: ID 05e3:0727 Genesys Logic, Inc. microSD Reader/Writer

so it seems to be the built-in SD card reader of my computer that doesn’t react as expected?

The other command gives me this:

Device  S-state   Status   Sysfs node
PEG0      S4    *enabled   pci:0000:00:01.0
PEGP      S4    *disabled  pci:0000:01:00.0
PEG1      S4    *disabled
PEGP      S4    *disabled
PEG2      S4    *disabled
PEGP      S4    *disabled
PS2K      S3    *disabled
PS2M      S3    *disabled
RP09      S4    *enabled   pci:0000:00:1d.0
PXSX      S4    *disabled  pci:0000:08:00.0
RP10      S4    *disabled
PXSX      S4    *disabled
RP11      S4    *disabled
PXSX      S4    *disabled
RP12      S4    *disabled
PXSX      S4    *disabled
RP13      S4    *disabled
PXSX      S4    *disabled
RP01      S4    *enabled   pci:0000:00:1c.0
PXSX      S4    *disabled
RP02      S4    *disabled
PXSX      S4    *disabled
RP03      S4    *disabled
PXSX      S4    *disabled
RP04      S4    *disabled
PXSX      S4    *disabled
RP05      S4    *enabled   pci:0000:00:1c.4
PXSX      S4    *disabled
RP06      S4    *disabled
PXSX      S4    *disabled
RP07      S4    *disabled
PXSX      S4    *disabled
RP08      S4    *disabled
PXSX      S4    *disabled
RP17      S4    *enabled   pci:0000:00:1b.0
PXSX      S4    *disabled
RP18      S4    *disabled
PXSX      S4    *disabled
RP19      S4    *enabled   pci:0000:00:1b.2
PXSX      S4    *disabled
RP20      S4    *enabled   pci:0000:00:1b.3
PXSX      S4    *disabled
RP21      S4    *enabled   pci:0000:00:1b.4
PXSX      S4    *disabled  pci:0000:05:00.0
RP22      S4    *disabled
PXSX      S4    *disabled
RP23      S4    *disabled
PXSX      S4    *disabled
RP24      S4    *disabled
PXSX      S4    *disabled
RP14      S4    *disabled
PXSX      S4    *disabled
RP15      S4    *disabled
PXSX      S4    *disabled
RP16      S4    *disabled
PXSX      S4    *disabled
GLAN      S4    *enabled   pci:0000:00:1f.6
XHC       S4    *enabled   pci:0000:00:14.0
XDCI      S4    *disabled
HDAS      S4    *disabled  pci:0000:00:1f.3

I don’t use the SD reader often but it would be nice to keep having it available.

Does it work when you use it?

Just checked it, it does indeed work.