Bug#933230: acpid: Race during startup can result in event devices not being opened

2019-07-31 Thread Ted Felix
On 7/27/19 4:21 PM, ano...@users.sourceforge.net wrote: The attached patch... Patch has been applied and pushed. Test upstream at: https://sourceforge.net/p/acpid2/code/ci/master/tree/ Planning a release for 8/15 or 9/15. Thanks again.

Bug#933230: acpid: Race during startup can result in event devices not being opened

2019-07-28 Thread Ted Felix
On 7/27/19 4:21 PM, ano...@users.sourceforge.net wrote: On my system, this race happens frequently for /dev/input/event8 "Video Bus" during boot, preventing acpid from handling my system's brightness keys. Thanks for the patch. I've posted the patch and this report upstream:

Bug#933230: acpid: Race during startup can result in event devices not being opened

2019-07-27 Thread anomie
Package: acpid Version: 1:2.0.31-2 When using netlink and the input layer, acpid opens the existing devices in /dev/input/event* first and only after sets an inotify to be told about newly created devices. If an event device is created between the time acpid reads the directory and the time it