! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
brightness plugin on mouse over tells no device found.
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description Giovanni Malfarà 2009-11-04 12:15:19 CET
Xfce-power-manager brightness plugin does not respond when pressing button on panel.
Also it shows an exclamation red icon and on mouse over it tells "no device found".

xfce4-power-manager 0.8.4 Build 2009-10-27 on Slackware 13 linux 2.6.29.6-smp
Comment 1 Ali Abdallah editbugs 2009-11-04 12:41:42 CET
(In reply to comment #0)
> Xfce-power-manager brightness plugin does not respond when pressing button on
> panel.
> Also it shows an exclamation red icon and on mouse over it tells "no device
> found".
> 
> xfce4-power-manager 0.8.4 Build 2009-10-27 on Slackware 13 linux 2.6.29.6-smp

In the help manual of xfpm there is some information about that, but anyway, please attach the output of lshal here to see if your kernel has the driver for your laptop panel.
Comment 2 Giovanni Malfarà 2009-11-04 14:39:03 CET
Created attachment 2652 
Outout file of lshal
Comment 3 Giovanni Malfarà 2009-11-04 14:41:44 CET
(In reply to comment #2)
> Created an attachment (id=2652) [details]
> Outout file of lshal

I attached the output file of lshal. Sorry but I didn't find in the documentation anything about brightness plugin.

Thank you.
Comment 4 Ali Abdallah editbugs 2009-11-04 15:18:53 CET
(In reply to comment #3)
> (In reply to comment #2)
> > Created an attachment (id=2652) [details] [details]
> > Outout file of lshal
> 
> I attached the output file of lshal. Sorry but I didn't find in the
> documentation anything about brightness plugin.
> 
> Thank you.

Actually it is in the FAQ section last question, probably not easy to find and it is not just for the brightness plugin.

Anyway from your lshal there is no laptop_panel key, which means that you don't have the kernel driver, not related to xfpm, but please provide me some more details about your distros and your laptop to see if i can help.

Thanks,
Comment 5 Gef 2010-12-29 12:15:22 CET
Hi,

I have a case of a machine with the very same issue ("no device
found"), but with the xfce-4.8 (hal-free, xfce4-power-manager-1.0.2). Brightness setting from xfpm and panel used to work flawlessly with xfpm-0.8.5/hal.

May I provide more details here, or open another bug ?
TIA

gentoo ~amd64, xfce-4.8_pre, 2.6.36-zen2-05484-gf4774cf
Comment 6 Ali Abdallah editbugs 2010-12-31 10:29:35 CET
(In reply to comment #5)
> Hi,
> 
> I have a case of a machine with the very same issue ("no device
> found"), but with the xfce-4.8 (hal-free, xfce4-power-manager-1.0.2).
> Brightness setting from xfpm and panel used to work flawlessly with
> xfpm-0.8.5/hal.
> 
> May I provide more details here, or open another bug ?
> TIA
> 
> gentoo ~amd64, xfce-4.8_pre, 2.6.36-zen2-05484-gf4774cf

If it is HAL free, then xfpm only uses xrandr to manage your brightness, if xrandr does not support your system then you are out of luck.

Attach here the output of xrandr --props
Comment 7 Gef 2010-12-31 15:56:41 CET
(In reply to comment #6)
> (In reply to comment #5)
> If it is HAL free, then xfpm only uses xrandr to manage your brightness, if
> xrandr does not support your system then you are out of luck.
> 
> Attach here the output of xrandr --props

Ali,
Allright, that's no good news..

My system is a laptop with a nVidia 8400MG video card.

Xrandr:
$ xrandr --props
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 175, current 1280 x 800, maximum 1280 x 800
default connected 1280x800+0+0 0mm x 0mm
   1280x800       50.0* 
   1024x768       51.0     52.0  
   832x624        53.0  
   800x600        54.0     55.0     56.0     57.0     58.0  
   720x400        59.0  
   700x525        60.0  
   640x512        61.0     62.0  
   640x480        63.0     64.0     65.0     66.0     67.0  
   640x400        68.0  
   640x350        69.0  
   576x432        70.0  
   512x384        71.0     72.0     73.0     74.0     75.0  
   416x312        76.0  
   400x300        77.0     78.0     79.0     80.0     81.0  
   360x200        82.0  
   320x240        83.0     84.0     85.0     86.0  
   320x200        87.0  
   320x175        88.0  

Brightness control via ACPI works perfectly: in Xorg.0.log:
[ 66203.352] (II) NVIDIA(0): ACPI brightness change hotkey events enabled.
(via Fn + F5/F6 keys)

ACPI exhibits an interface in /sys:
/sys/devices/virtual/backlight/acpi_video0/
├── actual_brightness
├── bl_power
├── brightness
├── device -> ../../../LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:1a/LNXVIDEO:00/device:1e
├── max_brightness

Thanks in advance.
Comment 8 Ali Abdallah editbugs 2010-12-31 16:25:47 CET
Sorry, this was not my decision to do not support acpi brightness control by upower, i'm still hopping that they will re-implement it as a lot of people lost their brightness control.

For the moment, you need HAL, and you need to re-compile xfpm with --enable-hal configuration option.
Comment 9 Ali Abdallah editbugs 2011-01-04 23:58:19 CET
Please try out the latest version 1.0.3 and report back if it works for you.
Comment 10 Gef 2011-01-05 00:09:43 CET
(In reply to comment #9)
> Please try out the latest version 1.0.3 and report back if it works for you.

O M G IT S ALIVE.

user@host ~ $ xfce4-power-manager --dump | grep bright
Has brightness panel: True

Brightness settings are back in xfce4-power-manager's configuration window and brightness plugin works as expected. 

Thanks a lot Ali!
Comment 11 Ali Abdallah editbugs 2011-01-05 10:06:43 CET
Cool, i will close this bug for now.

Bug #5949

Reported by:
Giovanni Malfarà
Reported on: 2009-11-04
Last modified on: 2011-01-05

People

Assignee:
Ali Abdallah
CC List:
1 user

Version

Version:
0.8.4.1

Attachments

Outout file of lshal (103.30 KB, text/plain)
2009-11-04 14:39 CET , Giovanni Malfarà
no flags

Additional information