Linux Projektvorstellung: TLP – Linux Stromsparen

Linux Betriebssystem

linrunner

Ubuntuversteher
Themenstarter
Registriert
22 Juni 2007
Beiträge
13.273
Nachdem im Forum öfters nachgefragt wird, wie man Linux die Feinheiten des Stromsparens beibringt, habe ich mich vor einiger Zeit entschlossen, meine Skriptsammlung in eine allgemein benutzbare Form zu bringen. Das Ergebnis möchte ich Euch an dieser Stelle vorstellen.

Dokumentation ist auf der offiziellen Website https://linrunner.de/tlp/ zu finden (die Infos in unserem Wiki werden von mir nicht mehr gepflegt und sind veraltet).

Fragen und Probleme einfach hier im Thread posten.

Für die erste Analyse benötige ich bitte stets den kompletten Output von

Code:
sudo tlp-stat
Anmerkung: ich fordere oft in der weiteren Analyse Teilausgaben an - das sollt ihr jedoch nicht selbstständig tun! Immer zuerst die vollständige Ausgabe.

Bitte auch die FAQ beachten!

Rückmeldungen der Art "alles funktioniert" sind natürlich auch gern gesehen ... :cool:
 
Zuletzt bearbeitet:
@V-B: aus Richtung TLP-Support kann ich leider nicht mehr tun, die Einstellungen sind ja bereits korrekt.
 
mach' dir keinen Kopp, is ja alles kein wirkliches Problem :)
danke für deine Geduld mit mir!
 
@V-B: wenn Du das System startest, dich nicht anmeldest, sondern einfach wartest, geht dann die Blauzahn-LED aus?
 
Zuletzt bearbeitet:
Wie Herbstbert schon sagte, TLP macht BT aus, aber bei der Anmeldung wird irgendetwas gestartet das es wieder einschaltet. Zeig doch mal:
Code:
ps -efw | grep blue
 
Code:
root       744     1  0 20:13 ?        00:00:00 /usr/sbin/bluetoothd
deti      1642  1487  0 20:13 ?        00:00:00 /usr/bin/python /usr/bin/blueman-applet
deti      1645  1487  0 20:13 ?        00:00:00 bluetooth-applet
deti      2132  2025  0 20:19 pts/0    00:00:00 grep --colour=auto blue
 
deti 1642 1487 0 20:13 ? 00:00:00 /usr/bin/python /usr/bin/blueman-applet
Sag ich doch, dass blueman der Übeltäter ist. Falls Du es deinstallieren willst, aufpassen, dass er nicht den halben Desktop mit wegwirft. Also am besten per:
Code:
sudo apt-get remove blueman
Da sieht man gut was alles an Abhängigkeiten runterfliegen würde.
 
Moin Moin

tlp 0.3.8.1 für Fedora (17/18) ist fertig. Ihr findet die Version im Repo tlp-updates-testing.
Wenn es keine Probleme gibt wandert die Version am nächsten Wochenende ins tlp-update Repo.

RomanX
 
Zuletzt bearbeitet:
hej,

1. Mein Bluetooth schaltet sich nicht automatisch ab beim Systemstart.
2. Gibt es noch SSD spezifische Einstellungsbesonderheiten?

Code:
brumm@x200:~$ sudo tlp-stat
[sudo] password for brumm: 
--- TLP 0.3.8.1 --------------------------------------------

+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60
CPU_SCALING_GOVERNOR_ON_AC=ondemand
CPU_SCALING_GOVERNOR_ON_BAT=ondemand
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
DISK_DEVICES="sda"
SATA_LINKPWR_ON_AC=max_performance
SATA_LINKPWR_ON_BAT=min_power
PCIE_ASPM_ON_AC=powersave
PCIE_ASPM_ON_BAT=powersave
WIFI_PWR_ON_AC=5
WIFI_PWR_ON_BAT=5
WOL_DISABLE=Y
SOUND_POWER_SAVE=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
RUNTIME_PM_ALL=0
USB_AUTOSUSPEND=1
RESTORE_DEVICE_STATE_ON_STARTUP=0

+++ System Info
System         = LENOVO ThinkPad X200 7459M78
BIOS           = 6DET63WW (3.13 )
Release        = Ubuntu Raring Ringtail (development branch)
Kernel         = 3.8.0-17-generic x86_64
/proc/cmdline  = BOOT_IMAGE=/vmlinuz-3.8.0-17-generic root=/dev/mapper/ubuntu--gnome--vg-root ro quiet splash vt.handoff=7

