If you use irxevent or irexec, their respective daemons are killed in conjunction with stopping lirc. To automatically re-run these I could only run DISPLAY=:0.0 su user -c "irxevent --daemon && irexec --daemon" where "user" is your user name, in resume|thaw case after starting lirc daemon. I suppose it might not work well, if the user is not logged in or a different used the daemons.
** Attachment added: "a script to put at /media/data/ubuntu/etc/pm/sleep.d" https://bugs.launchpad.net/hundredpapercuts/+bug/387443/+attachment/1788835/+files/00lirc -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/387443 Title: LIRC killed or sees new usbdevice after suspend -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs