Skip to contentSkip to conversation

Make Bluetooth rfkill work on EeePC

PATCH New Darren Salt 1 participant 1 message Dec 3, 2008 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

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 renamed from drivers/misc/eeepc-laptop.c.orig +2 -2
@@ -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,
Signature · 5 lines
| 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.