Enabling bluetooth toggling on the 1000H seems to be as simple as changing 2 
lines of code and adding 2 new ones in the eeepc_laptop module.
diff of original and modified version below:

diff -Naur a/drivers/misc/eeepc-laptop.c b/drivers/misc/eeepc-laptop.c
--- a/drivers/misc/eeepc-laptop.c       2008-10-05 19:23:29.000000000 +0200
+++ b/drivers/misc/eeepc-laptop.c       2008-10-05 19:24:58.000000000 +0200
@@ -88,7 +88,7 @@
 };
 
 const char *cm_getv[] = {
-       "WLDG", NULL, NULL, NULL,
+       "WLDG", "BTHG", NULL, NULL,
        "CAMG", NULL, NULL, NULL,
        NULL, "PBLG", NULL, NULL,
        "CFVG", NULL, NULL, NULL,
@@ -97,7 +97,7 @@
 };
 
 const char *cm_setv[] = {
-       "WLDS", NULL, NULL, NULL,
+       "WLDS", "BTHS", NULL, NULL,
        "CAMS", NULL, NULL, NULL,
        "SDSP", "PBLS", "HDPS", NULL,
        "CFVS", NULL, NULL, NULL,
@@ -312,12 +312,14 @@
 EEEPC_CREATE_DEVICE_ATTR(cardr, CM_ASL_CARDREADER);
 EEEPC_CREATE_DEVICE_ATTR(disp, CM_ASL_DISPLAYSWITCH);
 EEEPC_CREATE_DEVICE_ATTR(wlan, CM_ASL_WLAN);
+EEEPC_CREATE_DEVICE_ATTR(bt, CM_ASL_BLUETOOTH);
 
 static struct attribute *platform_attributes[] = {
        &dev_attr_camera.attr,
        &dev_attr_cardr.attr,
        &dev_attr_disp.attr,
        &dev_attr_wlan.attr,
+       &dev_attr_bt.attr,
        NULL
 };

I found this inspecting a bluetooth patch for the eeepc-acpi module (cm_getv 
and cm_setv entries taken from there, EEPC_CREATE_DEVICE_ATTR macro seems to 
create all needed functions and device_attribute struct). Since I am no kernel 
developer and never have taken a look at any line of kernel code before, the 
proposed changes definitely incorporate a good part of voodoo-scripting, but 
they seem to do the trick. I'd really appreciate confirmation, that I am not 
missing a relavant detail with it and strongly accentuate  the _use at your own 
risk_ state of my proposal.

  

 
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

_______________________________________________
Debian-eeepc-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-eeepc-devel

Reply via email to