Can't turn off/on bluetooth via acpi in eeepc 901/1000
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Fix Released
|
Medium
|
|||
eeepc-acpi (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
Bug Description
In ubuntu hardy on eeepc 901/1000 it's impossible to turn off/on the integrated bluetooth.
This patch from daltona solves the issue. It has already been tested in the costum eeepc kernel by Adam Mc Daniel:
http://
<code>
diff -urN eeepc-acpi/
--- eeepc-acpi/
+++ eeepc-acpi-
@@ -38,6 +38,7 @@
* Definitions for Asus EeePC
*/
#define PROC_ASUS "asus" //the directory
+#define PROC_BT "bt"
#define PROC_LCD "lcd"
#define PROC_BRN "brn"
#define PROC_DISP "disp"
@@ -90,7 +91,7 @@
} cm_asl_t;
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 +100,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,
@@ -283,6 +284,8 @@
return -ENODEV;
if (ehotk-
+ if (ehotk-
+ eeepc_hotk_
if (ehotk-
if (ehotk-
@@ -306,6 +309,8 @@
if (acpi_device_
if (ehotk-
+ if (ehotk-
+ remove_
if (ehotk-
if (ehotk-
</code>
Changed in linux: | |
status: | Unknown → Fix Released |
Changed in linux: | |
importance: | Unknown → Medium |
I forgot to say that this bug is also present in intrepid kernel 2.6.27, that from what I've understood, doesn't use eeepc-acpi.ko, but eeepc-laptop.ko
OT:
I don't know if there's much difference between the two, I only know that eeepc-acpi seems to work much better than eepc-laptop on my eeepc 901.
With eeepc-laptop osd are very laggy and I also can't control webcam via acpi.
So it would seem that the best solution is to patch eeepc-osd for bluetooth and include it in the kernel instead of eeepc-laptop, but I'm no expert to take such decision.