[arch-general] Firewire : resume from suspend may fail
Hello, Resume from suspend to RAM in KDE fails if no video cam has been used. The camcorder is connected to a firewire card in a PCIE-1 expansion slot. If the camcorder has been used and is connected, the machine resumes rightly to the desktop. When it does not resume, I get a black screen with a blinking cursor, no mouse, no keyboard. Network was available once only to login through SSH. This leaves no choice but a hard reboot. Fortunately, the disk partitions are always clean. After the hard reboot, there's no single error message in /var/ log/{errors,kernel}.log, not even a single resume message from kernel. I've tried, on their own, pcie_hp=nomsi, firewire_ohci.quirks={0x10,0x40} to no avail. Using : kernel 5.3.x and 5.4.x. FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev 46) I'm about to remove the card once I've downloaded the recordings. I wish of course no being obliged to do that. Does anyone have some advice to fix that ? Thanks.
Obviously, I did not precise that it happened after adding a firewire card on the PCIE-1 slot. I also did a system upgrade at the same time. After removing the firewire extension card, well, the problem persisted. I notice that this box would resume normally if it is suspended in a virtual terminal. And I recalled I had a similar problem on my laptop. I dropped this script in /usr/lib/systemd/system-sleep/ : #!/bin/bash if [ "$1" = "pre" ];then chvt 2 fi if [ "$1" = "post" ];then chvt 1 fi exit 0 The machine would then resume in KDE, after switching to a virtual terminal with no $DISPLAY on suspend, and back to VT 1 on resume. It does so with the firewire extension card back in place also. This seems to be related to KDE, and not the presence of a firewire card in the box. Sorry to have bothered you. Happy New Year !
participants (1)
-
SET