[ltp] hdaps axis orientations

Ben Carbery linux-thinkpad@linux-thinkpad.org
Mon, 14 Jan 2008 15:09:53 +1100


------=_Part_11391_670061.1200283793603
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hey,

Thanks for the response, I was aware of the difference, but assumed that the
emerge would automatically overwrite the kernel built module... On closer
inspection:

t61p ~ # for i in `locate hdaps.ko ` ; do ls -l $i ; done
-rw-r--r-- 1 root root 20233 Jan  8 12:30
/lib64/modules/2.6.23-gentoo-r3/kernel/drivers/hwmon/hdaps.ko
-rw-r--r-- 1 root root 22760 Jan  5 14:37
/lib64/modules/2.6.23-gentoo-r3/extra/hdaps.ko
-rw-r--r-- 1 root root 20233 Jan  5 12:34 /usr/src/linux-2.6.23-gentoo-r3
/drivers/hwmon/hdaps.ko

>From the size and location I am guessing that
/lib64/modules/2.6.23-gentoo-r3/extra/hdaps.ko is the tp_smapi built
version. Modprobe must be preferring the kernel version.

It would be simple enough to overwrite the kernel module with the other, but
how do I stop it being overwritten next time I compile a kernel? Is there a
better way to manage different versions of modules?

cheers,

Ben



...do I need to copy it a certain directory for modprobe to find it or ... ?

On Jan 14, 2008 11:29 AM, Shem Multinymous <multinymous@gmail.com> wrote:

> On Jan 13, 2008 6:14 PM, Ben Carbery <ben.carbery@gmail.com> wrote:
> >  hdaps: supported laptop not found!
> > hdaps: driver init failed (ret=-19)!
>
> You're using the vanilla hdaps, not the one included in tp_smapi.
> See  http://www.thinkwiki.org/wiki/Tp_smapi#Bundled_hdaps_driver .
>
>  Shem
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>



-- 
-------------------------------------------------------------------------------------------------------------------------------------------------------
"Because it that the times revive as time is fresh somehow, and it to feel
wins why, and, as for it, all forget an old thing" - Japanese saying

------=_Part_11391_670061.1200283793603
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hey,<br><br>Thanks for the response, I was aware of the difference, but assumed that the emerge would automatically overwrite the kernel built module... On closer inspection:<br><br><span style="font-family: courier new,monospace;">
t61p ~ # for i in `locate hdaps.ko ` ; do ls -l $i ; done</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">-rw-r--r-- 1 root root 20233 Jan&nbsp; 8 12:30 /lib64/modules/2.6.23-gentoo-r3/kernel/drivers/hwmon/hdaps.ko
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">-rw-r--r-- 1 root root 22760 Jan&nbsp; 5 14:37 /lib64/modules/2.6.23-gentoo-r3/extra/hdaps.ko</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-r--r-- 1 root root 20233 Jan&nbsp; 5 12:34 /usr/src/linux-2.6.23-gentoo-r3/drivers/hwmon/hdaps.ko</span><br style="font-family: courier new,monospace;"><br>From the size and location I am guessing that 
<span style="font-family: courier new,monospace;">/lib64/modules/2.6.23-gentoo-r3/extra/hdaps.ko</span> is the tp_smapi built version. Modprobe must be preferring the kernel version.<br><br>It would be simple enough to overwrite the kernel module with the other, but how do I stop it being overwritten next time I compile a kernel? Is there a better way to manage different versions of modules?
<br><br>cheers,<br><br>Ben<span style="font-family: courier new,monospace;"></span><br style="font-family: courier new,monospace;"><br><br><br>...do I need to copy it a certain directory for modprobe to find it or ... ?<br>
<br><div class="gmail_quote">On Jan 14, 2008 11:29 AM, Shem Multinymous &lt;<a href="mailto:multinymous@gmail.com">multinymous@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Jan 13, 2008 6:14 PM, Ben Carbery &lt;<a href="mailto:ben.carbery@gmail.com">ben.carbery@gmail.com</a>&gt; wrote:<br>&gt; &nbsp;hdaps: supported laptop not found!<br>&gt; hdaps: driver init failed (ret=-19)!
<br><br></div>You&#39;re using the vanilla hdaps, not the one included in tp_smapi.<br>See &nbsp;<a href="http://www.thinkwiki.org/wiki/Tp_smapi#Bundled_hdaps_driver" target="_blank">http://www.thinkwiki.org/wiki/Tp_smapi#Bundled_hdaps_driver
</a> .<br><div><div></div><div class="Wj3C7c"><br> &nbsp;Shem<br>--<br>The linux-thinkpad mailing list home page is at:<br><a href="http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad" target="_blank">http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
</a><br></div></div></blockquote></div><br><br clear="all"><br>-- <br> -------------------------------------------------------------------------------------------------------------------------------------------------------
<br>&quot;Because it that the times revive as time is fresh somehow, and it to feel wins why, and, as for it, all forget an old thing&quot; - Japanese saying

------=_Part_11391_670061.1200283793603--