Re: [PATCH v4] ACPI / video: Add systems that should favour native backlight interface

2014-02-18 Thread Aaron Lu
On 02/18/2014 11:46 PM, Mika Westerberg wrote: > On Tue, Feb 18, 2014 at 04:22:27PM +0100, Rafael J. Wysocki wrote: >> On Tuesday, February 18, 2014 02:31:46 PM Takashi Iwai wrote: >>> At Tue, 18 Feb 2014 12:34:42 +0200, >>> Mika Westerberg wrote: On Tue, Feb 18, 2014 at 01:54:20PM +0800,

Re: [PATCH v4] ACPI / video: Add systems that should favour native backlight interface

2014-02-18 Thread Rafael J. Wysocki
On Tuesday, February 18, 2014 11:28:29 PM Igor Gnatenko wrote: > On Tue, 2014-02-18 at 16:22 +0100, Rafael J. Wysocki wrote: > > On Tuesday, February 18, 2014 02:31:46 PM Takashi Iwai wrote: > > > At Tue, 18 Feb 2014 12:34:42 +0200, > > > Mika Westerberg wrote: > > > > > > > > On Tue, Feb 18, 201

Re: [PATCH v4] ACPI / video: Add systems that should favour native backlight interface

2014-02-18 Thread Igor Gnatenko
On Tue, 2014-02-18 at 16:22 +0100, Rafael J. Wysocki wrote: > On Tuesday, February 18, 2014 02:31:46 PM Takashi Iwai wrote: > > At Tue, 18 Feb 2014 12:34:42 +0200, > > Mika Westerberg wrote: > > > > > > On Tue, Feb 18, 2014 at 01:54:20PM +0800, Aaron Lu wrote: > > > > + { > > > > + .c

Re: [PATCH] thinkpad_acpi: Add mappings for F9 - F12 hotkeys on T440s

2014-02-18 Thread Hans de Goede
Hi, On 02/18/2014 05:00 PM, Matthew Garrett wrote: On Tue, 2014-02-18 at 13:36 +0100, Hans de Goede wrote: /* Extra keys found on the T440(s) */ + KEY_CONFIG, KEY_SEARCH, KEY_SCALE, KEY_COMPUTER, My recollection is that KEY_SCALE was initially intended for "Toggle whether my 640

Re: [PATCH] thinkpad_acpi: Add mappings for F9 - F12 hotkeys on T440s

2014-02-18 Thread Matthew Garrett
On Tue, 2014-02-18 at 13:36 +0100, Hans de Goede wrote: > /* Extra keys found on the T440(s) */ > + KEY_CONFIG, KEY_SEARCH, KEY_SCALE, KEY_COMPUTER, My recollection is that KEY_SCALE was initially intended for "Toggle whether my 640x480 desktop is scaled or letterboxed on my 1280x1024

Re: [PATCH v4] ACPI / video: Add systems that should favour native backlight interface

2014-02-18 Thread Mika Westerberg
On Tue, Feb 18, 2014 at 04:22:27PM +0100, Rafael J. Wysocki wrote: > On Tuesday, February 18, 2014 02:31:46 PM Takashi Iwai wrote: > > At Tue, 18 Feb 2014 12:34:42 +0200, > > Mika Westerberg wrote: > > > > > > On Tue, Feb 18, 2014 at 01:54:20PM +0800, Aaron Lu wrote: > > > > + { > > > > +

Re: [PATCH v4] ACPI / video: Add systems that should favour native backlight interface

2014-02-18 Thread Rafael J. Wysocki
On Tuesday, February 18, 2014 02:31:46 PM Takashi Iwai wrote: > At Tue, 18 Feb 2014 12:34:42 +0200, > Mika Westerberg wrote: > > > > On Tue, Feb 18, 2014 at 01:54:20PM +0800, Aaron Lu wrote: > > > + { > > > + .callback = video_set_use_native_backlight, > > > + .ident = "HP EliteBook 2013 models",

Re: [PATCH v4] ACPI / video: Add systems that should favour native backlight interface

2014-02-18 Thread Takashi Iwai
At Tue, 18 Feb 2014 12:34:42 +0200, Mika Westerberg wrote: > > On Tue, Feb 18, 2014 at 01:54:20PM +0800, Aaron Lu wrote: > > + { > > + .callback = video_set_use_native_backlight, > > + .ident = "HP EliteBook 2013 models", > > + .matches = { > > + DMI_MATCH(DMI_SYS_VENDOR, "Hewlet

[PATCH] thinkpad_acpi: Add mappings for F9 - F12 hotkeys on T440s

2014-02-18 Thread Hans de Goede
The T440s user guide says that when Fn-lock is not active, the T440s' F9 - F12 keys should be mapped to: control-panel, search, show-all-windows and Computer. These keys generate the sofar unused 28 - 31 hotkey scancodes. For the first 2 this nicely matches the icons on the keys, for the latter 2

Re: [PATCH v4] ACPI / video: Add systems that should favour native backlight interface

2014-02-18 Thread Mika Westerberg
On Tue, Feb 18, 2014 at 01:54:20PM +0800, Aaron Lu wrote: > + { > + .callback = video_set_use_native_backlight, > + .ident = "HP EliteBook 2013 models", > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), > + DMI_MATCH(DMI_PRODUCT_NAME, "HP Eli