https://bugzilla.kernel.org/show_bug.cgi?id=44161

--- Comment #145 from Juan Manuel Cabo <[email protected]> ---
(In reply to Kieran Clancy from comment #144)
> Created attachment 127141 [details]
> acpi_ec_clear function, only run on affected hardware
> 
> Fixed newline in pr_info()


It works!!! I like this patch better!!

I do see the new pr_info message "Clearing state EC events" in dmesg at
startup.

The other message, I don't see. Because by the time I enable debug messages
for ec.c, that pr_debug("Detected sys..") message was already in the past.


The events get cleared both on resume and on reboot according to my tests with
your patch.

'acpi_listen' shows events happening correctly at all times.

--------
PLEASE: More people should test this kernel patch. There is a very simple guide
for compiling your own kernel if you use ubuntu/kubuntu/xubuntu: 

     https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel

To apply the patch, just change directory to the place were the kernel got
uncompressed, and do: 
     patch < thePachFile.patch
(you might need to point the patch util, if asked interactively, to:  
drivers/acpi/ec.c )

One more thing: with kernel 3.11 a line of context is different in the patch
than in the ec.c, so I had to apply hunk #6 by hand of Kieran's patch. I guess
kieran generated the patch against the latest kernel (3.13?). Since the
difference is in an unrelated context line, it is a harmless difference.
-------

Thanks Kieran Clancy!
--
Juan Manuel Cabo

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to