Re: Add sysfs interface to enable/disable wakeup events

2008-06-17 Thread Richard A. Smith
Jordan Crouse wrote: >> Looks good. I was hoping for a lid-switch attribute as well -- Richard >> and Jordan, does that route through the Southbridge, or should it be >> listed here? (If it should be, where in the SCI mask is it?) > > Yes, the lid goes through the southbridge. FYI - the lid is

Re: Add sysfs interface to enable/disable wakeup events

2008-06-13 Thread Jordan Crouse
On 13/06/08 19:05 -0400, Chris Ball wrote: > Hi Deepak, > >> Here's the initial patch (vs testing kernel) for #6010 to provide >> an interface that OHM can use to enable/disable wakeup events. It >> still needs error handling for the ec_cmd() calls but other than >> that it is read

Re: [PATCH #6010] Add sysfs interface to enable/disable wakeup events

2008-06-13 Thread Deepak Saxena
On Jun 13 2008, at 19:05, Chris Ball was caught saying: > Hi Deepak, > >> Here's the initial patch (vs testing kernel) for #6010 to provide >> an interface that OHM can use to enable/disable wakeup events. It >> still needs error handling for the ec_cmd() calls but other than >> th

Re: [PATCH #6010] Add sysfs interface to enable/disable wakeup events

2008-06-13 Thread Chris Ball
Hi Deepak, > Here's the initial patch (vs testing kernel) for #6010 to provide > an interface that OHM can use to enable/disable wakeup events. It > still needs error handling for the ec_cmd() calls but other than > that it is ready to be tested. Looks good. I was hoping for a lid-sw

[PATCH #6010] Add sysfs interface to enable/disable wakeup events

2008-06-13 Thread Deepak Saxena
Chris, Here's the initial patch (vs testing kernel) for #6010 to provide an interface that OHM can use to enable/disable wakeup events. It still needs error handling for the ec_cmd() calls but other than that it is ready to be tested. Tnx, ~Deepak -- Expose OLPC EC wakeup event mask to user s