mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6.28-rc7 PATCH] Make Bluetooth rfkill work on EeePC
@ 2008-12-03 17:52 Darren Salt
  0 siblings, 0 replies; only message in thread
From: Darren Salt @ 2008-12-03 17:52 UTC (permalink / raw)
  To: linux-kernel; +Cc: Bernd.Spaeth

"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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-03 18:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-03 17:52 [2.6.28-rc7 PATCH] Make Bluetooth rfkill work on EeePC Darren Salt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®