Public bug report changed:
https://launchpad.net/malone/bugs/30198
Task: ubuntu hal
Status: Unconfirmed => Confirmed
Comment:
hald died for me when I un/replugged a USB mouse. Thought this could be related.
Your script does crash my hald - as if I needed a script for that :) Nice-looking patch AFAICS.