On 14/04/17 11:18, Bernd Schumacher wrote:
I want to use lircmd
After making sure that lirc works to control vdr and kodi, I configured lircmd
in /etc/lirc/lirc_options.conf
[lircmd]
uinput = True
nodaemon = False
After starting "systemctl start lircmd", lircmd started without option
"--uinput".
How do you know that? Note that lircmd reads lirc_options.conf by
itself, it's not that lirc_options.conf puts --uinput on the command line.
Because I was not able to control my X11 mouse pointer, I tried to add this
option.
No matter if I tried on commandline by calling "/usr/sbin/lircmd --uinput",
> Apr 14 11:03:38 majestix lircd-0.9.4c[23887]: "lircmd.cpp":394: Bad
file descriptor
> Apr 14 11:03:38 majestix lircd-0.9.4c[23887]: "lircmd.cpp":394: Bad
file descriptor
I cannot reproduce this... something is missing. Could you please expand
on what you did to get this message?
The code at line 394 tries to write to the /dev/uinput device, so it
might be some problem with that.
Poking around with this I found another in lircmd though [1].
Cheers!
--alec
[1] https://sourceforge.net/p/lirc/tickets/283/