Projektvorstellung: TLP – Linux Stromsparen

Gerne. Verwendet wieder das frische T500.

tlp 1.6 alpha, nach Neustart und ohne Änderungen:
Code:
# tlp-stat --cdiff -s -p
lsmod | grep cpufreq
--- TLP 1.6.0-alpha.0 --------------------------------------------

+++ Configured Settings (only differences to defaults):

+++ System Info
System         = LENOVO ThinkPad T500 2089WBK
BIOS           = 6FET93WW (3.23 )
EC Firmware    = 1.6
OS Release     = Debian GNU/Linux 11 (bullseye)
Kernel         = 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64
/proc/cmdline  = BOOT_IMAGE=/vmlinuz-5.10.0-21-amd64 root=UUID=1c3f00dc-2ebd-4385-8eb6-5756cc64fca8 ro quiet
Init system    = systemd v247 (247.3-7+deb11u1)
Boot mode      = BIOS (CSM, Legacy)
Suspend mode   = s2idle [deep]

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 15:07:42,     62 sec(s) ago
Mode           = AC
Power source   = AC

+++ Processor
CPU model      = Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = schedutil
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance schedutil
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  2267000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 2267000 2266000 1600000 800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq  =  2267000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/bios_limit        =  2267000 [kHz]

/sys/devices/system/cpu/cpu1..cpu0: omitted for clarity, use -v to show all

/sys/devices/system/cpu/cpufreq/boost                  = (not available)
/sys/module/workqueue/parameters/power_efficient       = N
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Platform Profile
/sys/firmware/acpi/platform_profile                    = (not available)
/sys/firmware/acpi/platform_profile_choices            = (not available)
/sys/devices/platform/thinkpad_acpi/dytc_lapmode       = (not available)


acpi_cpufreq           32768  1

governors schedutil arbeitet hier wie gewohnt: Die CPU-Frequenz zappelt und kommt nicht zur Ruhe.

Ganz anders wieder nach ändern der tlp.conf. Mit governors ondemand taktet die CPU nur beim Zugriff. Und conservative eignet sich für den Batteriebetrieb - und einem T60 mit ATI- Grill.

Der Vollständigkeit halber mit meiner Lieblingseinstellung "ondemand":

Code:
# tlp-stat --cdiff -s -p
lsmod | grep cpufreq
--- TLP 1.6.0-alpha.0 --------------------------------------------

+++ Configured Settings (only differences to defaults):
/etc/tlp.conf L0091: CPU_SCALING_GOVERNOR_ON_AC="ondemand"
/etc/tlp.conf L0092: CPU_SCALING_GOVERNOR_ON_BAT="powersave"

+++ System Info
System         = LENOVO ThinkPad T500 2089WBK
BIOS           = 6FET93WW (3.23 )
EC Firmware    = 1.6
OS Release     = Debian GNU/Linux 11 (bullseye)
Kernel         = 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64
/proc/cmdline  = BOOT_IMAGE=/vmlinuz-5.10.0-21-amd64 root=UUID=1c3f00dc-2ebd-4385-8eb6-5756cc64fca8 ro quiet
Init system    = systemd v247 (247.3-7+deb11u1)
Boot mode      = BIOS (CSM, Legacy)
Suspend mode   = s2idle [deep]

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 15:13:39,     65 sec(s) ago
Mode           = AC
Power source   = AC

+++ Processor
CPU model      = Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = ondemand
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = ondemand performance schedutil
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  2267000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 2267000 2266000 1600000 800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq  =  2267000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/bios_limit        =  2267000 [kHz]

/sys/devices/system/cpu/cpu1..cpu0: omitted for clarity, use -v to show all

/sys/devices/system/cpu/cpufreq/boost                  = (not available)
/sys/module/workqueue/parameters/power_efficient       = N
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Platform Profile
/sys/firmware/acpi/platform_profile                    = (not available)
/sys/firmware/acpi/platform_profile_choices            = (not available)
/sys/devices/platform/thinkpad_acpi/dytc_lapmode       = (not available)

cpufreq_ondemand       16384  2
acpi_cpufreq           32768  1

Gefällt mir. :)
 
@Ravensberger : ich meinte (habs aber nicht geschrieben), dass Du deine tlp.conf beibehalten sollst. Der Testfall mit der Default-tlp.conf ergibt ja in diesem Kontext keinen Sinn. Falls Du per dpkg oder apt auf der Kommandozeile installierst, wirst Du gefragt ob Du die Konfiguration behalten möchtest. Du kannst auch nur die Zeilen mit deinen Einstellungen in eine sep. Datei- z.B. /etc/tlp.d/01-my.conf - eintragen, das läuft am bequemsten und ohne Rückfragen.

@mcb: Du sagst nicht, mit welchem Kernel deine letzte Ausgabe entstanden ist. Sei so nett und poste einfach

Bash:
sudo tlp-stat --cdiff -s -p

für beide Kernel, also 5.10 und 6.1.
 
Ja gerne doch:

5.1

Code:
--- TLP 1.5.0 --------------------------------------------

+++ Configured Settings (only differences to defaults):
/etc/tlp.d/00-mb-.conf L0019: DISK_DEVICES="nvme0n1 sda sdb"
/etc/tlp.d/00-mb-.conf L0014: AHCI_RUNTIME_PM_ON_BAT="on"
/etc/tlp.d/00-mb-.conf L0001: SOUND_POWER_SAVE_ON_AC="0"
/etc/tlp.d/00-mb-.conf L0002: SOUND_POWER_SAVE_ON_BAT="0"
/etc/tlp.d/00-mb-.conf L0003: SOUND_POWER_SAVE_CONTROLLER="N"
/etc/tlp.d/00-mb-.conf L0004: RESTORE_THRESHOLDS_ON_BAT="1"
/etc/tlp.d/00-mb-.conf L0005: TPSMAPI_ENABLE="0"
/etc/tlp.d/00-mb-.conf L0006: CPU_HWP_DYN_BOOST_ON_AC="0"
/etc/tlp.d/00-mb-.conf L0007: CPU_HWP_DYN_BOOST_ON_BAT="1"
/etc/tlp.d/00-mb-.conf L0008: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
/etc/tlp.d/00-mb-.conf L0009: START_CHARGE_THRESH_BAT0="45"
/etc/tlp.d/00-mb-.conf L0010: STOP_CHARGE_THRESH_BAT0="100"
/etc/tlp.d/00-mb-.conf L0011: START_CHARGE_THRESH_BAT1="45"
/etc/tlp.d/00-mb-.conf L0012: STOP_CHARGE_THRESH_BAT1="100"
/etc/tlp.d/00-mb-.conf L0013: TLP_PS_IGNORE="USB BAT"
/etc/tlp.d/00-mb-.conf L0015: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
/etc/tlp.d/00-mb-.conf L0016: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi"
/etc/tlp.d/00-mb-.conf L0017: DEVICES_TO_DISABLE_ON_DOCK="wifi wwan"
/etc/tlp.d/00-mb-.conf L0018: DEVICES_TO_ENABLE_ON_UNDOCK="wifi"

+++ System Info
System         = LENOVO ThinkPad T490s 20NXCTO1WW
BIOS           = N2JETA1W (1.79 )
OS Release     = Debian GNU/Linux 11 (bullseye)
Kernel         = 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64
/proc/cmdline  = BOOT_IMAGE=/vmlinuz-5.10.0-21-amd64 root=/dev/mapper/t490--vg-root ro quiet
Init system    = systemd v247 (247.3-7+deb11u2)
Boot mode      = UEFI

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 09:03:42 PM,     52 sec(s) ago
Mode           = AC
Power source   = AC

+++ Processor
CPU model      = Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  3900000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

/sys/devices/system/cpu/cpu1..cpu7: omitted for clarity, use -v to show all

/sys/devices/system/cpu/intel_pstate/status            = active
/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  10 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   0
/sys/devices/system/cpu/intel_pstate/hwp_dynamic_boost =   0
/sys/devices/system/cpu/intel_pstate/turbo_pct         =  65 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates       =  36

/sys/module/workqueue/parameters/power_efficient       = N
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Platform Profile
/sys/firmware/acpi/platform_profile                    = (not available)
/sys/firmware/acpi/platform_profile_choices            = (not available)
/sys/devices/platform/thinkpad_acpi/dytc_lapmode       = 0

root@t490:~#

6.1

Code:
--- TLP 1.5.0 --------------------------------------------

+++ Configured Settings (only differences to defaults):
/etc/tlp.d/00-mb-.conf L0019: DISK_DEVICES="nvme0n1 sda sdb"
/etc/tlp.d/00-mb-.conf L0014: AHCI_RUNTIME_PM_ON_BAT="on"
/etc/tlp.d/00-mb-.conf L0001: SOUND_POWER_SAVE_ON_AC="0"
/etc/tlp.d/00-mb-.conf L0002: SOUND_POWER_SAVE_ON_BAT="0"
/etc/tlp.d/00-mb-.conf L0003: SOUND_POWER_SAVE_CONTROLLER="N"
/etc/tlp.d/00-mb-.conf L0004: RESTORE_THRESHOLDS_ON_BAT="1"
/etc/tlp.d/00-mb-.conf L0005: TPSMAPI_ENABLE="0"
/etc/tlp.d/00-mb-.conf L0006: CPU_HWP_DYN_BOOST_ON_AC="0"
/etc/tlp.d/00-mb-.conf L0007: CPU_HWP_DYN_BOOST_ON_BAT="1"
/etc/tlp.d/00-mb-.conf L0008: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
/etc/tlp.d/00-mb-.conf L0009: START_CHARGE_THRESH_BAT0="45"
/etc/tlp.d/00-mb-.conf L0010: STOP_CHARGE_THRESH_BAT0="100"
/etc/tlp.d/00-mb-.conf L0011: START_CHARGE_THRESH_BAT1="45"
/etc/tlp.d/00-mb-.conf L0012: STOP_CHARGE_THRESH_BAT1="100"
/etc/tlp.d/00-mb-.conf L0013: TLP_PS_IGNORE="USB BAT"
/etc/tlp.d/00-mb-.conf L0015: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
/etc/tlp.d/00-mb-.conf L0016: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi"
/etc/tlp.d/00-mb-.conf L0017: DEVICES_TO_DISABLE_ON_DOCK="wifi wwan"
/etc/tlp.d/00-mb-.conf L0018: DEVICES_TO_ENABLE_ON_UNDOCK="wifi"

+++ System Info
System         = LENOVO ThinkPad T490s 20NXCTO1WW
BIOS           = N2JETA1W (1.79 )
OS Release     = Debian GNU/Linux 11 (bullseye)
Kernel         = 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64
/proc/cmdline  = BOOT_IMAGE=/vmlinuz-6.1.0-0.deb11.5-amd64 root=/dev/mapper/t490--vg-root ro quiet
Init system    = systemd v247 (247.3-7+deb11u2)
Boot mode      = UEFI

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 09:01:38 PM,     36 sec(s) ago
Mode           = AC
Power source   = AC

+++ Processor
CPU model      = Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  3900000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

/sys/devices/system/cpu/cpu1..cpu7: omitted for clarity, use -v to show all

/sys/devices/system/cpu/intel_pstate/status            = active
/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  10 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   0
/sys/devices/system/cpu/intel_pstate/hwp_dynamic_boost =   0
/sys/devices/system/cpu/intel_pstate/turbo_pct         =  65 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates       =  36

/sys/module/workqueue/parameters/power_efficient       = N
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Platform Profile
/sys/firmware/acpi/platform_profile                    = balanced
/sys/firmware/acpi/platform_profile_choices            = low-power balanced performance
/sys/devices/platform/thinkpad_acpi/dytc_lapmode       = 0

root@t490:~#

Zur Erklärung unter 5.1 sind Lüfter und Abwärme meist i.O. unter 6er Kerneln springt der Lüfter früher und öfter an, bei deutlich mehr Abwärme

Mit welcher Einstellung bekomme ich die Kiste wieder halbwegs kühl oder wo setzt man an?

PS: Unter Bookworm das selbe Verhalten.
 
@mcb : keine Ahnung :unsure:. TLP-seitig passt ja alles.

Ich nehme mal an, es geht dir um den AC-Betrieb. Richtig??

Der 6.1 unterstützt platform_profile, aber das steht ja schon auf balanced:

+++ Platform Profile
/sys/firmware/acpi/platform_profile = balanced
/sys/firmware/acpi/platform_profile_choices = low-power balanced performance
/sys/devices/platform/thinkpad_acpi/dytc_lapmode = 0

Der klassische Workaround wäre dies https://linrunner.de/tlp/faq/powercon.html#high-fan-speed
Bash:
RUNTIME_PM_ON_AC=auto

Unabhängig von dem Wärmeproblem solltest Du deine Konfiguration von vergangenen Alpha/Beta Tests ;) bereinigen:
Bash:
/etc/tlp.d/00-mb-.conf L0005: TPSMAPI_ENABLE="0" # überflüssig
/etc/tlp.d/00-mb-.conf L0013: TLP_PS_IGNORE="USB BAT" # Stromquellenerkennung geht doch jetzt, oder?

In 1.6 habe ich einen Workaround für die Hänger beim Resume eingebaut: beim Suspend wird jetzt automatisch AHCI Runtime PM deaktiviert und nach dem Resume wieder aktiviert. Dadurch sollte das hier weg können:
Bash:
/etc/tlp.d/00-mb-.conf L0014: AHCI_RUNTIME_PM_ON_BAT="on"

Fühl dich als 1.6 Alpha - demnächst Beta - Tester rekrutiert ... :giggle:

EDITH sagt: mein X1C6 (i7-8550U) hat sich mit 6.1 völlig unauffällig verhalten. Mit 6.2 mittlerweile auch.
 
Zuletzt bearbeitet:
@mcb : keine Ahnung :unsure:. TLP-seitig passt ja alles.

Ich nehme mal an, es geht dir um den AC-Betrieb. Richtig??
Jo.
Der 6.1 unterstützt platform_profile, aber das steht ja schon auf balanced:



Der klassische Workaround wäre dies https://linrunner.de/tlp/faq/powercon.html#high-fan-speed
Bash:
RUNTIME_PM_ON_AC=auto

Das führt zu unglaublichen Hängern z.B. bei
Code:
c;neofetch;mokutil --sb-state; df /home/ / /media/Card/ -h
nach der Ausgabe von neofetch.

Unabhängig von dem Wärmeproblem solltest Du deine Konfiguration von vergangenen Alpha/Beta Tests ;) bereinigen:
Bash:
/etc/tlp.d/00-mb-.conf L0005: TPSMAPI_ENABLE="0" # überflüssig
/etc/tlp.d/00-mb-.conf L0013: TLP_PS_IGNORE="USB BAT" # Stromquellenerkennung geht doch jetzt, oder?

Nochmal probiert -> Die Stromquellenerkennung funzt 1a unter beiden Kerneln. Die Einstellung habe ich jetzt rausgenommen. TPS... war nicht wichtig, also auch raus.
In 1.6 habe ich einen Workaround für die Hänger beim Resume eingebaut: beim Suspend wird jetzt automatisch AHCI Runtime PM deaktiviert und nach dem Resume wieder aktiviert. Dadurch sollte das hier weg können:
Bash:
/etc/tlp.d/00-mb-.conf L0014: AHCI_RUNTIME_PM_ON_BAT="on"

Fühl dich als 1.6 Alpha - demnächst Beta - Tester rekrutiert ... :giggle:
Ja gerne, wenn es soweit ist. Bauen möcht ich nicht momentan. Oder soll ich die Alpha von deiner Seite nehmem? Bei mcb ist auch immer ein Debian Repositorie schnell eingebunden, wenn du schon Ergebnisse möchtest.
EDITH sagt: mein X1C6 (i7-8550U) hat sich mit 6.1 völlig unauffällig verhalten. Mit 6.2 mittlerweile auch.
Hier laufen sie ja auch, nur der Lüfter nervt deutlich öfter als unter Kernel 5.1 ...
 
@mcb : Die Alphas gebe ich nicht in ein Repo, das gibts erst wieder für die Beta. Ich mach dann wie immer einen eigenen Thread auf.

Zu deinem Hitzeproblem muss ich leider passen.
 
@mcb : Die Alphas gebe ich nicht in ein Repo, das gibts erst wieder für die Beta. Ich mach dann wie immer einen eigenen Thread auf.
- Mit den Alphas verstehe ich.

-> Soll ich die

Code:
tlp:

  Installed: 1.5.0-1~bpo11+1

  Candidate: 1.5.0-1~bpo11+1

  Version table:

     1.6.0~alpha.0+20230416-1 500

        500 file:/var/local/repository/bullseye ./ Packages

 *** 1.5.0-1~bpo11+1 600

        100 https://deb.debian.org/debian bullseye-backports



Ruhig schon probieren?

Zu deinem Hitzeproblem muss ich leider passen.
- Ok - Debian unterstützt den 5.1er ja noch unter Bullseye mindestens ~ 1 Jahr.
- Turbo ausschalten kpnnte ich ja mal probieren?
 


Code:
root@t490:~# tlp-stat -s -b --cdiff -p
--- TLP 1.6.0-alpha.0 --------------------------------------------

+++ Configured Settings (only differences to defaults):
/etc/tlp.d/00-mb-.conf L0017: DISK_DEVICES="nvme0n1 sda sdb"
/etc/tlp.d/00-mb-.conf L0001: SOUND_POWER_SAVE_ON_AC="0"
/etc/tlp.d/00-mb-.conf L0002: SOUND_POWER_SAVE_ON_BAT="0"
/etc/tlp.d/00-mb-.conf L0003: SOUND_POWER_SAVE_CONTROLLER="N"
/etc/tlp.d/00-mb-.conf L0004: RESTORE_THRESHOLDS_ON_BAT="1"
/etc/tlp.d/00-mb-.conf L0005: CPU_HWP_DYN_BOOST_ON_AC="0"
/etc/tlp.d/00-mb-.conf L0006: CPU_HWP_DYN_BOOST_ON_BAT="1"
/etc/tlp.d/00-mb-.conf L0007: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
/etc/tlp.d/00-mb-.conf L0008: START_CHARGE_THRESH_BAT0="45"
/etc/tlp.d/00-mb-.conf L0009: STOP_CHARGE_THRESH_BAT0="100"
/etc/tlp.d/00-mb-.conf L0010: START_CHARGE_THRESH_BAT1="45"
/etc/tlp.d/00-mb-.conf L0011: STOP_CHARGE_THRESH_BAT1="100"
/etc/tlp.d/00-mb-.conf L0013: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
/etc/tlp.d/00-mb-.conf L0014: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi"
/etc/tlp.d/00-mb-.conf L0015: DEVICES_TO_DISABLE_ON_DOCK="wifi wwan"
/etc/tlp.d/00-mb-.conf L0016: DEVICES_TO_ENABLE_ON_UNDOCK="wifi"

+++ System Info
System         = LENOVO ThinkPad T490s 20NXCTO1WW
BIOS           = N2JETA1W (1.79 )
EC Firmware    = 1.24
OS Release     = Debian GNU/Linux 11 (bullseye)
Kernel         = 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64
/proc/cmdline  = BOOT_IMAGE=/vmlinuz-5.10.0-21-amd64 root=/dev/mapper/t490--vg-root ro quiet
Init system    = systemd v247 (247.3-7+deb11u2)
Boot mode      = UEFI
Suspend mode   = s2idle [deep]

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 03:52:13 PM,     63 sec(s) ago
Mode           = AC
Power source   = AC

+++ Processor
CPU model      = Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  3900000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq  =  3900000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_performance [EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

/sys/devices/system/cpu/cpu1..cpu7: omitted for clarity, use -v to show all

/sys/devices/system/cpu/intel_pstate/status            = active
/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  10 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   0
/sys/devices/system/cpu/intel_pstate/hwp_dynamic_boost =   0
/sys/devices/system/cpu/intel_pstate/turbo_pct         =  65 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates       =  36
/sys/module/workqueue/parameters/power_efficient       = N
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Platform Profile
/sys/firmware/acpi/platform_profile                    = (not available)
/sys/firmware/acpi/platform_profile_choices            = (not available)
/sys/devices/platform/thinkpad_acpi/dytc_lapmode       = 0

+++ Battery Care
Plugin: thinkpad
Supported features: charge thresholds, recalibration
Driver usage:
* natacpi (thinkpad_acpi) = active (charge thresholds)
* tpacpi-bat (acpi_call)  = active (recalibration)
Parameter value ranges:
* START_CHARGE_THRESH_BAT0/1:  0(off)..96(default)..99
* STOP_CHARGE_THRESH_BAT0/1:   1..100(default)

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer                   = SMP
/sys/class/power_supply/BAT0/model_name                     = 02DL014
/sys/class/power_supply/BAT0/cycle_count                    =     54
/sys/class/power_supply/BAT0/energy_full_design             =  57020 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  53740 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  31950 [mWh]
/sys/class/power_supply/BAT0/power_now                      =      0 [mW]
/sys/class/power_supply/BAT0/status                         = Not charging

/sys/class/power_supply/BAT0/charge_control_start_threshold =     45 [%]
/sys/class/power_supply/BAT0/charge_control_end_threshold   =    100 [%]
tpacpi-bat.BAT0.forceDischarge                              =      0

Charge                                                      =   59.5 [%]
Capacity                                                    =   94.2 [%]

root@t490:~#

Ich probiere mal ein paar Tage und melde falls mir was auffällt.
 
Ich hab mit meinem neuen E595 jetzt scheinbar das selbe problem wie das schon auf Github mit dem E495 behandelt wurde. Ich bin auch dem troubeshooting Guide gefolgt und hab mir angesehen was da für Lösungen angegeben waren.

Anhand von `tlp-stat -e`
Code:
--- TLP 1.5.0 --------------------------------------------

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = [default] performance powersave powersupersave (using BIOS preferences)

+++ PCIe Runtime Power Management
Enable devices    = (disabled)
Disable devices   = (disabled)
Device denylist   = 05:00.3 05:00.4
Driver denylist   = mei_me nouveau radeon

/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:00.2/power/control = auto (0x080600, IOMMU, no driver)
/sys/bus/pci/devices/0000:00:01.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:01.1/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.2/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.3/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.6/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:08.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:08.1/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:08.2/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0500, SMBus, piix4_smbus)
/sys/bus/pci/devices/0000:00:14.3/power/control = auto (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:18.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.1/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.2/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.3/power/control = auto (0x060000, Host bridge, k10temp)
/sys/bus/pci/devices/0000:00:18.4/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.5/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.6/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.7/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:01:00.0/power/control = auto (0x010802, Non-Volatile memory controller, nvme)
/sys/bus/pci/devices/0000:02:00.0/power/control = auto (0x020000, Ethernet controller, r8169)
/sys/bus/pci/devices/0000:03:00.0/power/control = auto (0xff0000, Unassigned class [ff00], rtsx_pci)
/sys/bus/pci/devices/0000:04:00.0/power/control = auto (0xff0000, Unassigned class [ff00], rtw_8822be)
/sys/bus/pci/devices/0000:05:00.0/power/control = auto (0x030000, VGA compatible controller, amdgpu)
/sys/bus/pci/devices/0000:05:00.1/power/control = auto (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:05:00.2/power/control = auto (0x108000, Encryption controller, ccp)
/sys/bus/pci/devices/0000:05:00.3/power/control = on   (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:05:00.4/power/control = on   (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:05:00.5/power/control = auto (0x048000, Multimedia controller, snd_pci_acp3x)
/sys/bus/pci/devices/0000:05:00.6/power/control = auto (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:06:00.0/power/control = auto (0x010601, SATA controller, ahci)

kann man sehen das ich den USB controller über die denyliste schon ausgeklammert habe. Trotzdem tritt das Problem noch auf.

Aufgefallen ist mir das weil ich gerade an der Uni sitze und die Steckdose hier kaputt ist und meine USB-Maus plötzlich nicht mehr geht 😅

Was kann ich denn noch ausprobieren?
Step 1 aus dem Guide (ausschalten, reboot) hab ich gemacht und da war die maus dann wieder an, einfacher reboot ohne deaktivieren von tlp hat die Maus nämlich nicht wieder zum leben erweckt.

Kernel: 6.0.8-xm1.0.fc37.x86_64 (Xanmod Kernel auf Fedora 37)

Hoffe ich habe ausreichend Informationen gegeben :)


Edit: Hab jetzt noch ein paar mal rebooted und nach dem neustart geht die Maus wieder einige Zeit und dann ist sie wieder aus.
 
Zuletzt bearbeitet:
...😬 ich habe zu spät die alpha-Version erkannt
 
Zuletzt bearbeitet:
Hoffe ich habe ausreichend Informationen gegeben :)
Für die erste Analyse brauche ich stets die vollständige Ausgabe von tlp-stat.
Beitrag automatisch zusammengeführt:

...😬 ich habe zu spät die alpha-Version erkannt
Alpha heisst bei TLP eigentlich nur, dass die Entwicklung der kommenden Version hinsichtlich Features noch nicht abgeschlossen ist.

Ungetestet gebe ich nichts raus, denn es gibt z.B. User die unter Arch mit dem tlp-git Paket aus dem AUR meinem main Branch folgen.

Ich freue mich über jeden, der die Betas testet.
 
Zuletzt bearbeitet:
Für die erste Analyse brauche ich stets die vollständige Ausgabe von tlp-stat.
Gerne :)

Code:
--- TLP 1.5.0 --------------------------------------------

+++ Configured Settings:
/etc/tlp.conf L0029: TLP_ENABLE="1"
defaults.conf L0005: TLP_WARN_LEVEL="3"
defaults.conf L0006: TLP_PERSISTENT_DEFAULT="0"
defaults.conf L0007: DISK_IDLE_SECS_ON_AC="0"
defaults.conf L0008: DISK_IDLE_SECS_ON_BAT="2"
defaults.conf L0009: MAX_LOST_WORK_SECS_ON_AC="15"
defaults.conf L0010: MAX_LOST_WORK_SECS_ON_BAT="60"
defaults.conf L0011: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
defaults.conf L0012: CPU_ENERGY_PERF_POLICY_ON_BAT="balance_power"
defaults.conf L0013: SCHED_POWERSAVE_ON_AC="0"
defaults.conf L0014: SCHED_POWERSAVE_ON_BAT="1"
defaults.conf L0015: NMI_WATCHDOG="0"
defaults.conf L0016: DISK_DEVICES="nvme0n1 sda"
defaults.conf L0017: DISK_APM_LEVEL_ON_AC="254 254"
defaults.conf L0018: DISK_APM_LEVEL_ON_BAT="128 128"
defaults.conf L0019: DISK_APM_CLASS_DENYLIST="usb ieee1394"
defaults.conf L0020: DISK_IOSCHED="keep keep"
defaults.conf L0021: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
defaults.conf L0022: SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
defaults.conf L0023: AHCI_RUNTIME_PM_ON_AC="on"
defaults.conf L0024: AHCI_RUNTIME_PM_ON_BAT="auto"
defaults.conf L0025: AHCI_RUNTIME_PM_TIMEOUT="15"
defaults.conf L0026: PCIE_ASPM_ON_AC="default"
defaults.conf L0027: PCIE_ASPM_ON_BAT="default"
defaults.conf L0028: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
defaults.conf L0029: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
defaults.conf L0030: RADEON_POWER_PROFILE_ON_AC="default"
defaults.conf L0031: RADEON_POWER_PROFILE_ON_BAT="default"
defaults.conf L0032: WIFI_PWR_ON_AC="off"
defaults.conf L0033: WIFI_PWR_ON_BAT="on"
defaults.conf L0034: WOL_DISABLE="Y"
defaults.conf L0035: SOUND_POWER_SAVE_ON_AC="1"
defaults.conf L0036: SOUND_POWER_SAVE_ON_BAT="1"
defaults.conf L0037: SOUND_POWER_SAVE_CONTROLLER="Y"
defaults.conf L0038: BAY_POWEROFF_ON_AC="0"
defaults.conf L0039: BAY_POWEROFF_ON_BAT="0"
defaults.conf L0040: BAY_DEVICE="sr0"
defaults.conf L0041: RUNTIME_PM_ON_AC="on"
defaults.conf L0042: RUNTIME_PM_ON_BAT="auto"
defaults.conf L0043: RUNTIME_PM_DRIVER_DENYLIST="mei_me nouveau radeon"
defaults.conf L0044: USB_AUTOSUSPEND="1"
defaults.conf L0045: USB_EXCLUDE_AUDIO="1"
defaults.conf L0046: USB_EXCLUDE_BTUSB="0"
defaults.conf L0047: USB_EXCLUDE_PHONE="0"
defaults.conf L0048: USB_EXCLUDE_PRINTER="1"
defaults.conf L0049: USB_EXCLUDE_WWAN="0"
defaults.conf L0050: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="0"
/etc/tlp.conf L0440: RESTORE_DEVICE_STATE_ON_STARTUP="0"
defaults.conf L0052: RESTORE_THRESHOLDS_ON_BAT="0"
defaults.conf L0053: NATACPI_ENABLE="1"
defaults.conf L0054: TPACPI_ENABLE="1"
defaults.conf L0055: TPSMAPI_ENABLE="1"
/etc/tlp.conf L0360: RUNTIME_PM_DENYLIST="05:00.3 05:00.4"
/etc/tlp.conf L0502: START_CHARGE_THRESH_BAT0="75"
/etc/tlp.conf L0503: STOP_CHARGE_THRESH_BAT0="80"

+++ System Info
System         = LENOVO ThinkPad E595 20NFCT01WW
BIOS           = R11ET45W (1.25 )
OS Release     = Fedora Linux 37 (KDE Plasma)
Kernel         = 6.0.8-xm1.0.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Nov 12 16:27:23 UTC 2022 x86_64
/proc/cmdline  = BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.0.8-xm1.0.fc37.x86_64 root=UUID=6c26c5d7-5928-44fc-b18e-265ac9094ab6 ro rootflags=subvol=fedora rd.luks.uuid=luks-f8f44fee-8139-4a29-966b-a7dd17da5fdc rhgb quiet
Init system    = systemd
Boot mode      = UEFI
SELinux status = enabled (enforcing)

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 22:27:36,    101 sec(s) ago
Mode           = AC
Power source   = AC

Warning: systemd-rfkill.service is not masked, radio device switching may not work as configured.
>>> Invoke 'systemctl mask systemd-rfkill.service' to correct this.

Warning: systemd-rfkill.socket is not masked, radio device switching may not work as configured.
>>> Invoke 'systemctl mask systemd-rfkill.socket' to correct this.

+++ Processor
CPU model      = AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = performance
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =  1400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]

/sys/devices/system/cpu/cpu1..cpu7: omitted for clarity, use -v to show all

/sys/devices/system/cpu/cpufreq/boost                  = 1

/sys/module/workqueue/parameters/power_efficient       = Y
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Platform Profile
/sys/firmware/acpi/platform_profile                    = (not available)
/sys/firmware/acpi/platform_profile_choices            = (not available)
/sys/devices/platform/thinkpad_acpi/dytc_lapmode       = (not available)

+++ Temperatures
/proc/acpi/ibm/thermal = 50 0 0 0 0 0 0 0 [°C]
/proc/acpi/ibm/fan     =     0 [/min]

+++ File System
/proc/sys/vm/laptop_mode               =     0
/proc/sys/vm/dirty_writeback_centisecs =  1500
/proc/sys/vm/dirty_expire_centisecs    =  1500
/proc/sys/vm/dirty_ratio               =    20
/proc/sys/vm/dirty_background_ratio    =    10

+++ Disks
Devices = nvme0n1 sda

/dev/nvme0n1:
  Type       = NVMe
  Disk ID    = nvme-Samsung_SSD_970_EVO_Plus_250GB_S4EUNM0T126216B
  Model      = Samsung SSD 970 EVO Plus 250GB         
  Firmware   = 2B2QEXM7
  Temp       = 36 °C
  Scheduler  = [none] mq-deadline bfq (multi queue)

  Runtime PM:
    /sys/block/nvme0n1/device/power/control = on, autosuspend_delay_ms = (not available)

  SMART info:
    Critical Warning:                   0x00
    Temperature:                        36 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          10%
    Percentage Used:                    0%
    Data Units Written:                 84.665 [43,3 GB]
    Power Cycles:                       20
    Power On Hours:                     0
    Unsafe Shutdowns:                   2
    Media and Data Integrity Errors:    0

/dev/sda:
  Type       = SATA
  Disk ID    = ata-Samsung_SSD_870_EVO_500GB_S6PYNM0T805431V
  Model      = Samsung SSD 870 EVO 500GB               
  Firmware   = SVT02B6Q
  APM Level  = none/disabled
  Status     = active/idle
  TRIM       = supported
  Host       = ../devices/pci0000:00/0000:00:08.2/0000:06:00.0/ata1/host0/target0:0:0/0:0:0:0/block/sda
  Scheduler  = mq-deadline [bfq] none (multi queue)

  Runtime PM:
    /sys/block/sda/device/power/control = on, autosuspend_delay_ms = 15000

  SMART info:
      5 Reallocated_Sector_Ct     =        0
      9 Power_On_Hours            =       26 [h]
     12 Power_Cycle_Count         =       19
    177 Wear_Leveling_Count       =      100 [%]
    179 Used_Rsvd_Blk_Cnt_Tot     =        0
    190 Airflow_Temperature_Cel   =       25 [°C]
    241 Total_LBAs_Written        =    0.043 [TB]

+++ AHCI Link Power Management (ALPM) :: SATA Links
/sys/bus/pci/devices/0000:06:00.0/ata1/host0/scsi_host/host0/link_power_management_policy = med_power_with_dipm  -- sda

+++ AHCI Port Runtime Power Management :: SATA/ATA Ports
/sys/bus/pci/devices/0000:06:00.0/ata1/power/control     = on  -- sda

+++ AMD Radeon Graphics
/sys/class/drm/card0/device/driver                                = amdgpu

/sys/class/drm/card0/device/power_dpm_force_performance_level     = auto

+++ Wireless
bluetooth = off (software)
nfc       = none (no device)
wifi      = on
wwan      = none (no device)

hci0(btusb)                   : bluetooth, not connected
wlp4s0(rtw_8822be)            : wifi, connected, power management = off

+++ Audio
/sys/module/snd_hda_intel/parameters/power_save            = 1
/sys/module/snd_hda_intel/parameters/power_save_controller = Y

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = [default] performance powersave powersupersave (using BIOS preferences)

+++ PCIe Runtime Power Management
Enable devices    = (disabled)
Disable devices   = (disabled)
Device denylist   = 05:00.3 05:00.4
Driver denylist   = mei_me nouveau radeon

/sys/bus/pci/devices/0000:00:00.0/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:00.2/power/control = on   (0x080600, IOMMU, no driver)
/sys/bus/pci/devices/0000:00:01.0/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:01.1/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.2/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.3/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.6/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:08.0/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:08.1/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:08.2/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:14.0/power/control = on   (0x0c0500, SMBus, piix4_smbus)
/sys/bus/pci/devices/0000:00:14.3/power/control = on   (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:18.0/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.1/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.2/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.3/power/control = on   (0x060000, Host bridge, k10temp)
/sys/bus/pci/devices/0000:00:18.4/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.5/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.6/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.7/power/control = on   (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:01:00.0/power/control = on   (0x010802, Non-Volatile memory controller, nvme)
/sys/bus/pci/devices/0000:02:00.0/power/control = on   (0x020000, Ethernet controller, r8169)
/sys/bus/pci/devices/0000:03:00.0/power/control = on   (0xff0000, Unassigned class [ff00], rtsx_pci)
/sys/bus/pci/devices/0000:04:00.0/power/control = on   (0xff0000, Unassigned class [ff00], rtw_8822be)
/sys/bus/pci/devices/0000:05:00.0/power/control = on   (0x030000, VGA compatible controller, amdgpu)
/sys/bus/pci/devices/0000:05:00.1/power/control = on   (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:05:00.2/power/control = on   (0x108000, Encryption controller, ccp)
/sys/bus/pci/devices/0000:05:00.3/power/control = on   (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:05:00.4/power/control = on   (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:05:00.5/power/control = on   (0x048000, Multimedia controller, snd_pci_acp3x)
/sys/bus/pci/devices/0000:05:00.6/power/control = on   (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:06:00.0/power/control = on   (0x010601, SATA controller, ahci)

+++ USB
Autosuspend       = enabled
Device allowlist  = (not configured)
Device denylist   = (not configured)
Exclude audio     = enabled
Exclude bluetooth = disabled
Exclude phones    = disabled
Exclude printers  = enabled
Exclude WWAN      = disabled

Bus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 003 Device 003 ID 5986:2113 control = auto, autosuspend_delay_ms = 2000 -- Bison Electronics Inc. SunplusIT Integrated Camera (uvcvideo)
Bus 003 Device 002 ID 0bda:b023 control = auto, autosuspend_delay_ms = 2000 -- Realtek Semiconductor Corp. RTL8822BE Bluetooth 4.2 Adapter (btusb)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 002 ID 046d:c05a control = on,   autosuspend_delay_ms = 2000 -- Logitech, Inc. M90/M100 Optical Mouse (usbhid)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)

+++ Battery Care
Plugin: thinkpad
Supported features: charge thresholds, recalibration
Driver usage:
* natacpi (thinkpad_acpi) = active (charge thresholds, recalibration)
Parameter value ranges:
* START_CHARGE_THRESH_BAT0/1:  0(off)..96(default)..99
* STOP_CHARGE_THRESH_BAT0/1:   1..100(default)

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer                   = Celxpert
/sys/class/power_supply/BAT0/model_name                     = 01AV448
/sys/class/power_supply/BAT0/cycle_count                    =    460
/sys/class/power_supply/BAT0/energy_full_design             =  45730 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  37550 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  17930 [mWh]
/sys/class/power_supply/BAT0/power_now                      =  31559 [mW]
/sys/class/power_supply/BAT0/status                         = Charging

/sys/class/power_supply/BAT0/charge_control_start_threshold =     75 [%]
/sys/class/power_supply/BAT0/charge_control_end_threshold   =     80 [%]
/sys/class/power_supply/BAT0/charge_behaviour               = [auto] inhibit-charge force-discharge

Charge                                                      =   47.7 [%]
Capacity                                                    =   82.1 [%]
Beitrag automatisch zusammengeführt:

Ok scheinbar muss mein Edit in einen eigenen Post weil ich sonst die Max Zeichen überschreite 🤷‍♂️

Akku Betrieb
Code:
--- TLP 1.5.0 --------------------------------------------

+++ Configured Settings:
[...]

+++ System Info
[...]

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 08:09:13,     33 sec(s) ago
Mode           = battery
Power source   = battery

+++ Processor
[...]

+++ Platform Profile
[...]

+++ Temperatures
[...]

+++ File System
[...]

+++ Disks
[...]

+++ AHCI Link Power Management (ALPM) :: SATA Links
/sys/bus/pci/devices/0000:06:00.0/ata1/host0/scsi_host/host0/link_power_management_policy = med_power_with_dipm  -- sda

+++ AHCI Port Runtime Power Management :: SATA/ATA Ports
/sys/bus/pci/devices/0000:06:00.0/ata1/power/control     = auto  -- sda

+++ AMD Radeon Graphics
/sys/class/drm/card0/device/driver                                = amdgpu

/sys/class/drm/card0/device/power_dpm_force_performance_level     = auto

+++ Wireless
bluetooth = off (software)
nfc       = none (no device)
wifi      = on
wwan      = none (no device)

hci0(btusb)                   : bluetooth, not connected
wlp4s0(rtw_8822be)            : wifi, connected, power management = on

+++ Audio
/sys/module/snd_hda_intel/parameters/power_save            = 1
/sys/module/snd_hda_intel/parameters/power_save_controller = Y

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = [default] performance powersave powersupersave (using BIOS preferences)

+++ PCIe Runtime Power Management
Enable devices    = (disabled)
Disable devices   = (disabled)
Device denylist   = 05:00.3 05:00.4
Driver denylist   = mei_me nouveau radeon

/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:00.2/power/control = auto (0x080600, IOMMU, no driver)
/sys/bus/pci/devices/0000:00:01.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:01.1/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.2/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.3/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.6/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:08.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:08.1/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:08.2/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0500, SMBus, piix4_smbus)
/sys/bus/pci/devices/0000:00:14.3/power/control = auto (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:18.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.1/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.2/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.3/power/control = auto (0x060000, Host bridge, k10temp)
/sys/bus/pci/devices/0000:00:18.4/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.5/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.6/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.7/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:01:00.0/power/control = auto (0x010802, Non-Volatile memory controller, nvme)
/sys/bus/pci/devices/0000:02:00.0/power/control = auto (0x020000, Ethernet controller, r8169)
/sys/bus/pci/devices/0000:03:00.0/power/control = auto (0xff0000, Unassigned class [ff00], rtsx_pci)
/sys/bus/pci/devices/0000:04:00.0/power/control = auto (0xff0000, Unassigned class [ff00], rtw_8822be)
/sys/bus/pci/devices/0000:05:00.0/power/control = auto (0x030000, VGA compatible controller, amdgpu)
/sys/bus/pci/devices/0000:05:00.1/power/control = auto (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:05:00.2/power/control = auto (0x108000, Encryption controller, ccp)
/sys/bus/pci/devices/0000:05:00.3/power/control = on   (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:05:00.4/power/control = on   (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:05:00.5/power/control = auto (0x048000, Multimedia controller, snd_pci_acp3x)
/sys/bus/pci/devices/0000:05:00.6/power/control = auto (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:06:00.0/power/control = auto (0x010601, SATA controller, ahci)

+++ USB
Autosuspend       = enabled
Device allowlist  = (not configured)
Device denylist   = (not configured)
Exclude audio     = enabled
Exclude bluetooth = disabled
Exclude phones    = disabled
Exclude printers  = enabled
Exclude WWAN      = disabled

Bus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 003 Device 003 ID 5986:2113 control = auto, autosuspend_delay_ms = 2000 -- Bison Electronics Inc. SunplusIT Integrated Camera (uvcvideo)
Bus 003 Device 002 ID 0bda:b023 control = auto, autosuspend_delay_ms = 2000 -- Realtek Semiconductor Corp. RTL8822BE Bluetooth 4.2 Adapter (btusb)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 002 ID 046d:c05a control = on,   autosuspend_delay_ms = 2000 -- Logitech, Inc. M90/M100 Optical Mouse (usbhid)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)

+++ Battery Care
[...]

Und wenn ich das richtig in Erinnerung habe, dann hat die USB-Maus nicht wieder funktioniert nachdem ich von Akku auf Netzbetrieb umgestellt habe, reboot im Netzbetrieb war notwendig.
 
Zuletzt bearbeitet:
@zacki06 : das Problem in Issue #436 ist, dass USB-Devices im BAT Modus beim Anstecken nicht erkannt werden. Ob die Erkennung allein durch Anschließen des Netzteils nachgeholt wird oder ob man zusätzlich neu anstecken muss, weiss ich nicht.

Wie ist es denn bei dir: steckst Du die Maus im laufenden Betrieb (BAT) an und sie wird nicht erkannt - also auch nicht in tlp-stat -u zu sehen - oder ist sie zu sehen aber der Mauszeiger bewegt sich nicht, oder ist der genaue Hergang bzw. die Symptome völlig anders (wie)?

Im ersten Schritt solltst Du prüfen, ob es überhaupt an TLP liegt. Einfach mal komplett deaktivieren in tlp.conf
Code:
TLP_ENABLE=0
Neustart.
 
Zuletzt bearbeitet:
Also wenn ich mich richtig erinnere dann hat die Maus funktioniert als ich sie im Akku betrieb angesteckt habe, sie wurde auch ausgegeben in der Liste, allerdings ging sie dann nach dem Timeout nicht mehr.

Was ich Zuhause dann probiert habe war angesteckt hochfahren, strom raus, maus geht noch. Als die der Timeout rum war und die Maus nicht mehr ging hab ich den Laptop wieder angesteckt und die Maus ging nach wie vor nicht. Ab und wieder anstecken der Maus hat auch nichts bewirkt.
Nach einem Neustart hat alles wieder gepasst.

Ich werde das allerdings auch mal ohne TLP so explizit ausprobieren.


Dabei ist mir allerdings noch etwas anderes aufgefallen das ich fragen wollte. Aktuell probiere ich gerade Morrowind mit OpenMW und das hab ich auch an der Uni kurz angeworfen. Da war der Laptop quasi lautlos und das Spiel hat trotzdem einigermaßen gut funktioniert.
Zuhause ist der Lüfter immer auf Vollgas (4500-4800 RPM) und die CPU schön auf ~62-64°C.

Ich hab den Laptop dann mal mit Spiel offen abgesteckt und die Temperatur ging sofort um ~10°C runter und auch der Lüfter wurde leiser.
Wie kann ich dieses Verhalten auch im Netzbetrieb nachstellen? Ich find das nicht besonders toll das das Gerät so heiß wird mit der Zeit wenn die CPU so warm ist.

Ich habe mal folgendes probiert:
Bash:
# Switch to low performance mode
sudo sed -i 's/CPU_ENERGY_PERF_POLICY_ON_AC=balance_performance/CPU_ENERGY_PERF_POLICY_ON_AC=balance_power/' /etc/tlp.conf
sudo sed -i 's/CPU_BOOST_ON_AC=1/CPU_BOOST_ON_AC=0/' /etc/tlp.conf
sudo tlp start

Allerdings hat das überhaupt nichts geändert, auch nach einem Neustart nicht. Da hier keine "echte" GPU eingebaut ist sonder nur eine in der CPU interne hab ich mir gedacht das die GPU settings die ohnehin auf automatisch stehen wohl keine Veränderung bringen werden.
Oder ist das überhaut nicht machbar?

Die Idee war das ich eben mit den Zeilen (dann eventuell in einem eigenen .sh skript) die Power des Gerätes runterfahre und wenn ich das brauchen würde dann einfach wieder reverte.

Aber eventuell fixen wir mal das mit dem USB :)
 
Zuletzt bearbeitet:
Also wenn ich mich richtig erinnere dann hat die Maus funktioniert als ich sie im Akku betrieb angesteckt habe, sie wurde auch ausgegeben in der Liste, allerdings ging sie dann nach dem Timeout nicht mehr.
Als die der Timeout rum war
Du sprichst in Rätseln: welcher Timeout? USB Autosuspend ist aus:
Bus 001 Device 002 ID 046d:c05a control = on, autosuspend_delay_ms = 2000 -- Logitech, Inc. M90/M100 Optical Mouse (usbhid)
Bisher passen deine (vermuteten) Symptome nicht zum genannten Issue.

Zum Wärmeproblem: ich empfehle da stets die FAQ https://linrunner.de/tlp/faq/powercon.html#high-fan-speed

sudo sed -i 's/ ...
Temporäre Änderungen einzelner Parameter kannst Du viel einfacher haben:
Bash:
sudo tlp start -- RUNTIME_PM_ON_AC="auto" CPU_ENERGY_PERF_POLICY_ON_AC="balance_power" CPU_BOOST_ON_AC="0"
Ist als Testtool gedacht, aber auch anderweitig nützlich :cool:.

Aber jetzt bitte erstmal ohne TLP das USB-Maus-Problem analysieren.
 
Du sprichst in Rätseln: welcher Timeout? USB Autosuspend ist aus:

Bisher passen deine (vermuteten) Symptome nicht zum genannten Issue.
Das ist interessant, ich habe das mit dem Timeout vermutet, denn die Maus geht noch ein paar Minuten nachdem ich das Netzkabel abgesteckt habe oder wenn ich im Akkubetrieb gestartet habe und irgendwann dann einfach nicht mehr. Und weil ich eben was von den 2000ms gelese habe, hab ich das da hinein interpretiert.

Zum Wärmeproblem: ich empfehle da stets die FAQ https://linrunner.de/tlp/faq/powercon.html#high-fan-speed


Temporäre Änderungen einzelner Parameter kannst Du viel einfacher haben:
Bash:
sudo tlp start -- RUNTIME_PM_ON_AC="auto" CPU_ENERGY_PERF_POLICY_ON_AC="balance_power" CPU_BOOST_ON_AC="0"
Ist als Testtool gedacht, aber auch anderweitig nützlich :cool:.

Aber jetzt bitte erstmal ohne TLP das USB-Maus-Problem analysieren.
Alles klar, da schau ich dann mal rein und danke für das testtool 😃 Aber ja, erstmal das problem lösen^^
 
Klingt nach Kernelproblem (dmesg anschauen) oder Maus-Defekt.
Kernel könnte sein, werd ich mal überprüfen.

Defekt ist zwar nicht vollends auszuschließen aber die Maus funktioniert an allen anderen Geräten die ich nutze (T530, X230, Firmenlaptop mit Windoof10) sowohl im Netz- als auch Akku-Betrieb absolut problemlos.

Ich werd mal den Kernel im Auge behalten, auch wenn ich den ebenfalls auf allen meinen Geräten nutze und da auch überal Fedora läuft, wenn auch 36 und nicht 37 (kann auch daran liegen, was weiß man schon).


Edit:

Hab das jetzt mal beobachtet mit
Bash:
sudo dmesg -L -H --follow
und demoment wo die Maus nicht mehr "funktioniert" wurde das folgende in dmesg ausgegeben:

Code:
[Do, 27. Apr 2023, 14:03:43] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[Do, 27. Apr 2023, 14:03:43] sd 0:0:0:0: [sda] Stopping disk
[Do, 27. Apr 2023, 14:03:45] xhci_hcd 0000:05:00.3: WARNING: Host System Error
[Do, 27. Apr 2023, 14:03:49] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[Do, 27. Apr 2023, 14:03:49] ata1.00: supports DRM functions and may not be fully accessible
[Do, 27. Apr 2023, 14:03:49] ata1.00: supports DRM functions and may not be fully accessible
[Do, 27. Apr 2023, 14:03:49] ata1.00: configured for UDMA/133
[Do, 27. Apr 2023, 14:03:49] sd 0:0:0:0: [sda] Starting disk
[Do, 27. Apr 2023, 14:03:49] ata1.00: Enabling discard_zeroes_data

Vermutlich nicht alles relevant aber hab mal trotzdem nix entfernt.
Kleiner Zusatz, ich hab mir weil das ding ja warm wird mit einem alten USB Kabel und zwei so mini Ventilatoren was kleines gebastelt und auch am Laptop angesteckt, das läuft weiterhin! Also die USB Ports sind nicht komplett "aus", zumindest ist da noch "Strom" drauf, falls das bei der Diagnose irgendwie hilft.
 
Zuletzt bearbeitet:
  • ok1.de
  • ok2.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben