The following changes to /var/lib/dpkg/info/lirc.postinst seem to fix the issue. Its working for me. Now have to figure out how to submit this change upstream.
228,229c228,230 < EVENTS=`ls /dev/input | grep -v "by-path" | sed 's/^/,\ \/dev\/input\//' | tr '\n' '\0'` < db_subst lirc/dev_input_device EVENTS $EVENTS_BY_PATH $EVENTS --- > EVENTS_BY_ID=`ls /dev/input/by-id | sed 's/^/,\ \/dev\/input\/by-id\//' | tr '\n' '\0'` > EVENTS=`ls /dev/input | grep -v "by-path" | grep -v "by-id" | sed 's/^/,\ \/dev\/input\//' | tr '\n' '\0'` > db_subst lirc/dev_input_device EVENTS $EVENTS_BY_PATH $EVENTS_BY_ID $EVENTS
The following changes to /var/lib/ dpkg/info/ lirc.postinst seem to fix the issue. Its working for me. Now have to figure out how to submit this change upstream.
228,229c228,230 input_device EVENTS $EVENTS_BY_PATH $EVENTS input\/ by-id\/ /' | tr '\n' '\0'` input_device EVENTS $EVENTS_BY_PATH $EVENTS_BY_ID $EVENTS
< EVENTS=`ls /dev/input | grep -v "by-path" | sed 's/^/,\ \/dev\/input\//' | tr '\n' '\0'`
< db_subst lirc/dev_
---
> EVENTS_BY_ID=`ls /dev/input/by-id | sed 's/^/,\ \/dev\/
> EVENTS=`ls /dev/input | grep -v "by-path" | grep -v "by-id" | sed 's/^/,\ \/dev\/input\//' | tr '\n' '\0'`
> db_subst lirc/dev_