Newbie looking to try latest ACPI support...
I recently got a Toshiba Satellite 1115-S103 laptop which only has ACPI power management. Obviously the drivers in RH 8.0 (kernel version 2.4.18-18.8) don't do anything useful.
I was hoping to try out a newer development driver but I'm not sure if it's best to just try the acpi-20020918 for which 2.4.18 patches are available, or should I not bother with those and go with the latest drivers for 2.4.20, which obviously means upgrading to that kernel???
Signature · 10 lines
Greg Gulik http://www.gulik.org/greg/ greg @ gulik.org http://www.drivingevents.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Gregory Gulik
I was hoping to try out a newer development driver but I'm not sure if it's best to just try the acpi-20020918 for which 2.4.18 patches are available, or should I not bother with those and go with the latest drivers for 2.4.20, which obviously means upgrading to that kernel???
I'd say upgrade to that kernel. :)
Signature · 8 lines
| Age is a very high price to pay for maturity. | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
Quoted 7 lines · Gregory Gulik
I recently got a Toshiba Satellite 1115-S103 laptop which only has ACPI power management. Obviously the drivers in RH 8.0 (kernel version 2.4.18-18.8) don't do anything useful.
I was hoping to try out a newer development driver but I'm not sure if it's best to just try the acpi-20020918 for which 2.4.18 patches are
This one have know bug. Try a more recent one.
Signature · 10 lines
Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
A message that is not in the archive (sent off-list or not yet received): 20021209105144.GB26375-j6u/t2rXLliUoIHC/UFpr9i2O/[email protected]
I ended up upgrading my kernel to 2.4.20 and applied the acpi-20021205-2.4.20.diff.
I turned off APM and chose the following ACPI related kernel config options:
# CONFIG_HOTPLUG_PCI_ACPI is not setCONFIG_ACPI=yCONFIG_ACPI_DEBUG=yCONFIG_ACPI_BUSMGR=mCONFIG_ACPI_SYS=mCONFIG_ACPI_CPU=mCONFIG_ACPI_BUTTON=mCONFIG_ACPI_AC=mCONFIG_ACPI_EC=mCONFIG_ACPI_CMBATT=mCONFIG_ACPI_THERMAL=m
For some reason no modules were installed in /lib/modules/2.4.20:
[root@toshiba1115 linux-2.4.20]# find /lib/modules/2.4.20 -name '*acpi*' -print [root@toshiba1115 linux-2.4.20]#
Just to make sure I started over and did it again. Same thing. I'm sure I'm missing just one simple step.
Quoted 2 lines · Ducrot Bruno
This one have know bug. Try a more recent one.
Signature · 10 lines
Greg Gulik http://www.gulik.org/greg/ greg @ gulik.org http://www.drivingevents.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · Gregory Gulik
For some reason no modules were installed in
/lib/modules/2.4.20:
did you run `make modules_install'?
Signature · 9 lines
"It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
A message that is not in the archive (sent off-list or not yet received): 20021209140714.H20336-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/[email protected]
Of course.
I just ran it again just now for about the tenth time and still no go. Here's the relavant part of the output from "make modules_install":
make[1]: Entering directory `/usr/src/linux-2.4.20/drivers'^M make -C acpi modules_install^M
make[2]: Entering directory /usr/src/linux-2.4.20/drivers/acpi'^M make[2]: Nothing to be done for modules_install'.^M make[2]: Leaving directory `/usr/src/linux-2.4.20/drivers/acpi'^M make -C atm modules_install^M
Yet that directory does seem to contain the files:
[root@toshiba1115 linux-2.4.20]# ls drivers/acpi/
Config.in battery.c executer ospm resources Makefile blacklist.c fan.c parser system.c ac.c bus.c hardware pci_bind.c tables acpi.o button.c include pci_irq.c tables.c acpi_bus.h dispatcher namespace pci_link.c thermal.c acpi_drivers.h driver.o numa.c pci_root.c toshiba_acpi.c acpi_ksyms.c ec.c os.o power.c utilities acpi_ksyms.o events osl.c processor.c utils.c
[root@toshiba1115 linux-2.4.20]#
Maybe I'll just wipe out that directory and start all over with a fresh copy of the kernel sources and acpi patch...
Quoted 2 lines · Matthew Wilcox
did you run `make
modules_install'?
Signature · 10 lines
Greg Gulik http://www.gulik.org/greg/ greg @ gulik.org http://www.drivingevents.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
A message that is not in the archive (sent off-list or not yet received): [email protected]
I did that my starting with a clean 2.4.20 kernel, applied the acpi-20021205-2.4.20.diff patches, reconfigured my kernel, did the correct kernel build procedure. Everything worked without apparent error and I do have files in the acpi driver directory:
[root@toshiba1115 pcmcia-cs-3.2.3]# ls /lib/modules/2.4.20/kernel/drivers/acpi/ ac.o battery.o button.o fan.o processor.o thermal.o toshiba_acpi.o
While updating my PCMCIA driver I saw the following errors:
make[2]: Leaving directory `/usr/src/pcmcia-cs-3.2.3/etc/cis'
-> Updating client scripts in /etc/pcmcia
-> Running depmod...
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/acpi/ac.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/acpi/battery.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/acpi/button.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/acpi/fan.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/acpi/processor.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/acpi/thermal.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/acpi/toshiba_acpi.o make[1]: Leaving directory `/usr/src/pcmcia-cs-3.2.3/etc' [root@toshiba1115 pcmcia-cs-3.2.3]#
Is this anything to worry about??
Quoted 1 line · Gregory Gulik
Maybe I'll just wipe out that directory and start all over with a fresh copy of the kernel sources and acpi patch...
Signature · 10 lines
Greg Gulik http://www.gulik.org/greg/ greg @ gulik.org http://www.drivingevents.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
A message that is not in the archive (sent off-list or not yet received): [email protected]
Still no joy...
Even tough everything "seemed" to compile and install I can't load my ACPI modules. Any time I try I get stuff like this:
[root@toshiba1115 root]# insmod battery 2>&1 | more /lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol acpi_get_handle_R2bfeb410 /lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol acpi_ut_exit_R4403d3ee /lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol acpi_os_free_R43b9bbb4 /lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol acpi_extract_package_R06f4a82a /lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol acpi_ut_trace_R8d457864 /lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol acpi_remove_notify_handler_R2bb55d6e /lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol acpi_ut_value_exit_Rdcbde352 /lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol acpi_evaluate_object_R39f1a5dc /lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol acpi_bus_get_status_Redecd2bd /lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol acpi_ut_debug_print_Rac38b5ca /lib/modules/2.4.20/kernel/drivers/acpi/battery.o: unresolved symbol acpi_bus_generate_event_R03047640 ...and so on...
I even logged the output of "make modules" and checked the acpi stuff and there is no sign of any kinds of errors...
Signature · 10 lines
Greg Gulik http://www.gulik.org/greg/ greg @ gulik.org http://www.drivingevents.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf