View previous topic :: View next topic |
Author |
Message |
lazydog n00b
Joined: 26 Feb 2007 Posts: 64
|
Posted: Thu Sep 07, 2023 10:12 am Post subject: [gelöst] Thinkpad wacht aus Suspend nicht mehr auf |
|
|
Heiliges Kanonenrohr, dieses Problem versuche ich seit Wochen zu lösen, aber irgendwo klemmts... Wie im Titel beschrieben, ein Thinkpad T440p ist nicht mehr aufzuwecken, wenn es in den Schlafmodus geht (z.B. durch schließen des Deckels, oder Auswahl von "Sleep" im Logout-Menü von KDE-Plasma oder durch Eingabe von s2ram in der Konsole.
Installiert wurde gemäß Gentoo-Handbook und Auswahl des Profils: default/linux/amd64/17.1/desktop/plasma/systemd (stable) *
Allerdings habe ich nur das Basis-System bis zum Ende des Handbuchs installiert, *danach* wurde (insb. KDE-Plasma und alle Abhängigkeiten) mittels distcc kompiliert, der distcc-Server eine AMD-Platform mit extra dafür angepasster make.conf (auf beiden System läuft die gleiche gcc-Version):
Code: | COMMON_FLAGS="-march=haswell -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j14" |
und hier die make.conf des THINKPADS:
Code: | COMMON_FLAGS="-march=haswell -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j16 -l6"
FEATURES="distcc"
USE="-webengine -fortran -spell"
GRUB_PLATFORMS="efi-64"
VIDEO_CARDS="intel"
INPUT_DEVICES="synaptics libinput"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8 |
Das funktioniert auch wunderbar, firefox z.B. läuft, das einzige Problem ist Suspend/Resume. Das Notebook geht durchaus in den Schlafmodus, Power-LED pulsiert langsam, Display schaltet ab. Aber danach kann ich es nur noch ausschalten, in dem der Ein-/Ausschalter ca. 10 Sekunden gedrückt wird.
Nach reboot schaue ich nach:
Code: | # journalctl -b-1
Sep 07 11:28:36 tarvos systemd[1]: Reached target sleep.target.
Sep 07 11:28:36 tarvos wpa_supplicant[607]: wlp3s0: CTRL-EVENT-DSCP-POLICY clear_all
Sep 07 11:28:36 tarvos systemd[1]: Starting systemd-suspend.service...
Sep 07 11:28:36 tarvos wpa_supplicant[607]: wlp3s0: CTRL-EVENT-DSCP-POLICY clear_all
Sep 07 11:28:36 tarvos wpa_supplicant[607]: nl80211: deinit ifname=wlp3s0 disabled_11b_rates=0
Sep 07 11:28:36 tarvos systemd-sleep[1296]: Entering sleep state 'suspend'...
Sep 07 11:28:36 tarvos kernel: PM: suspend entry (deep) |
Scheint also erfolgreich zu schlafen.
Mit aktuellem EndeavourOS oder OpenSUSE-Tumbleweed besteht das Problem übrigens nicht.
Meine Kernel-Version ist 6.1.46, auch den 6.4er-Kernel habe ich schon erfolglos getestet, gleiches Problem.
Relevante Kernel-Konfigurationen:
Code: | Processor type and features --->
[*] Symmetric multi-processing support
[ ] Enable MPS table
[ ] Linux guest support ----
Processor family (Generic-x86-64) --->
(X) Core 2/newer Xeon
(8) Maximum number of CPUs
[ ] AMD MCE features
Performance monitoring --->
<*> Intel uncore performance events
<*> Intel/AMD rapl performance events
<*> Intel cstate performance events
< > AMD Processor Power Reporting Mechanism
< > AMD Uncore performance events
[*] CPU microcode loading support
[*] Intel microcode loading support
[ ] AMD microcode loading support
[ ] Enable 5-level page tables support
[ ] Old style AMD Opteron NUMA detection
Power management and ACPI options --->
[*] ACPI (Advanced Configuration and Power Interface) Support --->
CPU Frequency scaling --->
Default CPUFreq governor (schedutil) --->
( ) performance
( ) powersave
( ) userspace
(X) schedutil
-*- 'performance' governor
<*> 'powersave' governor
< > 'userspace' governor for userspace frequency scaling
< > 'ondemand' cpufreq policy governor
< > 'conservative' cpufreq governor
-*- 'schedutil' cpufreq policy governor
[ ] AMD Processor P-State driver
< > ACPI Processor P-States driver
Device Drivers --->
< > PCCard (PCMCIA/CardBus) support ----
Generic Driver Options --->
Firmware loader --->
-*- Firmware loading facility
(intel-ucode/06-3c-03 regulatory.db regulatory.db.p7s) Build named firmware blobs into the kernel binary
(/lib/firmware) Firmware blobs root directory
...
-*- X86 Platform Specific Device Drivers --->
<M> ThinkPad ACPI Laptop Extras
[*] Console audio control ALSA interface (NEW)
[ ] Maintainer debug facilities (NEW)
[ ] Verbose debug mode (NEW)
[ ] Allow control of important LEDs (unsafe) (NEW)
[ ] Video output control support
[ ] Support NVRAM polling for hot keys
< > Lenovo WMI-based systems management driver
Power management and ACPI options --->
[*] Suspend to RAM and standby
[*] Hibernation (aka 'suspend to disk')
[*] Userspace snapshot device
[*] ACPI (Advanced Configuration and Power Interface) Support --->
[*] ACPI Serial Port Console Redirection Support
[*] Allow supported ACPI revision to be overridden
< > EC read/write access through /sys/kernel/debug/ec
<*> AC Adapter
<*> Battery
{*} Button
{*} Video
{*} Fan
< > ACPI Time and Alarm (TAD) Device Support
[*] Dock
-*- Processor
< > Processor Aggregator
<*> Thermal Zone
[*] Allow upgrading ACPI tables via initrd
[ ] Debug Statements
CPU Frequency scaling --->
Default CPUFreq governor (schedutil) --->
( ) performance
( ) powersave
( ) userspace
(X) schedutil
-*- 'performance' governor
<*> 'powersave' governor
< > 'userspace' governor for userspace frequency scaling
< > 'ondemand' cpufreq policy governor
< > 'conservative' cpufreq governor
-*- 'schedutil' cpufreq policy governor
[ ] AMD Processor P-State driver
< > ACPI Processor P-States driver
Graphics support --->
<*> /dev/agpgart (AGP Support) --->
<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
[*] Enable legacy fbdev support for your modesetting driver
<M> Intel 8xx/9xx/G3x/G4x/HD Graphics
() Force probe i915 for selected Intel hardware IDs
[*] Enable capturing GPU state following a hang
[*] Compress GPU error state
[*] Always enable userptr support
Frame buffer Devices --->
<*> Support for frame buffer devices --->
[*] EFI-based Framebuffer Support
|
emerge --info
Code: | Portage 3.0.49 (python 3.11.5-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-12, glibc-2.37-r3, 6.1.46-gentoo x86_64)
=================================================================
System uname: Linux-6.1.46-gentoo-x86_64-Intel-R-_Core-TM-_i7-4810MQ_CPU_@_2.80GHz-with-glibc2.37
KiB Mem: 16268588 total, 12949524 free
KiB Swap: 16777212 total, 16777212 free
Timestamp of repository gentoo: Wed, 06 Sep 2023 08:30:01 +0000
Head commit of repository gentoo: 31a84c73e7c9b2a77d968c2506ae333aed367414
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
distcc[8881] (dcc_mkdir) ERROR: mkdir '/var/tmp/portage/.distcc//state' failed: No such file or directory [disabled]
app-misc/pax-utils: 1.3.5::gentoo
app-shells/bash: 5.1_p16-r6::gentoo
dev-lang/perl: 5.38.0-r1::gentoo
dev-lang/python: 3.11.5::gentoo
dev-lang/rust-bin: 1.69.0-r1::gentoo
dev-util/cmake: 3.26.5-r2::gentoo
dev-util/meson: 1.1.1::gentoo
sys-apps/baselayout: 2.14::gentoo
sys-apps/sandbox: 2.37::gentoo
sys-apps/systemd: 253.6::gentoo
sys-devel/autoconf: 2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake: 1.16.5-r1::gentoo
sys-devel/binutils: 2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/gcc: 12.3.1_p20230526::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/libtool: 2.4.7-r1::gentoo
sys-devel/lld: 15.0.7::gentoo
sys-devel/llvm: 15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make: 4.4.1-r1::gentoo
sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.37-r3::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=haswell -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=haswell -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=haswell -O2 -pipe"
GENTOO_MIRRORS="https://ftp.agdsn.de/gentoo rsync://ftp.agdsn.de/gentoo https://ftp.fau.de/gentoo ftp://ftp.fau.de/gentoo rsync://ftp.fau.de/gentoo https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ https://ftp.uni-stuttgart.de/gentoo-distfiles/"
LANG="C.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j7"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop sound split-usr ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="synaptics libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS |
(der distcc-error kommt, weil ich einige kleinere Pakete nachträglich lokal kompiliert habe)
Momentan ratlos wo es klemmen könnte...
Last edited by lazydog on Tue Sep 19, 2023 2:05 pm; edited 1 time in total |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4574 Location: Germany
|
Posted: Fri Sep 08, 2023 2:57 pm Post subject: |
|
|
Hm, ist nur ne vage Idee, aber …
Laut deiner Kernel Konfiguration ist der Intel Grafiktreiber-Kram built-in, also nicht als Modul gebaut,
und somit eventuell benötigte Firmware-Blobs vermutlich auch fest mit im Kernel.
Im https://wiki.gentoo.org/wiki/Intel wird drauf hingewiesen: Quote: | Warning
Including the firmware in-kernel may cause suspend-to-ram to fail, if this is a concern don't include the blob built into the kernel, instead, add the firmware blob into the initramfs.
-
Alternatively compile the i915 driver as a kernel module and it will automatically load the firmware from the filesystem. |
Vorschlag: Baue den Code: | Graphics support --->
<*> /dev/agpgart (AGP Support) --->
<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> | Kram mal als Module, anstatt built-in,
und teste dann ob es damit besser läuft. |
|
Back to top |
|
|
lazydog n00b
Joined: 26 Feb 2007 Posts: 64
|
Posted: Sat Sep 09, 2023 7:09 am Post subject: |
|
|
Stimmt, ich dachte der Grafiktreiber wäre bereits mit
Code: | Device Drivers --->
Graphics support --->
<M> Intel 8xx/9xx/G3x/G4x/HD Graphics
|
erledigt.
Habe jetzt auch
Code: |
Graphics support --->
<M> /dev/agpgart (AGP Support) --->
<M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> |
modularisiert. Hilft leider nicht
Hatte auch schon probiert den Treiber im Kernel einzubauen und Firmware-Patches angegeben, das hat aber den ewigen Suspend nicht gestört.. |
|
Back to top |
|
|
shaiyan n00b
Joined: 16 Oct 2017 Posts: 21 Location: Speyer
|
|
Back to top |
|
|
firefly Watchman
Joined: 31 Oct 2002 Posts: 5211
|
Posted: Sat Sep 09, 2023 10:39 am Post subject: |
|
|
Es geht hier nicht um hibernation aka suspend2disk, sondern nur um suspend/sleep aka suspend2ram. Denn der Laptop ist nicht aus! (wie lazydog auch geschrieben hat "Power-LED pulsiert langsam")
Da ist es egal wie die swap partition gestaltet ist. _________________ Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn. |
|
Back to top |
|
|
shaiyan n00b
Joined: 16 Oct 2017 Posts: 21 Location: Speyer
|
Posted: Sat Sep 09, 2023 8:36 pm Post subject: |
|
|
Ok...
Gibt es sowas wie sleep.conf
Wie wäre es mit sowas
First try modifying or disable certain options with sleep/hibernate.
navigate to sleep.conf (sudo nano /etc/systemd/sleep.conf or cd /etc/systemd/sleep.conf and then sudo nano sleep.conf)
-remove hashtag and disable either AllowHibernation or AllowSuspend. I would recommend disabling Hibernation first because that is the more intensive idle mode apparently and leave suspend on. Save the file with whatever editor you used. You can play around and troubleshoot back and forth with the options to see what works for your system.
If the above does not work, then try switching mem_sleep.
(sudo nano /sys/power/mem_sleep or cd /sys/power and sudo nano mem_sleep).
There will be a [ ] brackets around the word deep or whatever default your system is set too. Mine was [deep] and then other words without brackets like “s2idle” or something. I only have s2idle and deep, which apparently means Fedora is saying my computer can only go into these two states, so maybe your computer has more options. Either way, remove the brackets from one of the choices and put it around another one, then save. I changed from deep to s2idle. Deep is a stronger suspend state and s2idle isn’t as strong, so switching it to s2idle allows the computer to still have power to the I/O ports whereas I think deep doesn’t. There are other technical factors like move memory to ram or memory to swap space stuff happening behind the scenes, but I don’t jave swap space or swapfile on mine. Maybe because of zram or btrfs, I am not sure. But anyways move the brackets to a lighter suspend state and hopefully that works for you. |
|
Back to top |
|
|
firefly Watchman
Joined: 31 Oct 2002 Posts: 5211
|
Posted: Sun Sep 10, 2023 6:49 am Post subject: Re: Thinkpad wacht aus Suspend nicht mehr auf |
|
|
lazydog wrote: | Heiliges Kanonenrohr, dieses Problem versuche ich seit Wochen zu lösen, aber irgendwo klemmts... Wie im Titel beschrieben, ein Thinkpad T440p ist nicht mehr aufzuwecken, wenn es in den Schlafmodus geht (z.B. durch schließen des Deckels, oder Auswahl von "Sleep" im Logout-Menü von KDE-Plasma oder durch Eingabe von s2ram in der Konsole. |
Hast du einen weiteren Rechner zu hand um folgendes testen zu können?
Am besten ist dabei der Laptop per LAN Kabel mit dem Netzwerk verbunden. Um den zusätzlichen Faktor "WLAN verbindet sich nach resume nicht" ausschließen zu können.
Zusätzlich wäre es gut, wenn auf dem Laptop sshd aktiv ist und du dich mit einem zweiten Rechner darauf anmelden kannst.
Ist der Laptop anpingbar nachdem Aufwachen aus dem Sleep modus?
Wenn ja ist eine Verbindung via ssh möglich?
Wenn das alles möglich ist, dann resumed das system an sich erfolgreich.
Nur der resume der graphische Session scheint nicht zu funktionieren (eventuell auch nur die GPU wird nicht sauber re-initialisiert)
Aber wenn zugriff auf das system besteht nach dem resume können wir zusätzliche Informationen einholen
wie das aktuelle log und die zeilen aus der ausgabe von dmesg vom Zeitpunkt an dem der resume gestartet wurde. _________________ Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn. |
|
Back to top |
|
|
lazydog n00b
Joined: 26 Feb 2007 Posts: 64
|
Posted: Mon Sep 11, 2023 1:03 pm Post subject: |
|
|
Code: | cat /sys/power/mem_sleep |
liefert:
shaiyan wrote: | Ok...
Either way, remove the brackets from one of the choices and put it around another one, then save. |
Ähm, das kann man natürlich nicht editieren. Aber ich habe jetzt probehalber:
Code: | echo s2idle > /sys/power/mem_sleep |
Und siehe da, das Notebook geht in den Sleep Zustand (S2 - power-on standby), dabei bleibt die Power-LED an (pulsiert nicht, wie vorher bei S3) und wacht auch nach längerem Druck (ca. 2s) auf die Power-Taste wieder auf.
Das ist allerdings nicht Suspend-to-RAM, sondern halt nur Standby. Wenigstens ein Teilerfolg, wobei ich weiss, daß S3 (Suspend-to-RAM) mit der Hardware funktioniert (EndeavourOS, OpenSUSE).
@firefly: bin grad in Urlaub und habe nur das Thinkpad dabei, kann also momentan nicht von extern ran. Bin mir aber ziemlich sicher, daß resume nicht klappt, da die Power-LED im Sleep permanent pulsiert (wenn es teilweise aufwacht müsste die LED dauerhaft leuchten). Aber ich verfolge das bei Gelegenheit weiter, irgendwie muss auch S3 funktionieren.
Habe vor einiger Zeit ein Thinkpad T480 eigentlich auf die gleiche Weise eingerichtet wie das Problem-T440p und da funktioniert Sleep perfekt. |
|
Back to top |
|
|
firefly Watchman
Joined: 31 Oct 2002 Posts: 5211
|
Posted: Mon Sep 11, 2023 2:40 pm Post subject: |
|
|
lazydog wrote: | Wenigstens ein Teilerfolg, wobei ich weiss, daß S3 (Suspend-to-RAM) mit der Hardware funktioniert (EndeavourOS, OpenSUSE). |
Auf dem Thinkpad T440p oder nur auf dem T480?
Denn das T480 hat mit sicherheit eine andere HW als das T440p, was das unterschiedliche Verhalten zum teil erklären würde.
lazydog wrote: |
@firefly: bin grad in Urlaub und habe nur das Thinkpad dabei, kann also momentan nicht von extern ran. Bin mir aber ziemlich sicher, daß resume nicht klappt, da die Power-LED im Sleep permanent pulsiert (wenn es teilweise aufwacht müsste die LED dauerhaft leuchten). Aber ich verfolge das bei Gelegenheit weiter, irgendwie muss auch S3 funktionieren. |
Wenn die Power-LED weiterhin pulsiert, obwohl der Button gedrückt wurde, dann hat das Thinkpad selbst nicht auf den Button reagiert. AFAIK müsste hier das "BIOS"/die Firmware (genauer der ACPI part) auf den Button reagieren und in HW den aufwach prozess initiieren.
Ich kenne das jetzt nur von einem Desktop Rechner. Wenn der im Sleep ist (Suspend to RAM) dann pulsiert/blinkt auch hier die LED des Power Buttons.
Wenn der Button aber betätigt wird, so bleibt die LED sofort an und blinkt nicht mehr
EDIT: eine kurze im internet nach "T440p linux S3 not wake up" habe ich folgendes gefunden:
https://www.reddit.com/r/Gentoo/comments/l2vbzu/suspend_to_ram_and_thinkpad_t440p_does_not_wake/
Und laut dem hier https://forums.linuxmint.com/viewtopic.php?t=342118
scheint ein UEFI update geholfen zu haben
Quote: | I eventually managed to update the UEFI BIOS from 2.30 to 2.55 (plus the embedded controller) and the system now boots as expected |
Der thread ist von 2021 keine Ahnung ob bei dir die UEFI version >= 2.55 ist oder noch 2.30 _________________ Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn. |
|
Back to top |
|
|
lazydog n00b
Joined: 26 Feb 2007 Posts: 64
|
Posted: Tue Sep 12, 2023 8:13 am Post subject: |
|
|
firefly wrote: |
Auf dem Thinkpad T440p oder nur auf dem T480?
Denn das T480 hat mit sicherheit eine andere HW als das T440p, was das unterschiedliche Verhalten zum teil erklären würde. |
Auf dem T440p funktioniert S3 mit OpenSUSE oder EndeavourOS, mit Gentoo gibts obige Probleme. Deswegen habe ich mich auch noch nicht um UEFI/BIOS-Updates gekümmert, denn dann würde es wahrscheinlich grundsätzlich nicht funktionieren.
Quote: | Wenn die Power-LED weiterhin pulsiert, obwohl der Button gedrückt wurde, dann hat das Thinkpad selbst nicht auf den Button reagiert. |
Genau. Auch das öffnen des Deckels wird nicht erkannt. Normalerweise kann man auch Fn- oder Ctrl-Taste drücken und es sollte aufwachen. |
|
Back to top |
|
|
firefly Watchman
Joined: 31 Oct 2002 Posts: 5211
|
Posted: Tue Sep 12, 2023 9:13 am Post subject: |
|
|
lazydog wrote: | firefly wrote: |
Auf dem Thinkpad T440p oder nur auf dem T480?
Denn das T480 hat mit sicherheit eine andere HW als das T440p, was das unterschiedliche Verhalten zum teil erklären würde. |
Auf dem T440p funktioniert S3 mit OpenSUSE oder EndeavourOS, mit Gentoo gibts obige Probleme. Deswegen habe ich mich auch noch nicht um UEFI/BIOS-Updates gekümmert, denn dann würde es wahrscheinlich grundsätzlich nicht funktionieren.
Quote: | Wenn die Power-LED weiterhin pulsiert, obwohl der Button gedrückt wurde, dann hat das Thinkpad selbst nicht auf den Button reagiert. |
Genau. Auch das öffnen des Deckels wird nicht erkannt. Normalerweise kann man auch Fn- oder Ctrl-Taste drücken und es sollte aufwachen. |
Dann könnte der redit post helfen bezüglich dem TPM device.
Das kannst du vorab prüfen ob unter OpenSUSE/EndeavourOS der Treiber für das TPM device geladen ist _________________ Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn. |
|
Back to top |
|
|
lazydog n00b
Joined: 26 Feb 2007 Posts: 64
|
Posted: Tue Sep 19, 2023 2:05 pm Post subject: |
|
|
firefly wrote: |
Dann könnte der redit post helfen bezüglich dem TPM device. |
Er hat geholfen!
Code: |
Device Drivers --->
Character devices --->
<*> TPM Hardware Support --->
[*] TPM HW Random Number Generator support
<*> TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface
...
|
und dat Ding schläft und wacht auch wieder auf!
Vielen Dankeschöns!! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|