http://bugzilla.kernel.org/show_bug.cgi?id=12748





--- Comment #19 from Henrique de Moraes Holschuh <h...@hmh.eng.br>  2009-05-08 
00:58:02 ---
Well, nowadays, this report is about the power resources not working, and not
being easily fixed.  It is about more than they not being disabled :(

First, we were not registering all power resources that we should as
"referenced by an active device".  This is PROBLEM-1.  My patch fixes this, but
it exposes other problems.

We are not turning devices off, and therefore we are not releasing power
resources.  This is PROBLEM-2.  We can't always turn devices off, so the fix
for this is not simply to always turn devices off.

We are not detaching power resources when a module is unloaded (because of
PROBLEM-2).  This leaves dangling pointers in linked lists, and is PROBLEM-3. 
We can't fix PROBLEM-1 without fixing PROBLEM-3, because it will trigger
PROBLEM-3 in every ThinkPad produced in the last five years.

We are not checking for power resources that are to be turned off before sleep.
This is PROBLEM-4, and fixed by a revert of
ff24ba74b6d3befbfbafa142582211b5a6095d45, but we can only do this after we fix
PROBLEM-1 (or we will regress on ThinkPads).

We are not doing opportune scans to find power resources that could be turned
off. This is PROBLEM-5, and just like PROBLEM-4, it can only be fixed after we
fix PROBLEM-1 (or we will regress on ThinkPads).

So, PROBLEM-2 is the key. It needs to be fixed first.  I don't know how we can
fix it.

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to