Ask for new features here.
- New Member
- Posts: 5
- Joined: Wed Aug 15, 2012 4:37 pm
When using USB-based LIRC receivers, the Sleep/Wake cycle results in the existing lircd spinning and consuming an entire CPU, while eventlircd starts up a fresh lircd on the new USB device created by udev when the host wakes up. Multiple Sleep/Wake cycles result in an additional lircd spinning for each Sleep/Wake cycle.
Adding an option such that mm_sleep may gracefully kill any running lircd processes would prevent this from occurring. By gracefully, I mean NOT kill -9; just a plain kill.
This can be accomplished by gathering all the PIDs found in all files in /var/run/lirc/lircd-*.pid and then killing them gracefully.