Re: kernel vs user power management

2006-04-10 Thread Holger Macht
On Sat 08. Apr - 23:06:54, Brown, Len wrote: On Sat 08. Apr - 02:42:12, Brown, Len wrote: Timo, Holger, Andi pointed me to your FOSDEM Linux Power Management presentation: http://en.opensuse.org/FOSDEM2006 http://files.opensuse.org/opensuse/en/b/b5/One_step_opendesign.pdf And

[PATCH] memory hotplug : change phys_device to symbolic [1/2]

2006-04-10 Thread KAMEZAWA Hiroyuki
This patch changes memoryX/phys_device to symbolic link. This phys_device always contains 0 now, and of no use. This patch changes it to symbolic link. acpi memohotplug is changed to support this. When this is applied, phys_device becomes meaningful. == [EMAIL PROTECTED] ~]$ readlink

Re: [PATCH] memory hotplug : change phys_device to symbolic [1/2]

2006-04-10 Thread Greg KH
On Mon, Apr 10, 2006 at 06:20:52PM +0900, KAMEZAWA Hiroyuki wrote: This patch changes memoryX/phys_device to symbolic link. This phys_device always contains 0 now, and of no use. This patch changes it to symbolic link. acpi memohotplug is changed to support this. When this is applied,

RE: Power-button event after resume from S3

2006-04-10 Thread Felix Kuehling
On Fri, 2006-07-04 at 10:49 +0800, Yu, Luming wrote: Are there plans for a real fix for this problem, either in the kernel or in acpid? We need a patch to handle the wakeup power-button event. Do you want to hack a patch for this? Before working on a patch I'd like to be sure that

Re: [PATCH] memory hotplug : change phys_device to symbolic [1/2]

2006-04-10 Thread KAMEZAWA Hiroyuki
On Mon, 10 Apr 2006 07:41:49 -0700 Greg KH [EMAIL PROTECTED] wrote: mem-phys_device = kobject_get(kobj); kobject_put(mem-phys_device); mem-phys_device = NULL; is a better way to do this. Thank you for comments. increment refcnt is sane. This is fixed one. Regards, -Kame == Now, memory

How trip_points works

2006-04-10 Thread Eugene Ewe Otto
Hi all, I want to modify my thermal trip points but it doesn't seem to be working. When I try to echo a new set of values into the trip_points file (as per the docs on the ACPI website) nothing changes. When I cat trip_points, I only have a critical temperature point set at 99 C -- does

RE: Power-button event after resume from S3

2006-04-10 Thread Yu, Luming
Before working on a patch I'd like to be sure that there is a general consensus that this is indeed The Right Way (TM) to fix the problem. Whose blessing would a patch need before being accepted? I think this is the simplest and right way to fix this problem. And, it should be accepted. :-)

Re: Power-button event after resume from S3

2006-04-10 Thread Sanjoy Mahajan
if(acpi_during_suspend_resume) don't generate power button event to confuse user space daemon This patch might be useful useful in setting and unsetting acpi_during_suspend_resume (and also using it, but you should ignore those as they are hacks for a different problem). The equivalent

Re: Power-button event after resume from S3

2006-04-10 Thread Nigel Cunningham
Hi. On Tuesday 11 April 2006 12:35, Sanjoy Mahajan wrote: if(acpi_during_suspend_resume) don't generate power button event to confuse user space daemon This patch might be useful useful in setting and unsetting acpi_during_suspend_resume (and also using it, but you should ignore