Re: [Suspend-devel] half success with Dell Inspiron 510m

2006-10-16 Thread Stefan Seyfried
Hi,

On Sat, Oct 14, 2006 at 01:34:13AM +0200, Pavel Machek wrote:
 HI!
 
I have made s2ram and s2disk almost work for Dell Inspiron 510m
  
   # s2ram -i output:
  This machine can be identified by:
  sys_vendor   = Dell Inc.
  sys_product  = Inspiron 510m   
  sys_version  = 
  bios_version = A11
  See http://en.opensuse.org/S2ram for details.
  
   # uname -a
  Linux gimli 2.6.18-1-686 #1 SMP Fri Sep 29 16:25:40 UTC 2006 i686
  GNU/Linux
  
   It works with 's2ram -f -p' with one glitch: hwcursor disappears from
  X. It works, as you can see different objects highlighted in desktop
  while you move your mouse around and can interact with them, but the
  cursor image is not displayed after resuming. If I restart X I get the
  cursor again.

Yes, the i810 X driver has some other problems with suspend to RAM. For me
this happens only sometimes and then often a second suspend to RAM (or
sometimes only a suspend to disk, with power-cycling the graphics chip)
fixes it. This is however a problem of the X driver IMO.
 
 Okay, that is good enough for whitelist. Stefan?

Yes, added locally here.

   With 's2disk' I can also resume, but I get resolution of 1024x768, in
  which it is my desktop at virtual resolution of 1400x1050 (I have to use
  915resolution at boot to get my video BIOS patched to get it working).
 
 Yep, you should not be patching video BIOS in the first place. Can you
 ask Intel to fix their BIOS instead?

Intel cannot do much here, they push pretty hard on the BIOS writers to
include correct tables, but, cite sometimes they just don't listen.

But it is just a user error. Because if you patched your BIOS in RAM before
suspend, you need to patch it after resume, before switching back to X.
So you basically want to:

VT=$(fgconsole)
chvt 1
s2disk
$RUN_YOUR_BIOS_PATCH_TOOL
chvt $VT

in your suspend script

   Using -a swith in any form makes computer to start from scratch,
  instead of resuming.

That's quite normal on Dells.

   Any idea on how can I fix those two things are welcomed. 
 
 I blame X for missing cursor; they should reinit the hardware on
 console switch.

Yes. Maybe just switching off the hardware cursor works around this.
-- 
Stefan Seyfried
QA / RD Team Mobile Devices|  Any ideas, John?
SUSE LINUX Products GmbH, Nürnberg  | Well, surrounding them's out. 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel


Re: [Suspend-devel] half success with Dell Inspiron 510m

2006-10-13 Thread Pavel Machek
HI!

   I have made s2ram and s2disk almost work for Dell Inspiron 510m
 
  # s2ram -i output:
 This machine can be identified by:
 sys_vendor   = Dell Inc.
 sys_product  = Inspiron 510m   
 sys_version  = 
 bios_version = A11
 See http://en.opensuse.org/S2ram for details.
 
  # uname -a
 Linux gimli 2.6.18-1-686 #1 SMP Fri Sep 29 16:25:40 UTC 2006 i686
 GNU/Linux
 
  It works with 's2ram -f -p' with one glitch: hwcursor disappears from
 X. It works, as you can see different objects highlighted in desktop
 while you move your mouse around and can interact with them, but the
 cursor image is not displayed after resuming. If I restart X I get the
 cursor again.

Okay, that is good enough for whitelist. Stefan?

  With 's2disk' I can also resume, but I get resolution of 1024x768, in
 which it is my desktop at virtual resolution of 1400x1050 (I have to use
 915resolution at boot to get my video BIOS patched to get it working).

Yep, you should not be patching video BIOS in the first place. Can you
ask Intel to fix their BIOS instead?

  Using -a swith in any form makes computer to start from scratch,
 instead of resuming.
 
  Any idea on how can I fix those two things are welcomed. 

I blame X for missing cursor; they should reinit the hardware on
console switch.
Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel