![]() Registered Member ![]()
|
The battery indicator on my taskbar (running 4.4.5) says "battery not present", but:
And from the kernel .config:
Does anyone have any idea why this is not working? Given that there are not a lot of complaints about this, I must have something set different from most people. Thank you in advance for your help. |
![]() KDE Developer ![]()
|
Is the hal daemon installed and running?
Pino Toscano
|
![]() Registered Member ![]()
|
> Is the hal daemon installed and running?
Indeed it is (I don't even think I can get X started without it now). |
![]() Administrator ![]()
|
Please run the following command:
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
That doesn't mean much to me, but I hope you will find it enlightening. :) |
![]() Administrator ![]()
|
The Battery monitor in this case should definitely show the existence of the battery in this case. Was this command run under the same user you run Plasma/KDE under?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Oops. I ran the command as root (not realizing that it might make a difference). When I run it as an ordinary user, I get:
There is a reason I include the prompts when posting a command. :) So what controls permission to the battery (not really something I would have thought needed permissions to access)? |
![]() Administrator ![]()
|
This is a D-Bus permissions error. Please see http://www.mail-archive.com/gentoo-user ... 05453.html
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I am still confused as to exactly where this is happening at.
I see that kde puts plenty of rules in /etc/dbus-1/system.d/
Is it possible that one of these files has an incorrect rule or is missing a rule for the battery? |
![]() Administrator ![]()
|
The D-Bus access rules in this case are not provided by KDE, but by HAL, which KDE is trying to access and failing.
Many applications which are dependent upon HAL rely on these rules supplied by HAL to allow them to function.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
The rules in /etc/dbus-1/system.d/ get installed with the various kde packages.
I don't believe that the thread you referenced applies to this situation. If I run hal-device, I get a large (about 130k) file with:
So both root and ordinary users can see (in theory) the same devices. |
![]() Administrator ![]()
|
Unfortunately I don't know what the issue is then. I suggest you contact your distributors KDE packagers for assistance. The error message given by KDE indicates insufficient permissions on the system bus for your user. KDE likely needs greater permissions than hal-device to operate.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]