The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: mcc@WPI.EDU
To: linux-kernel@vger.kernel.org
Subject: [PATCH] asus_acpi: Add support for Asus Z81SP
Date: Tue, 12 Dec 2006 05:19:16 -0500 (EST)	[thread overview]
Message-ID: <49789.130.215.241.149.1165918756.squirrel@webmail.WPI.EDU> (raw)

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;
 }


             reply	other threads:[~2006-12-12 10:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-12 10:19 mcc [this message]
2007-02-13 22:30 ` [PATCH] asus_acpi: Add support for Asus Z81SP mitxael
2007-02-14 12:38   ` Oleg Verych

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49789.130.215.241.149.1165918756.squirrel@webmail.WPI.EDU \
    --to=mcc@wpi.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox