[ltp] Re: [ANN] tp_smapi - a new Linux SMAPI driver

Peter Frühberger linux-thinkpad@linux-thinkpad.org
Mon, 05 Dec 2005 16:18:01 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Shem Multinymous schrieb:
> New version attached:
> 
> 0.04  2005-12-05
> ----------------
> - Made start_charge_thresh work even with stop_start_thresh is
>   not available.
> 
> 
> On 12/5/05, Shem Multinymous <multinymous@gmail.com> wrote:
> 
>>On 12/5/05, Shem Multinymous <multinymous@gmail.com> wrote:
>>
>>>* ThinkPad X40, T42p, G41
>>>    work:       start_charge_thresh, inhbit_charge
>>>    don't work: stop_charge_thresh (not supported by hardware)
>>
>>Oops, it currently checks the stop theshold even when just setting the
>>start threshold, so if you have those models it will fair
>>unnecessarily. Expect a new version soon (or comment out the relevant
>>code in set_threshold).

status report:
loading now works fine, but the other errors still persist:

dmesg from loading, cat and echo 40 > start_charge_thresh

[42959004.180000] tp_smapi: initialized, smapi_port=0xb2.
[42959004.180000] tp_smapi: driver successfully loaded.
[42959018.910000] tp_smapi: smapi_request in: BX=2116 CX=100 DI=0 SI=0
[42959018.910000] tp_smapi: smapi_request out: AX=8680 BX=2116 CX=100
DX=b2 DI=0 SI=0 ret=-38
[42959018.910000] tp_smapi: SMAPI error: Function is not supported by
SMAPI BIOS (BX=2116)
[42959018.930000] tp_smapi: get_thresh(0,1) failed
[42959024.320000] tp_smapi: smapi_request in: BX=211a CX=100 DI=0 SI=0
[42959024.320000] tp_smapi: smapi_request out: AX=8680 BX=211a CX=100
DX=b2 DI=0 SI=0 ret=-38
[42959024.320000] tp_smapi: SMAPI error: Function is not supported by
SMAPI BIOS (BX=211a)
[42959024.340000] tp_smapi: get_thresh(0,0) failed
[42959024.340000] tp_smapi: smapi_request in: BX=2116 CX=100 DI=0 SI=0
[42959024.340000] tp_smapi: smapi_request out: AX=8680 BX=2116 CX=100
DX=b2 DI=0 SI=0 ret=-38
[42959024.340000] tp_smapi: SMAPI error: Function is not supported by
SMAPI BIOS (BX=2116)
[42959024.360000] tp_smapi: get_thresh(0,1) failed
[42959026.440000] tp_smapi: smapi_request in: BX=2116 CX=100 DI=0 SI=0
[42959026.440000] tp_smapi: smapi_request out: AX=8680 BX=2116 CX=100
DX=b2 DI=0 SI=0 ret=-38
[42959026.440000] tp_smapi: SMAPI error: Function is not supported by
SMAPI BIOS (BX=2116)
[42959026.460000] tp_smapi: get_thresh(0,1) failed


thx
Peter

- --
		    Key-ID:     0x1A995A9B
		    keyserver: pgp.mit.edu
==============================================================
Fingerprint: 4606 DA19 EC2E 9A0B 0157  C81B DA07 CF63 1A99 5A9B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDlFop2gfPYxqZWpsRA48oAKDAyxqAK/YuYg5WBz43p6BsSn7D3gCeI6B7
cUPTe0Uh7nYE1omK9DndEdk=
=omdo
-----END PGP SIGNATURE-----