[ltp] T60 and ACPI and hdaps

Cajus Pollmeier linux-thinkpad@linux-thinkpad.org
Fri, 9 Jun 2006 15:23:56 +0200


Am Donnerstag 08 Juni 2006 20:03 schrieb Shem Multinymous:
> On 6/8/06, Cajus Pollmeier <lists@naasa.net> wrote:
> > The other problem is that I can't insert the hdaps module. There's a DMI
> > white list hardcoded where I added the string "ThinkPad T60" - which is
> > reported by dmidump. But there's still a
> >
> > hdaps: supported laptop not found!
> > hdaps: driver init failed (ret=-6)!
> >
> > when modprobing the module. Any hints here?
>
> 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.
>
> Please report if it works.

Without tweaking in the hdaps.c, the insmod + force=1 leads to:

hdaps: supported laptop not found!
hdaps: driver init failed (ret=-6)!
hdaps: initial latch check bad (0x04).
hdaps: init failed!
input: hdaps as /class/input/input5
hdaps: driver successfully loaded.

None of the /sys entries are usable: "Device or resource busy"
So I guess I've to tweak around with the patches (very badly placed inline) 
from the hdaps-devel list.

Thanks,
Cajus