+++ System Status
TLP power save = enabled
power source   = ac

+++ Processor
CPU Model      = Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = ondemand
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  2401000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 2401000 2400000 1600000 800000 [kHz]

/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = ondemand
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  2401000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies = 2401000 2400000 1600000 800000 [kHz]

/sys/devices/system/cpu/cpufreq/boost                  = 1
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Undervolting
PHC kernel not available.

+++ Temperatures
/proc/acpi/ibm/thermal = 45 50 -128 43 33 -128 31 -128 48 46 -128 -128 -128 -128 -128 -128 [°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               =    60
/proc/sys/vm/dirty_background_ratio    =     1
/proc/sys/fs/xfs/age_buffer_centisecs  = (not available)
/proc/sys/fs/xfs/xfssyncd_centisecs    = (not available)
/proc/sys/fs/xfs/xfsbufd_centisecs     = (not available)

+++ Storage Devices
/dev/sda:
          Model     = SAMSUNG SSD PM810 2.5" 7mm 128GB        
          Firmware  = AXM08D1Q
          APM Level = none/disabled
          Status    = active/idle
          TRIM      = supported
          scheduler = deadline

        SMART info:
            5 Reallocated_Sector_Ct     =        0 
            9 Power_On_Hours            =     2921 [h]
          177 Wear_Leveling_Count       =       99 [%]
          178 Used_Rsvd_Blk_Cnt_Chip    =      468 
          179 Used_Rsvd_Blk_Cnt_Tot     =      870 
          232 Available_Reservd_Space   =       77 [%]
          241 Total_LBAs_Written        =    1.220 [TB]


+++ SATA Aggressive Link Power Management
/sys/class/scsi_host/host0/link_power_management_policy  = max_performance
/sys/class/scsi_host/host1/link_power_management_policy  = max_performance
/sys/class/scsi_host/host2/link_power_management_policy  = max_performance
/sys/class/scsi_host/host3/link_power_management_policy  = max_performance

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)

+++ Intel Graphics
/sys/module/i915/parameters/powersave        =  1 (enabled)
/sys/module/i915/parameters/i915_enable_rc6  = -1 (use per-chip default)
/sys/module/i915/parameters/i915_enable_fbc  = -1 (use per-chip default)
/sys/module/i915/parameters/lvds_downclock   =  0 (disabled)
/sys/module/i915/parameters/semaphores       = -1 (use per-chip default)

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

wlan0(iwlwifi): power management = on

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

+++ ThinkPad Extended Battery Functions
tp-smapi   = active
tpacpi-bat = inactive (kernel module 'acpi_call' not installed)

+++ ThinkPad Battery Status (Main)
/sys/devices/platform/smapi/BAT0/manufacturer               = LGC
/sys/devices/platform/smapi/BAT0/model                      = 42T4648
/sys/devices/platform/smapi/BAT0/manufacture_date           = 2009-10-15
/sys/devices/platform/smapi/BAT0/first_use_date             = 2010-02-13
/sys/devices/platform/smapi/BAT0/cycle_count                =    474
/sys/devices/platform/smapi/BAT0/design_capacity            =  56160 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity         =   7460 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity         =   6220 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent          =     84 [%]
/sys/devices/platform/smapi/BAT0/remaining_running_time_now = not_discharging [min]
/sys/devices/platform/smapi/BAT0/remaining_charging_time    =      1 [min]
/sys/devices/platform/smapi/BAT0/power_now                  =   5586 [mW]
/sys/devices/platform/smapi/BAT0/power_avg                  =      0 [mW]

/sys/devices/platform/smapi/BAT0/start_charge_thresh        =     96 [%]
/sys/devices/platform/smapi/BAT0/stop_charge_thresh         =    100 [%]
/sys/devices/platform/smapi/BAT0/force_discharge            =      0

+++ Runtime Power Management
/sys/bus/pci/devices/0000:00:00.0/power/control = on   (0x060000 Host bridge)
/sys/bus/pci/devices/0000:00:02.0/power/control = on   (0x030000 VGA compatible controller)
/sys/bus/pci/devices/0000:00:02.1/power/control = on   (0x038000 Display controller)
/sys/bus/pci/devices/0000:00:03.0/power/control = on   (0x078000 Communication controller)
/sys/bus/pci/devices/0000:00:03.3/power/control = on   (0x070002 Serial controller)
/sys/bus/pci/devices/0000:00:19.0/power/control = on   (0x020000 Ethernet controller)
/sys/bus/pci/devices/0000:00:1a.0/power/control = on   (0x0c0300 USB controller)
/sys/bus/pci/devices/0000:00:1a.1/power/control = on   (0x0c0300 USB controller)
/sys/bus/pci/devices/0000:00:1a.2/power/control = on   (0x0c0300 USB controller)
/sys/bus/pci/devices/0000:00:1a.7/power/control = on   (0x0c0320 USB controller)
/sys/bus/pci/devices/0000:00:1b.0/power/control = on   (0x040300 Audio device)
/sys/bus/pci/devices/0000:00:1c.0/power/control = on   (0x060400 PCI bridge)
/sys/bus/pci/devices/0000:00:1c.1/power/control = on   (0x060400 PCI bridge)
/sys/bus/pci/devices/0000:00:1d.0/power/control = on   (0x0c0300 USB controller)
/sys/bus/pci/devices/0000:00:1d.1/power/control = on   (0x0c0300 USB controller)
/sys/bus/pci/devices/0000:00:1d.2/power/control = on   (0x0c0300 USB controller)
/sys/bus/pci/devices/0000:00:1d.7/power/control = on   (0x0c0320 USB controller)
/sys/bus/pci/devices/0000:00:1e.0/power/control = on   (0x060401 PCI bridge)
/sys/bus/pci/devices/0000:00:1f.0/power/control = on   (0x060100 ISA bridge)
/sys/bus/pci/devices/0000:00:1f.2/power/control = on   (0x010601 SATA controller)
/sys/bus/pci/devices/0000:00:1f.3/power/control = on   (0x0c0500 SMBus)
/sys/bus/pci/devices/0000:03:00.0/power/control = on   (0x028000 Network controller)

+++ USB
tlp usb autosuspend = enabled
tlp usb blacklist   = (not configured)

Bus 001 Device 003 ID 17ef:480c control = auto, autosuspend_delay_ms =  2000 -- Lenovo Integrated Webcam (uvcvideo)
Bus 004 Device 002 ID 08ff:2810 control = auto, autosuspend_delay_ms =  2000 -- AuthenTec, Inc. AES2810 (no driver)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =  2000 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =  2000 -- Linux Foundation 2.0 root hub (hub)
Bus 003 Device 001 ID 1d6b:0001 control = auto, autosuspend_delay_ms =  2000 -- Linux Foundation 1.1 root hub (hub)
Bus 004 Device 001 ID 1d6b:0001 control = auto, autosuspend_delay_ms =  2000 -- Linux Foundation 1.1 root hub (hub)
Bus 005 Device 001 ID 1d6b:0001 control = auto, autosuspend_delay_ms =  2000 -- Linux Foundation 1.1 root hub (hub)
Bus 006 Device 001 ID 1d6b:0001 control = auto, autosuspend_delay_ms =  2000 -- Linux Foundation 1.1 root hub (hub)
Bus 007 Device 001 ID 1d6b:0001 control = auto, autosuspend_delay_ms =  2000 -- Linux Foundation 1.1 root hub (hub)
Bus 008 Device 001 ID 1d6b:0001 control = auto, autosuspend_delay_ms =  2000 -- Linux Foundation 1.1 root hub (hub)

Danke für die Hilfe

PS:

Code:
brumm@x200:~$ ps -efw | grep blue
root       755     1  0 15:49 ?        00:00:00 /usr/sbin/bluetoothd
brumm    21764 21677  0 18:02 pts/0    00:00:00 grep --color=auto blue
 
Hast du in deiner /etc/default/tlp auch

Code:
DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"

angegeben?

Edit: Zu dem Zeitpunkt, an dem du die Config kopiert hast, hast du aber schon selber Bluetooth ausgestellt, oder?
 
Zuletzt bearbeitet:
@rumo:

1) Entweder fehlt die von Herbstbert gezeigte Einstellung oder Du hast vergessen das Kommentarzeichen '#' am Zeilenanfang zu entfernen
2) In TLP ist nichts erforderlich.

Zum Thema TRIM empfehle ich: Batched Discard
 
@Herbstbert: Ja habe ich (beides), s.u.
@linrunner: Ach, so schusselig kann ich sein. Drei mal habe ich die config datei mir angeschaut. Danke!

OT: wie kommst du auf TRIM, sind die Werte so schlecht?
 
@rumo: man braucht TRIM nicht wirklich zwingend, aber es hält die SSD fit ohne dass der Benutzer dafür schwitzen müßte ;). Für die Grundlagen des Themas einfach das verlinkte Wiki vom Anfang her lesen.
 
Hallo linrunner,

habe hier ein Problem mit einem x121e mit Intel-Prozessor. Kann es sein das hier die Ladeschwellen einfach gar nicht funktionieren?

Habe diesbezüglich nichts eindeutiges gefunden.

Hier läuft ein Ubuntu 12.04 x64 und tlp tlp-rdw tp-smapi-dkms und acpi-call-tools sind installiert.

Scheinbar wird hier kein Akku erkannt, ein setcharge ergibt:

Code:
gero@EEPC:~$ sudo tlp setcharge
Error: battery BAT0 not present.

Hier ein -stat:

Code:
--- TLP 0.3.8.1 --------------------------------------------

+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
DISK_DEVICES="sda sdb"
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"
SATA_LINKPWR_ON_AC=max_performance
SATA_LINKPWR_ON_BAT=min_power
PCIE_ASPM_ON_AC=performance
PCIE_ASPM_ON_BAT=powersave
RADEON_POWER_PROFILE_ON_AC=high
RADEON_POWER_PROFILE_ON_BAT=low
WIFI_PWR_ON_AC=1
WIFI_PWR_ON_BAT=5
WOL_DISABLE=Y
SOUND_POWER_SAVE=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
RUNTIME_PM_ALL=0
USB_AUTOSUSPEND=1
RESTORE_DEVICE_STATE_ON_STARTUP=0
DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wwan"
DEVICES_TO_ENABLE_ON_STARTUP="wifi"
DEVICES_TO_ENABLE_ON_RADIOSW="wifi bluetooth"
START_CHARGE_THRESH_BAT0=04
STOP_CHARGE_THRESH_BAT0=100
START_CHARGE_THRESH_BAT1=04
STOP_CHARGE_THRESH_BAT1=100

+++ System Info
System         = LENOVO ThinkPad X121e 3045A63
BIOS           = 8QET55WW (1.16 )
Release        = Ubuntu 12.04.2 LTS
Kernel         = 3.2.0-40-generic x86_64
/proc/cmdline  = BOOT_IMAGE=/vmlinuz-3.2.0-40-generic root=UUID=d110e247-0b76-4527-a17e-c14b116d0f27 ro quiet splash vt.handoff=7

+++ System Status
TLP power save = enabled
power source   = ac

+++ Processor
CPU Model      = Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = ondemand
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  1400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 1400000 1300000 1200000 1100000 1000000 900000 800000 [kHz]

/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = ondemand
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  1400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies = 1400000 1300000 1200000 1100000 1000000 900000 800000 [kHz]

/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = ondemand
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  1400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies = 1400000 1300000 1200000 1100000 1000000 900000 800000 [kHz]

/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = ondemand
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  1400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies = 1400000 1300000 1200000 1100000 1000000 900000 800000 [kHz]

/sys/devices/system/cpu/cpufreq/boost                  = (not available)
/sys/devices/system/cpu/sched_mc_power_savings         = 0
/sys/devices/system/cpu/sched_smt_power_savings        = 0
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Undervolting
PHC kernel not available.

+++ Temperatures
/proc/acpi/ibm/thermal = 51 0 49 2 0 0 29 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               =    60
/proc/sys/vm/dirty_background_ratio    =     1
/proc/sys/fs/xfs/age_buffer_centisecs  = (not available)
/proc/sys/fs/xfs/xfssyncd_centisecs    = (not available)
/proc/sys/fs/xfs/xfsbufd_centisecs     = (not available)

