[ltp] Re: tp_smapi

xun wang linux-thinkpad@linux-thinkpad.org
Tue, 6 Jan 2009 03:22:09 -0500


------=_Part_202150_636154.1231230129298
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

so has anyone figured out how to do "thinkpad_ec force_io=1" on startup?

currently i need to manually go into the "/usr/src/tp_smapi-0.40/" folder as
root to enable it after boot, and then type "insmod ./thinkpad_ec.ko
force_io=1 && insmod ./tp_smapi.ko debug=0 && insmod ./hdaps.ko" to enable
it.

thanks,

xun

On Sun, Dec 28, 2008 at 9:30 PM, xun wang <xun911@gmail.com> wrote:

> Hello, I've managed to make the tp_smapi working on my t400, but there is
> one part of the instruction i don't understand(from the thinkwiki site). it
> says:
>
>> "add the force_io=1 module parameter to thinkpad_ec in /etc/modprobe.conf(or your distribution's equivalent"
>
> I'm running ubuntu 8.10 intrepid, there is no modprobe.conf file, only
> "modprobe.d/" folder, and I couldn't find "tinkpad_ec" in there in any of
> the files. which file should I edit and how should I edit it?
>
> thanks for your help.
>
> xun
>

------=_Part_202150_636154.1231230129298
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

so has anyone figured out how to do &quot;thinkpad_ec force_io=1&quot; on startup? <br><br>currently i need to manually go into the &quot;/usr/src/tp_smapi-0.40/&quot; folder as root to enable it after boot, and then type &quot;insmod ./thinkpad_ec.ko force_io=1 &amp;&amp; insmod ./tp_smapi.ko debug=0 &amp;&amp; insmod ./hdaps.ko&quot; to enable it.<br>
<br>thanks,<br><br>xun<br><br><div class="gmail_quote">On Sun, Dec 28, 2008 at 9:30 PM, xun wang <span dir="ltr">&lt;<a href="mailto:xun911@gmail.com">xun911@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello, I&#39;ve managed to make the tp_smapi working on my t400, but there is one part of the instruction i don&#39;t understand(from the thinkwiki site). it says:<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">

&quot;add the <tt>force_io=1</tt> module parameter to <tt>thinkpad_ec</tt> in <tt style="white-space: nowrap; color: rgb(153, 102, 0); background-color: white;">/etc/modprobe.conf</tt> (or your distribution&#39;s equivalent&quot;</blockquote>

<div>I&#39;m running ubuntu 8.10 intrepid, there is no modprobe.conf file, only &quot;modprobe.d/&quot; folder, and I couldn&#39;t find &quot;tinkpad_ec&quot; in there in any of the files. which file should I edit and how should I edit it?<br>

<br>thanks for your help.<br><br>xun <br></div>
</blockquote></div><br>

------=_Part_202150_636154.1231230129298--