You are not logged in.

#1 2007-05-11 17:18:25

Branta
Member
Registered: 2007-05-05
Posts: 36

ACPI ng: Kernel rebuilt

2.6.21-ARCH kernel
Dell Latitude C400 laptop
Control Center-->Power Control-->Laptop Battery-->Power Control

Your computer seems to have a partial ACPI installation. ACPI was probably enabled, but some of the sub-options were not - you need to enable at least 'AC Adaptor' and 'Control Method Battery' and then rebuild your kernel.

To rebuild the kernel, do I have to start from the ISO and install again from the start?

Is there any other way?

What do I select to have ACPI working?


--- Bob ---

Offline

#2 2007-05-11 17:33:52

billy
Member
From: Slovenia
Registered: 2006-09-13
Posts: 164

Re: ACPI ng: Kernel rebuilt

Branta wrote:

2.6.21-ARCH kernel
Dell Latitude C400 laptop
Control Center-->Power Control-->Laptop Battery-->Power Control

Your computer seems to have a partial ACPI installation. ACPI was probably enabled, but some of the sub-options were not - you need to enable at least 'AC Adaptor' and 'Control Method Battery' and then rebuild your kernel.

To rebuild the kernel, do I have to start from the ISO and install again from the start?

Is there any other way?

What do I select to have ACPI working?


--- Bob ---

have you added ac and battery modules in MODULES section rc.conf? if you haven't, then add them and look look at this page: http://wiki.archlinux.org/index.php/ACPI_modules

Offline

#3 2007-05-11 21:52:18

Branta
Member
Registered: 2007-05-05
Posts: 36

Re: ACPI ng: Kernel rebuilt

Dell Latitude C400 laptop

Did as directed by:  http://wiki.archlinux.org/index.php/ACPI_modules

ls -l /lib/modules/$(uname -r)/kernel/drivers/acpi:

-rw-r--r-- 1 root root  5968 May  6 09:39 ac.ko
-rw-r--r-- 1 root root 21216 May  6 09:39 asus_acpi.ko
-rw-r--r-- 1 root root 11504 May  6 09:39 battery.ko
-rw-r--r-- 1 root root  7256 May  6 09:39 bay.ko
-rw-r--r-- 1 root root  9048 May  6 09:39 button.ko
-rw-r--r-- 1 root root  5464 May  6 09:39 container.ko
-rw-r--r-- 1 root root  9868 May  6 09:39 dock.ko
-rw-r--r-- 1 root root  5884 May  6 09:39 fan.ko
-rw-r--r-- 1 root root  6476 May  6 09:39 i2c_ec.ko
-rw-r--r-- 1 root root 39172 May  6 09:39 ibm_acpi.ko
-rw-r--r-- 1 root root 32180 May  6 09:39 processor.ko
-rw-r--r-- 1 root root 16684 May  6 09:39 sbs.ko
-rw-r--r-- 1 root root 15128 May  6 09:39 thermal.ko
-rw-r--r-- 1 root root 14800 May  6 09:39 toshiba_acpi.ko
-rw-r--r-- 1 root root 19148 May  6 09:39 video.ko

dmesg:

ACPI: Core revision 20070126
ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
ACPI: setting ELCR to 0200 (from 0800)
CPU0: Intel(R) Pentium(R) III Mobile CPU      1200MHz stepping 01
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfc00e, last bus=2
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:02.0
PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO
PCI quirk: region 0880-08bf claimed by ICH4 GPIO
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIE._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 9 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7) *11
ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 9 10 *11)
ACPI: Power Resource [PADA] (on)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 18 devices
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a repor

/etc/rc.conf:

# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(3c59x mii)
# Start my laptop acpi power/battery
MODULES=(ac)
MODULES=(battery)
MODULES=(button)
MODULES=(fan)
# End my laptop acpi power/battery

Does anyone see what is wrong?

Where might  I try other modules?


--- Bob ---

Offline

#4 2007-05-12 03:15:24

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: ACPI ng: Kernel rebuilt

Having multiple "MODULES=" could be problematic.

Try "MODULES=(3c59x mii ac battery button fan)"

Instead of restarting, just execute:

sudo moprobe {mii ac battery button fan}

logout and login back...

Offline

#5 2007-05-12 05:49:51

Branta
Member
Registered: 2007-05-05
Posts: 36

Re: ACPI ng: Kernel rebuilt

I changed the rc.conf and battery monitor is working and icon is on task bar.

# modprobe mii worked but:
# modprobe {mii ac battery button fan}
FATAL: Module {mii not found.

# /etc/rc.conf:
Removed these lines MODULES=fan, button, ac, battery

In their place I put in /etc/rc.conf:
MODULES=(3c59x mii ac battery button fan)

Cold booted.

modprobe {mii ac battery button fan} still fails.

But, the battery monitor is working because it's in /etc/rc/conf.

Thanks for your interest and help.

--- Bob ---


--- Bob ---

Offline

#6 2007-05-17 12:24:46

arjan
Member
Registered: 2007-05-17
Posts: 5

Re: ACPI ng: Kernel rebuilt

got the same problem.
ls ... acpi

-rw-r--r-- 1 root root  5968 2007-05-06 18:39 ac.ko
-rw-r--r-- 1 root root 21216 2007-05-06 18:39 asus_acpi.ko
-rw-r--r-- 1 root root 11504 2007-05-06 18:39 battery.ko
-rw-r--r-- 1 root root  7256 2007-05-06 18:39 bay.ko
-rw-r--r-- 1 root root  9048 2007-05-06 18:39 button.ko
-rw-r--r-- 1 root root  5464 2007-05-06 18:39 container.ko
-rw-r--r-- 1 root root  9868 2007-05-06 18:39 dock.ko
-rw-r--r-- 1 root root  5884 2007-05-06 18:39 fan.ko
-rw-r--r-- 1 root root  6476 2007-05-06 18:39 i2c_ec.ko
-rw-r--r-- 1 root root 39172 2007-05-06 18:39 ibm_acpi.ko
-rw-r--r-- 1 root root 32180 2007-05-06 18:39 processor.ko
-rw-r--r-- 1 root root 16684 2007-05-06 18:39 sbs.ko
-rw-r--r-- 1 root root 15128 2007-05-06 18:39 thermal.ko
-rw-r--r-- 1 root root 14800 2007-05-06 18:39 toshiba_acpi.ko
-rw-r--r-- 1 root root 19148 2007-05-06 18:39 video.ko

and rc.conf looks like this for the modules

# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(e100 eepro100 mii airo ibm_acpi battery ac fan button nvram)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

i did try the above instructions, and the ones for the modules, it did work with the old kernel though.
cheers,
arjan

Offline

Board footer

Powered by FluxBB