Re: Please need help to get lirc running

Alec Leamas <[email protected]>
Newsgroups gmane.comp.hardware.lirc
Message-ID <[email protected]>

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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.