Menu

#8 Takes a very long time to boot and read battery state

open
nobody
5
2005-04-28
2005-04-28
No

I am using ACER TravelMate 4000LCi Laptop. I downloaded
the latest version (sbs-cm-20050328.tar.bz2) and
installed it as instructed in the REAMDE file. It now
shows my battery and ac_adapter

The installation went fine, however I am experiencing
following Problems.

1. It takes around 5 mins to boot the laptop. The
screen goes blank as soon as it load the kernel
(probably the custom dsdt) , after that the boot speed
is normal

2. When I do cat /proc/acpi/battery/BAT0/state it takes
around 2-3 minutes. gnome-batt-status also hangs due to
the same reason.

Discussion

  • Vicky Shrestha

    Vicky Shrestha - 2005-04-28

    Logged In: YES
    user_id=881862

    I am using Gentoo Linux and the Kernel is 2.6.11-gentoo-r6

    I have used the following patches:
    acpi-dsdt-initrd-patch-v0.7d-2.6.9.patch
    acer-tm4xxx-sbs-cm.diff
    acpi-ec-nospinlock-2.6.11.diff

    All the hunks succeeded when patching

     
  • Oldrich Jedlicka

    Logged In: YES
    user_id=638130

    Same problems with Acer TravelMate 4502WLMi. Takes too long
    to read status of battery (status things in /proc/acpi/),
    boot process is waiting at the same moments (I mean when the
    status is beeing read at kernel boot-up).

    Gentoo Linux and vanilla kernel 2.6.11.7 with patches

    All-2.6.11.diff (latest v4l patches)
    acpi-20050408-2.6.11.diff (latest ACPI)
    acpi-dsdt-initrd-patch-v0.7d-2.6.9.patch
    acpi-ec-nospinlock-2.6.11.diff

    DSDT patched as described in sbs-cm
    (acer-tm4xxx-sbs-cm.diff), procedure as described in the forum.

     
  • Oldrich Jedlicka

    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!).

     
  • Vicky Shrestha

    Vicky Shrestha - 2005-05-10

    Logged In: YES
    user_id=881862

    Thanks Oldium,

    After making changes to the patch file as you mentioned , it
    now running fine.

    I think we can close this bug tracker now.

     
  • Roland Tapken

    Roland Tapken - 2005-09-03

    Logged In: YES
    user_id=277306

    It would be nice if someone merges this patch into the tar-file. Btw the
    patch works fine with 2.6.12, too :-)

     

Log in to post a comment.

MongoDB Logo MongoDB