[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tp_smapi config [Was OT: laptop recomendations]



On Fri, 12 Dec 2008 11:23:35 -0400
tyler <tyler.smith@mail.mcgill.ca> wrote:

> Winfried Tilanus <winfried@tilanus.com> writes:
> 
> > Install the tp_smapi modules. See http://www.thinkwiki.org/wiki/Tp_smapi
> > for more information.
> 
> oops. I'm missing something. I just installed the tp-smapi packages for
> my kernel, and according to the documentation on thinkwiki, I can set
> the start and stop thresholds with this:
> 
>     echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh 
>     echo 70 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh 
> 
> Except that there is no /sys/devices/platform/smapi directory on my
> system, and I cannot create the directory with mkdir. I searched my
> entire system for smapi directories, BAT0 directories, or files names
> {start,stop}_charge_thresh, but none exist. I tried rebooting, in case
> there was some mystic kernel thing going on, but that didn't help. I
> tried modprobe -l, which confirmed that the smapi modules were loaded:
> 

do lsmod to make sure that they are loaded

>   /lib/modules/2.6.26-1-686/extra/tp-smapi/thinkpad_ec.ko
>   /lib/modules/2.6.26-1-686/extra/tp-smapi/tp_smapi.ko
> 
> I'm a little over my head - What do I need to do to get this set up?
> 
> Thanks,
> 
> Tyler
> 
> 
> 


Reply to: