<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nirik</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nirik"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Nirik"/>
	<updated>2026-04-17T16:30:53Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:How_to_make_ACPI_work&amp;diff=21203</id>
		<title>Talk:How to make ACPI work</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:How_to_make_ACPI_work&amp;diff=21203"/>
		<updated>2006-03-30T06:38:41Z</updated>

		<summary type="html">&lt;p&gt;Nirik: /* Auto-wake on lid open - how to STOP? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{NOTE|Please sign and date your posts, that is much easier than trying to track down on page history who wrote what!}}&lt;br /&gt;
&lt;br /&gt;
== X41 Woes ==&lt;br /&gt;
I have tried the referred patch (Suspend to RAM) with the latest stable kernel (2.6.12.2): Reboot after wakeup.&lt;br /&gt;
&lt;br /&gt;
== T22 Woes ==&lt;br /&gt;
&lt;br /&gt;
Has anyone managed to get this working with a T22? The BIOS is upgraded, but it _never_ wakes up from sleep. Neither lid nor pwr button are noticed by the system.&lt;br /&gt;
&lt;br /&gt;
--Are you in suspend2ram? This works fine for me. I think you have to enable it in BIOS.&lt;br /&gt;
&lt;br /&gt;
== Sound-after-suspend not working with Mandriva 2006 ==&lt;br /&gt;
With Mandriva 2006, suspend/resume works with ACPI, but sound quits working. &lt;br /&gt;
This happens with the T20 and T22. The recommended Mandriva trick of setting &amp;quot;RESTORE_SOUND=yes&amp;quot; in the &amp;quot;suspend&amp;quot; script doesn't solve this. Other suggestions? - MarkStosberg mark@summersault.com&lt;br /&gt;
&lt;br /&gt;
== Solutions ==&lt;br /&gt;
I had 2 different issues:&lt;br /&gt;
- with my X21 I had to unload the alsa modules before suspend.&lt;br /&gt;
- with my x23 I have to change the mixer settings to get it working again.&lt;br /&gt;
&lt;br /&gt;
(I hope it will help)&lt;br /&gt;
&lt;br /&gt;
== CIFS ==&lt;br /&gt;
Hi all,&lt;br /&gt;
&lt;br /&gt;
I have found out that if I use cifs to mount Samba shares, I get lots of problems with suspend/hibernate (the cifsd breaks the shutdown process). Maybe it would be good to warn about this.&lt;br /&gt;
&lt;br /&gt;
Alex (alex at corcoles dot net)&lt;br /&gt;
&lt;br /&gt;
== Auto-wake on lid open - how to STOP? ==&lt;br /&gt;
&lt;br /&gt;
Anybody have any idea how to stop the machine (a T43p) from automatically waking up on lid open?  My /etc/acpi/events only has a lm_lid file which is commented out - it should do nothing, and there is no plain 'lid' event.  Is lm_lid an event only activated when in laptop-mode?&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
That's a good question, but I have the opposite problem: my T43 (2687) won't wakeup from S3 (suspend-to-RAM) when I open the lid, which is exactly what yours do, and what I wanted mine to.&lt;br /&gt;
&lt;br /&gt;
-- [[User:Hmh|hmh]] 2006-03-24 11:59:00 UTC-0300&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Yes, I have the same problem - this 'feature' is exhibited in both O/S's on my T43p...  I tried everything I could think of to stop it (changing/deleting the acpi event handlers, etc).  There does not seem to be any BIOS option to &amp;quot;wake up on lid open.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It has irritated me less over time; I find myself now using suspend if I don't want the feature, and sleep mode only if I anticipate that I will open it up and use.  After all, suspend is pretty quick with 1 GB ram.&lt;br /&gt;
&lt;br /&gt;
-- [[User:gsmenden|gsmenden]] 2006-03-27 19:36:55 EST&lt;br /&gt;
----&lt;br /&gt;
Just a note...the term &amp;quot;suspend&amp;quot; refers to both, suspending to RAM and suspending to disk, the counterpart to the &amp;quot;sleep&amp;quot; term is &amp;quot;hibernate&amp;quot;. We should try to stay clear about this everywhere to avoid confusion.&lt;br /&gt;
&lt;br /&gt;
[[User:Wyrfel|Wyrfel]] 10:24, 29 March 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
There is a /proc/acpi/wakeup file here. (t42p). Currently shows: &lt;br /&gt;
Device  Sleep state     Status&lt;br /&gt;
  LID       3            * enabled&lt;br /&gt;
 SLPB       3            * enabled&lt;br /&gt;
 PCI0       3            disabled&lt;br /&gt;
 UART       3            disabled&lt;br /&gt;
 PCI1       4            disabled&lt;br /&gt;
 USB0       3            disabled&lt;br /&gt;
 USB1       3            disabled&lt;br /&gt;
 AC9M       4            disabled&lt;br /&gt;
&lt;br /&gt;
Echoing the 4 letter code toggles that device as a wakeup device.. ie:&lt;br /&gt;
root# echo &amp;quot; LID&amp;quot; &amp;gt; /proc/acpi/wakeup&lt;br /&gt;
root# cat /proc/acpi/wakeup&lt;br /&gt;
Device  Sleep state     Status&lt;br /&gt;
 LID       3            *disabled&lt;br /&gt;
&lt;br /&gt;
Does that work for any of you guys? &lt;br /&gt;
[[User:Nirik|Nirik]] 23:15, 29 Mar 2006 (MST)&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Nirik</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Script_for_enabling_the_fingerprint_reader_with_BioAPI&amp;diff=21182</id>
		<title>Talk:Script for enabling the fingerprint reader with BioAPI</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Script_for_enabling_the_fingerprint_reader_with_BioAPI&amp;diff=21182"/>
		<updated>2006-03-29T01:39:44Z</updated>

		<summary type="html">&lt;p&gt;Nirik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With only 2 minor changes this script works on fc5 as well... &lt;br /&gt;
&lt;br /&gt;
You need to change the line that says: &lt;br /&gt;
&lt;br /&gt;
grep -q 'Fedora Core release 4' /etc/redhat-release || { echo \&lt;br /&gt;
&lt;br /&gt;
to say: &lt;br /&gt;
&lt;br /&gt;
grep -q 'Fedora Core release 5' /etc/redhat-release || { echo \&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, you need to add a patch for the bioapi to get it to compile on fc5 with gcc4.1:&lt;br /&gt;
&lt;br /&gt;
---cut--&lt;br /&gt;
diff -Nur bioapi-1.2.2.orig/addins/dl/mds/dal_classes.h bioapi-1.2.2/addins/dl/mds/dal_classes.h&lt;br /&gt;
--- bioapi-1.2.2.orig/addins/dl/mds/dal_classes.h       2005-06-09 18:35:44.000000000 -0600&lt;br /&gt;
+++ bioapi-1.2.2/addins/dl/mds/dal_classes.h    2006-03-28 17:21:49.000000000 -0700&lt;br /&gt;
@@ -455,7 +455,7 @@&lt;br /&gt;
                DAL_DATABASE_INFO_REF_PTR &amp;amp;prefDatabase,&lt;br /&gt;
         PORT_MUTEX_HANDLE &amp;amp;Mutex);&lt;br /&gt;
&lt;br /&gt;
-       CSSM_RETURN DAL_DATABASE_INFO_LIST::GetDBNamesAndParameters(&lt;br /&gt;
+       CSSM_RETURN GetDBNamesAndParameters(&lt;br /&gt;
                                CSSM_DL_DB_HANDLE DLDBHandle,&lt;br /&gt;
                                DAL_DB_OPEN_PARAM_PTR pParam);&lt;br /&gt;
 };&lt;br /&gt;
--cut--&lt;br /&gt;
&lt;br /&gt;
I added a line to apply this patch: &lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
tar xjf bioapi-latest.tar.bz2&lt;br /&gt;
pushd bioapi-1.2.2&lt;br /&gt;
patch -p1 &amp;lt; ../bioapi-gcc41.patch&lt;br /&gt;
./configure --with-Qt-dir=no --prefix=$WHERE&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
Can anyone else confirm that works and perhaps merge into the main script?&lt;/div&gt;</summary>
		<author><name>Nirik</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:SMAPI_support_for_Linux&amp;diff=13369</id>
		<title>Talk:SMAPI support for Linux</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:SMAPI_support_for_Linux&amp;diff=13369"/>
		<updated>2005-12-16T07:23:49Z</updated>

		<summary type="html">&lt;p&gt;Nirik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 21:25, 5 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
None of the fuctions is working on my T40, kernel 2.6.14-mm2.&lt;br /&gt;
&lt;br /&gt;
--[[User:Lammic|lammic]], 2005.12.05&lt;br /&gt;
&lt;br /&gt;
Works for me on a T41 running 2.6.12-10-686 (Ubuntu 5.10).&lt;br /&gt;
&lt;br /&gt;
--[[User:berndtnm|berndtnm]], 2005.12.06&lt;br /&gt;
&lt;br /&gt;
Including stop_charge_thresh? That one seems to be missing on the T42p.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 00:46, 7 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
tp_smapi works just fine on an R52 with Ubuntu Breezy stock kernel.&lt;br /&gt;
&lt;br /&gt;
--[[User:Micampe|Micampe]] 12:52, 7 Dec 2005 (CET)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
''To set the thresholds for starting and stopping battery charging (in percent of current capacity):''&lt;br /&gt;
&lt;br /&gt;
'''current''' really? That'd be weird, I'd expect it to be percent of '''total''' capacity.&lt;br /&gt;
&lt;br /&gt;
--[[User:Micampe|Micampe]] 14:39, 7 Dec 2005 (CET)&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Current full charge capacity&amp;quot;, as opposed to &amp;quot;current remaining capacity&amp;quot; or &amp;quot;designed full charge capacity&amp;quot;...&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 15:05, 7 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Battery features don't work with my T41p. I can't check this with windows. Can anybody try these features?&lt;br /&gt;
&lt;br /&gt;
-- Nils, 7 Dec 2005&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Nils, does cdrom_speed work for you on the T41p? Could you provide the details requested in the README (dmesg etc.)?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 21:57, 7 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
-- Nils, 8 Dec 2005&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
All the features except the stop_charge_thresh seem to work here on a t42p. &lt;br /&gt;
One note, the start_charge_thresh seems to really be stop_charge_thresh. Ie, If I set that to lower than my current battery %, it will never charge, &lt;br /&gt;
and if I set it to 100 the battery charges all the way. &lt;br /&gt;
&lt;br /&gt;
--[[User:Nirik|Nirik]] 16 Dec 2005&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Changing the CD speed when the CD is being accessed will hang your computer==&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
-- Stefan Schmidt&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
An open file looks fine if you're not reading/writing at that point. But my T43 does hangs on this:&lt;br /&gt;
 # dd if=/dev/scd0 of=/dev/null &amp;amp;&lt;br /&gt;
 # echo 1 &amp;gt; /sys/devices/platform/smapi/cdrom_speed&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 16:41, 7 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
OK, sorry. I was to fast. My system hangs on this commands, too. :(&lt;br /&gt;
&lt;br /&gt;
-- Stefan Schmidt&lt;br /&gt;
&lt;br /&gt;
Works well. Great.&lt;br /&gt;
&lt;br /&gt;
T42 2373-8zh. Working :cdrom_speed and start_charge_thresh. Untest : inhibit_charge_minutes.&lt;br /&gt;
&lt;br /&gt;
-- Haifeng Chen&lt;br /&gt;
&lt;br /&gt;
cdrom_speed works on my T40.&lt;br /&gt;
&lt;br /&gt;
-- [[User:Lammic|lammic]], 2005.12.09&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;thinkpad&amp;quot; module kernel compatibility ==&lt;br /&gt;
&lt;br /&gt;
Ajunge, how do you compile the &amp;quot;thinkpad&amp;quot; module compile on kernel &amp;gt;=2.6.9? The latest thinkpad version (5.8) still uses &amp;quot;get_cpu_ptr&amp;quot; and &amp;quot;set_cpu_ptr&amp;quot;, which were removed in 2.6.9.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 13:53, 10 Dec 2005 (CET)&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Nirik</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Script_for_theft_alarm_using_HDAPS&amp;diff=12248</id>
		<title>Talk:Script for theft alarm using HDAPS</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Script_for_theft_alarm_using_HDAPS&amp;diff=12248"/>
		<updated>2005-11-12T20:47:14Z</updated>

		<summary type="html">&lt;p&gt;Nirik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Wonderful idea! And works perfectly on my T43p, scared the cat away. ;)&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 20:35, 12 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Good, so it's at least a cat deterrant! A friend of mine had a nasty incident involving a laptop and a cat...&lt;br /&gt;
BTW, I'm the author (identifed by IP address again due the usual ThinkWiki autologin flakiness).&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 20:52, 12 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
I had to tweak the line that reads the position file. My position file has - numbers in it for some reason, so: &lt;br /&gt;
m/^\(-(\d+),-(\d+)\)$/ or die &amp;quot;Can't parse $pos_file content\n&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
After that change it works great. &lt;br /&gt;
It scared the dogs away here. ;) &lt;br /&gt;
--[[User:nirik|nirik]] 21:24, 12 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Fixed. Which ThinkPad model, BTW?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 21:44, 12 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
Cool. Excellent. ;) &lt;br /&gt;
&lt;br /&gt;
T42p here. &lt;br /&gt;
&lt;br /&gt;
--[[User:Nirik|Nirik]] 21:45, 12 Nov 2005 (CET)&lt;/div&gt;</summary>
		<author><name>Nirik</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Script_for_theft_alarm_using_HDAPS&amp;diff=12186</id>
		<title>Talk:Script for theft alarm using HDAPS</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Script_for_theft_alarm_using_HDAPS&amp;diff=12186"/>
		<updated>2005-11-12T20:31:24Z</updated>

		<summary type="html">&lt;p&gt;Nirik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Wonderful idea! And works perfectly on my T43p, scared the cat away. ;)&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 20:35, 12 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Good, so it's at least a cat deterrant! A friend of mine had a nasty incident involving a laptop and a cat...&lt;br /&gt;
BTW, I'm the author (identifed by IP address again due the usual ThinkWiki autologin flakiness).&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 20:52, 12 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
I had to tweak the line that reads the position file. My position file has - numbers in it for some reason, so: &lt;br /&gt;
m/^\(-(\d+),-(\d+)\)$/ or die &amp;quot;Can't parse $pos_file content\n&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
After that change it works great. &lt;br /&gt;
It scared the dogs away here. ;) &lt;br /&gt;
--[[User:nirik|nirik]] 21:24, 12 Nov 2005 (CET)&lt;/div&gt;</summary>
		<author><name>Nirik</name></author>
		
	</entry>
</feed>