All of lore.kernel.org
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: linux-acpi@vger.kernel.org
Cc: Corentin Chary <corentincj@iksaif.net>, Len Brown <len.brown@intel.com>
Subject: [PATCH 06/30] asus_acpi: Add R1F support
Date: Sat, 07 Feb 2009 01:41:14 -0500	[thread overview]
Message-ID: <1021e2119eb33a990a2b9ff1410805dd9bdf7997.1233988823.git.len.brown@intel.com> (raw)
In-Reply-To: <091d71e023557136e96f0e54f301497a3fc95dc3.1233988822.git.len.brown@intel.com>
In-Reply-To: <091d71e023557136e96f0e54f301497a3fc95dc3.1233988822.git.len.brown@intel.com>

From: Corentin Chary <corentincj@iksaif.net>

Add R1F support

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
---
 drivers/platform/x86/asus_acpi.c |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/drivers/platform/x86/asus_acpi.c b/drivers/platform/x86/asus_acpi.c
index 1e74988..d63f26e 100644
--- a/drivers/platform/x86/asus_acpi.c
+++ b/drivers/platform/x86/asus_acpi.c
@@ -143,6 +143,7 @@ struct asus_hotk {
 							 S1300N, S5200N*/
 		A4S,            /* Z81sp */
 		F3Sa,		/* (Centrino) */
+		R1F,
 		END_MODEL
 	} model;		/* Models currently supported */
 	u16 event_count[128];	/* Count for each event TODO make this better */
@@ -420,7 +421,18 @@ static struct model_data model_conf[END_MODEL] = {
 		.display_get	= "\\ADVG",
 		.display_set	= "SDSP",
 	},
-
+	{
+		.name = "R1F",
+		.mt_bt_switch = "BLED",
+		.mt_mled = "MLED",
+		.mt_wled = "WLED",
+		.mt_lcd_switch = "\\Q10",
+		.lcd_status = "\\GP06",
+		.brightness_set = "SPLV",
+		.brightness_get = "GPLV",
+		.display_set = "SDSP",
+		.display_get = "\\INFB"
+	}
 };
 
 /* procdir we use */
@@ -1165,6 +1177,8 @@ static int asus_model_match(char *model)
 		return W3V;
 	else if (strncmp(model, "W5A", 3) == 0)
 		return W5A;
+	else if (strncmp(model, "R1F", 3) == 0)
+		return R1F;
 	else if (strncmp(model, "A4S", 3) == 0)
 		return A4S;
 	else if (strncmp(model, "F3Sa", 4) == 0)
-- 
1.5.6.6


  parent reply	other threads:[~2009-02-07  6:41 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-07  6:41 [PATCH 01/30] PM: Fix compilation warning in kernel/power/main.c Len Brown
2009-02-07  6:41 ` [PATCH 02/30] ACPI suspend: Fix compilation warnings in drivers/acpi/sleep.c Len Brown
2009-02-07  6:41 ` [PATCH 03/30] ACPI: Fix crash on ASUS laptops Len Brown
2009-02-07  6:41 ` [PATCH 04/30] panasonic-laptop: fix X[ ARRAY_SIZE(X) ] Len Brown
2009-02-07  6:41 ` [PATCH 05/30] eeepc-laptop: split eeepc_backlight_exit() Len Brown
2009-02-07  6:41 ` Len Brown [this message]
2009-02-07  6:41 ` [PATCH 07/30] asus-laptop: use generic netlink interface Len Brown
2009-02-07  6:41 ` [PATCH 08/30] asus-laptop: hotkeys via the generic input interface Len Brown
2009-02-07  6:41 ` [PATCH 09/30] asus-laptop: update Kconfig for input layer Len Brown
2009-02-07  6:41 ` [PATCH 10/30] asus-laptop: fix label indentation Len Brown
2009-02-07  6:41 ` [PATCH 11/30] eeepc-laptop: Add support for extended hotkeys Len Brown
2009-02-07  6:41 ` [PATCH 12/30] eeepc-laptop: Check return values from rfkill_register Len Brown
2009-02-07  6:41 ` [PATCH 13/30] eeepc-laptop: Implement rfkill hotplugging in eeepc-laptop Len Brown
2009-02-07  6:41 ` [PATCH 14/30] eeepc-laptop: use netlink interface Len Brown
2009-02-07  6:41 ` [PATCH 15/30] ACPI: remove locking from PM1x_STS register reads Len Brown
2009-02-07  6:41 ` [PATCH 16/30] ACPI: remove BM_RLD access from idle entry path Len Brown
2009-02-07  6:41 ` [PATCH 17/30] ACPI: Skip the first two elements in the _BCL package Len Brown
2009-02-07  6:41 ` [PATCH 18/30] ACPI: proc_dir_entry 'video/VGA' already registered Len Brown
2009-02-07  6:41 ` [PATCH 19/30] ACPICA: add debug dump of BIOS _OSI strings Len Brown
2009-02-07  6:41 ` [PATCH 20/30] ACPI: make some IO ports off-limits to AML Len Brown
2009-02-07  6:41 ` [PATCH 21/30] ACPI: cpufreq: Remove deprecated /proc/acpi/processor/../performance proc entries Len Brown
2009-02-07  6:41 ` [PATCH 22/30] ACPI: delete CPU_IDLE=n code Len Brown
2009-02-07  6:41 ` [PATCH 23/30] ACPI: disable ACPI cleanly when bad RSDP found Len Brown
2009-02-07  6:41 ` [PATCH 24/30] ACPI: dock: Don't eval _STA on every show_docked sysfs read Len Brown
2009-02-07  6:41 ` [PATCH 25/30] ACPI: add missing KERN_* constants to printks Len Brown
2009-02-07  6:41 ` [PATCH 26/30] ACPI: struct device - replace bus_id with dev_name(), dev_set_name() Len Brown
2009-02-07  6:41 ` [PATCH 27/30] ACPI: Enable bit 11 in _PDC to advertise hw coord Len Brown
2009-02-07  6:41 ` [PATCH 28/30] ACPICA: Fix table entry truncation calculation Len Brown
2009-02-07  6:41 ` [PATCH 29/30] eeepc-laptop: fix oops when changing backlight brightness during eeepc-laptop init Len Brown
2009-02-07  6:41 ` [PATCH 30/30] ACPI: Kconfig text - Fix the ACPI_CONTAINER module name according to the real module name Len Brown

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=1021e2119eb33a990a2b9ff1410805dd9bdf7997.1233988823.git.len.brown@intel.com \
    --to=lenb@kernel.org \
    --cc=corentincj@iksaif.net \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.