The officially official Devuan Forum!

You are not logged in.

#1 2022-05-06 11:10:08

elgrc
Member
Registered: 2022-05-06
Posts: 5  

Suspend functionality not working

Hi everyone, I recently installed Devuan 4.0.0 on a laptop (Lenovo Ideapad 5 14ARE05) but the suspend functionality is not working. I use GDM and the Budgie desktop environment, neither the "Suspend button" on the Budgie panel nor the power button (when set to "Suspend" in the GNOME settings) really suspend the laptop, they just turn the screen off.
Below you can find the output of some commands to get more info.

$ doas dmesg | grep "suspend"
doas (edoardo@edo-port) password: 
[  100.485822] PM: suspend entry (s2idle)
[  100.602240] printk: Suspending console(s) (use no_console_suspend to debug)
[  102.172610] PM: suspend exit
$ doas dmesg | grep "DSDT"
doas (edoardo@edo-port) password: 
[    0.005132] ACPI: DSDT 0x00000000CDFDC000 00B88D (v01 LENOVO CB-01    00000001      01000013)
[    0.005194] ACPI: Reserving DSDT table memory at [mem 0xcdfdc000-0xcdfe788c]
[    0.299794] ACPI: \_SB_.PCI0.LPC0.EC0_: Boot DSDT EC used to handle transactions
[    0.353671] ACPI: \_SB_.PCI0.LPC0.EC0_: Boot DSDT EC initialization complete
$ doas dmesg | grep "SSDT"
doas (edoardo@edo-port) password: 
[    0.005138] ACPI: SSDT 0x00000000CDFFC000 000BAE (v02 LENOVO CB-01    00000001 INTL 20130117)
[    0.005139] ACPI: SSDT 0x00000000CDFF4000 007216 (v02 LENOVO CB-01    00000001 MSFT 04000000)
[    0.005143] ACPI: SSDT 0x00000000CDFF2000 000228 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005157] ACPI: SSDT 0x00000000CDFDB000 000080 (v01 LENOVO CB-01    00000001      01000013)
[    0.005161] ACPI: SSDT 0x00000000CDFCC000 0000F8 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005163] ACPI: SSDT 0x00000000CDFCA000 001BF4 (v01 LENOVO CB-01    00000001 AMD  00000001)
[    0.005168] ACPI: SSDT 0x00000000CDFC7000 000750 (v02 LENOVO CB-01    00000001 INTL 20130117)
[    0.005170] ACPI: SSDT 0x00000000CDFC6000 00028D (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005172] ACPI: SSDT 0x00000000CDFC5000 0000B9 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005173] ACPI: SSDT 0x00000000CDFC4000 000C78 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005175] ACPI: SSDT 0x00000000CDFC2000 0010A5 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005177] ACPI: SSDT 0x00000000CDFBE000 0030C8 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005184] ACPI: SSDT 0x00000000CDFE9000 00020A (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005186] ACPI: SSDT 0x00000000CDFE8000 000AD7 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005188] ACPI: SSDT 0x00000000CDFBA000 000250 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005189] ACPI: SSDT 0x00000000CDFB9000 00007D (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005191] ACPI: SSDT 0x00000000CDFB8000 000517 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005195] ACPI: Reserving SSDT table memory at [mem 0xcdffc000-0xcdffcbad]
[    0.005196] ACPI: Reserving SSDT table memory at [mem 0xcdff4000-0xcdffb215]
[    0.005197] ACPI: Reserving SSDT table memory at [mem 0xcdff2000-0xcdff2227]
[    0.005201] ACPI: Reserving SSDT table memory at [mem 0xcdfdb000-0xcdfdb07f]
[    0.005202] ACPI: Reserving SSDT table memory at [mem 0xcdfcc000-0xcdfcc0f7]
[    0.005202] ACPI: Reserving SSDT table memory at [mem 0xcdfca000-0xcdfcbbf3]
[    0.005204] ACPI: Reserving SSDT table memory at [mem 0xcdfc7000-0xcdfc774f]
[    0.005204] ACPI: Reserving SSDT table memory at [mem 0xcdfc6000-0xcdfc628c]
[    0.005205] ACPI: Reserving SSDT table memory at [mem 0xcdfc5000-0xcdfc50b8]
[    0.005206] ACPI: Reserving SSDT table memory at [mem 0xcdfc4000-0xcdfc4c77]
[    0.005206] ACPI: Reserving SSDT table memory at [mem 0xcdfc2000-0xcdfc30a4]
[    0.005207] ACPI: Reserving SSDT table memory at [mem 0xcdfbe000-0xcdfc10c7]
[    0.005209] ACPI: Reserving SSDT table memory at [mem 0xcdfe9000-0xcdfe9209]
[    0.005210] ACPI: Reserving SSDT table memory at [mem 0xcdfe8000-0xcdfe8ad6]
[    0.005210] ACPI: Reserving SSDT table memory at [mem 0xcdfba000-0xcdfba24f]
[    0.005211] ACPI: Reserving SSDT table memory at [mem 0xcdfb9000-0xcdfb907c]
[    0.005211] ACPI: Reserving SSDT table memory at [mem 0xcdfb8000-0xcdfb8516]
$ doas dmesg | grep "ACPI"
doas (edoardo@edo-port) password: 
[    0.000000] BIOS-e820: [mem 0x0000000009f00000-0x0000000009f0ffff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000ccf7f000-0x00000000cdf7efff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000cdf7f000-0x00000000cdffefff] ACPI data
[    0.000000] efi: ACPI=0xcdffe000 ACPI 2.0=0xcdffe014 SMBIOS=0xcb70d000 SMBIOS 3.0=0xcb70b000 ESRT=0xcb709a98 MEMATTR=0xb6565018 MOKvar=0xb655d000 
[    0.005119] ACPI: Early table checksum verification disabled
[    0.005122] ACPI: RSDP 0x00000000CDFFE014 000024 (v02 LENOVO)
[    0.005125] ACPI: XSDT 0x00000000CDFC8188 00012C (v01 LENOVO CB-01    00000001      01000013)
[    0.005129] ACPI: FACP 0x00000000CDFEE000 00010C (v05 LENOVO CB-01    00000001      01000013)
[    0.005132] ACPI: DSDT 0x00000000CDFDC000 00B88D (v01 LENOVO CB-01    00000001      01000013)
[    0.005134] ACPI: FACS 0x00000000CDF19000 000040
[    0.005136] ACPI: UEFI 0x00000000CDF7E000 000236 (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.005138] ACPI: SSDT 0x00000000CDFFC000 000BAE (v02 LENOVO CB-01    00000001 INTL 20130117)
[    0.005139] ACPI: SSDT 0x00000000CDFF4000 007216 (v02 LENOVO CB-01    00000001 MSFT 04000000)
[    0.005141] ACPI: IVRS 0x00000000CDFF3000 0001A4 (v02 LENOVO CB-01    00000001 AMD  00000000)
[    0.005143] ACPI: SSDT 0x00000000CDFF2000 000228 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005145] ACPI: MSDM 0x00000000CDFF1000 000055 (v03 LENOVO CB-01    00000001 ACPI 00040000)
[    0.005146] ACPI: ASF! 0x00000000CDFF0000 0000A5 (v32 LENOVO CB-01    00000001      01000013)
[    0.005148] ACPI: BOOT 0x00000000CDFEF000 000028 (v01 LENOVO CB-01    00000001      01000013)
[    0.005150] ACPI: HPET 0x00000000CDFED000 000038 (v01 LENOVO CB-01    00000001      01000013)
[    0.005152] ACPI: APIC 0x00000000CDFEC000 000138 (v03 LENOVO CB-01    00000001      01000013)
[    0.005154] ACPI: MCFG 0x00000000CDFEB000 00003C (v01 LENOVO CB-01    00000001      01000013)
[    0.005156] ACPI: SLIC 0x00000000CDFEA000 000176 (v01 LENOVO CB-01    00000001      01000013)
[    0.005157] ACPI: SSDT 0x00000000CDFDB000 000080 (v01 LENOVO CB-01    00000001      01000013)
[    0.005159] ACPI: VFCT 0x00000000CDFCD000 00D484 (v01 LENOVO CB-01    00000001 AMD  31504F47)
[    0.005161] ACPI: SSDT 0x00000000CDFCC000 0000F8 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005163] ACPI: SSDT 0x00000000CDFCA000 001BF4 (v01 LENOVO CB-01    00000001 AMD  00000001)
[    0.005165] ACPI: CRAT 0x00000000CDFC9000 000F28 (v01 LENOVO CB-01    00000001 AMD  00000001)
[    0.005166] ACPI: CDIT 0x00000000CDFFD000 000029 (v01 LENOVO CB-01    00000001 AMD  00000001)
[    0.005168] ACPI: SSDT 0x00000000CDFC7000 000750 (v02 LENOVO CB-01    00000001 INTL 20130117)
[    0.005170] ACPI: SSDT 0x00000000CDFC6000 00028D (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005172] ACPI: SSDT 0x00000000CDFC5000 0000B9 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005173] ACPI: SSDT 0x00000000CDFC4000 000C78 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005175] ACPI: SSDT 0x00000000CDFC2000 0010A5 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005177] ACPI: SSDT 0x00000000CDFBE000 0030C8 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005179] ACPI: FPDT 0x00000000CDFBD000 000044 (v01 LENOVO CB-01    00000001      01000013)
[    0.005180] ACPI: BGRT 0x00000000CDFBC000 000038 (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.005182] ACPI: WSMT 0x00000000CDFBB000 000028 (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.005184] ACPI: SSDT 0x00000000CDFE9000 00020A (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005186] ACPI: SSDT 0x00000000CDFE8000 000AD7 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005188] ACPI: SSDT 0x00000000CDFBA000 000250 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005189] ACPI: SSDT 0x00000000CDFB9000 00007D (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005191] ACPI: SSDT 0x00000000CDFB8000 000517 (v01 LENOVO CB-01    00000001 INTL 20130117)
[    0.005193] ACPI: Reserving FACP table memory at [mem 0xcdfee000-0xcdfee10b]
[    0.005194] ACPI: Reserving DSDT table memory at [mem 0xcdfdc000-0xcdfe788c]
[    0.005194] ACPI: Reserving FACS table memory at [mem 0xcdf19000-0xcdf1903f]
[    0.005195] ACPI: Reserving UEFI table memory at [mem 0xcdf7e000-0xcdf7e235]
[    0.005195] ACPI: Reserving SSDT table memory at [mem 0xcdffc000-0xcdffcbad]
[    0.005196] ACPI: Reserving SSDT table memory at [mem 0xcdff4000-0xcdffb215]
[    0.005196] ACPI: Reserving IVRS table memory at [mem 0xcdff3000-0xcdff31a3]
[    0.005197] ACPI: Reserving SSDT table memory at [mem 0xcdff2000-0xcdff2227]
[    0.005197] ACPI: Reserving MSDM table memory at [mem 0xcdff1000-0xcdff1054]
[    0.005198] ACPI: Reserving ASF! table memory at [mem 0xcdff0000-0xcdff00a4]
[    0.005198] ACPI: Reserving BOOT table memory at [mem 0xcdfef000-0xcdfef027]
[    0.005199] ACPI: Reserving HPET table memory at [mem 0xcdfed000-0xcdfed037]
[    0.005199] ACPI: Reserving APIC table memory at [mem 0xcdfec000-0xcdfec137]
[    0.005200] ACPI: Reserving MCFG table memory at [mem 0xcdfeb000-0xcdfeb03b]
[    0.005200] ACPI: Reserving SLIC table memory at [mem 0xcdfea000-0xcdfea175]
[    0.005201] ACPI: Reserving SSDT table memory at [mem 0xcdfdb000-0xcdfdb07f]
[    0.005201] ACPI: Reserving VFCT table memory at [mem 0xcdfcd000-0xcdfda483]
[    0.005202] ACPI: Reserving SSDT table memory at [mem 0xcdfcc000-0xcdfcc0f7]
[    0.005202] ACPI: Reserving SSDT table memory at [mem 0xcdfca000-0xcdfcbbf3]
[    0.005203] ACPI: Reserving CRAT table memory at [mem 0xcdfc9000-0xcdfc9f27]
[    0.005203] ACPI: Reserving CDIT table memory at [mem 0xcdffd000-0xcdffd028]
[    0.005204] ACPI: Reserving SSDT table memory at [mem 0xcdfc7000-0xcdfc774f]
[    0.005204] ACPI: Reserving SSDT table memory at [mem 0xcdfc6000-0xcdfc628c]
[    0.005205] ACPI: Reserving SSDT table memory at [mem 0xcdfc5000-0xcdfc50b8]
[    0.005206] ACPI: Reserving SSDT table memory at [mem 0xcdfc4000-0xcdfc4c77]
[    0.005206] ACPI: Reserving SSDT table memory at [mem 0xcdfc2000-0xcdfc30a4]
[    0.005207] ACPI: Reserving SSDT table memory at [mem 0xcdfbe000-0xcdfc10c7]
[    0.005207] ACPI: Reserving FPDT table memory at [mem 0xcdfbd000-0xcdfbd043]
[    0.005208] ACPI: Reserving BGRT table memory at [mem 0xcdfbc000-0xcdfbc037]
[    0.005208] ACPI: Reserving WSMT table memory at [mem 0xcdfbb000-0xcdfbb027]
[    0.005209] ACPI: Reserving SSDT table memory at [mem 0xcdfe9000-0xcdfe9209]
[    0.005210] ACPI: Reserving SSDT table memory at [mem 0xcdfe8000-0xcdfe8ad6]
[    0.005210] ACPI: Reserving SSDT table memory at [mem 0xcdfba000-0xcdfba24f]
[    0.005211] ACPI: Reserving SSDT table memory at [mem 0xcdfb9000-0xcdfb907c]
[    0.005211] ACPI: Reserving SSDT table memory at [mem 0xcdfb8000-0xcdfb8516]
[    0.005222] ACPI: Local APIC address 0xfee00000
[    0.012544] ACPI: PM-Timer IO Port: 0x408
[    0.012546] ACPI: Local APIC address 0xfee00000
[    0.012551] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[    0.012552] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.012552] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[    0.012553] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[    0.012553] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
[    0.012554] ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1])
[    0.012554] ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1])
[    0.012554] ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1])
[    0.012555] ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1])
[    0.012555] ACPI: LAPIC_NMI (acpi_id[0x09] high edge lint[0x1])
[    0.012556] ACPI: LAPIC_NMI (acpi_id[0x0a] high edge lint[0x1])
[    0.012556] ACPI: LAPIC_NMI (acpi_id[0x0b] high edge lint[0x1])
[    0.012557] ACPI: LAPIC_NMI (acpi_id[0x0c] high edge lint[0x1])
[    0.012557] ACPI: LAPIC_NMI (acpi_id[0x0d] high edge lint[0x1])
[    0.012557] ACPI: LAPIC_NMI (acpi_id[0x0e] high edge lint[0x1])
[    0.012558] ACPI: LAPIC_NMI (acpi_id[0x0f] high edge lint[0x1])
[    0.012576] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.012577] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[    0.012578] ACPI: IRQ0 used by override.
[    0.012579] ACPI: IRQ9 used by override.
[    0.012580] Using ACPI (MADT) for SMP configuration information
[    0.012581] ACPI: HPET id: 0x10228210 base: 0xfed00000
[    0.044055] ACPI: Core revision 20200925
[    0.208648] PM: Registering ACPI NVS region [mem 0x09f00000-0x09f0ffff] (65536 bytes)
[    0.208648] PM: Registering ACPI NVS region [mem 0xccf7f000-0xcdf7efff] (16777216 bytes)
[    0.209125] ACPI: bus type PCI registered
[    0.209125] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.288939] ACPI: Added _OSI(Module Device)
[    0.288939] ACPI: Added _OSI(Processor Device)
[    0.288939] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.288939] ACPI: Added _OSI(Processor Aggregator Device)
[    0.288939] ACPI: Added _OSI(Linux-Dell-Video)
[    0.288939] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.288939] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.294465] ACPI: 18 ACPI AML tables successfully acquired and loaded
[    0.295246] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.299696] ACPI: EC: EC started
[    0.299697] ACPI: EC: interrupt blocked
[    0.299793] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.299794] ACPI: \_SB_.PCI0.LPC0.EC0_: Boot DSDT EC used to handle transactions
[    0.299794] ACPI: Interpreter enabled
[    0.299805] ACPI: (supports S0 S4 S5)
[    0.299806] ACPI: Using IOAPIC for interrupt routing
[    0.299901] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.300993] ACPI: Power Resource [P0U0] (on)
[    0.301035] ACPI: Power Resource [P3U0] (off)
[    0.301311] ACPI: Power Resource [P0U1] (on)
[    0.301354] ACPI: Power Resource [P3U1] (off)
[    0.301584] ACPI: Power Resource [P0S0] (on)
[    0.301599] ACPI: Power Resource [P3S0] (on)
[    0.301655] ACPI: Power Resource [P0S1] (on)
[    0.301668] ACPI: Power Resource [P3S1] (on)
[    0.304771] ACPI: Power Resource [PRWL] (on)
[    0.305072] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.352561] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 5 6 10 11) *0, disabled.
[    0.352665] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 5 6 10 11) *0, disabled.
[    0.352738] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 5 6 10 11) *0, disabled.
[    0.352830] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 5 6 10 11) *0, disabled.
[    0.352916] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 5 6 10 11) *0, disabled.
[    0.352983] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 5 6 10 11) *0, disabled.
[    0.353049] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 5 6 10 11) *0, disabled.
[    0.353115] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 5 6 10 11) *0, disabled.
[    0.353665] ACPI: EC: interrupt unblocked
[    0.353665] ACPI: EC: event unblocked
[    0.353670] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.353670] ACPI: EC: GPE=0x3
[    0.353671] ACPI: \_SB_.PCI0.LPC0.EC0_: Boot DSDT EC initialization complete
[    0.353672] ACPI: \_SB_.PCI0.LPC0.EC0_: EC: Used to handle transactions and events
[    0.388377] PCI: Using ACPI for IRQ routing
[    0.398879] pnp: PnP ACPI init
[    0.399041] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.399115] pnp 00:01: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.399129] pnp 00:02: Plug and Play ACPI device, IDs FUJ7401 PNP0303 (active)
[    0.399154] system 00:03: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.399186] system 00:04: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.429731] pnp: PnP ACPI: found 5 devices
[    0.783858] ACPI: \_SB_.PLTF.C000: Found 3 idle states
[    0.783864] ACPI: FW issue: working around C-state latencies out of order
[    0.784044] ACPI: \_SB_.PLTF.C001: Found 3 idle states
[    0.784049] ACPI: FW issue: working around C-state latencies out of order
[    0.784132] ACPI: \_SB_.PLTF.C002: Found 3 idle states
[    0.784137] ACPI: FW issue: working around C-state latencies out of order
[    0.784204] ACPI: \_SB_.PLTF.C003: Found 3 idle states
[    0.784208] ACPI: FW issue: working around C-state latencies out of order
[    0.784278] ACPI: \_SB_.PLTF.C004: Found 3 idle states
[    0.784282] ACPI: FW issue: working around C-state latencies out of order
[    0.784351] ACPI: \_SB_.PLTF.C005: Found 3 idle states
[    0.784355] ACPI: FW issue: working around C-state latencies out of order
[    0.784678] ACPI: \_SB_.PLTF.C006: Found 3 idle states
[    0.784688] ACPI: FW issue: working around C-state latencies out of order
[    0.784977] ACPI: \_SB_.PLTF.C007: Found 3 idle states
[    0.784985] ACPI: FW issue: working around C-state latencies out of order
[    0.785510] ACPI: Invalid passive threshold
[    0.785645] ACPI: Thermal Zone [TZ01] (49 C)
[    1.214814] ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
[    1.496759] battery: ACPI: Battery Slot [BAT1] (battery present)
[    1.505394] ACPI: bus type USB registered
[    2.029662] ACPI: AC Adapter [ACAD] (off-line)
[    2.029728] ACPI: Lid Switch [LID]
[    2.029799] ACPI: Power Button [PWRB]
[    6.548951] input: ACPI Virtual Keyboard Device as /devices/virtual/input/input18
[  100.806845] ACPI: EC: interrupt blocked
[  100.868382] ACPI: EC: interrupt unblocked

Offline

#2 2022-05-06 11:21:23

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Suspend functionality not working

Please post the output of

loginctl session-status
pgrep -a logind

Does this suspend your machine:

doas tee /sys/power/state <<<"mem"

Brianna Ghey — Rest In Power

Offline

#3 2022-05-08 10:07:22

elgrc
Member
Registered: 2022-05-06
Posts: 5  

Re: Suspend functionality not working

$ loginctl session-status
1 - edoardo (1000)
           Since: Sun 2022-05-08 11:40:33 CEST; 15min ago
          Leader: 2021 (gdm-session-wor)
            Seat: seat0; vc7
             TTY: tty7
         Service: gdm-password; type x11; class user
           State: active
$ pgrep -a logind
1458 elogind-daemon

No, the last command does not suspend my machine, it just turns off the screen and, differently from before, I cannot wake it up (the screen remains completely black) so I have to long-press the power button to shutdown and then turn it on again.

Offline

#4 2022-05-09 14:34:39

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Suspend functionality not working

So you have a working login session but the machine won't resume. What is your graphics hardware and driver?

lspci -knn | grep -iA3 'vga\|3d\|display'

Brianna Ghey — Rest In Power

Offline

#5 2022-05-10 08:02:16

elgrc
Member
Registered: 2022-05-06
Posts: 5  

Re: Suspend functionality not working

I think the command output says it all.

$ lspci -knn | grep -iA3 'vga\|3d\|display'
04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [1002:1636] (rev c2)
	Subsystem: Lenovo Renoir [17aa:3813]
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

Offline

#6 2022-05-10 11:43:10

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Suspend functionality not working

So I presume the firmware-amd-graphics package is installed? I don't think the desktop would start if it wasn't.

Check the machine firmware ("BIOS") options for anything relating to sleep functions — my ThinkPad P14s needs to be changed from "Windows" to "Linux" in the sleep mode section to resume properly under the latter.


Brianna Ghey — Rest In Power

Offline

#7 2022-05-10 16:56:09

elgrc
Member
Registered: 2022-05-06
Posts: 5  

Re: Suspend functionality not working

I checked the BIOS settings but I could not find anything related to "sleep functions". Before Devuan I installed another distro called Void Linux in that same laptop and the suspend function worked with no issues and no changes in the BIOS.

The only issue I had with Void was in the Cinnamon desktop environment where some parts or even the entire screen had glitches, but I think it was an exception because then I installed GNOME and it worked with no issues.

Last edited by elgrc (2022-05-11 10:40:17)

Offline

#8 2022-05-12 14:06:22

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Suspend functionality not working

Which kernel version was Void on?


