Hi, (taking suspend-devel into cc:)
On Fri, Dec 08, 2006 at 02:39:47PM +0100, IOhannes m zmoelnig wrote: > hi. > > i found that my hp-pavilion notebook is not in the s2ram whitelist. > > umlautg:/home/zmoelnig# s2ram -i > This machine can be identified by: > sys_vendor = "Hewlett-Packard " > sys_product = "Pavilion zv5200 (PR976EA#ABD) " > sys_version = "F.34" > bios_version = "F.34" > See http://en.opensuse.org/S2ram for details. > > suspend to ram works fine, if i just pass the "-f" flag ("s2ram -f") Only from X or also from text console? > there is one problem however: after resume, the harddisk does not start > again. i fixed this by applying the attached patch to my 2.6.18-kernel. If this is still necessary with 2.6.19, how about reporting it to the kernel list? It has, however nothing to do with s2ram as we are just doing the video stuff :-) > the only remaining problem is, that after i resume from suspend2ram into > X, my virtual-terminals (Ctrl-Alt-F1..Ctrl-Alt-F6) seem to be fu**ed up > (cursor has vanished; scrolling does not work anymore; however > everything else works fine); the laptop is equipped with an nvidia-card > GeForce4 420 GO) and i am running the proprietary drivers from nvidia; > probably the problem is here ... They are notorious for fscking up the console, so this is something you'd probably need to report to nvidia. But maybe just posting the card after resume by means of s2ram options would also make it work better. See http://en.opensuse.org/S2ram for an explanation on how to use them. > s2disk works fine too (here there are no problems with the terminals) This hints at some problems the X driver has with the uninitialized card after resume from RAM (after s2disk, the card is initialized by the BIOS). > btw, i am running a 2.6.18 kernel on debian (etch/sid). > > > thanks for the suspend-tools. > > mfg.adsr. > IOhannes > --- linux-source-2.6.18/drivers/ide/pci/amd74xx.c.org 2006-12-08 > 14:31:26.000000000 +0100 > +++ linux-source-2.6.18/drivers/ide/pci/amd74xx.c 2006-12-08 > 14:31:30.000000000 +0100 > @@ -240,11 +240,16 @@ > ide_drive_t *peer = HWIF(drive)->drives + (~drive->dn & 1); > struct ide_timing t, p; > int T, UT; > - > +#if 0 > if (speed != XFER_PIO_SLOW && speed != drive->current_speed) > if (ide_config_drive_speed(drive, speed)) > printk(KERN_WARNING "ide%d: Drive %d didn't accept > speed setting. Oh, well.\n", > drive->dn >> 1, drive->dn & 1); > +#else > + /* JMZ: according to > http://www.linuxforen.de/forums/archive/index.php/t-182218.html */ > + if (speed != XFER_PIO_SLOW) > + ide_config_drive_speed(drive, speed); > +#endif > > T = 1000000000 / amd_clock; > UT = T / min_t(int, max_t(int, amd_config->flags & AMD_UDMA, 1), 2); -- Stefan Seyfried \ "I didn't want to write for pay. I QA / R&D Team Mobile Devices \ wanted to be paid for what I write." SUSE LINUX Products GmbH, Nürnberg \ -- Leonard Cohen ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel