brightness-button: "No device found" even though sysfs control is possible

Bug #761576 reported by gohai
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xfce4-power-manager (Ubuntu)
Fix Released
Medium
Lionel Le Folgoc

Bug Description

Binary package hint: xfce4-power-manager

Hovering over the icon I get a "No device found" tooltip and no control seems possible. I can, however, successfully control my backlight level directly through sysfs like this:

echo 15 >/sys/class/backlight/acpi_video0/brightness

This is on a Thinkpad X120e machine. I had a quick look at the Ubuntu package changelog and the source - it seems like we enable PolicyKit support (at least there is a libpolkit-gobject-1-dev build depencency), but xfpm-power-backlight-helper doesn't get build or installed?

It would of course be better if this machine would allow for changing the brightness through Xrandr, but unfortunately this does not seem to be the case (following up on this one).

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xfce4-power-manager-plugins 1.0.10-1
Uname: Linux 2.6.39-rc3-gohai+ x86_64
Architecture: amd64
Date: Fri Apr 15 11:43:37 2011
InstallationMedia: Xubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110330)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: xfce4-power-manager
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
gohai (gottfried-haider) wrote :
Revision history for this message
gohai (gottfried-haider) wrote :

Response from Alex Deucher:

"The radeon driver has never handled the backlight control. It's handled by acpi. xfce should use sysfs."
(https://bugs.freedesktop.org/show_bug.cgi?id=36257)

Would be nice if the code/helper for controlling the backlight through sysfs could be enabled for xfce4-power-manager.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Thanks for your bug report.

> but xfpm-power-backlight-helper doesn't get build or installed?

Indeed, it's built but not shipped by the package (because it's a new binary in /usr/sbin we didn't notice).

It's a bit too late for natty, as I don't know if it has any side effect (I don't know why it's in /usr/*s*bin either), so it'll wait for natty+1.

Changed in xfce4-power-manager (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Mmh, it's rather safe to include it, it does the same thing in gnome-power-manager... And it's really an annoying bug if we don't fix it.

Changed in xfce4-power-manager (Ubuntu):
importance: Low → Medium
Changed in xfce4-power-manager (Ubuntu):
assignee: nobody → Lionel Le Folgoc (mrpouit)
Changed in xfce4-power-manager (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xfce4-power-manager - 1.0.10-1ubuntu1

---------------
xfce4-power-manager (1.0.10-1ubuntu1) natty; urgency=low

  * debian/rules: switch to --fail-missing.
  * debian/xfce4-power-manager.install: add missing sysfs backlight
    helper and its pk policy. lp: #761576
 -- Lionel Le Folgoc <email address hidden> Mon, 18 Apr 2011 23:43:16 +0200

Changed in xfce4-power-manager (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
gohai (gottfried-haider) wrote :

Thanks, works great here!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.