(L)Ubuntu 12.10 x200s

Hargon

New member
Registriert
5 Okt. 2007
Beiträge
44
Hallo,

ich habe Lubuntu auf meinem x200s und noch einige Fragen. Da die Probleme sicher schon mal jemand vor mit hatte, stelle sich sie mal hier, vielleicht könnt ihr mir schnell weiterhelfen.
Wie bekomme ich die Fn-Tasten alle ans laufen? Zur Zeit funktionieren zwar die wichtigsten, aber eben nicht alle (zB Bildschirm sperren geht nicht). Ich habe tlp installiert. Kann ich sonst noch etwas tun um den Stromverbrauch zu senken?
tp-smapi zeigt für /sys/devices/platform/smapi/BAT0/current_now zB -828. Sind dies 8W? Dann läge dies Anzeige 1W unterhalb von der von powertop. Und wie kann ich die Ausgabe am einfachsten umformatieren, zB für die Verwendung in conky?

Grüße
hargon
 
Hi,

die Ausgabe von /sys/devices/platform/smapi/BAT0/current_now gibt den Strom an [mA]. Du willst die Leistungsaufnahme, d.h. power_now oder besser power_avg [mW].

Vorformatieren kannst Du z.B. mit einem Einzeiler in Perl:
Code:
#!/usr/bin/perl
printf ("%5.1fW", 1.0 * `cat /sys/devices/platform/smapi/BAT0/power_avg` / 1000.0);

Lesestoff dazu:

Welche Funktionstasten genau funktionieren außer Fn+F2 nicht?

Lesestoff zur Installation: siehe "Schnelleinstieg" in meiner Signatur.
 
Zuletzt bearbeitet:
Vielen Dank für die schnelle Antwort. 12W im Idle ist noch etwas viel, oder?
Der Links haben schonmal weitergeholfen, danke dafür. Tolle Sammlung an Informationen.
Nur Fn+F2, Fn+F7 (aber hatte noch keinen externen Monitor dran) scheinen nun noch nicht zu funktionieren.
 
Bei der Hardware würde ich im Idle (Randbedingungen siehe meinen Link!) so 6-7 W erwarten. Zeig mal am Akku:
Code:
sudo tlp-stat

Fn+F7 funktioniert, ist aber ziemlich unkomfortabel, weil immer 4 verschiedene Zustände einschließlich Mirror durchgeschaltet werden. Es genügt einmal in den Displayeinstellungen die gewünschte Konfiguration mit externem Monitor zu machen, dann passiert beim An- und Abstecken (oder -Docken) alles automagisch :D.
 
Ok. Fn-F2 hab ich nun schon auf nen anderen Hotley gelegt, dachte nur das wäre vielleicht auch einfach zum laufen zu bringen.

Hier die Ausgabe von "tlp-stat"
Code:
--- TLP 0.3.7.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
USB_AUTOSUSPEND=1
RESTORE_DEVICE_STATE_ON_STARTUP=0

+++ System Info
System = LENOVO ThinkPad X200s 7470W26
BIOS = 6DET29WW (1.06 )
Release = Ubuntu 12.10
Kernel = 3.5.0-17-generic x86_64
/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-3.5.0-17-generic root=UUID=50d90c64-b9f2-4d78-a6fb-e5d72d1aee7c ro quiet splash acpi_osi=Linux vt.handoff=7

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

+++ Processor
/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 =  1867000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies =  1867000 1866000 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 =  1867000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies =  1867000 1866000 1600000  800000 [kHz]

/proc/sys/kernel/nmi_watchdog = 0

+++ Undervolting
PHC kernel not available.

+++ Temperatures
/proc/acpi/ibm/thermal = 46 45 -128 40 37 -128 33 -128 39 43 -128 -128 -128 -128 -128 -128 [°C]
/proc/acpi/ibm/fan     =  2521 [/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 = 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     = OCZ-AGILITY3                            
          Firmware  = 2.15    
          APM Level = 128
          TRIM      = supported
          scheduler = deadline

        SMART info:
            9 Power_On_Hours_and_Msec   =       82 [h]
          194 Temperature_Celsius       =       30 (Min/Max 30/30)  [°C]


+++ 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

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (disabled by kernel)

+++ Intel Graphics
/sys/module/i915/parameters/powersave = 1
/sys/module/i915/parameters/i915_enable_rc6 = -1
/sys/module/i915/parameters/i915_enable_fbc = -1
/sys/module/i915/parameters/lvds_downclock = 0
/sys/module/i915/parameters/semaphores = -1

+++ 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 Battery (Main)
/sys/devices/platform/smapi/BAT0/manufacturer = Panasonic
/sys/devices/platform/smapi/BAT0/model = 42T4696
/sys/devices/platform/smapi/BAT0/manufacture_date = 2011-09-03
/sys/devices/platform/smapi/BAT0/first_use_date = 2011-12-22
/sys/devices/platform/smapi/BAT0/cycle_count = 33
/sys/devices/platform/smapi/BAT0/design_capacity = 93960 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity = 92640 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity = 37480 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent = 41 [%]
/sys/devices/platform/smapi/BAT0/remaining_running_time_now = 192 [min]
/sys/devices/platform/smapi/BAT0/remaining_charging_time = not_charging [min]
/sys/devices/platform/smapi/BAT0/power_now = -11030 [mW]
/sys/devices/platform/smapi/BAT0/power_avg = -16108 [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 = auto [Host]
/sys/bus/pci/devices/0000:00:19.0/power/control = auto [Ethernet]
/sys/bus/pci/devices/0000:00:1b.0/power/control = auto [Audio]
/sys/bus/pci/devices/0000:03:00.0/power/control = auto [Wireless]

+++ 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)
 
Da ist nichts besonders auffälliges. 46° CPU und Lüfter 2521/min finde ich ein klein wenig zu hoch – falls das im Idle war. Lüfter reinigen und Wärmeleitpaste wechseln ist beim X200(s) leider etwas aufwendiger, weil dazu das Systemboard raus muss.

Zeig mal einen Screenshot von powertop nachdem Du die Maschine 5 min lang nicht angefaßt hast.

Vielleicht liegt es auch am 3.5er Kernel. Hast Du schon mit Ubuntu 12.04 probiert?
 
Zuletzt bearbeitet:
Hab gestern von 12.04 auf 12.10 das Update gemacht, davor wars nicht anders.
 

Anhänge

  • powertop.jpg
    powertop.jpg
    70,7 KB · Aufrufe: 15
OK, da ist kein Stromfresser im Hintergrund zu sehen. Bei welcher Helligkeit ist das? CCFL- oder LED-Backlight?

EDITH fällt eben noch das uralte BIOS auf. Vielleicht hilft ein Update (Anleitung ohne opt. Laufwerk). Allerdings ist derzeit die Lenovo-Site wg. massiver Performanceprobleme faktisch Offline.
 
Zuletzt bearbeitet:
Ok, Bios ist nun 3.18. Ändert sich nix wirklich. Ist ein LED-Display und ich habe bei voller Helligkeit so 11-12W und bei knapp unter halber so 8,5-10W.
 
Im Surfbetrieb (ohne Flash) wäre das normal – im Idle nicht. Bist Du nach dem BIOS-Update im BIOS auf Default Settings und hast danach 1x ausgeschaltet?
 
Ja, habe ich. Danke für deine Hilfe, vielleicht kommen wir den letzten paar Watt ja auch noch auf die Spur.
 
  • ok1.de
  • ok2.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben