TLP - Probleme mit der Installation

macjoshua

New member
Registriert
19 Juli 2012
Beiträge
22
Hallo,

ich habe mein L421 mit 12.10 neu aufgesetzt und habe Probleme TLP zu installieren.

Wenn ich tp-smapi-dkms installiere, erscheint folgende Fehlermeldung:

Code:
tp-smapi-dkms (0.41-1) wird eingerichtet ...

Creating symlink /var/lib/dkms/tp-smapi/0.41/source ->
                 /usr/src/tp-smapi-0.41


DKMS: add completed.
Error! Your kernel headers for kernel 3.5.0-22-generic cannot be found.
Please install the linux-headers-3.5.0-22-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located

Kernelinfo:
Code:
$ uname -r
3.5.0-22-generic

Desweiteren zeigt er mir in der Statusleiste in Unity den falschen Akku an.
Wie kommen dort überhaupt zwei Akku-Informationen hin, wenn ich nur einen habe?

Any help?

Danke und Gruß
Josh
 
Zuletzt bearbeitet:
Also afaik werden bei einem frischen Ubuntu die Kernel header nicht mitinstalliert. Daher auch die entsprechende Fehlermeldung. Versuch das doch einmal nachzuholen.
 
Wie kriege ich denn die Header nachinstalliert?


Code:
sudo apt-get install linux-headers-3.5.0-22-generic
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut       
Statusinformationen werden eingelesen... Fertig
linux-headers-3.5.0-22-generic ist schon die neueste Version.
 
Code:
~$ dpkg -l | grep linuxii  libselinux1:amd64                         2.1.9-5ubuntu1                             amd64        SELinux runtime shared libraries
ii  libselinux1:i386                          2.1.9-5ubuntu1                             i386         SELinux runtime shared libraries
ii  libv4l-0:amd64                            0.8.8-2ubuntu1                             amd64        Collection of video4linux support libraries
ii  libv4l-0:i386                             0.8.8-2ubuntu1                             i386         Collection of video4linux support libraries
ii  libv4lconvert0:amd64                      0.8.8-2ubuntu1                             amd64        Video4linux frame format conversion library
ii  libv4lconvert0:i386                       0.8.8-2ubuntu1                             i386         Video4linux frame format conversion library
ii  linux-firmware                            1.95                                       all          Firmware for Linux kernel drivers
ii  linux-headers-3.5.0-22                    3.5.0-22.34                                all          Header files related to Linux kernel version 3.5.0
ii  linux-headers-3.5.0-22-generic            3.5.0-22.34                                amd64        Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
ii  linux-headers-generic                     3.5.0.22.28                                amd64        Generic Linux kernel headers
ii  linux-image-3.5.0-17-generic              3.5.0-17.28                                amd64        Linux kernel image for version 3.5.0 on 64 bit x86 SMP
ii  linux-image-3.5.0-22-generic              3.5.0-22.34                                amd64        Linux kernel image for version 3.5.0 on 64 bit x86 SMP
ii  linux-image-extra-3.5.0-17-generic        3.5.0-17.28                                amd64        Linux kernel image for version 3.5.0 on 64 bit x86 SMP
ii  linux-image-extra-3.5.0-22-generic        3.5.0-22.34                                amd64        Linux kernel image for version 3.5.0 on 64 bit x86 SMP
ii  linux-image-generic                       3.5.0.22.28                                amd64        Generic Linux kernel image
ii  linux-libc-dev:amd64                      3.5.0-22.34                                amd64        Linux Kernel Headers for development
ii  linux-sound-base                          1.0.25+dfsg-0ubuntu3                       all          base package for ALSA and OSS sound systems
ii  playonlinux                               4.1.1-1                                    all          front-end for Wine
ii  pptp-linux                                1.7.2-7                                    amd64        Point-to-Point Tunneling Protocol (PPTP) Client
ii  syslinux                                  2:4.05+dfsg-6                              amd64        collection of boot loaders
ii  syslinux-common                           2:4.05+dfsg-6                              all          collection of boot loaders (common files)
ii  syslinux-legacy                           2:3.63+dfsg-2ubuntu5                       amd64        Bootloader for Linux/i386 using MS-DOS floppies
ii  util-linux                                2.20.1-5.1ubuntu2                          amd64        Miscellaneous system utilities
 
Ist alles da an Headern. Wirf tp-smapi-dkms mal runter und installiere es erneut:
Code:
sudo apt-get purge tp-smapi-dkms
sudo apt-get install tp-smapi-dkms

Also afaik werden bei einem frischen Ubuntu die Kernel header nicht mitinstalliert.
Das ist nicht richtig.
 
Danke linrunner, das hat funktioniert! :thumbup:

Kannst du mir noch sagen, wie ich die Anzeige für den nicht vorhandenen zweiten Akku weg bekomme?
 
Kann ich leider nicht sagen. Bei mir zeigt er auf dem 13.04-Testsystem meine Drahtlosmaus als zweiten Akku an der ständig leer ist – obwohl natürlich geladen. Da ist wohl die Kernelfunktion nicht fertig programmiert oder das Panelapplet spinnt. TLP ist jedenfalls unschuldig ;).

Darf ich bitte noch ein
Code:
sudo tlp-stat
sehen?
 
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
START_CHARGE_THRESH_BAT0=40
STOP_CHARGE_THRESH_BAT0=90


