Mailing List Archive

[SOLVED] M2NPV-VM wakes up immediately on s3 suspend
The Problem:

I have a frontend running on an Asus M2NPV-VM (BIOS 1201), and was
having problems with S3. The box would enter standby (and resume)
perfectly if all USB buses were disabled in /proc/acpi/wakeup, but
would wake up immediately (i.e., after one or two seconds) otherwise.
However, I have an USB Gyration Universal Media Center Remote, and
naturally would like to use it to wake up the frontend.

The following thread pointed to an unacceptable solution, which is
to unload the kernel module ohci_hcd during suspend. This would fix
the immediate wake-up (behaving exactly like disabling all USB buses
on /proc/acpi/wakeup), but naturally would not let me wake up using an
USB device:

http://www.gossamer-threads.com/lists/mythtv/users/309798

After much fussing with no success (changing kernel versions,
switching suspend methods, etc.), I came around to my last resort:
mucking with the hardware. I found out that unplugging all USB
devices aside from the remote (4 wireless joypads for MythGame, 2
dancepads for StepMania, and 1 smart UPS) would solve the problem.
But that was not satisfactory either; I don't want to have to plug and
unplug stuff everytime I suspend or resume.

The Solution:

I figured out that you have to enable the +5VSB jumper on all the
USB hubs that have devices connected to them, even if you're not going
to use them to wake up the box! In other words, turn them ALL on, not
just the one where the wake-up device is connected. Don't worry about
joysticks waking up your machine randomly, because they won't;
apparently only devices with power buttons can do so.

Good luck,
Adolfo

PS: On my next post, how to fix the power button on the Gyration remote...
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [SOLVED] M2NPV-VM wakes up immediately on s3 suspend [ In reply to ]
On Feb 16, 2008 5:15 AM, Adolfo R. Brandes <arbrandes@gmail.com> wrote:

> The Problem:
>
> I have a frontend running on an Asus M2NPV-VM (BIOS 1201), and was
> having problems with S3. The box would enter standby (and resume)
> perfectly if all USB buses were disabled in /proc/acpi/wakeup, but
> would wake up immediately (i.e., after one or two seconds) otherwise.
> However, I have an USB Gyration Universal Media Center Remote, and
> naturally would like to use it to wake up the frontend.
>
> The following thread pointed to an unacceptable solution, which is
> to unload the kernel module ohci_hcd during suspend. This would fix
> the immediate wake-up (behaving exactly like disabling all USB buses
> on /proc/acpi/wakeup), but naturally would not let me wake up using an
> USB device:
>
> http://www.gossamer-threads.com/lists/mythtv/users/309798
>
> After much fussing with no success (changing kernel versions,
> switching suspend methods, etc.), I came around to my last resort:
> mucking with the hardware. I found out that unplugging all USB
> devices aside from the remote (4 wireless joypads for MythGame, 2
> dancepads for StepMania, and 1 smart UPS) would solve the problem.
> But that was not satisfactory either; I don't want to have to plug and
> unplug stuff everytime I suspend or resume.
>
> The Solution:
>
> I figured out that you have to enable the +5VSB jumper on all the
> USB hubs that have devices connected to them, even if you're not going
> to use them to wake up the box! In other words, turn them ALL on, not
> just the one where the wake-up device is connected. Don't worry about
> joysticks waking up your machine randomly, because they won't;
> apparently only devices with power buttons can do so.
>
> Good luck,
> Adolfo
>
> PS: On my next post, how to fix the power button on the Gyration remote...
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

I have this same motherboard but have been unable to get S3 suspend to work
on Fedora 8. It sleeps just fine and i can wake via remote but on resume
the video doesnt comeback. I can ssh and all but the video doesnt wake up.
The only solution is to reboot. Did you have this issue? How did you fix
this?

Thanks,
Mitchell
Re: [SOLVED] M2NPV-VM wakes up immediately on s3 suspend [ In reply to ]
On Feb 16, 2008 1:48 PM, Mitch Gore <mitchell.gore@gmail.com> wrote:
> I have this same motherboard but have been unable to get S3 suspend to work
> on Fedora 8. It sleeps just fine and i can wake via remote but on resume
> the video doesnt comeback. I can ssh and all but the video doesnt wake up.
> The only solution is to reboot. Did you have this issue? How did you fix
> this?

