On Sun, 07 Feb 2010, Thadeu Lima de Souza Cascardo wrote: > Brightness notification does not work until the user writes to > hotkey_mask attribute. That's because the polling thread will only run Hmm, maybe this has something to do with it... http://bugzilla.kernel.org/show_bug.cgi?id=15118 > if hotkey_user_mask is set and someone is reading the input device or if > hotkey_driver_mask is set. In this second case, this condition is not > tested after the mask is changed, because the brightness and volume > drivers are started after the hotkey drivers. > > This fix test for the polling condition that ends up starting the > polling thread after hotkey_driver_mask is set in brightness and volume > init functions. tpacpi_hotkey_driver_mask_set() has to do whatever is required to get the events to work. I am looking into this problem now. -- "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 ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel