Linux Projektvorstellung: TLP – Linux Stromsparen

Linux Betriebssystem

linrunner

Ubuntuversteher
Themenstarter
Registriert
22 Juni 2007
Beiträge
13.290
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:
Das scheint was Fedora-spezifisches (GNOME) zu sein. Hab's per pm-utils versucht und auch mit der TLP-Option versucht, beim Booten wirds richtig ausgeführt, beim Aufwachen vom Ruhemodus (Hibernation) jedoch nicht. Bin da noch am forschen. jochens Link geht da schon in die richtige Richtung.

Danke für auf alle Fälle für die Antworten.
 
@derball2008: ich halte es eher für ein Kernelproblem, wenn beim Resume der vorige Zustand der Radios nicht richtig wiederhergestellt wird. Muss ich dann wohl mal einbauen. Ich liebe es Workarounds für den Kernel zu bauen ... :facepalm:

ps. bleibt bei einem Suspend to RAM der Zustand erhalten?

ps2. was sagt
Code:
systemctl status systemd-rfkill
 
Zuletzt bearbeitet:
Code:
$ systemctl status systemd-rfkill
● systemd-rfkill.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

Nach nem Suspend to RAM bleibt Bluetooth aus.
 
TLP ist super. Ich komme mit meinem Server von 22 Watt idle auf 11 Watt. Allerdings läuft dort auch Samba und im tlp modus erreiche ich zwar Durchsatzraten von 110 MB/s, das brauchsen von kleinen Dateien führt jedoch zu einer sekundenlangen Verzögerung. Umschalten von Bat auf AC führt wieder zu einem verzögerungfreien Surfen - allerdings bei 22 Watt.

Kann mir vielleicht einer einen Tipp geben, nach welcher Option ich suchen muss? Ohne das ich die 1000 Einstellmöglichkeiten einzeln durchtesten muss? (low power mode der Netzwerkkarte war es jedenfalls nicht).

tlp-stat:

--- TLP 0.7 --------------------------------------------

+++ 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
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=powersave
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
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto
WIFI_PWR_ON_AC=1
WIFI_PWR_ON_BAT=5
WOL_DISABLE=Y
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=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=1
RUNTIME_PM_DRIVER_BLACKLIST="radeon nouveau"
USB_AUTOSUSPEND=1
USB_DRIVER_BLACKLIST="usbhid"
USB_BLACKLIST_WWAN=1
RESTORE_DEVICE_STATE_ON_STARTUP=0

+++ System Info
System =
BIOS = P1.20
Release = Linux Mint 17.1 Rebecca
Kernel = 3.19.0-031900-generic x86_64
/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-3.19.0-031900-generic root=UUID=b1bd4e80-bf62-4da0-888a-975da352d354 ro quiet splash intel_pstate=enable pcie_aspm.policy=powersave pcie_aspm=force r8168.aspm=1 r8168.eee_enable=1 i915.enable_psr=1 i915.enable_fbc=1 i915.i915_enable_rc6=1 pcie_aspm=force i915.i915_disable_power_well=0 i915.enable_pc8=1 acpi_osi=Linux acpi=force acpi_enforce_resources=lax i915.lvds_downclock=1 i915.semaphores=1 vt.handoff=7
Init system = upstart

+++ System Status
TLP power save = enabled
power source = unknown (using battery settings)

+++ Processor
CPU Model = Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = performance
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 3600000 [kHz]

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = performance
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 3600000 [kHz]

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = performance
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 3600000 [kHz]

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = performance
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 3600000 [kHz]

/sys/devices/system/cpu/intel_pstate/min_perf_pct = 100
/sys/devices/system/cpu/intel_pstate/max_perf_pct = 100
/sys/devices/system/cpu/intel_pstate/no_turbo = 1

x86_energy_perf_policy: program for your kernel not installed.

/proc/sys/kernel/nmi_watchdog = 0

+++ Undervolting
PHC kernel not available.

+++ Temperatures
CPU temp = 32 [°C]
Fan speed = (not available)

+++ File System
/proc/sys/vm/laptop_mode = 2
/proc/sys/vm/dirty_writeback_centisecs = 6000
/proc/sys/vm/dirty_expire_centisecs = 6000
/proc/sys/vm/dirty_ratio = 20
/proc/sys/vm/dirty_background_ratio = 10
/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 = OCZ-AGILITY3
Firmware = 2.25
APM Level = 128
Status = active/idle
TRIM = supported
Scheduler = deadline

/dev/sdb:
Model = SAMSUNG HM501II
Firmware = 2AJ10001
APM Level = 128
Status = standby
Scheduler = deadline


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

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = powersave

+++ Intel Graphics
/sys/module/i915/parameters/powersave = 1 (enabled)
/sys/module/i915/parameters/enable_rc6 = 1 (enabled)
/sys/module/i915/parameters/enable_fbc = 1 (enabled)
/sys/module/i915/parameters/lvds_downclock = 1 (enabled)
/sys/module/i915/parameters/semaphores = 1 (enabled)

+++ Wireless
bluetooth = none (no device)
wifi = none (no device)
wwan = none (no device)

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

+++ Runtime Power Management
device classes = all
device blacklist = (not configured)
driver blacklist = radeon nouveau

/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, hsw_uncore)
/sys/bus/pci/devices/0000:00:02.0/power/control = auto (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:16.0/power/control = auto (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:1a.0/power/control = auto (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1b.0/power/control = auto (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1c.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.3/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.0/power/control = auto (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1f.0/power/control = auto (0x060100, ISA bridge, lpc_ich)
/sys/bus/pci/devices/0000:00:1f.2/power/control = auto (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1f.3/power/control = auto (0x0c0500, SMBus, no driver)
/sys/bus/pci/devices/0000:02:00.0/power/control = auto (0x020000, Ethernet controller, r8168)

+++ USB
autosuspend = enabled
device whitelist = (not configured)
device blacklist = (not configured)
driver blacklist = usbhid
wwan blacklist = enabled (cdc_acm cdc_wdm cdc_ether hso qcserial sierra)

Bus 004 Device 002 ID 8087:8000 control = auto, autosuspend_delay_ms = 0 -- Intel Corp. (hub)
Bus 004 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
Bus 003 Device 002 ID 8087:8008 control = auto, autosuspend_delay_ms = 0 -- Intel Corp. (hub)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 003 ID 1058:10b8 control = auto, autosuspend_delay_ms = 2000 -- Western Digital Technologies, Inc. (usb-storage)
Bus 002 Device 002 ID 1058:107c control = auto, autosuspend_delay_ms = 2000 -- Western Digital Technologies, Inc. (usb-storage)
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 004 ID 045e:0040 control = on, autosuspend_delay_ms = 2000 -- Microsoft Corp. Wheel Mouse Optical (usbhid)
Bus 001 Device 003 ID 046a:0023 control = on, autosuspend_delay_ms = 2000 -- Cherry GmbH CyMotion Master Linux Keyboard G230 (usbhid)
Bus 001 Device 002 ID 0bc2:2120 control = auto, autosuspend_delay_ms = 2000 -- Seagate RSS LLC (usb-storage)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)

+++ Suggestions
* Install ethtool to disable Wake On LAN (WOL)
* Install smartmontools for disk drive health info
 
Jep, das passt. Das nenn' ich mal fix, da ist der Fehler schon behoben bevor er (von mir) gemeldet wurde :D Danke jal2
 
@lucian: sorry, ich sehe deinen Post erst jetzt (in der Woche war ich krank). Bei den Bootoptionen bist Du auf der Schiene "viel hilft viel" unterwegs. Meine Empfehlung wäre, dass Du *alle* deine hinzugefügten Bootoptionen wieder entsorgst. Strom sparen tun sie bei einem Server ohnehin nicht; und wenn doch, dann maximal an der 2. Stelle hinter dem Komma.

Einige von den Optionen aktivieren zwangsweise Powermanagement im Ethernet-Umfeld (pcie_aspm.policy=powersave, pcie_aspm=force, r8168.aspm=1, r8168.eee_enable=1) obwohl womöglich weder Treiber noch Hardware damit klarkommen. Besser ist es bei ASPM die Defaults zu belassen, was bedeutet, dass die BIOS-Einstellungen ziehen.

intel_pstate=enable macht der 3.19 Mainline sowieso per Default.

Also weg mit dem Zeug und das anschließende update-grub nicht vergessen.

@kristatos: unter Jessie solltest Du bitte auch die Pakete Version 0.7-2 aus dem TLP-Debian-Repo (s. Wiki) verwenden! Diese entsprechen der Version in Sid (wo der Fehler gepatcht ist) und sind außerdem systemd-tauglich, was die für Wheezy/Ubuntu nicht sind – die schreien ja schon laut:
Code:
***Warning: tlp.service is not enabled -- invoke "systemctl enable tlp.service" to correct this!
***Warning: tlp-sleep.service is not enabled -- invoke "systemctl enable tlp-sleep.service" to correct this!
Derzeit läuft TLP bei dir nur halb.
 
Zuletzt bearbeitet:
Ups, hab ich doch glatt übersehen, hatte direkt die Dateiumleitung drin und mir den Inhalt garnet mehr angesehen, wird direkt behoben ;)
 
.....unter Jessie solltest Du bitte auch die Pakete Version 0.7-2 aus dem TLP-Debian-Repo (s. Wiki) verwenden! Diese entsprechen der Version in Sid (wo der Fehler gepatcht ist) und sind außerdem systemd-tauglich, was die für Wheezy/Ubuntu nicht sind – die schreien ja schon laut:
Code:
***Warning: tlp.service is not enabled -- invoke "systemctl enable tlp.service" to correct this!
***Warning: tlp-sleep.service is not enabled -- invoke "systemctl enable tlp-sleep.service" to correct this!
.....

moin, das versteh ich jetzt irgendwie nicht ganz → also ich hab hier unter Ubuntu anscheinend keine Schwierigkeiten mit "systemd + TLP"

Code:
        [FONT=monospace][COLOR=#000000]+++ System Info [/COLOR]
System         = LENOVO ThinkPad T410 252230G 
BIOS           = 6IET85WW (1.45 ) 
Release        = Ubuntu Vivid Vervet (development branch) 
Kernel         = 3.19.0-10-generic x86_64 
/proc/cmdline  = BOOT_IMAGE=/boot/vmlinuz-3.19.0-10-generic root=UUID=f79a9222-f658-44d9
-a3f9-682d32a733d1 ro quiet splash 
Init system    = systemd 
[/FONT]


Grüßle

Frieder
 
@frieder108: das Paket für Ubuntu 15.04 entspricht dem Jessie Paket. Ausnahmen über Ausnahmen ... ;)
 
hmm ja, ok - der Beitrag von kristatos hatte mich etwas verwirrt. Da steht ja auch "TLP 0.7".

Nun ja, jedenfalls, hier in 15.04 läuft es gut

Code:
        [FONT=monospace][COLOR=#000000]frieder@T410-plasma:~$ sudo tlp-stat [/COLOR]
--- TLP 0.7 -------------------------------------------- 

+++ 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 
ENERGY_PERF_POLICY_ON_AC=performance 
ENERGY_PERF_POLICY_ON_BAT=powersave 
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 
RADEON_DPM_STATE_ON_AC=performance 
RADEON_DPM_STATE_ON_BAT=battery 
RADEON_DPM_PERF_LEVEL_ON_AC=auto 
RADEON_DPM_PERF_LEVEL_ON_BAT=auto 
WIFI_PWR_ON_AC=1 
WIFI_PWR_ON_BAT=5 
WOL_DISABLE=Y 
SOUND_POWER_SAVE_ON_AC=0 
SOUND_POWER_SAVE_ON_BAT=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=1 
RUNTIME_PM_DRIVER_BLACKLIST="radeon nouveau" 
USB_AUTOSUSPEND=1 
USB_DRIVER_BLACKLIST="usbhid" 
USB_BLACKLIST_WWAN=1 
RESTORE_DEVICE_STATE_ON_STARTUP=0 

+++ System Info 
System         = LENOVO ThinkPad T410 252230G 
BIOS           = 6IET85WW (1.45 ) 
Release        = Ubuntu Vivid Vervet (development branch) 
Kernel         = 3.19.0-10-generic x86_64 
/proc/cmdline  = BOOT_IMAGE=/boot/vmlinuz-3.19.0-10-generic root=UUID=f79a9222-f658-44d9-a3f9-682d32a733d1 ro quiet splash 
Init system    = systemd 

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

+++ Processor 
CPU Model      = Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz 

/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_min_freq  =  1199000 [kHz] 
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  2399000 [kHz] 
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz] 

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = acpi-cpufreq 
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = ondemand 
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =  1199000 [kHz] 
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  2399000 [kHz] 
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz] 

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = acpi-cpufreq 
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = ondemand 
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =  1199000 [kHz] 
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  2399000 [kHz] 
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz] 

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = acpi-cpufreq 
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = ondemand 
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =  1199000 [kHz] 
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  2399000 [kHz] 
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz] 

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

x86_energy_perf_policy: program not installed. 

/proc/sys/kernel/nmi_watchdog                          = 0 

+++ Undervolting 
PHC kernel not available. 

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

+++ File System 
/proc/sys/vm/laptop_mode               =     2 
/proc/sys/vm/dirty_writeback_centisecs =  6000 
/proc/sys/vm/dirty_expire_centisecs    =  6000 
/proc/sys/vm/dirty_ratio               =    20 
/proc/sys/vm/dirty_background_ratio    =    10 
/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 HN-M101MBB                       
          Firmware  = 2AR10001 
          APM Level = 128 
          Status    = active/idle 
          Scheduler = cfq 

        SMART info: 
            4 Start_Stop_Count          =      944  
            5 Reallocated_Sector_Ct     =        0  
            9 Power_On_Hours            =     3075 [h] 
          194 Temperature_Celsius       =       36 (Min/Max 9/63)  [°C] 
          225 Load_Cycle_Count          =    47442  


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

+++ 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/enable_rc6       =  0 (disabled) 
/sys/module/i915/parameters/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 = on 
wifi      = on 
wwan      = on 

hci0(btusb)         : not connected 
wlan0(iwlwifi)      : connected, power management = on 

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

+++ Docks and Device Bays 
/sys/devices/platform/dock.0: battery_bay   = no battery  
/sys/devices/platform/dock.1: ata_bay       = drive present 

+++ Runtime Power Management 
device classes   = all 
device blacklist = (not configured) 
driver blacklist = radeon nouveau 

/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, agpgart-intel) 
/sys/bus/pci/devices/0000:00:02.0/power/control = auto (0x030000, VGA compatible controller, i915) 
/sys/bus/pci/devices/0000:00:16.0/power/control = auto (0x078000, Communication controller, mei_me) 
/sys/bus/pci/devices/0000:00:16.3/power/control = auto (0x070002, Serial controller, serial) 
/sys/bus/pci/devices/0000:00:19.0/power/control = auto (0x020000, Ethernet controller, e1000e) 
/sys/bus/pci/devices/0000:00:1a.0/power/control = auto (0x0c0320, USB controller, ehci-pci) 
/sys/bus/pci/devices/0000:00:1b.0/power/control = auto (0x040300, Audio device, snd_hda_intel) 
/sys/bus/pci/devices/0000:00:1c.0/power/control = auto (0x060400, PCI bridge, pcieport) 
/sys/bus/pci/devices/0000:00:1c.1/power/control = auto (0x060400, PCI bridge, pcieport) 
/sys/bus/pci/devices/0000:00:1c.3/power/control = auto (0x060400, PCI bridge, pcieport) 
/sys/bus/pci/devices/0000:00:1c.4/power/control = auto (0x060400, PCI bridge, pcieport) 
/sys/bus/pci/devices/0000:00:1d.0/power/control = auto (0x0c0320, USB controller, ehci-pci) 
/sys/bus/pci/devices/0000:00:1e.0/power/control = auto (0x060401, PCI bridge, no driver) 
/sys/bus/pci/devices/0000:00:1f.0/power/control = auto (0x060100, ISA bridge, lpc_ich) 
/sys/bus/pci/devices/0000:00:1f.2/power/control = auto (0x010601, SATA controller, ahci) 
/sys/bus/pci/devices/0000:00:1f.3/power/control = auto (0x0c0500, SMBus, no driver) 
/sys/bus/pci/devices/0000:00:1f.6/power/control = auto (0x118000, Signal processing controller, intel ips) 
/sys/bus/pci/devices/0000:03:00.0/power/control = auto (0x028000, Network controller, iwlwifi) 
/sys/bus/pci/devices/0000:0d:00.0/power/control = auto (0x080500, SD Host controller, sdhci-pci) 
/sys/bus/pci/devices/0000:0d:00.1/power/control = auto (0x088000, System peripheral, no driver) 
/sys/bus/pci/devices/0000:0d:00.3/power/control = auto (0x0c0010, FireWire (IEEE 1394), firewire_ohci) 
/sys/bus/pci/devices/0000:ff:00.0/power/control = auto (0x060000, Host bridge, no driver) 
/sys/bus/pci/devices/0000:ff:00.1/power/control = auto (0x060000, Host bridge, no driver) 
/sys/bus/pci/devices/0000:ff:02.0/power/control = auto (0x060000, Host bridge, no driver) 
/sys/bus/pci/devices/0000:ff:02.1/power/control = auto (0x060000, Host bridge, no driver) 
/sys/bus/pci/devices/0000:ff:02.2/power/control = auto (0x060000, Host bridge, no driver) 
/sys/bus/pci/devices/0000:ff:02.3/power/control = auto (0x060000, Host bridge, no driver) 

+++ USB 
autosuspend        = enabled 
device whitelist   = (not configured) 
device blacklist   = (not configured) 
driver blacklist   = usbhid 
wwan blacklist     = enabled (cdc_acm cdc_wdm cdc_ether hso qcserial sierra) 

Bus 002 Device 004 ID 17ef:1003 control = auto, autosuspend_delay_ms =  2000 -- Lenovo Integrated Smart Card Reader (no driver) 
Bus 002 Device 003 ID 05c6:9204 control = on,   autosuspend_delay_ms =  2000 -- Qualcomm, Inc.  (qcserial) 
Bus 002 Device 002 ID 8087:0020 control = auto, autosuspend_delay_ms =     0 -- Intel Corp. Integrated Rate Matching Hub (hub) 
Bus 002 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub) 
Bus 001 Device 006 ID 17ef:480f control = auto, autosuspend_delay_ms =  2000 -- Lenovo Integrated Webcam [R5U877] (uvcvideo) 
Bus 001 Device 005 ID 0a5c:217f control = auto, autosuspend_delay_ms =  2000 -- Broadcom Corp. BCM2045B (BDC-2.1) (btusb) 
Bus 001 Device 004 ID 147e:2016 control = auto, autosuspend_delay_ms =  2000 -- Upek Biometric Touchchip/Touchstrip Fingerprint Sensor (no driver) 
Bus 001 Device 003 ID 0951:1624 control = auto, autosuspend_delay_ms =  2000 -- Kingston Technology DataTraveler G2 (usb-storage) 
Bus 001 Device 002 ID 8087:0020 control = auto, autosuspend_delay_ms =     0 -- Intel Corp. Integrated Rate Matching Hub (hub) 
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub) 

