Re: [Suspend-devel] suspend to RAM on lifebook 7110

2007-01-09 Thread Frank Seidel
Hi, On Wednesday 03 January 2007 20:31, Miroslav Ruda wrote: > .. > It's patched version from suspend-0.50-6 (rpm on OpenSuse 10.2). I > have attached patched s2ram.c too. > > Best regards > > Mirek Ruda thanks a lot for your testing. I now have a new version of the patc

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2007-01-03 Thread Miroslav Ruda
On Wed, Dec 27, 2006 at 08:23:09AM +0100, Pavel Machek wrote: > Hey, we need testing testing testing on this patch. People were > complaining that we don't do pci state saving, where are they now?! Enjoying holidays? Patched s2ram restores VGA correctly on my Lifebook S7110, but then reports: e

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-26 Thread Pavel Machek
Hi! > > Now it looks much better to me, but I'd actually free the pci_dev object > > when > > it's no longer necessary. > > > > And I have a question: is it possible that we don't find a VGA device? And > > if > > so, then what are we going to do? > > Both fixed by Frank Seidel for version 3

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-19 Thread Stefan Seyfried
Hi, On Tue, Dec 19, 2006 at 06:52:22PM +0100, Rafael J. Wysocki wrote: > On Tuesday, 19 December 2006 14:37, Stefan Seyfried wrote: > > Index: s2ram.c > > +struct pci_dev *find_vga(void) > > +{ > > + struct pci_access *pacc; > > + struct pci_dev *dev; > > + struct pci_dev *result; > > + > >

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-19 Thread Rafael J. Wysocki
Hi, On Tuesday, 19 December 2006 14:37, Stefan Seyfried wrote: > Hi, > > On Mon, Dec 18, 2006 at 11:50:51PM +0100, Rafael J. Wysocki wrote: > > > Now it looks much better to me, but I'd actually free the pci_dev object > > when > > it's no longer necessary. > > > > And I have a question: is it

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-19 Thread Stefan Seyfried
Hi, On Mon, Dec 18, 2006 at 11:50:51PM +0100, Rafael J. Wysocki wrote: > Now it looks much better to me, but I'd actually free the pci_dev object when > it's no longer necessary. > > And I have a question: is it possible that we don't find a VGA device? And if > so, then what are we going to do

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-18 Thread Stefan Seyfried
On Mon, Dec 18, 2006 at 11:50:51PM +0100, Rafael J. Wysocki wrote: > Hi, > Now it looks much better to me, but I'd actually free the pci_dev object when > it's no longer necessary. Ah, i thought that's what exit() is there for :-) I'll look into it. > And I have a question: is it possible that w

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-18 Thread Rafael J. Wysocki
Hi, On Monday, 18 December 2006 21:50, Stefan Seyfried wrote: > Hi, > > (i'll discuss this on suspend-devel, we can take the rest back into cc: once > the coding issues are solved :-) > > On Mon, Dec 18, 2006 at 09:00:41PM +0100, Rafael J. Wysocki wrote: > > > > Index: s2ram.c > > > ===

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-18 Thread Stefan Seyfried
Hi, (i'll discuss this on suspend-devel, we can take the rest back into cc: once the coding issues are solved :-) On Mon, Dec 18, 2006 at 09:00:41PM +0100, Rafael J. Wysocki wrote: > > Index: s2ram.c > > === > > RCS file: /cvsroot/s

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-18 Thread Rafael J. Wysocki
On Monday, 18 December 2006 18:48, Stefan Seyfried wrote: > On Mon, Dec 18, 2006 at 12:05:51PM +, Matthew Garrett wrote: > > On Mon, Dec 18, 2006 at 12:29:16PM +0100, Stefan Seyfried wrote: > > > > - implement this as a workaround in userspace? > > > > Might be easier for the moment, though

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-18 Thread Stefan Seyfried
On Mon, Dec 18, 2006 at 12:05:51PM +, Matthew Garrett wrote: > On Mon, Dec 18, 2006 at 12:29:16PM +0100, Stefan Seyfried wrote: > > - implement this as a workaround in userspace? > > Might be easier for the moment, though I agree that it's less than > ideal. Ok, so how about that (compiled

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-18 Thread Miroslav Ruda
Stefan Seyfried wrote: > Hi Miroslav, > > i'm taking suspend-devel into cc:, maybe somebody there has an idea about > this, too. > > On Thu, Dec 07, 2006 at 11:18:31PM +0100, Miroslav Ruda wrote: >> Hi, >> >> I'm installing opensuse 10.2 on Fujitsu Siemens Lifebook 7110 (intel >> dual core, inte

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-18 Thread Rafael J. Wysocki
Hi, On Monday, 18 December 2006 13:16, Pavel Machek wrote: > Hi! > > > thanks for explaining this, i am obviously not too deep into that > > PCI bus stuff :-) > > > ... > > > > I thought that this should somehow go away by the PCI bus suspend/resume > > > > methods that somewhen back got merged

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-18 Thread Pavel Machek
Hi! > thanks for explaining this, i am obviously not too deep into that > PCI bus stuff :-) > ... > > > I thought that this should somehow go away by the PCI bus suspend/resume > > > methods that somewhen back got merged by Greg K-H. > > > > The kernel will only save and restore the standardised

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-18 Thread Matthew Garrett
On Mon, Dec 18, 2006 at 12:29:16PM +0100, Stefan Seyfried wrote: > So the question is: should we either > - implement a minimal "graphics card PCI suspend resume" "driver" in the >kernel that will do this even if no framebuffer is used, or The long term aim is to implement a thin graphics car

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-18 Thread Stefan Seyfried
Hi Matthew, thanks for explaining this, i am obviously not too deep into that PCI bus stuff :-) On Mon, Dec 18, 2006 at 11:11:42AM +, Matthew Garrett wrote: > On Mon, Dec 18, 2006 at 07:51:36AM +0100, Stefan Seyfried wrote: > > > I thought that this should somehow go away by the PCI bus susp

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-18 Thread Matthew Garrett
On Mon, Dec 18, 2006 at 07:51:36AM +0100, Stefan Seyfried wrote: > I thought that this should somehow go away by the PCI bus suspend/resume > methods that somewhen back got merged by Greg K-H. The kernel will only save and restore the standardised PCI configuration registers - anything else need

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-17 Thread Stefan Seyfried
On Fri, Dec 08, 2006 at 10:13:08PM +0100, Miroslav Ruda wrote: > On Fri, Dec 08, 2006 at 01:33:58PM +0100, Frank Ursel wrote: > > Before i actually suspend the notebook, i write some data about the > > graphic card on disk and on resume the data is written back to the > > graphic card and everythin

Re: [Suspend-devel] suspend to RAM on lifebook 7110

2006-12-17 Thread Stefan Seyfried
Hi Miroslav, i'm taking suspend-devel into cc:, maybe somebody there has an idea about this, too. On Thu, Dec 07, 2006 at 11:18:31PM +0100, Miroslav Ruda wrote: > Hi, > > I'm installing opensuse 10.2 on Fujitsu Siemens Lifebook 7110 (intel > dual core, intel 965 chipset, intel 945 graphics chip