From: Alec L. <lea...@gm...> - 2017-05-20 18:06:57
|
On 20/05/17 12:04, Michael Wachs wrote: > Hello, > > I've got an Intel NUC with an IR receiver. > My goal is to execute a script on the NUC box when a key is pressed on > the remote control. > Execution of `ir-keytable` outputs : > Found /sys/class/rc/rc0/ (/dev/input/event3) with: > Driver ite-cir, table rc-rc6-mce > Supported protocols: unknown other lirc rc-5 rc-5-sz jvc sony > nec sanyo mce_kbd rc-6 sharp xmp > Enabled protocols: lirc rc-6 > Name: ITE8713 CIR transceiver > bus: 25, vendor/product: 1283:0000, version: 0x0000 > Repeat delay = 500 ms, repeat period = 125 ms Well, given your goal and the output above I cannot see that you need lirc at all. You should be able to get the events from /dev/input/event3 after disabling and stopping lircd.service and lircd.socket. One catch is the device name, which probably isn't stable after a reboot. But you should be able to use one of the links in /dev/input/by-id instead which is stable. Cheers! --alec |