Re: acpiec(4) clear events on attach and resume

2014-03-29 Thread Vigdis
On Fri, 28 Mar 2014 11:59:57 +0200, Paul Irofti p...@irofti.net wrote: On Thu, Mar 27, 2014 at 08:33:51PM -0400, James Turner wrote: I'm running the most recent amd64 snap (3/27) and it sounds like this diff might be in it? Also not sure if this diff would affect the reporting of acpi

Re: acpiec(4) clear events on attach and resume

2014-03-28 Thread Paul Irofti
On Thu, Mar 27, 2014 at 08:33:51PM -0400, James Turner wrote: I'm running the most recent amd64 snap (3/27) and it sounds like this diff might be in it? Also not sure if this diff would affect the reporting of acpi battery usage but after upgrading my acpibat0 sensors are all over the place.

Re: acpiec(4) clear events on attach and resume

2014-03-28 Thread James Turner
On Fri, Mar 28, 2014 at 11:59:57AM +0200, Paul Irofti wrote: On Thu, Mar 27, 2014 at 08:33:51PM -0400, James Turner wrote: I'm running the most recent amd64 snap (3/27) and it sounds like this diff might be in it? Also not sure if this diff would affect the reporting of acpi battery

Re: acpiec(4) clear events on attach and resume

2014-03-28 Thread Paul Irofti
On Fri, Mar 28, 2014 at 07:14:53PM -0400, James Turner wrote: On Fri, Mar 28, 2014 at 11:59:57AM +0200, Paul Irofti wrote: On Thu, Mar 27, 2014 at 08:33:51PM -0400, James Turner wrote: I'm running the most recent amd64 snap (3/27) and it sounds like this diff might be in it? Also

Re: acpiec(4) clear events on attach and resume

2014-03-28 Thread James Turner
On Sat, Mar 29, 2014 at 03:51:10AM +0200, Paul Irofti wrote: On Fri, Mar 28, 2014 at 07:14:53PM -0400, James Turner wrote: On Fri, Mar 28, 2014 at 11:59:57AM +0200, Paul Irofti wrote: On Thu, Mar 27, 2014 at 08:33:51PM -0400, James Turner wrote: I'm running the most recent amd64 snap

Re: acpiec(4) clear events on attach and resume

2014-03-27 Thread James Turner
I'm running the most recent amd64 snap (3/27) and it sounds like this diff might be in it? Also not sure if this diff would affect the reporting of acpi battery usage but after upgrading my acpibat0 sensors are all over the place. Initial boot on a plugged in and fully charged battery shows 51%.

acpiec(4) clear events on attach and resume

2014-03-26 Thread Paul Irofti
The following patch attempts to fix an issue where multiple ACPI EC events pile up during suspend and fill a buffer that upon resume prevent further event notifications. The fix clears up the event queue early on during resume and also upon initial acpiec(4) attach. Initially reported by Samsung