[ltp] T60 and ACPI and hdaps

Shem Multinymous linux-thinkpad@linux-thinkpad.org
Fri, 9 Jun 2006 20:42:27 +0300


On 6/9/06, Cajus Pollmeier <cajus@naasa.net> wrote:
> > The hdaps patch included in tp_smapi [1] should fix this. Grab
> > tp_smapi and run  "make install HDAPS=1; rmmod hdaps; modprobe hdaps
> > force=1".
> >
> > To avoid the "force=1" you'll need to patch the whilelist or to apply
> > one of the recent extended-whilelist patches posted to the hdaps-devel
> > list.
>
> Without tweaking in the hdaps.c, the insmod + force=1 leads to:
>
> hdaps: supported laptop not found!

You're loading the wrong version of hdaps. The patched version built
by tp_smapi would never output this when you pass the force=1
argument:

        if (!(dmi_check_system(hdaps_whitelist) || hdaps_force)) {
                printk(KERN_WARNING "hdaps: supported laptop not found!\n");
                ret = -ENXIO;
                goto out;
        }

  Shem