[ltp] Re: tp_smapi 0.34 and hdaps

Shem Multinymous linux-thinkpad@linux-thinkpad.org
Fri, 11 Jan 2008 15:31:55 -0500


On Jan 11, 2008 2:23 PM, kionez <kionez@anche.no> wrote:
> so, i build the hdaps.c patched version (following Shem mail), then i
> reboot in vista and finally reboot in linux:
>
> cat /sys/devices/platform/hdaps/position *works*...
>
> dmesg shows:
>
> thinkpad_ec: thinkpad_ec 0.34 loaded.
...
> bad hdaps_check_ec reply 0x01,0x00,0x00,0x00<3>hdaps init failed at:
> hdaps_check_ec failed
...
>
> so i do
>
> # make unload HDAPS=1
>
> and then
>
> # make load HDAPS=1
>
...
> bad hdaps_check_ec reply 0x01,0x00,0x00,0x00<3>hdaps init failed at:
> hdaps_check_ec failed
...
>
> and the same "cat ....." doesn't work until i reboot in vista.

Have you also commented out the "return -EIO" in hdaps_ec_check()? If
not, please do and retry.

  Shem