RedHat 9: How to use ACPI functions on a Toshiba Laptop?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
RedHat 9: How to use ACPI functions on a Toshiba Laptop?
Hello, I installed RedHat 9 on a Toshiba Satellite 5105-S501 laptop.
I'd like to use KLaptop since I'm on a laptop but it says
"Your computer doesn't have the Linux APM (Advanced Power Management) or ACPI software installed, or doesn't have the APM kernel drivers installed - check out the Linux Laptop-HOWTO document for information on how to install APM."
I googled about it all day long but I couldn't find much.
I found about APCI4Linux but I don't know if it's the thing I need.
Even if it's the thing I need, I do not understand how to install diff.gz files.
In another thread, I read that it's to patch something but since I'm such a newbie, I do not understand what it means.
Does anybody know a idiot's guide to enebling ACPI?
I'll really appreciate it if someone can tell me how I can use ACPI features on my laptop.
I have one question before doing what you said.
I see a folder named "linux-2.4.20-9" in /usr/src.
I still have to download 2.4.20 kernel and unpack it at /usr/src/linux, am I right?
Then something like BIOS came up and even though I couldn't find Kernel (Only Kernel Hacking is there), I found Toshiba Laptop support in Processor type and features.
Here's my current Configuration of Processor type and features.
Quote:
[*] Low latency scheduling
(Pentium-Pro/Celeron/Pentium-II) Processor family[*] Machine Check Exception
CPU Frequency scaling --->
<M> Toshiba Laptop support
<M> Dell laptop support
<M> /dev/cpu/microcode - Intel IA32 CPU microcode support
<M> /dev/cpu/*/msr - Model-specific register support
<M> /dev/cpu/*/cpuid - CPU information support
[ ] E820 proc support
<M> BIOS Enhanced Disk Drive calls determine boot disk (EXPERIMENTAL)
(4GB) High Memory Support[*] HIGHMEM I/O support
[ ] Math emulation[*] MTRR (Memory Ttype Range Register) support
[ ] Symmetric multi-processing support
[ ] Local APIC support on uniprocessors
[ ] Unsynced TSC support
And this is Configuration of General setup (ACPI support part only)
Quote:
[*] ACPI support
[ ] ACPI Debug Statements
<M> ACPI Bus Manager
<M> System
<M> Processor
<M> Button
<M> AC Adapter
<M> Embedded Controller
<M> Control Method Battery
<M> Thermal
I don't understand what those things tell or what I can do with them.
Should I modify it and Save Configuration to an Alternate File?
I'm sorry I'm such a
When I did "modprobe toshiba", nothing happened.
modprobe acpi & /etc/rc.d/init.d/acpid start did not work.
it appears that the acpi included with the redhat kernel is not complete.
the links above will get you toshiba laptop extras in the acpi section. I'm not sure what that will get you but I do know that I can't get my hp to work with the redhat kernel. brightness controls and the power button will not work.
I am going to use the 2.4.20 kernel with the patches, everything works on my machine with it.
Last edited by DavidPhillips; 04-22-2003 at 04:07 AM.
I installed the ACPI patch and Omnibook file.
I modprobed those three and got this result.
Quote:
[root@localhost root]# modprobe toshiba
[root@localhost root]# modprobe acpi
modprobe: Can't locate module acpi
[root@localhost root]# modprobe omnibook
/lib/modules/2.4.20-9/kernel/drivers/char/omnibook/omnibook.o: kernel-module version mismatch
/lib/modules/2.4.20-9/kernel/drivers/char/omnibook/omnibook.o was compiled for kernel version 2.4.20-9custom
while this kernel is version 2.4.20-9.
/lib/modules/2.4.20-9/kernel/drivers/char/omnibook/omnibook.o: insmod /lib/modules/2.4.20-9/kernel/drivers/char/omnibook/omnibook.o failed
/lib/modules/2.4.20-9/kernel/drivers/char/omnibook/omnibook.o: insmod omnibook failed
When I rebooted, I didn't see 2.4.20-9custom.
I tried to install acpid but in the README says "Verify ACPI is loaded by verifying the existence of /proc/acpi/event." and I don't have "acpi" folder in proc.
make dep clean bzImage modules modules_install install
we will need to see where it stopped and with what error
do you have a folder called /lib/modules/2.4.20-9custom
if not then building of modules failed
if there is no file in /usr/src/linux/arch/i386/boot/ named bzImage then the kernel did not build successfully or maybe install failed do to a lilo.conf problem
either way there should have been errors
please post the errors
kernel building errors is mostly always due to a configuration problem in the config file which can be corrected in menuconfig
follow these steps on the patched kernel source each time you build it...
the patch having no errors assumed..
cd /usr/src/linux
make distclean mrproper menuconfig
now load the config from file /boot/config-2.4.20-9 or whereever it is, or if you have not established a good config file for the system just go from the default and carefully enable only what you need. This process can take a few trial runs before everything clicks.
save your config file as you continue to make progress and reload them into the clean source each time you attempt to rebuild it.
after exiting menuconfig use this again..
make dep clean bzImage modules modules_install install
if it fails somewhere other than install, work on the menuconfig some more and try again until it works
if make install fails post the error
you can manually install the kernel if you have a sucessful make bzImage modules modules_install
Last edited by DavidPhillips; 04-22-2003 at 03:47 PM.
Yes, I think the kernel build failed.
I think I typed bzLmage instead of bzimage (I typed L in lower case ).
I'll try it again and post an error message if it comes up.
Should I install the patch and Omnibook file again and go through these steps again?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.