Re: [linux-pm] Re: [patch] suspend/resume debugging: device filter

2007-05-07 Thread Greg KH
On Sat, May 05, 2007 at 12:08:55PM +0200, Pavel Machek wrote: > Hi! > > > > Here's a (compile tested only) patch that does this on a per-device > > > basis, which is smaller, and should work just as well as your patch. > > > > > > It creates a new file in the power/ directory for every device

Re: [linux-pm] Re: [patch] suspend/resume debugging: device filter

2007-05-07 Thread Greg KH
On Sat, May 05, 2007 at 12:08:55PM +0200, Pavel Machek wrote: Hi! Here's a (compile tested only) patch that does this on a per-device basis, which is smaller, and should work just as well as your patch. It creates a new file in the power/ directory for every device called

Re: [patch] suspend/resume debugging: device filter

2007-05-05 Thread Pavel Machek
Hi! > > Here's a (compile tested only) patch that does this on a per-device > > basis, which is smaller, and should work just as well as your patch. > > > > It creates a new file in the power/ directory for every device called > > "can_suspend". Write a '0' to it to prevent that device from

Re: [patch] suspend/resume debugging: device filter

2007-05-05 Thread Rafael J. Wysocki
On Saturday, 5 May 2007 11:24, Ingo Molnar wrote: > > * Greg KH <[EMAIL PROTECTED]> wrote: > > > Here's a (compile tested only) patch that does this on a per-device > > basis, which is smaller, and should work just as well as your patch. > > > > It creates a new file in the power/ directory

Re: [patch] suspend/resume debugging: device filter

2007-05-05 Thread Ingo Molnar
* Greg KH <[EMAIL PROTECTED]> wrote: > Here's a (compile tested only) patch that does this on a per-device > basis, which is smaller, and should work just as well as your patch. > > It creates a new file in the power/ directory for every device called > "can_suspend". Write a '0' to it to

Re: [patch] suspend/resume debugging: device filter

2007-05-05 Thread Ingo Molnar
* Greg KH [EMAIL PROTECTED] wrote: Here's a (compile tested only) patch that does this on a per-device basis, which is smaller, and should work just as well as your patch. It creates a new file in the power/ directory for every device called can_suspend. Write a '0' to it to prevent

Re: [patch] suspend/resume debugging: device filter

2007-05-05 Thread Rafael J. Wysocki
On Saturday, 5 May 2007 11:24, Ingo Molnar wrote: * Greg KH [EMAIL PROTECTED] wrote: Here's a (compile tested only) patch that does this on a per-device basis, which is smaller, and should work just as well as your patch. It creates a new file in the power/ directory for every

Re: [patch] suspend/resume debugging: device filter

2007-05-05 Thread Pavel Machek
Hi! Here's a (compile tested only) patch that does this on a per-device basis, which is smaller, and should work just as well as your patch. It creates a new file in the power/ directory for every device called can_suspend. Write a '0' to it to prevent that device from being

Re: [patch] suspend/resume debugging: device filter

2007-01-26 Thread Pavel Machek
Hi! > > it might be better to do this centrally in sysfs, via a per-device > > attribute, to individually enable suspend and resume on a per device > > basis, but my sysfs-fu is not strong enough for that now ;-) > > Here's a (compile tested only) patch that does this on a per-device > basis,

Re: [patch] suspend/resume debugging: device filter

2007-01-26 Thread Pavel Machek
Hi! it might be better to do this centrally in sysfs, via a per-device attribute, to individually enable suspend and resume on a per device basis, but my sysfs-fu is not strong enough for that now ;-) Here's a (compile tested only) patch that does this on a per-device basis, which is

Re: [patch] suspend/resume debugging: device filter

2007-01-25 Thread Greg KH
On Thu, Jan 25, 2007 at 12:05:01PM +0100, Ingo Molnar wrote: > Subject: [patch] suspend/resume debugging: device filter > From: Ingo Molnar <[EMAIL PROTECTED]> > > this patch implements the /sys/power/filter attribute, which takes a > string. If a device's name matches the f

Re: [patch] suspend/resume debugging: device filter

2007-01-25 Thread Pavel Machek
Hi! > Subject: [patch] suspend/resume debugging: device filter > From: Ingo Molnar <[EMAIL PROTECTED]> > > this patch implements the /sys/power/filter attribute, which takes a > string. If a device's name matches the filter string (exactly), then > that device is excl

Re: [patch] suspend/resume debugging: device filter

2007-01-25 Thread Nigel Cunningham
Hi. On Thu, 2007-01-25 at 12:05 +0100, Ingo Molnar wrote: > it might be better to do this centrally in sysfs, via a per-device > attribute, to individually enable suspend and resume on a per device > basis, but my sysfs-fu is not strong enough for that now ;-) Yeah. I was thinking recently of

[patch] suspend/resume debugging: device filter

2007-01-25 Thread Ingo Molnar
Subject: [patch] suspend/resume debugging: device filter From: Ingo Molnar <[EMAIL PROTECTED]> this patch implements the /sys/power/filter attribute, which takes a string. If a device's name matches the filter string (exactly), then that device is excluded from suspend/resume. th

[patch] suspend/resume debugging: device filter

2007-01-25 Thread Ingo Molnar
Subject: [patch] suspend/resume debugging: device filter From: Ingo Molnar [EMAIL PROTECTED] this patch implements the /sys/power/filter attribute, which takes a string. If a device's name matches the filter string (exactly), then that device is excluded from suspend/resume. this can

Re: [patch] suspend/resume debugging: device filter

2007-01-25 Thread Nigel Cunningham
Hi. On Thu, 2007-01-25 at 12:05 +0100, Ingo Molnar wrote: it might be better to do this centrally in sysfs, via a per-device attribute, to individually enable suspend and resume on a per device basis, but my sysfs-fu is not strong enough for that now ;-) Yeah. I was thinking recently of

Re: [patch] suspend/resume debugging: device filter

2007-01-25 Thread Pavel Machek
Hi! Subject: [patch] suspend/resume debugging: device filter From: Ingo Molnar [EMAIL PROTECTED] this patch implements the /sys/power/filter attribute, which takes a string. If a device's name matches the filter string (exactly), then that device is excluded from suspend/resume

Re: [patch] suspend/resume debugging: device filter

2007-01-25 Thread Greg KH
On Thu, Jan 25, 2007 at 12:05:01PM +0100, Ingo Molnar wrote: Subject: [patch] suspend/resume debugging: device filter From: Ingo Molnar [EMAIL PROTECTED] this patch implements the /sys/power/filter attribute, which takes a string. If a device's name matches the filter string (exactly