Difference between revisions of "Talk:SMAPI support for Linux"

From ThinkWiki
Jump to: navigation, search
(Feature support matrix)
(Moved to tp_smapi and tpctl pages)
 
(48 intermediate revisions by 14 users not shown)
Line 1: Line 1:
Great, great work! Really! This completely rocks. I just stopped my battery from charging at 77% and restarted charging a bit later, no problems whatsoever. BTW, this is on kernel 2.6.14.3.
 
  
--[[User:Spiney|spiney]] 21:25, 5 Dec 2005 (CET)
 
----
 
None of the fuctions is working on my T40, kernel 2.6.14-mm2.
 
 
--[[User:Lammic|lammic]], 2005.12.05
 
 
Works for me on a T41 running 2.6.12-10-686 (Ubuntu 5.10).
 
 
--[[User:berndtnm|berndtnm]], 2005.12.06
 
 
Including stop_charge_thresh? That one seems to be missing on the T42p.
 
 
--[[User:Thinker|Thinker]] 00:46, 7 Dec 2005 (CET)
 
----
 
 
tp_smapi works just fine on an R52 with Ubuntu Breezy stock kernel.
 
 
--[[User:Micampe|Micampe]] 12:52, 7 Dec 2005 (CET)
 
 
----
 
 
''To set the thresholds for starting and stopping battery charging (in percent of current capacity):''
 
 
'''current''' really? That'd be weird, I'd expect it to be percent of '''total''' capacity.
 
 
--[[User:Micampe|Micampe]] 14:39, 7 Dec 2005 (CET)
 
 
"Current full charge capacity", as opposed to "current remaining capacity" or "designed full charge capacity"...
 
 
--[[User:Thinker|Thinker]] 15:05, 7 Dec 2005 (CET)
 
----
 
 
Battery features don't work with my T41p. I can't check this with windows. Can anybody try these features?
 
 
-- Nils, 7 Dec 2005
 
----
 
 
Nils, does cdrom_speed work for you on the T41p? Could you provide the details requested in the README (dmesg etc.)?
 
 
--[[User:Thinker|Thinker]] 21:57, 7 Dec 2005 (CET)
 
----
 
 
CDRom Speed seems to work. (I see no warnings, but I have to do a speed test.) Now, I've send all outputs to the email-address in the readme.
 
 
-- Nils, 8 Dec 2005
 
----
 
 
==Changing the CD speed when the CD is being accessed will hang your computer==
 
 
I don't have this problem on my T40p. CDROM is mounted and file on CD is opened. Change speed do '''not''' hang my system.
 
 
-- Stefan Schmidt
 
----
 
 
An open file looks fine if you're not reading/writing at that point. But my T43 does hangs on this:
 
# dd if=/dev/scd0 of=/dev/null &
 
# echo 1 > /sys/devices/platform/smapi/cdrom_speed
 
 
--[[User:Thinker|Thinker]] 16:41, 7 Dec 2005 (CET)
 
----
 
 
OK, sorry. I was to fast. My system hangs on this commands, too. :(
 
 
-- Stefan Schmidt
 
 
Works well. Great.
 
 
T42 2373-8zh. Working :cdrom_speed and start_charge_thresh. Untest : inhibit_charge_minutes.
 
 
-- Haifeng Chen
 
 
cdrom_speed works on my T40.
 
 
-- [[User:Lammic|lammic]], 2005.12.09
 
 
== "thinkpad" module kernel compatibility ==
 
 
Ajunge, how do you compile the "thinkpad" module compile on kernel >=2.6.9? The latest thinkpad version (5.8) still uses "get_cpu_ptr" and "set_cpu_ptr", which were removed in 2.6.9.
 
 
--[[User:Thinker|Thinker]] 13:53, 10 Dec 2005 (CET)
 
----
 
 
 
== Feature support matrix ==
 
I think it would be a good idea to reflect the supported fetures on each machine in a matrix. The listing is really complex.
 
 
--[[User:StefanSchmidt|StefanSchmidt]]
 
 
Something like that:
 
 
{| border="1" cellpadding="2"
 
|+Feature support matrix
 
|-
 
! × !! start_charge_thresh !! stop_charge_thresh !!  inhbit_charge_minutes !! cdrom_speed !! battery status
 
|-
 
! G41
 
| bgcolor=green|working || bgcolor=red|not working  || bgcolor=green|working || bgcolor=green|working || bgcolor=yellow|unknown
 
|-
 
! R40
 
| bgcolor=red|not working  || bgcolor=red|not working  || bgcolor=red|not working  || bgcolor=green|working  || bgcolor=yellow|unknown
 
|-
 
! R50p
 
| bgcolor=red|not working  || bgcolor=red|not working  || bgcolor=red|not working  || bgcolor=green|working  || bgcolor=yellow|unknown
 
|-
 
! R51
 
| bgcolor=green|working || bgcolor=red|not working  || bgcolor=green|working || bgcolor=yellow|unknown || bgcolor=yellow|unknown
 
|-
 
! R52
 
| bgcolor=green|working  || bgcolor=green|working  || bgcolor=green|working  || bgcolor=green|working  || bgcolor=yellow|unknown
 
|-
 
! T40
 
| bgcolor=red|not working  || bgcolor=red|not working  || bgcolor=red|not working  || bgcolor=green|working  || bgcolor=yellow|unknown
 
|-
 
! T40p
 
| bgcolor=red|not working  || bgcolor=red|not working  || bgcolor=red|not working  || bgcolor=green|working  || bgcolor=green|working
 
|-
 
! T41
 
| bgcolor=green|working || bgcolor=red|not working  || bgcolor=green|working || bgcolor=yellow|unknown || bgcolor=yellow|unknown
 
|-
 
! T41p
 
| bgcolor=red|not working  || bgcolor=red|not working  || bgcolor=red|not working  || bgcolor=green|working  || bgcolor=yellow|unknown
 
|-
 
! T42
 
| bgcolor=green|working || bgcolor=yellow|unknown  || bgcolor=yellow|unknown || bgcolor=green|working || bgcolor=yellow|unknown
 
|-
 
! T42p
 
| bgcolor=green|working || bgcolor=red|not working  || bgcolor=green|working || bgcolor=yellow|unknown || bgcolor=yellow|unknown
 
|-
 
! T43
 
| bgcolor=green|working  || bgcolor=green|working  || bgcolor=green|working  || bgcolor=green|working  || bgcolor=green|working
 
|-
 
! T43p
 
| bgcolor=green|working  || bgcolor=green|working  || bgcolor=green|working  || bgcolor=green|working  || bgcolor=yellow|unknown
 
|-
 
! X31
 
| bgcolor=red|not working  || bgcolor=red|not working  || bgcolor=red|not working  || bgcolor=yellow|unknown || bgcolor=yellow|unknown
 
|-
 
! X32
 
| bgcolor=red|not working  || bgcolor=red|not working  || bgcolor=red|not working  || bgcolor=yellow|unknown || bgcolor=yellow|unknown
 
|-
 
! X40
 
| bgcolor=green|working || bgcolor=red|not working  || bgcolor=green|working || bgcolor=yellow|unknown || bgcolor=green|working
 
|-
 
! X41
 
| bgcolor=green|working  || bgcolor=green|working  || bgcolor=green|working  || bgcolor=yellow|unknown || bgcolor=yellow|unknown
 
|}
 
 
----
 
 
Good idea. Care to help converting the current data? While at it, we need a new "battery status" column for the new features in tp_smapi 0.09.
 
 
--[[User:Thinker|Thinker]] 01:47, 13 Dec 2005 (CET)
 
 
Of course i will help you.
 
 
--[[User|StefanSchmidt]]
 
----
 
 
Should we have a "Kernel version" column too?
 
 
--[[User:Micampe|Micampe]] 09:33, 13 Dec 2005 (CET)
 
 
I don't think so. There should be no things like: battery_status works with kernel 2.6.13 but not with 2.6.14. If i'am wrong, correct me.
 
 
--[[User|StefanSchmidt]]
 
----
 
 
Beautiful work! I'll move it to the article soon.
 
 
--[[User:Thinker|Thinker]] 13:24, 13 Dec 2005 (CET)
 
----
 

Latest revision as of 11:27, 11 January 2006