Problem with kernel 2.6.11
Status: Alpha
Brought to you by:
rhdt
Hello Rich,
I could only try this new sbs package now because I had
to send my computer to the repair service for a
problemw with the DVD. So I tried this package today
and it's not working as expected. The delay at boot
time and when ac and battery modules are loaded is
still occuring. It's also impossible to get the battery
charge level (or with a delay of more than 2 minutes !)
So until there is a better solution, I prefer to use
the acpi-sbs driver. A last word: I use the 2.6.11.6
kernel.
François Valenduc
Logged In: YES
user_id=638130
Fix for 2.6.11 is so easy. Problem is in
acpi-ec-nospinlock-2.6.11.diff:
-#define ACPI_EC_UDELAY 100 /* Poll @ 100us increments */
-#define ACPI_EC_UDELAY_COUNT 1000 /* Wait 10ms max. during
EC ops */
+#define ACPI_EC_MSLEEP 100 /* Sleep 1ms between polling */
+#define ACPI_EC_MSLEEP_COUNT 1000 /* Wait 10ms max. during
EC ops */
Look at ACPI_EC_UDELAY which is in microseconds, but
ACPI_EC_MSLEEP should be in milliseconds! So change lines to
+#define ACPI_EC_MSLEEP 1 /* Sleep 1ms between polling */
+#define ACPI_EC_MSLEEP_COUNT 10 /* Wait 10ms max. during EC
ops */
and everything should work (I suppose that comments are
correct!).
Logged In: YES
user_id=1218487
Indeed, the changes proposed solve the problem. Why didn't
Rich think about it ? So know, everything works correctly.