Re: [RFC] Allow notifications on method execution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 20 Jun 2008, Matthew Garrett wrote:
> On Fri, Jun 20, 2008 at 04:39:41PM -0300, Henrique de Moraes Holschuh wrote:
> > With such ACPI notifies, you could have HAL do some of the stuff kernel
> > drivers are doing.  So far so good (well, sort of).
> 
> That's not what I was thinking. Right now, older Thinkpads need polling 
> if you want to get some keyboard events. However, the BIOS seems to 
> impleemnt this by calling the ACPI CMOS update methods. Rather than 
> polling, we can therefore make it event driven. The events won't go out 
> to userspace, they'll just call a callback in the driver which then 
> generates input events or uevents or whatever.

Sounds like a good idea, but in order to do that, we just need to let
kernel drivers hook to GPE handlers somehow.  I'd be quite happy to add
support for it to thinkpad-acpi.

I thought your patch did a lot more than this.  If I am wrong about it,
I apologise.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux