linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] asus_acpi: Add support for Asus Z81SP
@ 2006-12-12 10:19 mcc
  2007-02-13 22:30 ` mitxael
  0 siblings, 1 reply; 3+ messages in thread
From: mcc @ 2006-12-12 10:19 UTC (permalink / raw)
  To: linux-kernel

From: Matthew C Campbell <calvinmc@gmail.com>

Adds support in asus_acpi for the Asus Z81SP laptop. This preserves all
old functionality when improperly detected as well as enabling Bluetooth
support.

Signed-off-by: Matthew C Campbell <calvinmc@gmail.com>
---
--- linux-source-2.6.19/drivers/acpi/asus_acpi.c.orig   2006-12-12
05:07:11.000000000 -0500
+++ linux-source-2.6.19/drivers/acpi/asus_acpi.c        2006-12-12
04:56:05.000000000 -0500
@@ -140,6 +140,7 @@ struct asus_hotk {
                W5A,            //W5A
                W3V,            //W3030V
                xxN,            //M2400N, M3700N, M5200N, M6800N, S1300N,
S5200N
+               A4S,            //Z81sp
                //(Centrino)
                END_MODEL
        } model;                //Models currently supported
@@ -396,7 +397,16 @@ static struct model_data model_conf[END_
         .brightness_set = "SPLV",
         .brightness_get = "GPLV",
         .display_set = "SDSP",
-        .display_get = "\\ADVG"}
+        .display_get = "\\ADVG"},
+
+        {
+                .name              = "A4S",
+                .brightness_set    = "SPLV",
+                .brightness_get    = "GPLV",
+                .mt_bt_switch      = "BLED",
+                .mt_wled           = "WLED"
+        }
+
 };

 /* procdir we use */
@@ -1105,6 +1115,8 @@ static int asus_model_match(char *model)
                return W3V;
        else if (strncmp(model, "W5A", 3) == 0)
                return W5A;
+       else if (strncmp(model, "A4S", 3) == 0)
+               return A4S;
        else
                return END_MODEL;
 }


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] asus_acpi: Add support for Asus Z81SP
  2006-12-12 10:19 [PATCH] asus_acpi: Add support for Asus Z81SP mcc
@ 2007-02-13 22:30 ` mitxael
  2007-02-14 12:38   ` Oleg Verych
  0 siblings, 1 reply; 3+ messages in thread
From: mitxael @ 2007-02-13 22:30 UTC (permalink / raw)
  To: linux-kernel

And how do I can apply this patch?? I tried but i couldn't, this works only for
kernel 2.6.19 or 2.6.20 too??
thank you


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] asus_acpi: Add support for Asus Z81SP
  2007-02-13 22:30 ` mitxael
@ 2007-02-14 12:38   ` Oleg Verych
  0 siblings, 0 replies; 3+ messages in thread
From: Oleg Verych @ 2007-02-14 12:38 UTC (permalink / raw)
  To: mitxael; +Cc: LKML

> From: mitxael <michaelchess@msn.com>
> Newsgroups: gmane.linux.kernel
> Subject: Re: [PATCH] asus_acpi: Add support for Asus Z81SP
> Date: Tue, 13 Feb 2007 22:30:29 +0000 (UTC)

Hi,

> And how do I can apply this patch?? I tried but i couldn't,

patch is word-wrapped, try to mime-decode it first.

> this works only for kernel 2.6.19 or 2.6.20 too?? thank you

It's against 2.6.19, but if it's working, it would work on 2.6.20 as well.
If not, contact the author.

____

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-14 12:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-12 10:19 [PATCH] asus_acpi: Add support for Asus Z81SP mcc
2007-02-13 22:30 ` mitxael
2007-02-14 12:38   ` Oleg Verych

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).