FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 07-26-2011, 11:10 PM
Timothy Murphy
 
Default tp_smapi

Is there a tp_smapi (for ThinkPads) Fedora RPM anywhere?

If not, how do ThinkPad users install tp_smapi?
Can one use dkms to keep tp_smapi up-to-date?


--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-27-2011, 04:28 AM
Jatin K
 
Default tp_smapi

On Wednesday 27 July 2011 04:40 AM, Timothy Murphy wrote:
> Is there a tp_smapi (for ThinkPads) Fedora RPM anywhere?
>
> If not, how do ThinkPad users install tp_smapi?
> Can one use dkms to keep tp_smapi up-to-date?

http://www.thinkwiki.org/wiki/Tp_smapi



--
v
/(_)
^ ^ Jatin Khatri
Registerd Linux user No #501175
www.counter.li.org
No M$

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-27-2011, 04:30 AM
Jatin K
 
Default tp_smapi

On Wednesday 27 July 2011 04:40 AM, Timothy Murphy wrote:
> Is there a tp_smapi (for ThinkPads) Fedora RPM anywhere?
>
> If not, how do ThinkPad users install tp_smapi?
> Can one use dkms to keep tp_smapi up-to-date?
>
>
[1]
http://www.jonathanpritchard.com/blog/how-to-install-tp_smapi-and-change-battery-charging-thresholds-on-fedora-14-271

[2] http://izhar.fedorapeople.org/tp_smapi-kmod/

--
v
/(_)
^ ^ Jatin Khatri
Registerd Linux user No #501175
www.counter.li.org
No M$

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-27-2011, 07:06 AM
Timothy Murphy
 
Default tp_smapi

Jatin K wrote:

>> Is there a tp_smapi (for ThinkPads) Fedora RPM anywhere?
>>
>> If not, how do ThinkPad users install tp_smapi?
>> Can one use dkms to keep tp_smapi up-to-date?
>>
>>
> [1]
> http://www.jonathanpritchard.com/blog/how-to-install-tp_smapi-and-change-
battery-charging-thresholds-on-fedora-14-271

Thanks very much - that seems to be what I was looking for.

> [2] http://izhar.fedorapeople.org/tp_smapi-kmod/

As far as I can see, this RPM corresponds to an old kernel?

--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-27-2011, 07:20 AM
Jatin K
 
Default tp_smapi

On Wednesday 27 July 2011 12:36 PM, Timothy Murphy wrote:
> Jatin K wrote:
>
>>> Is there a tp_smapi (for ThinkPads) Fedora RPM anywhere?
>>>
>>> If not, how do ThinkPad users install tp_smapi?
>>> Can one use dkms to keep tp_smapi up-to-date?
>>>
>>>
>> [1]
>> http://www.jonathanpritchard.com/blog/how-to-install-tp_smapi-and-change-
> battery-charging-thresholds-on-fedora-14-271
>
> Thanks very much - that seems to be what I was looking for.
>
>> [2] http://izhar.fedorapeople.org/tp_smapi-kmod/
> As far as I can see, this RPM corresponds to an old kernel?

yes ...the second one is for reference purpose only




--
v
/(_)
^ ^ Jatin Khatri
Registerd Linux user No #501175
www.counter.li.org
No M$

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-27-2011, 08:19 AM
Timothy Murphy
 
Default tp_smapi

Jatin K wrote:

>>>> Is there a tp_smapi (for ThinkPads) Fedora RPM anywhere?
>>>>
>>>> If not, how do ThinkPad users install tp_smapi?
>>>> Can one use dkms to keep tp_smapi up-to-date?
>>>>
>>>>
>>> [1]
>>> http://www.jonathanpritchard.com/blog/how-to-install-tp_smapi-and-
change-
>> battery-charging-thresholds-on-fedora-14-271
>>
>> Thanks very much - that seems to be what I was looking for.

