This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Power Management: Missing Sleep button, CPU Scaling detectio

Tags: None
(comma "," separated)
keivan
Registered Member
Posts
2
Karma
0
OS
I'm a gentoo user. I have a problem similar to what described in this topic. Recommended solution in the topic (Using kdm + inittab method) fixes the problem partly. The remaining part is:

still In the systemsettings -> advanced -> power management -> capabilities -> kde report that
CPU can be turned off -> false
Scaling capability -> false
Supported CPU Policies -> No
Supported suspend method -> No

accordingly I cannot suspend my box using kde gui because there is no sleep or hibernate button. but I can do it from console with "sudo hiberante-ram" or "sudo pm-suspend" command. even these commands do not work without sudo.

also I cannot change cpu scaling governor from within kde gui. however, "sudo cpufreq-set -g ondemand" command do its job.

on the other hand When I login to root account from console and start kde with startx command, sleep button returns back and do its job well. but steel I cant change cpu scaling governer using KDE. ie KDE cannot detect that my cpu has this capability.

these code are from my machine

Code: Select all
lshal | grep suspend
  org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths = {'hal-system-power-suspend', 'hal-system-power-suspend-hybrid', 'hal-system-power-hibernate', 'hal-system-power-shutdown', 'hal-system-power-reboot', 'hal-system-power-set-power-save', 'hal-system-power-suspend', 'hal-system-power-suspend-hybrid', 'hal-system-power-hibernate', 'hal-system-power-shutdown', 'hal-system-power-reboot', 'hal-system-power-set-power-save'} (string list)
  power_management.can_suspend = true  (bool)
  power_management.can_suspend_hybrid = true  (bool)
  power_management.quirk.dpms_suspend = true  (bool)


Code: Select all
solid-powermanagement query suspend
kdeinit4: preparing to launch /usr/lib64/libkdeinit4_klauncher.so
klauncher(4390) kdemain: No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit4: Communication error with launcher. Exiting!
solid-powermanagement(4385)/kdecore (KLibrary) kde4Factory: The library "/usr/lib64/kde4/solid_hal_power.so" does not offer a qt_plugin_instance function.
to_disk
to_ram


solid errors:
Code: Select all
QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type&)  error:  "org.freedesktop.DBus.Error.AccessDenied"
keivan
Registered Member
Posts
2
Karma
0
OS
These commands solve the problem

Set the Desktop profile ie ... default/linux/x86/10.0/desktop *
Code:
Code: Select all
eselect profile list


Code:
Code: Select all
eselect profile set #


Code:
Code: Select all
env-update; source /etc/profile


set the policykit USE flag for the following packages.
Code:
Code: Select all
echo "sys-auth/consolekit policykit" >> /etc/portage/package.use


Code:
Code: Select all
echo "sys-apps/hal policykit" >> /etc/portage/package.use



Code:
Code: Select all
emerge -uDNa world


_________________


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]