Compaq Notebook RH 8.0/9.0 and APM

Ok well I'm confused. I have a compaq Presaro 1200X106 notebook (VIA Mobo, AMD K2 475, 6 Gig HD, 160 Ram, Trident Video) and for some reason a shutdown does not full shut the system down. The system worked fine under Windoze 98, ME, 2000 and XP with automatic power down working fine.

Linux Hardware 765 This topic was started by ,


data/avatar/default/avatar37.webp

2 Posts
Location -
Joined 2003-04-07
Ok well I'm confused. I have a compaq Presaro 1200X106 notebook (VIA Mobo, AMD K2 475, 6 Gig HD, 160 Ram, Trident Video) and for some reason a shutdown does not full shut the system down. The system worked fine under Windoze 98, ME, 2000 and XP with automatic power down working fine. Redhat tells be to turn of APM, which makes no sense since APM worked fine with the MS software, plus when I turn APM off I loose my battery monitor. I'm thinking somebody most had found away around this wierdness.
 
What happens -
 
Do shutdown from Gnome (or "shutdown" or "poweroff" in terminal)
System shutsdown normally
final message "flushing HD" (perfectly normal)
then screen goes blank but -
Power stays on! 8)
The power will stay on until battery completly flat.
 
The only workaround is to holddown the power button for something like 2 hours (ok 10 sec) until the system does a hard power off. If you hold it down for 1 sec too long and it will start booting again, which (thanks compaq) requires you either let it completely reload or be prepared to reset your bios settings because Compaq thinks you have a bio error (god they suck ;( ).
 
If I listen to RedHat and disable APM I loose my battery monitor, loose about 1 hours of run time and I still have to do a hard shut down, I just get a nice "shutdown system" message after "flushing HD." This notebook is 100% APM compatable so I don't get it.
 
Any thoughts.....

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar04.webp

1 Posts
Location -
Joined 2003-04-08
You have a couple issues there. I own a Compaq 3015US and have the same issues.
 
This one is because these newer compaq laptops do NOT support APM (or any other legacy items whatsoever). APM is not working in Windows, it is ACPI supported power management. So you will need to recompile your kernel.
 
Download the latest acpi code from http://sourceforge.net/project/showfiles.php?group_id=36832
 
use this to patch your included kernel source. If you do not do this you will have working acpi, but none of it will work.
 
enable acpi in the kernel and compile. This will give you working acpi. If you wish to hibernate as well, patch the kernel with the swsusp code and you will have hibernation.
 
 
remember to 'make mrproper' before you compile or it will not work.
 
I hope this helps.

data/avatar/default/avatar37.webp

2 Posts
Location -
Joined 2003-04-07
OP
Well at least I know what it is - now do I want to go to the trouble to fix it. I hate dealing with the kernel (hence why I use Redhat).
 
Thanks

data/avatar/default/avatar06.webp

122 Posts
Location -
Joined 2001-10-22
Greetings,
 
Get the
1) stable kernel ( if you use <=2.4.19 ) , 2) Acpi patch , 3) ospmd ,
4) swsusp
 
5 ) Patch the kernel with all that
 
6 ) su root | cd /usr/src/LINUX/ | make menuconfig | *** *** , load alternative config ( So that way you wont lose the default config of your current compiled kernel , as for <M> <*>
 
7 ) Make your changes about acpi/APM , ( Try to keep only the main Advanced Power Management and not the ones within , so only the ACPI ones , all of'em not the CPU enumerator only )
 
8 )Save your changes
 
9 )exit
 
10 ) make bzImage clean **modules**( or make dep ) = make bzImage | make clean | make modules
 
***Hint*** Learn to save/load alternative configurations , in the near future it may save you from lots of troubles
 
** Keep in mind that by making modules , you need to install them so if something goes wrong don't you worry you can get'em back by rpm -ivh --nodeps k_defltXXX.rpm and removing k_deflt , k_source
 
11 ) make modules install
 
12 A( ) GRUB/LILO ?
 
A )GRUB : just (1) type GRUB | (2) root (hd0,X) | (3)setup (hd0,X)
(4) reboot | (5) mk_initrd ( you get that way your splash screen back as well
 
() If you get a kernel panic due to VFS etc , make sure you've checked either as <*> either as <M> within your kernel's configuration ( and it's reiserFS ) the reiserFS support , and if <M> you must make modules install otherwise you need'em as (included in your kernel instead)
 
another : the scsi emulation if you're on laptop and your combo is the new ones which emulates scsi and sure to check which ones you got as <M> and <*> So If you checkd all that just try :
 
within your grub's prompt
 
root (hd0,X) | setup (hd0,X) | kernel=/boot/vmlinuz | initrd=/boot/initrd | chainloader (hd0,X)+1 ( try +21 if +1 doesnt work ) | boot ( you should get your boot menu and keep going with the boot process )
 
() (hd0,X) ie : (hd0,1)
 
Farewell