Re: Any progress on 11.04?
Posted: 23 May 2011, 23:04
Having spent a couple of hours prodding around trying to find the root of the problem, I think I am a little closer.
On the first login (before restarting gdm), where brightness cannot be changed using the Fn+up/down shortcut (but can using setpci), I did the follwing:
I followed the output of dmesg after trying to modify the backlight brightness. The relevant output would be
regardless of the level displayed in the notification bar on the Unity desktop. Repeated pressing of the Fn+Up/Down key shortcut would give the same dmesg output.
Restarting gdm and logging back in (brightness can now be changed), I can now set the brightness levels using the shortcut keys, but the dmesg output (with samsung_backlight loaded with the debug=1 option) is different:
The level number changes up and down in response to the keyboard shortcuts, as does the hw number.
In both cases the driver responds to the shortcut, but only once gdm has been restarted do the level and hw numbers vary and the brightness actually change.
My coding skills aren't up to taking a look at the driver source myself, but does anyone have any ideas regarding this?
On the first login (before restarting gdm), where brightness cannot be changed using the Fn+up/down shortcut (but can using setpci), I did the follwing:
Code: Select all
# rmmod samsung_backlight
# modprobe samsung_backlight debug=1
Code: Select all
Set brightness level 0 (hw 10)
Brightness power 0
Restarting gdm and logging back in (brightness can now be changed), I can now set the brightness levels using the shortcut keys, but the dmesg output (with samsung_backlight loaded with the debug=1 option) is different:
Code: Select all
Set brightness level 3 (hw 102)
Brightness power 0
In both cases the driver responds to the shortcut, but only once gdm has been restarted do the level and hw numbers vary and the brightness actually change.
My coding skills aren't up to taking a look at the driver source myself, but does anyone have any ideas regarding this?