I followed the instructions in Pritchard's blog above,
and managed to install akmods .
But the procedure beyond that failed,
since it seems akmods requires the kernel source to be present,
which was not mentioned in the blog:
------------------------------------
[tim@blanche ~]$ sudo service akmods restart
Checking kmods exist for 2.6.38.8-35.fc15.i686.PAE [ OK ]
Files needed for building modules against kernel
2.6.38.8-35.fc15.i686.PAE could not be found as the following
directories are missing:
/usr/src/kernels/2.6.38.8-35.fc15.i686.PAE/
/lib/modules/2.6.38.8-35.fc15.i686.PAE/build/ [FAILED]
------------------------------------

I didn't think one normall required the kernel source
in order to compile a kernel module?
I thought kernel-headers and kernel-devel was usually sufficient?


It seems there is an alternative method of installing tp_smapi ,
namely using dkms .
But I'm not clear whether dkms and akmods do the same thing?
And if so, which is likely to be better on a Fedora/KDE system?


--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-27-2011, 09:34 AM
Ed Greshko
 
Default tp_smapi

On 07/27/2011 04:19 PM, Timothy Murphy wrote:
> It seems there is an alternative method of installing tp_smapi ,
> namely using dkms .
> But I'm not clear whether dkms and akmods do the same thing?
> And if so, which is likely to be better on a Fedora/KDE system?

I believe they do basically the same thing. I've been using dkms for
several years to keep the nvidia drivers up to date with the kernel.

However, dkms is currently broken on F15.

https://bugzilla.redhat.com/show_bug.cgi?id=702483

--
Even if you do learn to speak correct English, whom are you going to
speak it to? -- Clarence Darrow
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-27-2011, 11:38 AM
Joe Zeff
 
Default tp_smapi

On 07/27/2011 01:19 AM, Timothy Murphy wrote:
> But the procedure beyond that failed,
> since it seems akmods requires the kernel source to be present,
> which was not mentioned in the blog:

No it doesn't. It needs the appropriate kernel-devel, however, but
doesn't list it as a dependency.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-27-2011, 11:11 PM
Timothy Murphy
 
Default tp_smapi

Joe Zeff wrote:

> On 07/27/2011 01:19 AM, Timothy Murphy wrote:
>> But the procedure beyond that failed,
>> since it seems akmods requires the kernel source to be present,
>> which was not mentioned in the blog:
>
> No it doesn't. It needs the appropriate kernel-devel, however, but
> doesn't list it as a dependency.

Could you give a hint how to install tp_smapi with akmods, please.

I have kernel-headers and kernel-devel installed,
as well as akmod-tp_smapi-0.40-1.fc11.i686.rpm which I installed by
sudo yum localinstall akmod-tp_smapi-0.40-1.fc11.i686.rpm --nogpgcheck

According to <http://fedorasolved.org/Members/zcat/akmods>
I should now run "sudo service akmods restart",
but when I do this I get the error message
------------------------------------
[tim@blanche ~]$ sudo service akmods restart
Checking kmods exist for 2.6.38.8-35.fc15.i686.PAE [ OK ]
Files needed for building modules against kernel
2.6.38.8-35.fc15.i686.PAE could not be found as the following
directories are missing:
/usr/src/kernels/2.6.38.8-35.fc15.i686.PAE/
/lib/modules/2.6.38.8-35.fc15.i686.PAE/build/ [FAILED]
------------------------------------
Both these directories are present (though empty)
------------------------------------
[tim@blanche ~]$ ls -lsd /usr/src/kernels/2.6.38.8-35.fc15.i686.PAE
4 drwxr-xr-x. 2 root root 4096 Jul 28 00:20
/usr/src/kernels/2.6.38.8-35.fc15.i686.PAE
[tim@blanche ~]$ ls -lsd /lib/modules/2.6.38.8-35.fc15.i686.PAE/build
0 lrwxrwxrwx. 1 root root 50 Jul 13 02:31
/lib/modules/2.6.38.8-35.fc15.i686.PAE/build ->
../../../usr/src/kernels/2.6.38.8-35.fc15.i686.PAE



--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-28-2011, 01:31 AM
Joe Zeff
 
Default tp_smapi

On 07/27/2011 04:11 PM, Timothy Murphy wrote:
> Could you give a hint how to install tp_smapi with akmods, please.

Sorry, when I saw akmod I automatically thought of akmod-nvidia. D'oh!
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 01:37 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org