Skip to contentSkip to conversation

ACPI: SBS in linux-2.6.18-rc1 - Works for me!

DISCUSSION Berthold Cogel 3 participants 4 messages Jul 13, 2006 – Jul 14, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

Hello!

I've tested linux-2.6.18-rc1 with Smart Battery System enabled. It works for my Acer Extensa 3002 WLMi. No compile errors or bugs at first sight.

Perhaps there should be some logic in the configuration to disable the ac and battery modules. They are not needed if SBS is active.

Is it possible to load sbs and i2c-ec automatically together with the other ACPI modules? On my Debian system I had to load the modules via /etc/modules.conf.

Regards,
Berthold

#1 lore raw
Quoted 2 lines · Berthold Cogel

I've tested linux-2.6.18-rc1 with Smart Battery System enabled. It works for my Acer Extensa 3002 WLMi.

That's good to hear!

Quoted 3 lines

Is it possible to load sbs and i2c-ec automatically together with the other ACPI modules? On my Debian system I had to load the modules via /etc/modules.conf.

I use a similar approach (for the 'old style' SBS) in /etc/rc.local:

/sbin/modprobe -r battery
/sbin/modprobe -r ac
/sbin/modprobe i2c-acpi-ec
/sbin/modprobe acpi-sbs

W.r.t. enabling/disabling ac&battery when sbs is selected: I'm not so sure if that would be a good idea. You build a kernel with modules, and at some later stage it is selected which modules will be actually be used.

-- Johan

#2 lore raw
In reply to Berthold Cogel

Hello!

Quoted 6 lines · Berthold Cogel

Perhaps there should be some logic in the configuration to disable the ac and battery modules. They are not needed if SBS is active.

Is it possible to load sbs and i2c-ec automatically together with the other ACPI modules? On my Debian system I had to load the modules via /etc/modules.conf.

If you use the acpid to manage your ACPI events, please take a look at /etc/default/acpid:

# Specify modules to load on acpid's startup
# MODULES may be uncommented to load "none", contain the string "all"

 # to load all acpi related modules or simply a space seperated list
 # of modules to be probed.
 MODULES="all"

BTW, even if I don't know anything about SBS, I guess it automatically loads i2c-ec as it depends on it.

Thx, bye,
Gismo / Luca

#3 lore raw
Quoted 7 lines · Luca Capello

# Specify modules to load on acpid's startup
# MODULES may be uncommented to load "none", contain the string "all"

 # to load all acpi related modules or simply a space seperated list
 # of modules to be probed.
 MODULES="all"

This is it. Thanks for the hint.

Regards,
Berthold