lkml.org 
[lkml]   [2008]   [Dec]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 03 Dec 2008 17:52:01 +0000
FromDarren Salt <>
Subject[2.6.28-rc7 PATCH] Make Bluetooth rfkill work on EeePC
"echo 1 >/sys/class/rfkill/rfkill1/state" was failing with "no such device"
on my 901. This fixes it.

Signed-Off-By: Darren Salt <linux@youmustbejoking.demon.co.uk>

This needs Bernd Spaeth's sign-off too (and promptly!) since I took this from
the patch which he posted to debian-eeepc-devel. URL:
http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/2008-October/001299.html

--- ./drivers/misc/eeepc-laptop.c.orig	2008-12-03 17:17:01.000000000 +0000
+++ ./drivers/misc/eeepc-laptop.c	2008-12-03 17:28:36.000000000 +0000
@@ -90,7 +90,7 @@
 };
 
 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_setv[] = {
-	"WLDS", NULL, NULL, NULL,
+	"WLDS", "BTHS", NULL, NULL,
 	"CAMS", NULL, NULL, NULL,
 	"SDSP", "PBLS", "HDPS", NULL,
 	"CFVS", NULL, NULL, NULL,
-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Lobby friends, family, business, government.    WE'RE KILLING THE PLANET.

To have died once is enough.


\
 
 \ /
  Last update: 2008-12-03 19:19    [from the cache]
©2003-2008