+++ Storage Devices
/dev/sda:
          Model     = ST320LT020-9YG142                       
          Firmware  = 0003LVM1
          APM Level = 254
          Status    = active/idle
          scheduler = cfq

        SMART info:
            4 Start_Stop_Count          =      617 
            5 Reallocated_Sector_Ct     =        0 
            9 Power_On_Hours            = 2147483647 [h]
          190 Airflow_Temperature_Cel   =       39 [°C]
          193 Load_Cycle_Count          =     2831 
          194 Temperature_Celsius       =       39 (0 17 0 [°C]


+++ SATA Aggressive Link Power Management
/sys/class/scsi_host/host0/link_power_management_policy  = max_performance
/sys/class/scsi_host/host1/link_power_management_policy  = max_performance
/sys/class/scsi_host/host2/link_power_management_policy  = max_performance
/sys/class/scsi_host/host3/link_power_management_policy  = max_performance
/sys/class/scsi_host/host4/link_power_management_policy  = max_performance
/sys/class/scsi_host/host5/link_power_management_policy  = max_performance

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)

+++ Intel Graphics
/sys/module/i915/parameters/powersave        =  1 (enabled)
/sys/module/i915/parameters/i915_enable_rc6  = -1 (use per-chip default)
/sys/module/i915/parameters/i915_enable_fbc  = -1 (use per-chip default)
/sys/module/i915/parameters/lvds_downclock   =  0 (disabled)
/sys/module/i915/parameters/semaphores       = -1 (use per-chip default)

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

wlan0(iwlwifi): power management = off

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

+++ ThinkPad Extended Battery Functions
tp-smapi   = active
tpacpi-bat = active

+++ ThinkPad Battery Status (Ultrabay/Slice)
/sys/devices/platform/smapi/BAT1/manufacturer               = (not available)
/sys/devices/platform/smapi/BAT1/model                      = (not available)
/sys/devices/platform/smapi/BAT1/manufacture_date           = (not available)
/sys/devices/platform/smapi/BAT1/first_use_date             = (not available)
/sys/devices/platform/smapi/BAT1/cycle_count                = (not available)
/sys/devices/platform/smapi/BAT1/design_capacity            = (not available) 
/sys/devices/platform/smapi/BAT1/last_full_capacity         = (not available) 
/sys/devices/platform/smapi/BAT1/remaining_capacity         = (not available) 
/sys/devices/platform/smapi/BAT1/remaining_percent          = (not available) 
/sys/devices/platform/smapi/BAT1/remaining_running_time_now = (not available) 
/sys/devices/platform/smapi/BAT1/remaining_charging_time    = (not available) 
/sys/devices/platform/smapi/BAT1/power_now                  = (not available) 
/sys/devices/platform/smapi/BAT1/power_avg                  = (not available) 

tpacpi-bat.BAT1.startThreshold                              = (not available)
tpacpi-bat.BAT1.stopThreshold                               = (not available)
tpacpi-bat.BAT1.forceDischarge                              = (not available)

+++ Runtime Power Management
/sys/bus/pci/devices/0000:00:00.0/power/control = on   (0x060000 Host bridge)
/sys/bus/pci/devices/0000:00:02.0/power/control = on   (0x030000 VGA compatible controller)
/sys/bus/pci/devices/0000:00:16.0/power/control = on   (0x078000 Communication controller)
/sys/bus/pci/devices/0000:00:1a.0/power/control = on   (0x0c0320 USB controller)
/sys/bus/pci/devices/0000:00:1b.0/power/control = on   (0x040300 Audio device)
/sys/bus/pci/devices/0000:00:1c.0/power/control = on   (0x060400 PCI bridge)
/sys/bus/pci/devices/0000:00:1c.1/power/control = on   (0x060400 PCI bridge)
/sys/bus/pci/devices/0000:00:1c.2/power/control = on   (0x060400 PCI bridge)
/sys/bus/pci/devices/0000:00:1c.5/power/control = on   (0x060400 PCI bridge)
/sys/bus/pci/devices/0000:00:1d.0/power/control = on   (0x0c0320 USB controller)
/sys/bus/pci/devices/0000:00:1f.0/power/control = on   (0x060100 ISA bridge)
/sys/bus/pci/devices/0000:00:1f.2/power/control = on   (0x010601 SATA controller)
/sys/bus/pci/devices/0000:00:1f.3/power/control = on   (0x0c0500 SMBus)
/sys/bus/pci/devices/0000:02:00.0/power/control = on   (0x028000 Network controller)
/sys/bus/pci/devices/0000:03:00.0/power/control = on   (0xff0000 Unassigned class [ff00])
/sys/bus/pci/devices/0000:08:00.0/power/control = on   (0x020000 Ethernet controller)

