From 12da871e3c73e03ae22cdb11ec63aa1f730222b1 Mon Sep 17 00:00:00 2001 From: Carlos Corbacho Date: Sat, 1 Sep 2007 16:42:45 +0000 Subject: [PATCH] Update README with 3G and sysfs changes --- README | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/README b/README index 738191f..147c032 100644 --- a/README +++ b/README @@ -26,8 +26,9 @@ As root, modprobe acer_acpi (To enable debugging, add debug=X, where X is between 0 and 2). -acer_acpi creates entries under /proc/acpi/acer, which enables you to control -some of the following (varies between models): +acer_acpi creates entries under /proc/acpi/acer and +/sys/devices/platform/acer_acpi, which enables you to control some of the +following (varies between models): * the wireless LAN card * inbuilt Bluetooth adapter @@ -40,12 +41,20 @@ PLEASE NOTE: "enabled: X" support has now been removed To read the status of a device (0=off, 1=on): cat /proc/acpi/acer/{device} +or +cat /sys/devices/platform/acer_acpi/{device} To enable a feature: echo 1 > /proc/acpi/acer/{feature} +or +echo 1 > /sys/devices/platform/acer_acpi/{device} To disable a feature: echo 0 > /proc/acpi/acer/{feature} +echo 0 > /sys/devices/platform/acer_acpi/{device} + +(brightness and mail LED are not visible in sysfs/ platform device - these are +properly registered with the relevant kernel subsystem). To enable a feature on loading the module: modprobe acer_acpi {feature}=1 @@ -59,17 +68,6 @@ multiple {feature}'s specified on the modprobe line). For laptops with a "brightness" option, you can write a value between 0 to 15 (or 0x0 to 0xF). -To enable support for 3G devices on WMID, you will need to edit acer_acpi.c and -replace: - -#undef EXPERIMENTAL_INTERFACES - -with - -#define EXPERIMENTAL_INTERFACES - -(If you have the hardware to test this with, please report back the results) - Notes ***** -- 2.11.4.GIT