+++ System Info
System = LENOVO ThinkPad L420 78544UG
BIOS = 8GET43WW (1.20 )
Release = Ubuntu 12.10
Kernel = 3.5.0-22-generic x86_64
/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-3.5.0-22-generic root=UUID=a5978513-c7c7-4e0b-a599-f17bb449b295 ro quiet splash noapic 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 =  2501000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies =  2501000 2500000 2000000 1800000 1600000 1400000 1200000 1000000  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 =  2501000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies =  2501000 2500000 2000000 1800000 1600000 1400000 1200000 1000000  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 =  2501000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies =  2501000 2500000 2000000 1800000 1600000 1400000 1200000 1000000  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 =  2501000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies =  2501000 2500000 2000000 1800000 1600000 1400000 1200000 1000000  800000 [kHz]


/proc/sys/kernel/nmi_watchdog = 0


+++ Undervolting
PHC kernel not available.


+++ Temperatures
/proc/acpi/ibm/thermal = 44 0 44 0 32 54 27 54 [°C]
/proc/acpi/ibm/fan     =   745 [/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     = SAMSUNG SSD 830 Series                  
          Firmware  = CXM03B1Q
          APM Level = none/disabled
          TRIM      = supported
          scheduler = deadline


        SMART info:
            5 Reallocated_Sector_Ct     =        0 
            9 Power_On_Hours            =      837 [h]
          177 Wear_Leveling_Count       =       98 [%]
          179 Used_Rsvd_Blk_Cnt_Tot     =        0 
          190 Airflow_Temperature_Cel   =       33 [°C]
          241 Total_LBAs_Written        =    1.457 [TB]


/dev/sdb:
          Model     = 
          Firmware  = 
          APM Level = none/disabled
          scheduler = deadline


        SMART info:




+++ 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 (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 = on
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 = SANYO
/sys/devices/platform/smapi/BAT0/model = 42T4791
/sys/devices/platform/smapi/BAT0/manufacture_date = 2011-03-15
/sys/devices/platform/smapi/BAT0/first_use_date = 2011-06-23
/sys/devices/platform/smapi/BAT0/cycle_count = 33
/sys/devices/platform/smapi/BAT0/design_capacity = 56160 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity = 55500 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity = 49340 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent = 89 [%]
/sys/devices/platform/smapi/BAT0/remaining_running_time_now = 0 [min]
/sys/devices/platform/smapi/BAT0/remaining_charging_time = not_charging [min]
/sys/devices/platform/smapi/BAT0/power_now = -9632 [mW]
/sys/devices/platform/smapi/BAT0/power_avg = -12040 [mW]


/sys/devices/platform/smapi/BAT0/start_charge_thresh = 91 [%]
/sys/devices/platform/smapi/BAT0/stop_charge_thresh = 90 [%]
/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:1b.0/power/control = auto [Audio]
/sys/bus/pci/devices/0000:03:00.0/power/control = auto [Wireless]
/sys/bus/pci/devices/0000:09:00.0/power/control = auto [Ethernet]


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


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 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 003 ID 147e:1002 control = auto, autosuspend_delay_ms =  2000 -- Upek  (no driver)
Bus 001 Device 004 ID 0a5c:217f control = auto, autosuspend_delay_ms =  2000 -- Broadcom Corp. Bluetooth Controller (btusb)
Bus 002 Device 003 ID 5986:03b4 control = auto, autosuspend_delay_ms =  2000 -- Acer, Inc  (uvcvideo)
Bus 002 Device 006 ID 0bdb:1911 control = auto, autosuspend_delay_ms =  2000 -- Ericsson Business Mobile Networks BV  (cdc_acm, cdc_wdm, cdc_ncm)
 
Kann ich leider nicht sagen. Bei mir zeigt er auf dem 13.04-Testsystem meine Drahtlosmaus als zweiten Akku an der ständig leer ist – obwohl natürlich geladen. Da ist wohl die Kernelfunktion nicht fertig programmiert oder das Panelapplet spinnt. TLP ist jedenfalls unschuldig ;).

Mmh, unter 12.04 hatte ich das Thema nicht.
Angezeigt wird ein längerer Gerätename: battery_hid_00o20...6309D_battery als Laptop-Akku.
Das Problem ist, dass die Prozentanzeige nicht stimmt, weil die 0% mit eingerechnet werden. :(

Aber ich verstehe: Andere Baustelle!
 
Ich sprach auch von einem 13.04-Testsystem (Raring Ringtail) , mit 12.04 ist (und bleibt) bei mir alles schön.
battery_hid_00o20...6309D_battery
hid = human interface device – zieh mal deine drahtlose Maus oder Tastatur ab.
 
Zuletzt bearbeitet:
Ich sprach auch von einem 13.04-Testsystem (Raring) , mit 12.04 ist (und bleibt) bei mir alles schön.

hid = human interface device – zieh mal deine drahtlose Maus oder Tastatur ab.

Das ist ne Bluetooth Maus die zwei Stockwerke höher liegt (ergo keine Verbindung hat). Ich hab dann eben schonmal Bluetooth
deaktiviert, nachdem du von deiner Maus geschrieben hast. Aber das bringt leider nichts.
 
Das ist ja höchst merkwürden :confused:.

In der tlp-stat Ausgabe ist alles schön.
 
mmh, nach einem reboot ist die Anzeige nun weg.
Naja, wenn sie wiederkommt weiß ich wo sie herkommt.

Ich danke dir für deine schnelle Hilfe!
 
  • ok1.de
  • ok2.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben