Bug in tlp-stat

agape

Member
Themenstarter
Registriert
20 Okt. 2009
Beiträge
239
Wie gewünscht hier meine Ausgabe von tlp-stat, die
wohl auf einen Bug hinweisen soll:


Code:
--- tlp 0.2.6 --------------------------------------------
System = IBM ThinkPad X41 2525F8G
BIOS = 74ET61WW (2.06 )
Release = Ubuntu 10.04 LTS
Kernel = 2.6.32-23-generic i686

tlp power save = enabled
power source = ac

/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu0/cpufreq/phc_controls = (phc kernel not available)

/proc/acpi/ibm/thermal = temperatures:	63 54 56 48 25 -128 37 -128 54 46 -128 -128 -128 -128 -128 -128

/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)

/dev/sda:
      	Model 	= HTC426040G9AT00                     	
      	APM Level = 254

    	SMART info:
      	Start_Stop_Count      	=   7616 
      	Reallocated_Sector_Ct 	=  	5 
      	Power_On_Hours        	= 778168 
      	Load_Cycle_Count      	= 4788402281447 

sata link power management: no ahci-enabled host controller detected

bluetooth = off (software)
/usr/bin/tlp-stat: 172: arithmetic expression: expecting primary: "! "
 
Gib mal bitte folgendes Kommando ein:
Code:
sudo sh -vx /usr/bin/tlp-stat
Da kommt dann jede Menge Output, ich brauche aber nur die letzten ca. 30 Zeilen ab folgender Stelle
Code:
bluetooth = off (software)
+ return 0
+ echo_device_state wifi

ps. wenn Du im Panel auf das Batteriesymbol klickst und dann auf den obersten Eintrag des aufklappenden Menüs siehst Du auch alle Angaben zum Akku.

EDITH: Kommando angepaßt. Sorry.
 
Code:
bluetooth = off (software)
+ return 0
+ echo_device_state wifi
+ device_state wifi
+ devs=254
+ check2200 wifi
+ local i
+ is2200=0
+ [ wifi = wifi ]
+ devc=
+ [ -d /sys/bus/pci/drivers/ipw2200 ]
+ [ -f /sys/bus/pci/drivers/ipw2200/0000:04:02.0/rf_kill ]
+ devc=/sys/bus/pci/drivers/ipw2200/0000:04:02.0/rf_kill
+ [ -n /sys/bus/pci/drivers/ipw2200/0000:04:02.0/rf_kill ]
+ is2200=1
+ echo_debug rf check2200(wifi) = 1 /sys/bus/pci/drivers/ipw2200/0000:04:02.0/rf_kill
+ patinstr rf 
+ [ -n rf -a -n  -a  !=  ]
+ return 1
+ return 0
+ [ 1 = 1 ]
+ [ -n /sys/bus/pci/drivers/ipw2200/0000:04:02.0/rf_kill ]
+ cat /sys/bus/pci/drivers/ipw2200/0000:04:02.0/rf_kill
+ devs=0
/usr/bin/tlp-stat: 1: arithmetic expression: expecting primary: "! "
 
Ändere mal bitte in der Datei /usr/lib/tlp/tlp-rf-func die Zeile 78 von
Code:
			devs=$((! $state))
in
Code:
			devs=$((! $devs))
Und probier dann wieder
Code:
sudo tlp-stat
 
Glaube es sieht jetzt gut aus:

Code:
--- tlp 0.2.6 --------------------------------------------
System = IBM ThinkPad X41 2525F8G
BIOS = 74ET61WW (2.06 )
Release = Ubuntu 10.04 LTS
Kernel = 2.6.32-23-generic i686

tlp power save = enabled
power source = ac

/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = performance
/sys/devices/system/cpu/cpu0/cpufreq/phc_controls = (phc kernel not available)

/proc/acpi/ibm/thermal = temperatures:	63 48 50 43 25 -128 33 -128 49 42 -128 -128 -128 -128 -128 -128

/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)

/dev/sda:
      	Model 	= HTC426040G9AT00                     	
      	APM Level = 254

    	SMART info:
      	Start_Stop_Count      	=   7617 
      	Reallocated_Sector_Ct 	=  	5 
      	Power_On_Hours        	= 778205 
      	Load_Cycle_Count      	= 4788586830834 

sata link power management: no ahci-enabled host controller detected

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

eth1(ipw2200): power management = off

/sys/module/snd_ac97_codec/parameters/power_save = 1

/sys/devices/platform/smapi/BAT0/manufacturer = LEZINN
/sys/devices/platform/smapi/BAT0/manufacture_date = 2010-05-15
/sys/devices/platform/smapi/BAT0/first_use_date = 2010-07-22
/sys/devices/platform/smapi/BAT0/cycle_count = 0
/sys/devices/platform/smapi/BAT0/design_capacity = 54720 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity = 54720 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity = 54540 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent = 100 [%]
/sys/devices/platform/smapi/BAT0/remaining_running_time_now = not_discharging [min]
/sys/devices/platform/smapi/BAT0/remaining_charging_time = not_charging [min]

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

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

/sys/bus/usb/devices/4-2/power/autosuspend = 2, level = auto -- 0483:2016 Biometric Coprocessor
/sys/bus/usb/devices/usb1/power/autosuspend = 2, level = auto -- 1d6b:0002 EHCI Host Controller
/sys/bus/usb/devices/usb2/power/autosuspend = 2, level = auto -- 1d6b:0001 UHCI Host Controller
/sys/bus/usb/devices/usb3/power/autosuspend = 2, level = auto -- 1d6b:0001 UHCI Host Controller
/sys/bus/usb/devices/usb4/power/autosuspend = 2, level = auto -- 1d6b:0001 UHCI Host Controller
/sys/bus/usb/devices/usb5/power/autosuspend = 2, level = auto -- 1d6b:0001 UHCI Host Controller
 
Das war's. Danke für deine Hilfe. Lösung bau ich in die nächste Version ein :) .
 
Was ist denn das für eine krasse Festplatte!? 8o
Oder ist das gerade der Bug? Ich dachte immer, 600 000 LCCs wären so etwa die Grenze... Macht mir aber Mut mit meinen 27 000

Grüße
bassplayer
 
bassplayer' schrieb:
Was ist denn das für eine krasse Festplatte!? 8o
Oder ist das gerade der Bug? Ich dachte immer, 600 000 LCCs wären so etwa die Grenze... Macht mir aber Mut mit meinen 27 000

Grüße
bassplayer

Immerhin läuft die Platte ja auch seit über 88 Jahren ^^
 
Leute, Ihr seid hier Offtopic. Es ging um einen Bug von TLP bei ipw2200-Karten, nicht jedoch um die krassen Outputs der smartmontools von denen TLP die SMART-Werte bezieht ... :P
 
Dann noch ein Offtopic von mir: Reallocated_Sector_Ct = 5 ist ein Warnsignal, immer schön Backups ziehen.
 
  • ok1.de
  • ok2.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben