closing lid on laptop suspends it
I have a Toshiba Tecra M9 laptop running a 2.6.31 kernel.
I'm not even sure if this is really the correct list, but if not, hopefully somebody can give me a gentle shove in the right direction.
The problem I'm having with this laptop is that once it has booted up, prior to logging into the gnome desktop, if I (open if not already opened and then) close the lid, it suspends, even when plugged into AC.
If I log into gnome, my gnome-power-manager preferences are applied and closing the lid with AC plugged in only blanks the screen, it does not suspend the laptop.
Additionally, after this suspend-on-lid-close operation, I get the following complaints on the kernel message buffer:
Feb 8 12:33:58 brian-laptop kernel: [14735.616976] NVRM: rm_init_adapter(0) failed Feb 8 12:34:03 brian-laptop kernel: [14739.756068] NVRM: RmInitAdapter failed! (0x26:0x38:1096) Feb 8 12:34:03 brian-laptop kernel: [14739.756075] NVRM: rm_init_adapter(0) failed Feb 8 12:34:07 brian-laptop kernel: [14744.044665] NVRM: RmInitAdapter failed! (0x26:0x38:1096) Feb 8 12:34:07 brian-laptop kernel: [14744.044671] NVRM: rm_init_adapter(0) failed Feb 8 12:34:11 brian-laptop kernel: [14748.200786] NVRM: RmInitAdapter failed! (0x26:0x38:1096)
and the graphic display is no longer working. The above of course may or may not be related, but might just be a casualty of some other problem. I just offer it in hopes that it provides more clue as to what is going on.
Thots?
b.
Quoted 5 lines · Brian J. Murrell
I have a Toshiba Tecra M9 laptop running a 2.6.31 kernel.
I'm not even sure if this is really the correct list, but if not, hopefully somebody can give me a gentle shove in the right direction.
Quoted 7 lines
The problem I'm having with this laptop is that once it has booted up, prior to logging into the gnome desktop, if I (open if not already opened and then) close the lid, it suspends, even when plugged into AC.
If I log into gnome, my gnome-power-manager preferences are applied and closing the lid with AC plugged in only blanks the screen, it does not suspend the laptop.
I suspect there's some power management task running even before login that's using some default preferences. The kernel doesn't trigger a suspend by itself.
Quoted 11 lines
Additionally, after this suspend-on-lid-close operation, I get the following complaints on the kernel message buffer:
Feb 8 12:33:58 brian-laptop kernel: [14735.616976] NVRM: rm_init_adapter(0) failed Feb 8 12:34:03 brian-laptop kernel: [14739.756068] NVRM: RmInitAdapter failed! (0x26:0x38:1096) Feb 8 12:34:03 brian-laptop kernel: [14739.756075] NVRM: rm_init_adapter(0) failed Feb 8 12:34:07 brian-laptop kernel: [14744.044665] NVRM: RmInitAdapter failed! (0x26:0x38:1096) Feb 8 12:34:07 brian-laptop kernel: [14744.044671] NVRM: rm_init_adapter(0) failed Feb 8 12:34:11 brian-laptop kernel: [14748.200786] NVRM: RmInitAdapter failed! (0x26:0x38:1096)
Quoted 4 lines
and the graphic display is no longer working. The above of course may or may not be related, but might just be a casualty of some other problem. I just offer it in hopes that it provides more clue as to what is going on.
Those messages come from the NVIDIA binary driver, we have no way of knowing what they mean - only they can likely help you with them..
Quoted 4 lines · Robert Hancock
I suspect there's some power management task running even before login that's using some default preferences. The kernel doesn't trigger a suspend by itself.
Just to tie up loose ends, yes, indeed, it was a power manager, gnome-power-manager, started by gdm that was at fault here. The problem is that the default policy for g-p-m is to suspend on lid close, even when plugged into AC. One has to jump through a hoop or two to change the gdm user's policy so that it overrides the default policy.
Thanx for the help!
b.