Spegnimento durante Sospensione

Compilazione del kernel, gestione moduli, servizi attivi, e tutti gli interventi per l'ottimizzazione del sistema operativo.
paoloevan
Prode Principiante
Messaggi: 12
Iscrizione: giovedì 25 agosto 2022, 18:51

Spegnimento durante Sospensione

Messaggio da paoloevan »

Salve, ho un laptop Dell inspiron 15 3520 con installato Ubuntu 22.04. Se la sospensione è prolungata, tipo più di due/tre ore, si spegne i automatico.
Grazie in anticipo.
Avatar utente
DoctorStrange
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2854
Iscrizione: mercoledì 14 ottobre 2015, 9:33
Desktop: Gnome3
Distribuzione: Ubuntu 22.04 LTS Jammy Jellyfish
Sesso: Maschile
Località: Roma, Italia

Re: Spegnimento durante Sospensione

Messaggio da DoctorStrange »

Qualche dettaglio in piu sarebbe utile. Se la batteria è scarica e lo lasci in sospensione per tre ore, normale che si spenga, altrimenti descrtivi quali processi hai in coda quando lo sospendi, quanto è "anziano" il computer, e quindi la batteria, se anche durante la sospensione lo lasci connesso alla tensione di rete o meno.
Hai controllato i log? Cosa dicono in particolare syslog dmesg e kern.log?
Avatar utente
corradoventu
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3813
Iscrizione: domenica 27 aprile 2008, 22:23
Desktop: GNOME
Distribuzione: Ubuntu 20.04, 22.04, 23.10, 24.04
Sesso: Maschile
Località: Rezzoaglio (GE)
Contatti:

Re: Spegnimento durante Sospensione

Messaggio da corradoventu »

In sospensione il PC è comunque acceso e consuma. Tieni attiva la applicazione di 'Statistiche energia' che ti da varie informazioni sulla tua batteria e anche dei bei grafici.
Allegati
Schermata del 2023-03-23 14-54-18.png
Schermata del 2023-03-23 14-54-18.png (6.11 KiB) Visualizzato 725 volte
Con o senza religione, i buoni si comportano bene e i cattivi male, ma ci vuole la religione per far comportare male i buoni.
(Steven Weinberg)
paoloevan
Prode Principiante
Messaggi: 12
Iscrizione: giovedì 25 agosto 2022, 18:51

Re: Spegnimento durante Sospensione

Messaggio da paoloevan »

Grazie per le risposte. Purtroppo sono ancora un profano, metto sotto qualche output. Per quanto riguarda la batteria non è quello il problema, il pc ha solo qualche mese, inoltre quando poi lo riavvio dopo che si è spento la batteria non è esaurita.

Codice: Seleziona tutto

paolo@paolo:~$  journalctl -p 3 -xb --no-pager
mar 24 09:55:27 paolo kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.XHCI.RHUB.SS05], AE_NOT_FOUND (20220331/dswload2-162)
mar 24 09:55:27 paolo kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20220331/psobject-220)
mar 24 09:55:27 paolo kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.XHCI.RHUB.SS06], AE_NOT_FOUND (20220331/dswload2-162)
mar 24 09:55:27 paolo kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20220331/psobject-220)
mar 24 09:55:27 paolo kernel: dell_smm_hwmon: unable to get SMM Dell signature
mar 24 09:55:29 paolo kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_TZ.ETMD], AE_NOT_FOUND (20220331/psargs-330)
mar 24 09:55:29 paolo kernel: ACPI Error: Aborting method \_SB.IETM._OSC due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
mar 24 09:55:29 paolo kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02
mar 24 09:55:29 paolo gdm-autologin][1138]: gkr-pam: couldn't unlock the login keyring.
mar 24 09:55:30 paolo systemd[1244]: Failed to start Application launched by gnome-session-binary.
░░ Subject: L'unità UNIT è fallita
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ L'unità UNIT è fallita.
░░ 
░░ Il risultato è failed.
mar 24 09:55:30 paolo systemd[1244]: Failed to start Application launched by gnome-session-binary.
░░ Subject: L'unità UNIT è fallita
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ L'unità UNIT è fallita.
░░ 
░░ Il risultato è failed.
mar 24 09:55:30 paolo systemd[1244]: Failed to start Application launched by gnome-session-binary.
░░ Subject: L'unità UNIT è fallita
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ L'unità UNIT è fallita.
░░ 
░░ Il risultato è failed.
mar 24 09:55:30 paolo kernel: snd_hda_intel 0000:00:1f.3: Too many BDL entries: buffer=2097152, period=65536
mar 24 09:55:30 paolo kernel: snd_hda_intel 0000:00:1f.3: Too many BDL entries: buffer=2097152, period=65536
mar 24 09:55:30 paolo kernel: snd_hda_intel 0000:00:1f.3: Too many BDL entries: buffer=2097152, period=65536
mar 24 09:55:30 paolo kernel: snd_hda_intel 0000:00:1f.3: Too many BDL entries: buffer=2097152, period=65536
mar 24 09:55:30 paolo kernel: snd_hda_intel 0000:00:1f.3: Too many BDL entries: buffer=2097152, period=65536
mar 24 09:55:30 paolo kernel: snd_hda_intel 0000:00:1f.3: Too many BDL entries: buffer=2097152, period=65536
mar 24 09:55:36 paolo bluetoothd[727]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
mar 24 09:55:41 paolo bluetoothd[727]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
mar 24 12:12:55 paolo bluetoothd[727]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
mar 24 13:20:14 paolo kernel: ucsi_acpi USBC000:00: PM: dpm_run_callback(): acpi_subsys_resume+0x0/0x80 returns -110
mar 24 13:20:14 paolo kernel: ucsi_acpi USBC000:00: PM: failed to resume: error -110

Codice: Seleziona tutto

paolo@paolo:~$ sudo dmesg
[    0.000000] Linux version 5.19.0-35-generic (buildd@lcy02-amd64-014) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-3ubuntu1) 12.2.0, GNU ld (GNU Binutils for Ubuntu) 2.39) #36-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 3 18:36:56 UTC 2023 (Ubuntu 5.19.0-35.36-generic 5.19.17)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.19.0-35-generic root=UUID=cc22896f-6924-46c5-b3d1-fb7c5ef46492 ro quiet splash vt.handoff=7
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Hygon HygonGenuine
[    0.000000]   Centaur CentaurHauls
[    0.000000]   zhaoxin   Shanghai  
[    0.000000] x86/split lock detection: #AC: crashing the kernel on kernel split_locks and warning on user-space split_locks
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: xstate_offset[9]:  832, xstate_sizes[9]:    8
[    0.000000] x86/fpu: Enabled xstate features 0x207, context size is 840 bytes, using 'compacted' format.
[    0.000000] signal: max sigframe size: 3632
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009f000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000005cd1dfff] usable
[    0.000000] BIOS-e820: [mem 0x000000005cd1e000-0x0000000060d10fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000060d11000-0x0000000061571fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x0000000061572000-0x00000000617fefff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000617ff000-0x00000000617fffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000061800000-0x0000000065ffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000066400000-0x00000000665fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000066e00000-0x00000000707fffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000c0000000-0x00000000cfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000f9800000-0x00000000f9ffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed20000-0x00000000fed7ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000048f7fffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] efi: EFI v2.70 by Dell
[    0.000000] efi: ACPI=0x617fe000 ACPI 2.0=0x617fe014 SMBIOS=0x5d5b7000 TPMFinalLog=0x614cc000 ESRT=0x5d54fb18 MEMATTR=0x56e06018 MOKvar=0x5d583000 RNG=0x61752018 TPMEventLog=0x56e9f018 
[    0.000000] efi: seeding entropy pool
[    0.000000] random: crng init done
[    0.000000] secureboot: Secure boot disabled
[    0.000000] SMBIOS 3.4 present.
[    0.000000] DMI: Dell Inc. Inspiron 15 3520/0JY87N, BIOS 1.12.0 02/15/2023
[    0.000000] tsc: Detected 2500.000 MHz processor
[    0.000000] tsc: Detected 2496.000 MHz TSC
[    0.000004] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000006] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000012] last_pfn = 0x48f800 max_arch_pfn = 0x400000000
[    0.000237] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.001089] last_pfn = 0x61800 max_arch_pfn = 0x400000000
[    0.005413] esrt: Reserving ESRT space from 0x000000005d54fb18 to 0x000000005d54fba0.
[    0.005424] Using GB pages for direct mapping
[    0.005561] secureboot: Secure boot disabled
[    0.005561] RAMDISK: [mem 0x4bd97000-0x500f1fff]
[    0.005566] ACPI: Early table checksum verification disabled
[    0.005569] ACPI: RSDP 0x00000000617FE014 000024 (v02 DELL  )
[    0.005573] ACPI: XSDT 0x0000000061761188 000124 (v01 DELL   Dell Inc 00000002      01000013)
[    0.005577] ACPI: FACP 0x00000000617F0000 000114 (v06 DELL   Dell Inc 00000002      01000013)
[    0.005582] ACPI: DSDT 0x000000006177A000 072C74 (v02 DELL   Dell Inc 00000002      01000013)
[    0.005584] ACPI: FACS 0x00000000614FB000 000040
[    0.005586] ACPI: SSDT 0x00000000617FC000 00038C (v02 PmaxDv Pmax_Dev 00000001 INTL 20200717)
[    0.005588] ACPI: SSDT 0x00000000617F6000 005C55 (v02 CpuRef CpuSsdt  00003000 INTL 20200717)
[    0.005591] ACPI: SSDT 0x00000000617F1000 0047F8 (v02 DptfTb DptfTabl 00001000 INTL 20200717)
[    0.005593] ACPI: HPET 0x00000000617EF000 000038 (v01 DELL   Dell Inc 00000002      01000013)
[    0.005595] ACPI: APIC 0x00000000617EE000 0001DC (v05 DELL   Dell Inc 00000002      01000013)
[    0.005597] ACPI: MCFG 0x00000000617ED000 00003C (v01 DELL   Dell Inc 00000002      01000013)
[    0.005599] ACPI: SSDT 0x0000000061775000 00452F (v02 DELL   DellRtd3 00001000 INTL 20200717)
[    0.005602] ACPI: SSDT 0x0000000061772000 002D64 (v02 SaSsdt SaSsdt   00003000 INTL 20200717)
[    0.005604] ACPI: SSDT 0x0000000061770000 00132D (v02 INTEL  IgfxSsdt 00003000 INTL 20200717)
[    0.005606] ACPI: NHLT 0x000000006176F000 0002F1 (v00 DELL   Dell Inc 00000002      01000013)
[    0.005608] ACPI: SSDT 0x000000006176D000 001032 (v02 DELL   UsbCTabl 00001000 INTL 20200717)
[    0.005610] ACPI: LPIT 0x000000006176C000 0000CC (v01 DELL   Dell Inc 00000002      01000013)
[    0.005612] ACPI: WSMT 0x000000006176B000 000028 (v01 DELL   Dell Inc 00000002      01000013)
[    0.005614] ACPI: SSDT 0x000000006176A000 000B44 (v02 DELL   PtidDevc 00001000 INTL 20200717)
[    0.005616] ACPI: SSDT 0x0000000061767000 002357 (v02 DELL   TbtTypeC 00000000 INTL 20200717)
[    0.005619] ACPI: DBGP 0x0000000061766000 000034 (v01 DELL   Dell Inc 00000002      01000013)
[    0.005621] ACPI: DBG2 0x0000000061765000 000054 (v00 DELL   Dell Inc 00000002      01000013)
[    0.005623] ACPI: BOOT 0x0000000061764000 000028 (v01 DELL   CBX3     00000002      01000013)
[    0.005625] ACPI: MSDM 0x0000000061763000 000055 (v03 DELL   CBX3     06222004 AMI  00010013)
[    0.005627] ACPI: SSDT 0x0000000061762000 00060E (v02 DELL   Tpm2Tabl 00001000 INTL 20200717)
[    0.005630] ACPI: TPM2 0x00000000617FD000 00004C (v04 DELL   Dell Inc 00000002      01000013)
[    0.005632] ACPI: DMAR 0x0000000061760000 000088 (v02 INTEL  Dell Inc 00000002      01000013)
[    0.005634] ACPI: SSDT 0x000000006175F000 000EAF (v02 DELL   xh_Dell_ 00000000 INTL 20200717)
[    0.005636] ACPI: SSDT 0x000000006175B000 003AEA (v02 SocGpe SocGpe   00003000 INTL 20200717)
[    0.005638] ACPI: SSDT 0x0000000061757000 0039DA (v02 SocCmn SocCmn   00003000 INTL 20200717)
[    0.005640] ACPI: SSDT 0x0000000061756000 000144 (v02 Intel  ADebTabl 00001000 INTL 20200717)
[    0.005643] ACPI: UEFI 0x00000000614C7000 00063A (v01 INTEL  RstVmdE  00000000 INTL 00000000)
[    0.005645] ACPI: UEFI 0x00000000614C6000 00005C (v01 INTEL  RstVmdV  00000000 INTL 00000000)
[    0.005647] ACPI: PHAT 0x0000000061755000 000506 (v01 DELL   Dell Inc 00000005 MSFT 0100000D)
[    0.005649] ACPI: BGRT 0x0000000061754000 000038 (v01 DELL   Dell Inc 00000002      01000013)
[    0.005651] ACPI: FPDT 0x0000000061753000 000034 (v01 DELL   Dell Inc 00000002      01000013)
[    0.005653] ACPI: Reserving FACP table memory at [mem 0x617f0000-0x617f0113]
[    0.005654] ACPI: Reserving DSDT table memory at [mem 0x6177a000-0x617ecc73]
[    0.005655] ACPI: Reserving FACS table memory at [mem 0x614fb000-0x614fb03f]
[    0.005655] ACPI: Reserving SSDT table memory at [mem 0x617fc000-0x617fc38b]
[    0.005656] ACPI: Reserving SSDT table memory at [mem 0x617f6000-0x617fbc54]
[    0.005657] ACPI: Reserving SSDT table memory at [mem 0x617f1000-0x617f57f7]
[    0.005657] ACPI: Reserving HPET table memory at [mem 0x617ef000-0x617ef037]
[    0.005658] ACPI: Reserving APIC table memory at [mem 0x617ee000-0x617ee1db]
[    0.005658] ACPI: Reserving MCFG table memory at [mem 0x617ed000-0x617ed03b]
[    0.005659] ACPI: Reserving SSDT table memory at [mem 0x61775000-0x6177952e]
[    0.005659] ACPI: Reserving SSDT table memory at [mem 0x61772000-0x61774d63]
[    0.005660] ACPI: Reserving SSDT table memory at [mem 0x61770000-0x6177132c]
[    0.005661] ACPI: Reserving NHLT table memory at [mem 0x6176f000-0x6176f2f0]
[    0.005661] ACPI: Reserving SSDT table memory at [mem 0x6176d000-0x6176e031]
[    0.005662] ACPI: Reserving LPIT table memory at [mem 0x6176c000-0x6176c0cb]
[    0.005662] ACPI: Reserving WSMT table memory at [mem 0x6176b000-0x6176b027]
[    0.005663] ACPI: Reserving SSDT table memory at [mem 0x6176a000-0x6176ab43]
[    0.005663] ACPI: Reserving SSDT table memory at [mem 0x61767000-0x61769356]
[    0.005664] ACPI: Reserving DBGP table memory at [mem 0x61766000-0x61766033]
[    0.005665] ACPI: Reserving DBG2 table memory at [mem 0x61765000-0x61765053]
[    0.005665] ACPI: Reserving BOOT table memory at [mem 0x61764000-0x61764027]
[    0.005666] ACPI: Reserving MSDM table memory at [mem 0x61763000-0x61763054]
[    0.005666] ACPI: Reserving SSDT table memory at [mem 0x61762000-0x6176260d]
[    0.005667] ACPI: Reserving TPM2 table memory at [mem 0x617fd000-0x617fd04b]
[    0.005668] ACPI: Reserving DMAR table memory at [mem 0x61760000-0x61760087]
[    0.005668] ACPI: Reserving SSDT table memory at [mem 0x6175f000-0x6175feae]
[    0.005669] ACPI: Reserving SSDT table memory at [mem 0x6175b000-0x6175eae9]
[    0.005669] ACPI: Reserving SSDT table memory at [mem 0x61757000-0x6175a9d9]
[    0.005670] ACPI: Reserving SSDT table memory at [mem 0x61756000-0x61756143]
[    0.005671] ACPI: Reserving UEFI table memory at [mem 0x614c7000-0x614c7639]
[    0.005671] ACPI: Reserving UEFI table memory at [mem 0x614c6000-0x614c605b]
[    0.005672] ACPI: Reserving PHAT table memory at [mem 0x61755000-0x61755505]
[    0.005672] ACPI: Reserving BGRT table memory at [mem 0x61754000-0x61754037]
[    0.005673] ACPI: Reserving FPDT table memory at [mem 0x61753000-0x61753033]
[    0.006165] No NUMA configuration found
[    0.006165] Faking a node at [mem 0x0000000000000000-0x000000048f7fffff]
[    0.006170] NODE_DATA(0) allocated [mem 0x48f7d5000-0x48f7fffff]
[    0.006385] Zone ranges:
[    0.006385]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.006387]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.006388]   Normal   [mem 0x0000000100000000-0x000000048f7fffff]
[    0.006388]   Device   empty
[    0.006389] Movable zone start for each node
[    0.006390] Early memory node ranges
[    0.006390]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.006391]   node   0: [mem 0x0000000000100000-0x000000005cd1dfff]
[    0.006392]   node   0: [mem 0x00000000617ff000-0x00000000617fffff]
[    0.006392]   node   0: [mem 0x0000000100000000-0x000000048f7fffff]
[    0.006393] Initmem setup node 0 [mem 0x0000000000001000-0x000000048f7fffff]
Avatar utente
corradoventu
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3813
Iscrizione: domenica 27 aprile 2008, 22:23
Desktop: GNOME
Distribuzione: Ubuntu 20.04, 22.04, 23.10, 24.04
Sesso: Maschile
Località: Rezzoaglio (GE)
Contatti:

Re: Spegnimento durante Sospensione

Messaggio da corradoventu »

Qui c'è un caso come il tuo, ma non sembra abbia risolto: https://www.reddit.com/r/archlinux/comm ... r_suspend/
Con o senza religione, i buoni si comportano bene e i cattivi male, ma ci vuole la religione per far comportare male i buoni.
(Steven Weinberg)
Scrivi risposta

Ritorna a “Kernel e servizi di sistema”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 6 ospiti