First we need to enable wakeup on the USB bus to which your Flirc is connected. Determine which USB buses (if any) already have wakeup enabled: cat /proc/acpi/wakeup
On my system, here's the result:
$ cat /proc/acpi/wakeup
Device S-state Status Sysfs node
P0P1 S4 *disabled pci:0000:00:1e.0
P0P4 S4 *disabled pci:0000:00:1c.0
P0P5 S4 *disabled pci:0000:00:1c.1
P0P6 S4 *disabled pci:0000:00:1c.2
P0P7 S4 *disabled
P0P8 S4 *disabled
P0P9 S4 *disab