Sebastian : could you post here the result of the command "lshal".
Laurent : I think that commenting out the exit line, will be necessary for some VAIO model, because the laptop_panel is partially detected as a sony's panel ("linux.sysfs_path"). And thus, it uses it's behaviour ( the "echo" way and then exit)
For example, my lshal laptop_panel part is :
If we comment or delete the "exits", no harm will be done since you have the same command in the end of the files...(I admit, it's not a clean).
So deleting the "exits" seems to me the best way to just make more things works (because i absolutely don't how to change the detection of the "sysfs" path ).
Sebastian : could you post here the result of the command "lshal".
Laurent : I think that commenting out the exit line, will be necessary for some VAIO model, because the laptop_panel is partially detected as a sony's panel ("linux. sysfs_path" ). And thus, it uses it's behaviour ( the "echo" way and then exit)
For example, my lshal laptop_panel part is :
udi = '/org/freedeskt op/Hal/ devices/ computer_ backlight' op.Hal. Device. LaptopPanel' } (string list) op/Hal/ devices/ computer' (string) op/Hal/ devices/ computer_ backlight' (string) panel.access_ method = 'general' (string) panel.num_ levels = 8 (0x8) (int) hotplug_ type = 2 (0x2) (int) backlight/ sony' (string) op.Hal. Device. LaptopPanel. method_ argnames = {'brightness_ value', ''} (string list) op.Hal. Device. LaptopPanel. method_ execpaths = {'hal-system- lcd-set- brightness' , 'hal-system- lcd-get- brightness' } (string list) op.Hal. Device. LaptopPanel. method_ names = {'SetBrightness', 'GetBrightness'} (string list) op.Hal. Device. LaptopPanel. method_ signatures = {'i', ''} (string list)
info.capabilities = {'laptop_panel'} (string list)
info.category = 'laptop_panel' (string)
info.interfaces = {'org.freedeskt
info.parent = '/org/freedeskt
info.product = 'Generic Backlight Device' (string)
info.udi = '/org/freedeskt
laptop_
laptop_
linux.
linux.subsystem = 'backlight' (string)
linux.sysfs_path = '/sys/class/
org.freedeskt
org.freedeskt
org.freedeskt
org.freedeskt
If we comment or delete the "exits", no harm will be done since you have the same command in the end of the files...(I admit, it's not a clean).
So deleting the "exits" seems to me the best way to just make more things works (because i absolutely don't how to change the detection of the "sysfs" path ).