[Bug 331599] New: Brightness is increased/ decreased about 2 steps instead of 1 step
https://bugzilla.novell.com/show_bug.cgi?id=331599 Summary: Brightness is increased/decreased about 2 steps instead of 1 step Product: openSUSE 10.3 Version: Final Platform: x86-64 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ray@openland.cz QAContact: qa@suse.de Found By: --- I have Asus A6Km notebook and when buttons for LCD brightness control are used, it makes change equal to 2 steps (it looks like button is pressed for two times). I found, it is caused by hotkey daemon introduced in 10.3, because buttons for brightness are not software controlled (these two buttons work even hotkey daemon or asus-laptop kernel module are not used). I solved it by commenting out two lines in /usr/share/hotkey-setup/asus.rules: # Keycodes for Asus and Samsung P35 hotkey ATKD 00000030,115 # KEY_VOLUMEUP hotkey ATKD 00000031,114 # KEY_VOLUMEDOWN hotkey ATKD 00000032,113 # KEY_MUTE hotkey ATKD 0000004f,236 # KEY_BATTERY hotkey ATKD 00000061,192 # KEY_F22 /* Stand-in for KEY_VIDEOMODECYCLE */ hotkey ATKD 00000050,155 # KEY_MAIL hotkey ATKD 00000051,150 # KEY_WWW hotkey ATKD 00000052,148 # KEY_PROG1 hotkey ATKD 0000005d,238 # KEY_WLAN #hotkey ATKD 0000001,225 # KEY_BRIGHTNESSDOWN #hotkey ATKD 0000002,224 # KEY_BRIGHTNESSUP Hope it helps. I am not 100% sure, but I think lot of Asus laptops has same behavior. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331599
Mark Gordon
https://bugzilla.novell.com/show_bug.cgi?id=331599#c1
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=331599
User fabien@crespel.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=331599#c2
Fabien Crespel
By the way, I'm pretty sure that all ASUS laptops (a) handle the brightness in hardware and (b) issue the ACPI event. It is very much the same as with ThinkPads.
Not all ASUS laptops handle brightness in hardware. They used to, but recent BIOSes now use "the Vista way", which is handled in Linux by the "video" kernel module (which is sadly disabled by default on openSUSE 10.3). Still, this doesn't change the meaning of the ASUS "ATKD" ACPI events (0x10 and 0x20 + brightness): they are only there for notification, not to ask for a change. Basically, when pressing the brightness keys, the old BIOSes changed the hardware value and sent the ASUS notification. Recent BIOSes only notify the LCD device with value 0x86 (brightness up) or 0x87 (brightness down); the video module does its job and calls method _BCM of the LCD device, which eventually sends the old ASUS notifications. If you want more information about this, I can provide the DSDT of an old BIOS and of a recent one for comparison. Additionally, the following lines should be added to /usr/share/hotkey-setup/asus.rules to support media keys (very useful to control Amarok :p) hotkey ATKD 00000095,226 # KEY_MEDIA hotkey ATKD 00000045,164 # KEY_PLAYPAUSE hotkey ATKD 00000043,128 # KEY_STOP hotkey ATKD 00000040,165 # KEY_PREVIOUSSONG hotkey ATKD 00000041,163 # KEY_NEXTSONG -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331599
User fkereki@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331599#c4
Federico Kereki
https://bugzilla.novell.com/show_bug.cgi?id=331599
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331599#c5
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=331599
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331599#c6
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=331599
User fkereki@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331599#c7
Federico Kereki
https://bugzilla.novell.com/show_bug.cgi?id=331599
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331599#c8
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=331599
User fkereki@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331599#c9
Federico Kereki
https://bugzilla.novell.com/show_bug.cgi?id=331599
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331599#c10
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=331599
User dkukawka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331599#c11
--- Comment #11 from Danny Kukawka
https://bugzilla.novell.com/show_bug.cgi?id=331599
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331599#c12
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=331599
User lpechacek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331599#c13
Libor Pecháček
https://bugzilla.novell.com/show_bug.cgi?id=331599
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331599#c14
Holger Macht
participants (1)
-
bugzilla_noreply@novell.com