Difference between revisions of "Talk:Patch for controlling fan speed"

From ThinkWiki
Jump to: navigation, search
(added question)
(Windows XP port...)
Line 1: Line 1:
 +
==Windows XP port==
 
How would I port this patch to Windows XP?  
 
How would I port this patch to Windows XP?  
  
 
--Jason
 
--Jason
  
-------------------------------------
+
You can't. But you can write a Windows device driver based on the specs and [[ibm-acpi]].
 +
 
 +
--[[User:Thinker|Thinker]] 18:54, 7 Nov 2005 (CET)
 +
 
 +
==gkrellm support==
  
 
I can confirm that it works on Thinkpad {{T43}} here. However after
 
I can confirm that it works on Thinkpad {{T43}} here. However after
Line 11: Line 16:
 
second line and level appears in the third instead? I'm no coder, just  
 
second line and level appears in the third instead? I'm no coder, just  
 
a suggestion to improve the patch.
 
a suggestion to improve the patch.
 +
 
--Jiang
 
--Jiang
----
 
  
 
I'd say it's a bug in gkrellm. It should parse the line header rather than relying on line numbers. But feel free to change (and test) the patch if you wish.
 
I'd say it's a bug in gkrellm. It should parse the line header rather than relying on line numbers. But feel free to change (and test) the patch if you wish.
  
 
--[[User:Thinker|Thinker]] 05:14, 26 Oct 2005 (CEST)
 
--[[User:Thinker|Thinker]] 05:14, 26 Oct 2005 (CEST)
----
 
  
 
== patch to keep gkrell working against 2.6.14 ==
 
== patch to keep gkrell working against 2.6.14 ==

Revision as of 18:54, 7 November 2005

Windows XP port

How would I port this patch to Windows XP?

--Jason

You can't. But you can write a Windows device driver based on the specs and ibm-acpi.

--Thinker 18:54, 7 Nov 2005 (CET)

gkrellm support

I can confirm that it works on Thinkpad T43 here. However after applying the patch, the fan speed monitor of gkrellm 2.2.7 cannot read value correctly. Maybe we gkrellm is reading the second line for speed but instead find the line for level, so it got confused? Would it be possible to interchange the lines so that speed still appears in the second line and level appears in the third instead? I'm no coder, just a suggestion to improve the patch.

--Jiang

I'd say it's a bug in gkrellm. It should parse the line header rather than relying on line numbers. But feel free to change (and test) the patch if you wish.

--Thinker 05:14, 26 Oct 2005 (CEST)

patch to keep gkrell working against 2.6.14

As in "works for me on a T43p", use with caution at your own risk. And thanks to thinker for the original patch, very nice work.

(See article for the actual patch)

--Spiney

Looks excellent, why not add it to the article page? Also, care to provide a license (preferably public domain like my patch) so the kernel guys can handle it? Speaking of which, the kernel people seem to like their patches generated via "diff -up vanilla-kernel-2.6.14 patched-kernel-2.6.14".

--Thinker 22:04, 1 Nov 2005 (CET)

Done, using the -p option for diff and "borrowing" your sentence for licensing purposes.

--Spiney