i created a workaround with the following S19... startup script:
#!/bin/sh
cat >/tmp/RecreateLircConfig.java <<DELIM
import java.nio.file.*;
public class RecreateLircConfig {
public static void main(String[] args) throws Exception {
Path path1 = Paths.get("/dev/input/by-id/usb-05a4_9881-event-kbd");
Path path2 = Paths.get("/dev/input/by-id/usb-05a4_9881-if01-event-mouse");
System.out.println("# Options to be passed to inputlirc.");
System.out.printf("EVENTS=\"%s %s\"%n", path1.toRealPath(), path2.toRealPath());
System.out.println("OPTIONS=\"-g -m 0 -c\"");
}
}
DELIM
javac -d /tmp /tmp/RecreateLircConfig.java
#java -cp /tmp RecreateLircConfig
java -cp /tmp RecreateLircConfig >/etc/default/inputlirc
to execute the script, the deb openjdk-7-jdk is needed