* Thanks a lot Alex for your help, I think that I now understand what is wrong.
* On my computer "HAL" workaround is working, here is the infos on my device.
yleet...@vaio-vgnc2zb-yohan:~$ hal-find-by-property --key info.category 
--string laptop_panel | xargs lshal -u
udi = '/org/freedesktop/Hal/devices/computer_backlight'
  info.addons = {'hald-addon-generic-backlight'} (string list)
  info.capabilities = {'laptop_panel'} (string list)
  info.category = 'laptop_panel'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.LaptopPanel'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Generic Backlight Device'  (string)
  info.subsystem = 'backlight'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_backlight'  (string)
  laptop_panel.access_method = 'sony-nvidia'  (string)
  laptop_panel.num_levels = 18  (0x12)  (int)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'backlight'  (string)
  org.freedesktop.Hal.Device.LaptopPanel.method_argnames = {'brightness_value', 
''} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_execpaths = 
{'hal-system-lcd-set-brightness', 'hal-system-lcd-get-brightness'} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_names = {'SetBrightness', 
'GetBrightness'} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_signatures = {'i', ''} (string 
list)

* As you can see, I somehow got the method/functions to set/get brightness. The 
differences are :
  info.interfaces = {'org.freedesktop.Hal.Device.LaptopPanel'} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_argnames = {'brightness_value', 
''} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_execpaths = 
{'hal-system-lcd-set-brightness', 'hal-system-lcd-get-brightness'} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_names = {'SetBrightness', 
'GetBrightness'} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_signatures = {'i', ''} (string 
list)

* I searched down what fdi file do it, it's
"/usr/share/hal/fdi/policy/10osvendor/10-laptop-panel-mgmt-policy.fdi".
I'm attaching mine with this post. By comparing it with its source
version from package "hal-info", I see that all those informations where
completly deleted somehow. I tend to think that my workarounds became
obsolete. Neithertheless, a simple solution should be add previous "10
-laptop-panel-mgmt-policy.fdi" under another name like "10-my-obsolete-
laptop-panel-mgmt-policy.fdi" in "/usr/share/hal/fdi/policy/10osvendor/"
( and then just restart HAL or your computer).

* Could somebody try that workaround ?

** Attachment added: "10-laptop-panel-mgmt-policy.fdi"
   http://launchpadlibrarian.net/29769025/10-laptop-panel-mgmt-policy.fdi

** Changed in: hal (Ubuntu)
       Status: Triaged => In Progress

** Changed in: hal (Ubuntu Jaunty)
       Status: Triaged => In Progress

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to