+++ USB
tlp usb autosuspend = enabled
tlp usb blacklist   = (not configured)

Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =  2000 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =  2000 -- Linux Foundation 2.0 root hub (hub)
Bus 001 Device 002 ID 8087:0024 control = auto, autosuspend_delay_ms =  2000 -- Intel Corp. Integrated Rate Matching Hub (hub)
Bus 002 Device 002 ID 8087:0024 control = auto, autosuspend_delay_ms =  2000 -- Intel Corp. Integrated Rate Matching Hub (hub)
Bus 002 Device 003 ID 5986:01a6 control = auto, autosuspend_delay_ms =  2000 -- Acer, Inc Lenovo Integrated Webcam (uvcvideo)
Bus 002 Device 004 ID 046d:c06c control = on,   autosuspend_delay_ms =  2000 -- Logitech, Inc. Optical Mouse (usbhid)

Alle Infos zum Akku enden mit "(not available)", obwohl der Akku natürlich drin steckt und ich auch ohne Netzkabel arbeiten kann.

Dies erkennt tlp auch, setcharge ohne Netzkabel ergibt:

Code:
gero@EEPC:~$ sudo tlp setcharge
Error: setting charge thresholds is possible on ac power only.

Ich habe versucht, mittels tpacpi-bat direkt die Ladeschwellen zu verändern, dies läuft auch scheinbar ohne Fehler...

Code:
gero@EEPC:~$ sudo /usr/lib/tlp-pm/tpacpi-bat -v -s ST 1 04
Call    : \_SB.PCI0.LPCB.EC.HKEY.BCCS 0x104
Response: 0x0
gero@EEPC:~$ sudo /usr/lib/tlp-pm/tpacpi-bat -v -s SP 1 99
Call    : \_SB.PCI0.LPCB.EC.HKEY.BCSS 0x163
Response: 0x0

Eine Kontrolle gibt hier aber auch keine geänderten Werte zurück...

Code:
gero@EEPC:~$ sudo /usr/lib/tlp-pm/tpacpi-bat -v -g ST 1
Call    : \_SB.PCI0.LPCB.EC.HKEY.BCTG 0x1
Response: 0x363
99 (relative percent)
gero@EEPC:~$ sudo /usr/lib/tlp-pm/tpacpi-bat -v -g SP 1
Call    : \_SB.PCI0.LPCB.EC.HKEY.BCSG 0x1
Response: 0x363
99 (relative percent)

Hier gibt es eine Fehlermeldung:

Code:
gero@EEPC:~$ sudo tlp start
/usr/sbin/tlp: 1053: [: -ne: argument expected
/usr/sbin/tlp: 1053: [: -ne: argument expected
TLP started in ac mode.

Die Kernel Module werden geladen, ein

Code:
gero@EEPC:~$ sudo modprobe -v tp_smapi
gero@EEPC:~$ sudo modprobe -v acpi_call
gero@EEPC:~$

...ergibt keine Fehler.

Bin hier mit meinem Latein am Ende...:(

Gruss

Gero
 
Zuletzt bearbeitet:
Hallo!

Ich habe ein Problem mit acpi_call auf meinem X220 (Fedora 18):

Code:
$ sudo modprobe acpi_call
modprobe: ERROR: could not insert 'acpi_call': Exec format error

Hat jemand eine Idee, woran das liegen kann? Eine einfache Neuinstallation hilft auf jeden Fall nicht.
 
@rumo: man braucht TRIM nicht wirklich zwingend, aber es hält die SSD fit ohne dass der Benutzer dafür schwitzen müßte ;). Für die Grundlagen des Themas einfach das verlinkte Wiki vom Anfang her lesen.
ich hatte Trim aufgrund des Tipps auch mal laufen lassen, da kam schon einiges an Daten zusammen. Gestern hab ich mir das Trim nun als cronjob.weekly eingerichet. So muss ich da nicht mehr dran denken. allerdings konnte ich nicht sehen, wann nun der cronjob ausgeführt wird. ein Tag oder eine Zeit findet sich nciht darin, wenn man die Vorlage nimmt aus dem wiki.
ich hoffe daher mal, dass das auch wirklich läuft.
 
  • ok1.de
  • ok2.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben