public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Suspend2 issues
@ 2006-02-23  5:14 Mike Myers
  2006-02-23  5:53 ` Ow Mun Heng
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Mike Myers @ 2006-02-23  5:14 UTC (permalink / raw
  To: gentoo-user

Hi everybody!

I'm having problems with a laptop and the suspend2 patched kernel.  It 
seems like whenever I suspend to ram, and then resume, the video doesn't 
come back.

Also,  I'm using the intel 2200 wireless card, with the ipw2200 module, 
and if I put the laptop into hibernate and then power it back on, the 
wireless card doesn't come back up.

Is there anything I can do to fix this?  Or somewhere I can go that will 
tell me how to fix those kinds of issues?
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Suspend2 issues
  2006-02-23  5:14 [gentoo-user] Suspend2 issues Mike Myers
@ 2006-02-23  5:53 ` Ow Mun Heng
  2006-02-23 14:41   ` Mike Myers
  2006-02-23  6:06 ` Richard Fish
  2006-02-23 20:34 ` Mike Myers
  2 siblings, 1 reply; 14+ messages in thread
From: Ow Mun Heng @ 2006-02-23  5:53 UTC (permalink / raw
  To: gentoo-user

On Wed, 2006-02-22 at 23:14 -0600, Mike Myers wrote:
> Hi everybody!
> 
> I'm having problems with a laptop and the suspend2 patched kernel.  It 
> seems like whenever I suspend to ram, and then resume, the video doesn't 
> come back.

suspend2-sources?

what video card? did you try the vbetool hack?
> 
> Also,  I'm using the intel 2200 wireless card, with the ipw2200 module, 
> and if I put the laptop into hibernate and then power it back on, the 
> wireless card doesn't come back up.

i have ipw2100. It's modprobed -r by suspend2 config files. IIRC you ma
have to modprob it back on. Not sure.

> 
> Is there anything I can do to fix this?  Or somewhere I can go that will 
> tell me how to fix those kinds of issues?

I would check with the suspend2 list. But a quick search through my own
list archive (under evolution) I found no reference to your problem
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Suspend2 issues
  2006-02-23  5:14 [gentoo-user] Suspend2 issues Mike Myers
  2006-02-23  5:53 ` Ow Mun Heng
@ 2006-02-23  6:06 ` Richard Fish
  2006-02-23 10:24   ` Marton Gabor
  2006-02-23 14:49   ` Mike Myers
  2006-02-23 20:34 ` Mike Myers
  2 siblings, 2 replies; 14+ messages in thread