Brianna Ghey — Rest In Power

Offline

#9 2022-05-13 08:30:42

elgrc
Member
Registered: 2022-05-06
Posts: 5  

Re: Suspend functionality not working

I don't really remember but I think the version was 5.15, which is the latest of the Void's linux package (kernel meta package). It wasn't so long ago that I switched to Devuan.

Offline

#10 2022-05-13 09:52:03

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Suspend functionality not working

Perhaps try the backported kernel then:

# tee -a /etc/apt/sources.list <<!
deb http://deb.devuan.org/merged chimaera-backports main
!
# apt update
# apt install -t chimaera-backports linux-image-amd64

Brianna Ghey — Rest In Power

Offline

#11 2022-05-21 22:42:53

Marjorie
Member
From: Teignmouth, UK
Registered: 2019-06-09
Posts: 219  

Re: Suspend functionality not working

May or may not be related.

I recently built a new PC powered by an AMD5600G CPU/GPU. As the motherboard (MSI MPG MS-7C56 1.0) had a newish sensor chip (nct6687-isa-0a20) on it I couldn't get fan rpm readings from using the standard Chimaera kernel 5.10. So I installed the newest kernel 5.16 from backports.
Although I could then see my fan speed data in sensors it completely mucked up suspend/resume that either didn't work at all (just got a lock screen when invoked) or even more annoyingly on a reboot failed to find the resume swap partition and hung for a long time before telling me it couldn't find it and asking if I wanted to just boot. Initially I thought this might be due to my using a swap partition on my RAID1 SSDs, however pointing grub to a normal swap partition didn't help.
However downgrading to 5.15 seems to have partly solved the suspend/resume issue (no longer hangs for swap file error on reboot, but suspend still only works intermittently)  but it still recognises the motherboard sensor.
So it seems there is a suspend/resume regression in 5.16 on some systems at least.

Last edited by Marjorie (2022-05-22 22:13:37)

Offline

#12 2022-05-24 15:12:27

erdos
Member
Registered: 2018-06-04
Posts: 88  

Re: Suspend functionality not working

I'd like to add my experience.

Since I've upgraded to chimera 4.0 from belwulf 3.0, i have noticed Suspend feature failed as well.  i have devuan installed on HP desktop with NVidia 9300GT card, i used to be able to put machine into suspend overnight and woke it up next time i use, but now the feature isn't working at all.  in the weekend, i tried 'hybrid sleep' option that presented on the power/logoff menu to put it in sleep, and it woke up yesterday ok.
Will continue to see how this goes

Last edited by erdos (2022-05-24 15:13:11)

Offline

Board footer