[ltp] [ANN] tp_smapi 0.35-test1

kionez linux-thinkpad@linux-thinkpad.org
Mon, 21 Jan 2008 15:42:25 +0100


#include <Shem Multinymous.h>   // created 21/01/2008 07:58

Hi, thanks for release..here's my feedback, everything seems working
fine.. but i'm at work and i can't test it :)


kernel: 2.6.23.12
model: Lenovo Thinkpad T61 - 766418G
bios: ThinkPad BIOS 7LETA7WW (2.07 ), EC 7KHT24WW-1.08


tp_smapi 0.35-test1 loading...
tp_smapi successfully loaded (smapi_port=0xb2).
hdaps: LENOVO ThinkPad T61 detected, setting orientation 1
hdaps: initial mode latch is 0x05
hdaps: setting ec_rate=250, filter_order=2
hdaps: fake_data_mode set to 0
hdaps: device successfully initialized.
input: ThinkPad HDAPS joystick emulation as
/devices/platform/hdaps/input/input13
input: ThinkPad HDAPS accelerometer data as
/devices/platform/hdaps/input/input14
hdaps: driver successfully loaded.

> Furthermore, please check the following sysfs attributes 
> (I'm copying from the README) and report whether they wor
> as advertised:
> 
>   /sys/devices/platform/hdaps/sampling_rate:

# cat /sys/devices/platform/hdaps/sampling_rate
50

>   /sys/devices/platform/hdaps/running_avg_filter_order:

# cat /sys/devices/platform/hdaps/running_avg_filter_order
2

>   /sys/devices/platform/hdaps/fake_data_mode:

# cat /sys/devices/platform/hdaps/fake_data_mode
0


> /sys/devices/platform/smapi/BAT0/voltage.

# cat /sys/devices/platform/smapi/BAT0/voltage
15201

# cat /sys/devices/platform/smapi/BAT0/group*_voltage
3797
3797
3803

# let a=3797+3797+3803; echo $a
11397

k.