From: Richard Fish @ 2006-02-23  6:06 UTC (permalink / raw
  To: gentoo-user

On 2/22/06, Mike Myers <fluffymikey@gmail.com> wrote:
> Hi everybody!
>
> I'm having problems with a laptop and the suspend2 patched kernel.  It
> seems like whenever I suspend to ram, and then resume, the video doesn't
> come back.

More details please.  (video card, which X11 driver, which
console/framebuffer driver, are you suspending from console or X,
etc).

FYI, both the ATI and NVidia proprietary drivers have some support for
suspend-to-ram (you do _not_ need suspend2 or a patched kernel for
this however), but I find it works best when suspending from within X,
and the console may or may not be restored.

> Also,  I'm using the intel 2200 wireless card, with the ipw2200 module,
> and if I put the laptop into hibernate and then power it back on, the
> wireless card doesn't come back up.

Never saw this problem...it should work fine.  Is the module reloaded
when the system resumes?  Anything show up in dmesg or the system log?

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Suspend2 issues
  2006-02-23  6:06 ` Richard Fish
@ 2006-02-23 10:24   ` Marton Gabor
  2006-02-23 14:49   ` Mike Myers
  1 sibling, 0 replies; 14+ messages in thread
From: Marton Gabor @ 2006-02-23 10:24 UTC (permalink / raw
  To: gentoo-user

Hi!

I also have problems with suspend2. I emerged and compiled the latest 
suspend2-sources, boots fine, hubernates fine. But: I have a Intel 
HDA(alc880) audio card integrated, and I need to use the realtek audio 
pack to make it work which compiles alsa-drivers, alsa-utils, 
etc.....(with alsa-drivers from portage the audio card emits wierd 
noises that are extremely loud when I don't play anything), so the 
problem is that if I use a suspend2-sources kernel, alsaconf sais that 
there's no PCI PnP cards in my laptop, everyting works fine with any 
gentoo-sources kernel. Is there someone aware of the solution?

Marton Gabor
<gabor.marton@vehok.vein.hu>,<ICQ UIN: 169394884>,<T: +36 30 447-2042>
VE-MIK
VeHoK informatikai megbizott
informatika-l adminisztrator
informatika-lev adminisztrator
bsc-info adminisztrator
gazdinfo adminisztrator




-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Suspend2 issues
  2006-02-23  5:53 ` Ow Mun Heng
@ 2006-02-23 14:41   ` Mike Myers
  0 siblings, 0 replies; 14+ messages in thread
From: Mike Myers @ 2006-02-23 14:41 UTC (permalink / raw
  To: gentoo-user

Ow Mun Heng wrote:

>On Wed, 2006-02-22 at 23:14 -0600, Mike Myers wrote:
>  
>
>>Hi everybody!
>>
>>I'm having problems with a laptop and the suspend2 patched kernel.  It 
>>seems like whenever I suspend to ram, and then resume, the video doesn't 
>>come back.
>>    
>>
>
>suspend2-sources?
>
>what video card? did you try the vbetool hack?
>  
>

I'm using the suspend2-sources 2.6.15-suspend2-r6 kernel, yes.  My video 
card is an intel Mobile Accelerated graphics card, and I'm using the 
vesa driver until I can get the intel driver for it installed.  I tried 
to install vbetool, but it wouldn't compile, so I couldn't use it.

>>Also,  I'm using the intel 2200 wireless card, with the ipw2200 module, 
>>and if I put the laptop into hibernate and then power it back on, the 
>>wireless card doesn't come back up.
>>    
>>
>
>i have ipw2100. It's modprobed -r by suspend2 config files. IIRC you ma
>have to modprob it back on. Not sure.
>
>  
>
after resuming, lsmod shows it to still be loaded.  rmmod ipw2200 and 
then modprobe ipw2200 doesn't bring it back up.  I have to reboot for it 
to come back.

>>Is there anything I can do to fix this?  Or somewhere I can go that will 
>>tell me how to fix those kinds of issues?
>>    
>>
>
>I would check with the suspend2 list. But a quick search through my own
>list archive (under evolution) I found no reference to your problem
>  
>
I'll try that, I just wanted to try the gentoo lists first in case it 
had anything to do with gentoo. :P
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Suspend2 issues
  2006-02-23  6:06 ` Richard Fish
  2006-02-23 10:24   ` Marton Gabor
@ 2006-02-23 14:49   ` Mike Myers
  2006-02-23 15:53     ` Richard Fish
  1 sibling, 1 reply; 14+ messages in thread
From: Mike Myers @ 2006-02-23 14:49 UTC (permalink / raw
  To: gentoo-user

Richard Fish wrote:

>On 2/22/06, Mike Myers <fluffymikey@gmail.com> wrote:
>  
>
>>Hi everybody!
>>
>>I'm having problems with a laptop and the suspend2 patched kernel.  It
>>seems like whenever I suspend to ram, and then resume, the video doesn't
>>come back.
>>    
>>
>
>More details please.  (video card, which X11 driver, which
>console/framebuffer driver, are you suspending from console or X,
>etc).
>  
>
I'm suspending from X, using the klaptop application.  I'm using the 
vesa driver for an intel video card.


>Never saw this problem...it should work fine.  Is the module reloaded
>when the system resumes?  Anything show up in dmesg or the system log?
>
>-Richard
>
>  
>
dmesg just says something about 'error -2' and ACPI when I try to remove 
and reload the module.  I can try it and give you exactly what it says 
if you need me to.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Suspend2 issues
  2006-02-23 14:49   ` Mike Myers
@ 2006-02-23 15:53     ` Richard Fish
  2006-02-23 17:35       ` Mike Myers
  0 siblings, 1 reply; 14+ messages in thread
From: Richard Fish @ 2006-02-23 15:53 UTC (permalink / raw
  To: gentoo-user

On 2/23/06, Mike Myers <fluffymikey@gmail.com> wrote:
> I'm suspending from X, using the klaptop application.  I'm using the
> vesa driver for an intel video card.

The vesa driver is pretty much the driver-of-last-resort.  I would
_not_ expect proper power management support from this.

Try the i810 driver instead, it should have support for intel
integrated graphics.

> dmesg just says something about 'error -2' and ACPI when I try to remove
> and reload the module.  I can try it and give you exactly what it says
> if you need me to.

Yes.  The ACPI messages are probably not important, but if you are
getting an error unloading or reloading the module, then that is a
problem.  My initial guess is probably something about firmware....

I would suggest emerging and using the hibernate script
(sys-power/hibernate-script).  It allows a great deal of
customization, including restarting services, reloading of modules,
etc in response to suspend-to-ram or suspend-to-disk operations.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Suspend2 issues
  2006-02-23 15:53     ` Richard Fish
@ 2006-02-23 17:35       ` Mike Myers
  0 siblings, 0 replies; 14+ messages in thread
From: Mike Myers @ 2006-02-23 17:35 UTC (permalink / raw
  To: gentoo-user

Richard Fish wrote:

>On 2/23/06, Mike Myers <fluffymikey@gmail.com> wrote:
>  
>
>>I'm suspending from X, using the klaptop application.  I'm using the
>>vesa driver for an intel video card.
>>    
>>
>
>The vesa driver is pretty much the driver-of-last-resort.  I would
>_not_ expect proper power management support from this.
>
>Try the i810 driver instead, it should have support for intel
>integrated graphics.
>
>  
>
I'm not all suprised that you'd say that, really.  I tried the i810 
driver and it wouldn't work.  That's why I'm using the vesa driver.  I 
tried downloading the graphics driver for the video card from intel's 
website, there was an rpm and a tarball.  The rpm wouldn't install and 
the tarball wouldn't compile.  I using the drivers in the kernel but 
those didn't work either.  X just wouldn't start with it.  X reports the 
video card to be an Intel 915GM/910ML/915MS Graphics Controllor.  From 
what I've read, the i810 driver is supposed to work with that card, but 
apparently it doesn't.  Maybe you have some suggestions?

>>dmesg just says something about 'error -2' and ACPI when I try to remove
>>and reload the module.  I can try it and give you exactly what it says
>>if you need me to.
>>    
>>
>
>Yes.  The ACPI messages are probably not important, but if you are
>getting an error unloading or reloading the module, then that is a
>problem.  My initial guess is probably something about firmware....
>
>I would suggest emerging and using the hibernate script
>(sys-power/hibernate-script).  It allows a great deal of
>customization, including restarting services, reloading of modules,
>etc in response to suspend-to-ram or suspend-to-disk operations.
>
>-Richard
>
>  
>
I have the hibernate script installed already, but I haven't really 
messed with that.  I'll check it out and see if I can get something to 
work.  I've just been mostly concerned about the suspend to ram function 
than the hibernate function.

Thanks for the help!

Mike
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Suspend2 issues
  2006-02-23  5:14 [gentoo-user] Suspend2 issues Mike Myers
  2006-02-23  5:53 ` Ow Mun Heng
  2006-02-23  6:06 ` Richard Fish
@ 2006-02-23 20:34 ` Mike Myers
  2006-02-23 23:35   ` Iain Buchanan
  2 siblings, 1 reply; 14+ messages in thread
From: Mike Myers @ 2006-02-23 20:34 UTC (permalink / raw
  To: gentoo-user

Just an update;

I unmasked and emerged vbetool-0.3 and it installed and emerged just 
fine.  I configured the /etc/hibernate/hibernate.conf script to use it 
and now it works, but only if I use the hibernate command.  If I use 
kde's klaptop monitor, it doesn't seem to use the hibernate script, 
meaning no video after suspend, and no network cards after hibernate.  
Is there anything I can do to get it to read that script?
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Suspend2 issues
  2006-02-23 20:34 ` Mike Myers
@ 2006-02-23 23:35   ` Iain Buchanan
  2006-02-24  0:18     ` Mike Myers
  0 siblings, 1 reply; 14+ messages in thread
From: Iain Buchanan @ 2006-02-23 23:35 UTC (permalink / raw
  To: gentoo-user

On Thu, 2006-02-23 at 14:34 -0600, Mike Myers wrote:
> Just an update;
> 
> I unmasked and emerged vbetool-0.3 and it installed and emerged just 
> fine.  I configured the /etc/hibernate/hibernate.conf script to use it 
> and now it works, but only if I use the hibernate command.  If I use 
> kde's klaptop monitor, it doesn't seem to use the hibernate script, 
> meaning no video after suspend, and no network cards after hibernate.  
> Is there anything I can do to get it to read that script?

I don't actually have klaptop working properly yet (tells me there is no
ACPI support...)

But, I suspect that klaptop uses swsusp, not suspend2.

If this is the case, there was talk on the suspend2 list for overriding
that somehow (just looking through emails now...)

The proposal was to be able to:

$ echo "/sbin/hibernate" > /proc/suspend2/override_swsusp

to set your "suspend type" and then:

$ echo disk > /sys/power/state

would use the hibernate script.

I don't know if this is implemented yet.  Also, some kde person may tell
you that klaptop can support whatever method of suspend you want - I
don't know.

I just suspend from a terminal anyway :)

HTH,
-- 
Iain Buchanan <iain at netspace dot net dot au>

There is nothing so easy but that it becomes difficult when you do it
reluctantly.
		-- Publius Terentius Afer (Terence)

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Suspend2 issues
  2006-02-23 23:35   ` Iain Buchanan
@ 2006-02-24  0:18     ` Mike Myers
  2006-02-24  1:49       ` Iain Buchanan
  2006-02-24  4:41       ` Richard Fish
  0 siblings, 2 replies; 14+ messages in thread
From: Mike Myers @ 2006-02-24  0:18 UTC (permalink / raw
  To: gentoo-user

Hey Iain,

Thanks for the info!  I kinda figured that klaptop did something 
different.  It obviously didn't run the hibernate.conf scripts.  I guess 
I can settle for running hibernate in the console, I mean, that's better 
than nothing, really.  Klaptop and gkrellm at least still give a good 
indication of the battery status.   Anyway, I'll start bugging the 
people on the suspend2 lists now about it.  thanks a lot!

Mike

Iain Buchanan wrote:

>On Thu, 2006-02-23 at 14:34 -0600, Mike Myers wrote:
>  
>
>>Just an update;
>>
>>I unmasked and emerged vbetool-0.3 and it installed and emerged just 
>>fine.  I configured the /etc/hibernate/hibernate.conf script to use it 
>>and now it works, but only if I use the hibernate command.  If I use 
>>kde's klaptop monitor, it doesn't seem to use the hibernate script, 
>>meaning no video after suspend, and no network cards after hibernate.  
>>Is there anything I can do to get it to read that script?
>>    
>>
>
>I don't actually have klaptop working properly yet (tells me there is no
>ACPI support...)
>
>But, I suspect that klaptop uses swsusp, not suspend2.
>
>If this is the case, there was talk on the suspend2 list for overriding
>that somehow (just looking through emails now...)
>
>The proposal was to be able to:
>
>$ echo "/sbin/hibernate" > /proc/suspend2/override_swsusp
>
>to set your "suspend type" and then:
>
>$ echo disk > /sys/power/state
>
>would use the hibernate script.
>
>I don't know if this is implemented yet.  Also, some kde person may tell
>you that klaptop can support whatever method of suspend you want - I
>don't know.
>
>I just suspend from a terminal anyway :)
>
>HTH,
>  
>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Suspend2 issues
  2006-02-24  0:18     ` Mike Myers
@ 2006-02-24  1:49       ` Iain Buchanan
  2006-02-24  4:41       ` Richard Fish
  1 sibling, 0 replies; 14+ messages in thread
From: Iain Buchanan @ 2006-02-24  1:49 UTC (permalink / raw
  To: gentoo-user

On Thu, 2006-02-23 at 18:18 -0600, Mike Myers wrote:
> Thanks for the info!  I kinda figured that klaptop did something 
> different.  It obviously didn't run the hibernate.conf scripts.  I guess 
> I can settle for running hibernate in the console, I mean, that's better 
> than nothing, really.

You could also set up a taskbar shortcut:

bash -c "sudo hibernate"

(Don't know if running it in bash is necessary, but I have multiline
taskbar buttons, so I spawn them with bash)

Then you can set a nice icon to it!  You could even give yourself sudo
privileges for hibernate so you don't have to enter a password...

aaahhh, Linux!
-- 
Iain Buchanan <iain at netspace dot net dot au>

A transistor protected by a fast-acting fuse will protect the fuse by
blowing first.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Suspend2 issues
  2006-02-24  0:18     ` Mike Myers
  2006-02-24  1:49       ` Iain Buchanan
@ 2006-02-24  4:41       ` Richard Fish
  2006-02-24  7:58         ` Mike Myers
  1 sibling, 1 reply; 14+ messages in thread
From: Richard Fish @ 2006-02-24  4:41 UTC (permalink / raw
  To: gentoo-user

On 2/23/06, Mike Myers <fluffymikey@gmail.com> wrote:
> Hey Iain,
>
> Thanks for the info!  I kinda figured that klaptop did something
> different.  It obviously didn't run the hibernate.conf scripts.  I guess
> I can settle for running hibernate in the console, I mean, that's better
> than nothing, really.  Klaptop and gkrellm at least still give a good
> indication of the battery status.   Anyway, I'll start bugging the
> people on the suspend2 lists now about it.  thanks a lot!

If you have a standby button on your laptop, you can probably make it
do a standby or hibernate by merging acpid and modifying
/etc/acpi/default.sh.

Personally, my system does a suspend-to-ram when I press the standby
button, and a suspend-to-disk when I press (momentarily) the power
button.  My actions for the buttons look like:

                        power)
                                if test -f /etc/.acpi_ignore_power; then
                                        rm -f /etc/.acpi_ignore_power
>/dev/null 2>&1
                                else
                                        touch /etc/.acpi_ignore_power
                                        /usr/sbin/hibernate
                                fi
                                ;;
                        sleep)  /usr/sbin/hibernate -F
/etc/hibernate/standby.conf
                                ;;

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Suspend2 issues
  2006-02-24  4:41       ` Richard Fish
@ 2006-02-24  7:58         ` Mike Myers
  0 siblings, 0 replies; 14+ messages in thread
From: Mike Myers @ 2006-02-24  7:58 UTC (permalink / raw
  To: gentoo-user

Thanks a million for the info everybody.  You've all given me a great
place to start, so I'll try out some of these ideas and see what
happens.

Mike

On 2/23/06, Richard Fish <bigfish@asmallpond.org> wrote:
> On 2/23/06, Mike Myers <fluffymikey@gmail.com> wrote:
> > Hey Iain,
> >
> > Thanks for the info!  I kinda figured that klaptop did something
> > different.  It obviously didn't run the hibernate.conf scripts.  I guess
> > I can settle for running hibernate in the console, I mean, that's better
> > than nothing, really.  Klaptop and gkrellm at least still give a good
> > indication of the battery status.   Anyway, I'll start bugging the
> > people on the suspend2 lists now about it.  thanks a lot!
>
> If you have a standby button on your laptop, you can probably make it
> do a standby or hibernate by merging acpid and modifying
> /etc/acpi/default.sh.
>
> Personally, my system does a suspend-to-ram when I press the standby
> button, and a suspend-to-disk when I press (momentarily) the power
> button.  My actions for the buttons look like:
>
>                         power)
>                                 if test -f /etc/.acpi_ignore_power; then
>                                         rm -f /etc/.acpi_ignore_power
> >/dev/null 2>&1
>                                 else
>                                         touch /etc/.acpi_ignore_power
>                                         /usr/sbin/hibernate
>                                 fi
>                                 ;;
>                         sleep)  /usr/sbin/hibernate -F
> /etc/hibernate/standby.conf
>                                 ;;
>
> -Richard
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
Mike Myers
mike@yaay.us
http://www.yaay.us

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-02-24  8:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-23  5:14 [gentoo-user] Suspend2 issues Mike Myers
2006-02-23  5:53 ` Ow Mun Heng
2006-02-23 14:41   ` Mike Myers
2006-02-23  6:06 ` Richard Fish
2006-02-23 10:24   ` Marton Gabor
2006-02-23 14:49   ` Mike Myers
2006-02-23 15:53     ` Richard Fish
2006-02-23 17:35       ` Mike Myers
2006-02-23 20:34 ` Mike Myers
2006-02-23 23:35   ` Iain Buchanan
2006-02-24  0:18     ` Mike Myers
2006-02-24  1:49       ` Iain Buchanan
2006-02-24  4:41       ` Richard Fish
2006-02-24  7:58         ` Mike Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox