Re: [PATCH missing/21] classmate-laptop: Use struct dev_pm_ops for power management

2012-06-29 Thread Rafael J. Wysocki
On Friday, June 29, 2012, Thadeu Cascardo wrote: > - Original message - > > From: Rafael J. Wysocki > > > > Make the classmate-laptop driver define its PM callbacks through > > a struct dev_pm_ops object rather than by using legacy PM hooks > > in struct acpi_device_ops. > > > > Signed-o

[PATCH 1/1] x86/platform: samsung-laptop: Update Kconfig dependencies.

2012-06-29 Thread Tomasz Moń
samsung-laptop driver can be compiled if ACPI_VIDEO is either compiled or exluded. Trying to built-in the samsung-laptop driver when ACPI_VIDEO is compiled as module results in linking error. This patch resolves this problem by setting proper dependencies in Kconfig. Signed-off-by: Tomasz Moń --

Re: [PATCH] backlight: add support for disabling backlights via sysfs

2012-06-29 Thread Seth Forshee
On Fri, Jun 29, 2012 at 02:24:38PM +0200, Corentin Chary wrote: > On Thu, Jun 28, 2012 at 9:36 PM, Matthew Garrett wrote: > > On Thu, Jun 28, 2012 at 02:30:17PM -0500, Seth Forshee wrote: > > > >> I actually don't think Corentin's solution is a bad one. It does suffer > >> from a couple of shortco

[PATCH 1/1 v2] classmate-laptop: Add support for Classmate V4 accelerometer.

2012-06-29 Thread Miguel Gómez
Classmate V4 laptop includes a new accelerometer that can't be handled by previous driver. This patch adds a new driver to handle it. Signed-off-by: Miguel Gómez --- drivers/platform/x86/classmate-laptop.c | 400 ++- 1 file changed, 398 insertions(+), 2 deletions(-)

[PATCH 0/1 v2] Add support for Classmate V4 accelerometer to classmate-laptop

2012-06-29 Thread Miguel Gómez
Sorry, I made a mistake with the version. The patch is for Classmate V4 and not for V3, so I adjusted it accordingly. Classmate V4 has a different acc

[PATCH] classmate-laptop: Add support for Classmate V3 accelerometer.

2012-06-29 Thread Miguel Gómez
Classmate V3 laptop includes a new accelerometer that can't be handled by previous driver. This patch adds a new driver to handle it. Signed-off-by: Miguel Gómez --- drivers/platform/x86/classmate-laptop.c | 400 ++- 1 file changed, 398 insertions(+), 2 deletions(-)

[PATCH 0/1] Add support for Classmate V3 accelerometer to classmate-laptop

2012-06-29 Thread Miguel Gómez
Classmate V3 has a different accelerometer than the previous versions. Main differences between the new (ACCE0001) and the old one (ACCE) are: * ACPI method calls need to receive 4 parameters instead of 2 * Values returned by the accelerometer are 2 bytes signed integers, instead of one unsig

Re: [PATCH] backlight: add support for disabling backlights via sysfs

2012-06-29 Thread Corentin Chary
On Thu, Jun 28, 2012 at 9:36 PM, Matthew Garrett wrote: > On Thu, Jun 28, 2012 at 02:30:17PM -0500, Seth Forshee wrote: > >> I actually don't think Corentin's solution is a bad one. It does suffer >> from a couple of shortcomings though. First, it only works for broken >> ACPI backlights, and some

Re: [PATCH] asus-wmi: use ASUS_WMI_METHODID_DSTS2 as default DSTS ID.

2012-06-29 Thread Corentin Chary
On Wed, Jun 20, 2012 at 5:47 AM, Alex Hung wrote: > According to responses from the BIOS team, ASUS_WMI_METHODID_DSTS2 > (0x53545344) will be used as future DSTS ID. In addition, calling > asus_wmi_evaluate_method(ASUS_WMI_METHODID_DSTS2, 0, 0, NULL) returns > ASUS_WMI_UNSUPPORTED_METHOD in new AS

Re: [PATCH 1/7] acpi: add a way to promote/demote vendor backlight drivers

2012-06-29 Thread Corentin Chary
On Wed, Jun 27, 2012 at 12:19 AM, Mattia Dongili wrote: > Hi Corentin, > > On Wed, Jun 13, 2012 at 09:32:01AM +0200, Corentin Chary wrote: > ... >> +/* Promote the vendor interface instead of the generic video module. >> + * This function allow DMI blacklists to be implemented by externals >> + *

Re: [PATCH 0/7] platform-drivers-x86: backlight, samsung and asus

2012-06-29 Thread Corentin Chary
On Tue, Jun 26, 2012 at 8:42 PM, Matthew Garrett wrote: > I think I'm fine with this. Whose tree should it go through? Yours would probably be easier, Thanks -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of

Re: [PATCH missing/21] classmate-laptop: Use struct dev_pm_ops for power management

2012-06-29 Thread Thadeu Cascardo
- Original message - > From: Rafael J. Wysocki > > Make the classmate-laptop driver define its PM callbacks through > a struct dev_pm_ops object rather than by using legacy PM hooks > in struct acpi_device_ops. > > Signed-off-by: Rafael J. Wysocki > --- > > Hi all, > > I overlooked th

Re: [PATCH] backlight: add support for disabling backlights via sysfs

2012-06-29 Thread joeyli
於 五,2012-06-29 於 03:57 +0100,Matthew Garrett 提到: > On Fri, Jun 29, 2012 at 10:43:59AM +0800, joeyli wrote: > > > http://msdn.microsoft.com/en-us/windows/hardware/gg487382.aspx > > > > In WDDM architecture, in spec p.5, there have a "Monitor" driver to > > check the WDDM driver support brightne