On Thu, 30 Apr 2009, Bruno Girin wrote: > Zlotan, I just tried Kees's suggestion but it looks like the files in > /proc don't generate any event that can be captured with inotifywait. It > works on standard files but not on the ones we're interested in. I
Only a few sysfs attributes have poll/select support, and I don't know if that's enough for inotify or if you also need some sort of special inotify support in sysfs (something I don't know if is even possible but I could check). The attributes with poll/select support are documented in the thinkpad-acpi driver documentation on the kernel sources, at Documentation/laptops/thinkpad-acpi.txt. If inotify is indeed impossible, you will need perl, python or C to deal with poll/select, shell can't do it AFAIK. -- "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 -- No notification when sliding audio volume, muting volume, sliding LCD brightness on X31, X32, T60, R50e, T42, R52 https://bugs.launchpad.net/bugs/357673 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs