[mythtv-users] Asus M2NPV-VM F8 Suspend

Mitch Gore mitchell.gore at gmail.com
Fri Jan 18 00:56:07 UTC 2008


On Jan 17, 2008 10:15 AM, Mitch Gore <mitchell.gore at gmail.com> wrote:

> On Jan 17, 2008 7:07 AM, Ma Begaj <derliebegott at gmail.com> wrote:
>
> > 2008/1/17, Mitch Gore <mitchell.gore at gmail.com>:
> > > This is a continuation of the thread
> > > ASUS M2NPV-VM or GIGABYTE GA-M68SM-S2
> > > http://www.gossamer-threads.com/lists/mythtv/users/309798
> > > I am renaming it to keep the subject in sync with the topic
> > >
> > > ##############################################################
> > >
> > >  Ok, So here is where I stand now.
> > >
> > > The goals:
> > >
> > > Get suspend to work on my BE/FE box
> > > have power via remote.
> > > Have power via remote frontend work.
> > >
> > > Box is a Asus M2NPV-VM
> > > AMD X2 5200
> > > 1 Gig of RAM
> > > PVR 150
> > > 2 Sata drives
> > > HDHomeRun
> > > MCE USB remote /w lirc
> > >
> > > Where i stand now:
> > >
> > > To put box in suspend I must unload IVTV then reload after after
> > resume.
> > > 'rmmod ivtv' 'modprobe ivtv'
> > > To get power via remote I moved jumpers on Motherboard. and 'echo USB0
> > >
> > > /proc/acpi/wakeup'
> > > To suspend I do a 'echo mem > /sys/power/state
> > > To wake push power button or remotes power button.
> > >
> > > What I need to fix:
> > > X does not reload on resume.  I am running the latest nVidia 169.07drivers
> > > using the onboard 6150 graphics.
> > >
> > > Beyond that the box works perfectly.  Once i resume i can ssh to the
> > box and
> > > see mythbackend is running and I can hit it with Mythweb.  Also my
> > > recordings will work just find.  I just don't get a GUI.
> > >
> > > So anyone out there have this issue and find a resolution?
> > >
> >
> > Try using "s2ram" instead of "echo mem >/sys/power/state". s2ram has
> > some built in support for saving gui before suspend.
> >
> > But on the other side ... it should work without s2ram as it works for
> > me and paul and a few others. Maybe you are missing a module in
> > xorg.conf. Can you post the modules section from the xorg config file.
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
>
>
> Sure..
>
> [myth at mythtv ~]$ cat /etc/X11/xorg.conf
>
> # nvidia-settings: X configuration file generated by nvidia-settings
> # nvidia-settings:  version 1.0  (buildmeister at builder26)  Wed Jun 13
> 16:54:50 PDT 2007
> # Xorg configuration created by pyxf86config
>
> Section "ServerLayout"
>         Identifier     "Default Layout"
>         Screen      0  "Screen0" 1920 0
>         Screen      1  "Screen1" LeftOf "Screen0"
>         InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
>
> #    FontPath     "unix/:7100"
>         ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
>         ModulePath   "/usr/lib64/xorg/modules/extensions"
>         ModulePath   "/usr/lib64/xorg/modules"
> EndSection
>
> Section "Module"
>         Load  "dbe"
>         Load  "extmod"
>         Load  "fbdevhw"
>         Load  "glx"
>         Load  "record"
>         Load  "freetype"
>         Load  "type1"
>         Load  "v4l"
> EndSection
>
> Section "ServerFlags"
>         Option      "Xinerama" "0"
>         Option      "AIGLX" "on"
> EndSection
>
> Section "InputDevice"
>         Identifier  "Keyboard0"
>         Driver      "kbd"
>         Option      "XkbModel" "pc105"
>         Option      "XkbLayout" "us+inet"
>         Option      "swcursor"
> EndSection
>
> Section "Monitor"
>         Identifier   "Monitor0"
>         VendorName   "Unknown"
>         ModelName    "Envision EN5400"
>         HorizSync    30.0 - 63.0
>         VertRefresh  50.0 - 76.0
> EndSection
>
> Section "Monitor"
>         Identifier   "Monitor1"
>         VendorName   "Unknown"
>         ModelName    "OPTi Optoma HD80"
>         HorizSync    15.0 - 120.0
>         VertRefresh  15.0 - 99.0
> EndSection
>
> Section "Device"
>         Identifier  "Videocard0"
>         Driver      "nvidia"
>         VendorName  "NVIDIA Corporation"
>         BoardName   "Quadro NVS 210S / NVIDIA GeForce 6150LE"
>         Option      "HWCursor" "off"
>         Option      "AIGLX" "on"
>         Option      "NoLogo" "true"
>         Option      "NvAGP" "1"
>         BusID       "PCI:0:5:0"
> EndSection
>
> Section "Device"
>         Identifier  "Videocard1"
>         Driver      "nvidia"
>         VendorName  "NVIDIA Corporation"
>         BoardName   "Quadro NVS 210S / NVIDIA GeForce 6150LE"
>         Option      "NoLogo" "true"
>         Option      "AIGLX" "on"
>         BusID       "PCI:0:5:0"
>         Screen      1
> EndSection
>
> Section "Screen"
>         Identifier "Screen0"
>         Device     "Videocard0"
>         Monitor    "Monitor0"
>         DefaultDepth     24
>         Option      "TwinView" "0"
>         Option      "metamodes" "CRT: nvidia-auto-select +0+0"
>         SubSection "Display"
>                 Depth     24
>                 Modes    "1600x1200" "1280x1024" "1024x768" "800x600"
> "640x480"
>         EndSubSection
> EndSection
>
> Section "Screen"
>         Identifier "Screen1"
>         Device     "Videocard1"
>         Monitor    "Monitor1"
>         DefaultDepth     24
>         Option      "TwinView" "0"
>         Option      "metamodes" "DFP: nvidia-auto-select +0+0"
>         Option      "AddARGBGLXVisuals" "True"
> EndSection
>
> Section "Extensions"
>         Option      "Composite" "Enable"
> EndSection
>
>
> With s2ram...I cant find a package named that.  There is tuxonice which
> when I used that it was actually worse.
> Do i need to use any quirks.. using the command pm-suspend does the same
> bahavior as echo mem > /sys/power/state but I also see options...
>
> [myth at mythtv ~]$ pm-suspend --help
> pm-action [options]
>
> Options can change how the supend or hibernate is done.
>
> Possible actions are:
>
>   --quirk-dpms-on
>   --quirk-dpms-suspend
>   --quirk-radeon-off
>   --quirk-reset-brightness
>   --quirk-s3-bios
>   --quirk-s3-mode
>   --quirk-vbe-post
>   --quirk-vbemode-restore
>   --quirk-vbestate-restore
>   --quirk-vga-mode3
>
> [myth at mythtv ~]$
>
> Thanks,
> Mitchell
>



I have also tried adding the s3 bios option on the grub line.  I have read
this helps for others.  here is what the grub.conf file looks like.
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.9-85.fc8)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.23.9-85.fc8 ro root=LABEL=/1 rhgb quiet
acpi_sleep=s3_bios,s3_mode agp=off
        initrd /boot/initrd-2.6.23.9-85.fc8.img


Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080117/2944fc04/attachment.htm 


More information about the mythtv-users mailing list