Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
However, it began doing so in a bizarre way. I didn't understand very well your last post, and since I was already fed up with this, I decided to just paste your code in my rc.M which didn't have anything like it. I pasted it before the network inicialization stuff.
Then I rebooted my pc and during the boot up it reported an error about unrecognizing two lines of the code I pasted from you. After the boot, it also didn't have internet working, so I edited rc.M and removed your code. Then I shuted down the machine from kde just to see if it was working and voilá!, it sure was, but I thought that if I removed your code, it wouldn't shutdown again. But in hope it would, I rebooted and then shutdown again and it was still working and with internet back to work!
So, my question now is, why is it still working even without your code in rc.M?
Thanks!!
Last edited by chocobanana; 03-24-2005 at 08:38 AM.
I think what happened is that the apm module was (at last ) properly loaded, and thus able to power off your system. The module is of course not unloaded just because you remove those lines in rc.M.
But, I'm probably (at least somewhat) wrong, since you say you just copied the script snippet into rc.M, and you don't say anything about uncommenting the apm lines. So, it might be that you have a /etc/rc.d/rc.acpid script, which did something good (as well as something bad, since there were some error messages).
A question: what's the output if you do modprobe apm ? If there is no output, is apm listed when you do lsmod ? If so, then there is no problem really, except for making the apm module load during boot.
I tryed lsmod but it doesn't show anything about apm.
As for the modprobe apm output:
Code:
/lib/modules/2.4.29/kernel/arch/i386/kernel/apm.o.gz: init_module: No such device
/lib/modules/2.4.29/kernel/arch/i386/kernel/apm.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.29/kernel/arch/i386/kernel/apm.o.gz: insmod /lib/modules/2.4.29/kernel/arch/i386/kernel/apm.o.gz failed
/lib/modules/2.4.29/kernel/arch/i386/kernel/apm.o.gz: insmod apm failed
Don't really understand it...
I also tryed "dmesg | grep ACPI":
Code:
apm: overridden by ACPI.
apm: overridden by ACPI.
Looks like acpi was somehow activated instead of APM. If one looks carefully at Chinaman's code, the apm code in commented but the acpi isn't. But I still don't get it, since I had that error at the first boot up.
BTW, I suspect that apm or acpi are only loaded before shutdown, so is there a script for the shutdown process? It's because right before the computer shutdown, I get the same output of "modprobe apm"...
Thanks
Last edited by chocobanana; 03-24-2005 at 09:32 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.