Re: Re: Smart Battery System driver

Rich Townsend
2005-01-19T22:24:23Z

Johan Vromans wrote:
> Olaf Jansen-Olliges <o.jansen-n+qsWun7DryELgA04lAiVw@public.gmane.org> writes:
>
>
>>you should not have ac_adapter or battery before "modprobing" have
>>you diabled the ac_adapter and battery section in your kernel
>>configuration? (as mentioned in the README)
>
>
> This is (in) my rc.local:
>
> # Experimental: drivers for smartbattery reading.
> modprobe i2c-dev
> modprobe i2c-acpi-ec
> modprobe -r ac
> modprobe -r battery
> modprobe acpi-sbs

Note that i2c-dev isn't needed by i2c-acpi-ec or acpi-sbs. Also,
you can get acpi-sbs to automatically load i2c-acpi-ec by adding the line

below acpi-sbs i2c-acpi-ec

...to /etc/modules.conf. With this line in place, your rc.local would
look like

modprobe -r ac
modprobe -r battery
modprobe acpi-sbs

cheers,

Rich

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl