2008-12-03 20:39:29

by Jonathan McDowell

[permalink] [raw]
Subject: [PATCH] Add EEE Bluetooth ACPI details

Although rfkill support for the EEE bluetooth device has been added to
2.6.28-rc the appropriate ACPI accessor definitions were not added, so
the support was non functional. The patch below adds the get and set
accessors and has been verified to work on an EEE 901.

Signed-off-by: Jonathan McDowell <[email protected]>

-----
diff --git a/drivers/misc/eeepc-laptop.c b/drivers/misc/eeepc-laptop.c
index 02fe2b8..9d93cb9 100644
--- a/drivers/misc/eeepc-laptop.c
+++ b/drivers/misc/eeepc-laptop.c
@@ -90,7 +90,7 @@ enum {
};

static const char *cm_getv[] = {
- "WLDG", NULL, NULL, NULL,
+ "WLDG", "BTHG", NULL, NULL,
"CAMG", NULL, NULL, NULL,
NULL, "PBLG", NULL, NULL,
"CFVG", NULL, NULL, NULL,
@@ -99,7 +99,7 @@ static const char *cm_getv[] = {
};

static const char *cm_setv[] = {
- "WLDS", NULL, NULL, NULL,
+ "WLDS", "BTHS", NULL, NULL,
"CAMS", NULL, NULL, NULL,
"SDSP", "PBLS", "HDPS", NULL,
"CFVS", NULL, NULL, NULL,
-----

J.

--
/-\ | umop 3pisdn w,I u3ym hx3s os w,I
|@/ Debian GNU/Linux Developer |
\- |


2008-12-03 20:40:49

by Matthew Garrett

[permalink] [raw]
Subject: Re: [PATCH] Add EEE Bluetooth ACPI details

On Wed, Dec 03, 2008 at 08:31:11PM +0000, Jonathan McDowell wrote:
> Although rfkill support for the EEE bluetooth device has been added to
> 2.6.28-rc the appropriate ACPI accessor definitions were not added, so
> the support was non functional. The patch below adds the get and set
> accessors and has been verified to work on an EEE 901.
>
> Signed-off-by: Jonathan McDowell <[email protected]>

Acked-by: Matthew Garrett <[email protected]>

--
Matthew Garrett | [email protected]

2008-12-29 11:12:13

by Corentin Chary

[permalink] [raw]
Subject: Re: [PATCH] Add EEE Bluetooth ACPI details

On Wed, Dec 3, 2008 at 9:34 PM, Matthew Garrett <[email protected]> wrote:
> On Wed, Dec 03, 2008 at 08:31:11PM +0000, Jonathan McDowell wrote:
>> Although rfkill support for the EEE bluetooth device has been added to
>> 2.6.28-rc the appropriate ACPI accessor definitions were not added, so
>> the support was non functional. The patch below adds the get and set
>> accessors and has been verified to work on an EEE 901.
>>
>> Signed-off-by: Jonathan McDowell <[email protected]>
>
> Acked-by: Matthew Garrett <[email protected]>
>
Hi Len,
Could you push this ?

Acked-by: Corentin Chary <[email protected]>

--
Corentin Chary
http://xf.iksaif.net