https://bugzilla.kernel.org/show_bug.cgi?id=210689

--- Comment #3 from Daniele (crudo.dani...@gmail.com) ---
I think I made some progress on this, finding the culprit (?)
It seems that the culprit is ehci_pci.

this seems to fix the shutdown/poweroff hang:

>From manjaro terminal (only cli):
1- rmmod ehci_pci
2- short press the mechanical power button to issue the shutdown

Since I remove ehci_pci my mouse/keyboard dongle is not there anymore, so I
have to short press the button.
So far, no issues.

To resume:
1. Manjaro is started (mouse/keyboard dongle is attached in Manjaro)
2. Mac os vm is started (mouse/keyboard dongle is detached from Manjaro and
attached to mac os, the passthrough is defined in libvirt xml)
3. Shutdown Mac os vm from within the vm
4. Mouse/keyboard dongle is detached from the vm and reattached to Manjaro

Same for the logitech webcam c920.

Without rmmod ehci_pci --> sometimes hang on shutdown
With rmmod ehci_pci before shutdown so far no issue

USB controller to which the dongle is attached:
USB controller: Intel Corporation C600/X79 series chipset USB2 Enhanced Host
Controller #2 (rev 06) (prog-if 20 [EHCI])

One thing I noticed, one time, after booting Manjaro and without booting the
vm, I issued the command rmmod ehci_pci and a message appeared:

#rmmod ehci_pci
[40.951572] hid-generic 0003:045E:0745.0003: can't resubmit intr,
0000:00:1a.0-1.2/input2, status -19

Did it try to reconnect again after the rmmod?

I have 2 of these usb controllers:

00:1a.0 USB controller: Intel Corporation C600/X79 series chipset USB2 Enhanced
Host Controller #2 (rev 06) (prog-if 20 [EHCI])
        Subsystem: ASUSTeK Computer Inc. Device 84ef
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 17
        NUMA node: 0
        IOMMU group: 10
        Region 0: Memory at b3107000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:1d.0 USB controller: Intel Corporation C600/X79 series chipset USB2 Enhanced
Host Controller #1 (rev 06) (prog-if 20 [EHCI])
        Subsystem: ASUSTeK Computer Inc. Device 84ef
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 23
        NUMA node: 0
        IOMMU group: 18
        Region 0: Memory at b3106000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to