Yes, I did have the video problem at first. I eventually got rid of
it, although I tried so many things that at this point I'm not sure
what actually did it. But let's see if I can help.

First of all, I'm not running Fedora 8, but Ubuntu Gutsy. I'm not
running the default kernel, which is based on 2.6.22, but I remember I
got suspend working with it. Still, I had to compile a vanilla
2.6.24-rc6 in order to fix an issue with my remote and the onboard
ethernet (which would die upon resume), and suspend seems to be
working even better with it. Under 2.6.22 I had the occasional need
to hard-boot. Oh, and I applied these patches to the kernel in order
to fix suspend and resume on another board, an Asus A8N SLI Premium:

http://www.sisk.pl/kernel/hibernation_and_suspend/2.6.24-rc6/patches/

Maybe it helped, maybe it didn't, I'm not sure. It certainly helped
the A8N, though. See comment 56 on this bug:

http://bugzilla.kernel.org/show_bug.cgi?id=9528

Also, I'm not running onboard video on the M2NPV-VM, but an MSI 6600GT
that I had lying around; it's better for running Google Earth and 3D
emulators, even though it sucks up much more power. I didn't try
suspending with the onboard 6150.

The Ubuntu suspend scripts are pretty good. At first I tried using
uswsusp (s2ram) and hibernate but they didn't work, coughing up the
same symptoms you're having (no video). In any case, I messed with
/etc/default/acpi-support, which configures the Ubuntu scripts, and
added the following to the Device section of xorg.conf, because
apparently AGP support in the Nvidia drivers breaks resume.

Option "NvAGP" "0"

And under /etc/default/acpi-support, the lines I think I changed were:

SAVE_VBE_STATE=true
POST_VIDEO=true
SAVE_VIDEO_PCI_STATE=false

I'm currently running the nvidia binary drivers v169.07, from nvidia's
website, but that's just because I had to recompile the kernel. The
Ubuntu default one, v100.14.19, was also working with suspend.

What else... I have to kill mythfrontend before suspending, and bring
it up afterwards. Otherwise, even though resume works, mythfrontend
hangs for some reason. To bring it up on resume I use this nice
little utility:

http://www.realh.ukfsn.org/reveille.shtml

Oh, and I had to mess with the gnome power management settings so that
the screen wouldn't be locked on resume, but I'm guessing you already
did something like that.

I think that's about it. If I remember anything else I did I'll post it here!

Adolfo
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [SOLVED] M2NPV-VM wakes up immediately on s3 suspend [ In reply to ]
Me:
> I think that's about it. If I remember anything else I did I'll post it here!

I've been think this over, and if I remember correctly what finally
fixed the no-video-on-resume problem was a BIOS upgrade to version
1201. What BIOS are you running?

Adolfo
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [SOLVED] M2NPV-VM wakes up immediately on s3 suspend [ In reply to ]
On Feb 17, 2008 6:43 AM, Adolfo R. Brandes <arbrandes@gmail.com> wrote:

> Me:
> > I think that's about it. If I remember anything else I did I'll post it
> here!
>
> I've been think this over, and if I remember correctly what finally
> fixed the no-video-on-resume problem was a BIOS upgrade to version
> 1201. What BIOS are you running?
>
> Adolfo
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


Yes thats the bios i am running. maybe i should reflash just to make sure.

Mitchell
Re: [SOLVED] M2NPV-VM wakes up immediately on s3 suspend [ In reply to ]
On Feb 17, 2008 12:36 PM, Mitch Gore <mitchell.gore@gmail.com> wrote:
> Yes thats the bios i am running. maybe i should reflash just to make sure.

Check this out:

http://bugzilla.kernel.org/show_bug.cgi?id=9528#c90

Somebody else also fixed suspend with the BIOS upgrade to 1201.

Afoldo
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users