+++ ThinkPad Extended Battery Functions 
tp-smapi   = active 
tpacpi-bat = inactive (unsupported hardware) 

+++ ThinkPad Battery Status: BAT0 (Main / Internal) 
/sys/devices/platform/smapi/BAT0/manufacturer               = LGC 
/sys/devices/platform/smapi/BAT0/model                      = 42T4912 
/sys/devices/platform/smapi/BAT0/manufacture_date           = 2009-12-12 
/sys/devices/platform/smapi/BAT0/first_use_date             = 2010-01-29 
/sys/devices/platform/smapi/BAT0/cycle_count                =     88 
/sys/devices/platform/smapi/BAT0/design_capacity            =  84300 [mWh] 
/sys/devices/platform/smapi/BAT0/last_full_capacity         =  62440 [mWh] 
/sys/devices/platform/smapi/BAT0/remaining_capacity         =  52270 [mWh] 
/sys/devices/platform/smapi/BAT0/remaining_percent          =     84 [%] 
/sys/devices/platform/smapi/BAT0/remaining_running_time_now =    157 [min] 
/sys/devices/platform/smapi/BAT0/remaining_charging_time    = not_charging [min] 
/sys/devices/platform/smapi/BAT0/power_now                  = -25649 [mW] 
/sys/devices/platform/smapi/BAT0/power_avg                  = -21919 [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 

frieder@T410-plasma:~$ [/FONT]


have a nice day

Frieder

 
Hi,

habe heute den Akku von meinem W500 rekalibrieren wollen. Nach dem Discharging habe ich folgende Meldung gelesen.
Code:
Currently discharging battery BAT0:
voltage            =   9274 [mV]
remaining capacity =     30 [mWh]
remaining percent  =      1 [%]
remaining time     =      1 [min]
power              = -47640 [mW]
Press Ctrl+C to cancel.

Done: battery BAT0 was completely discharged.
/usr/sbin/tlp: 260: [: -eq: unexpected operator
ich habe keine Ahnung, ob es eine relevante Meldung ist. :)
 
$ sudo modprobe -v tp_smapi
insmod /lib/modules/3.13.0-48-generic/updates/dkms/thinkpad_ec.ko
modprobe: ERROR: could not insert 'tp_smapi': Exec format error

Hmm. Ubuntu 14.04
$ dpkg -l | grep smapi
ii tp-smapi-dkms 0.41-1 all ThinkPad hardware/firmware access modules source - dkms version

+++ ThinkPad Extended Battery Functions
tp-smapi = inactive (kernel module 'tp_smapi' load error)
tpacpi-bat = inactive (kernel module 'acpi_call' load error)

$ uname -a
Linux my--T410s 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux




Was könnte hier falsch sein?
 
  • ok1.de
  • ok2.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben