Re: Is irsend supported with devinput?

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

On 19/06/17 22:23, Piotr Oniszczuk wrote:
> Hi,
> I’m courious: is it possible to have MCEUSB receiving via devinput and sending via IRSEND?
> I’m on 4.11.6, lirc-0.10rc1.
> lircd runs via following command:
> 
> lircd —device=/dev/input/event6 --driver devinput --debug -n /etc/lirc/lircd.conf.d/lircd.conf.devinput
> 
> event6 is from my MCEUSB dongle.
> 
> Receiving commands works.
> 
> Issuing
> 
> irsend list devinput-32 ""
> 
> shows long list of available keys.
> 
> but issuing i.e.:


This won't work, since the devinput driver is just a thin layer on top 
of the kernel decoding which does not support sending at all.

In many cases when using the devinput driver it's possible to use the 
default driver instead; this supports sending. However, this requires a 
lircd.conf file describing the remote. And, to work, the kernel driver 
must set up a /dev/lirc0 device which the default driver can use,

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.