Hi list!
lirc starting from version 0.8.6, does use the socket /var/run/lirc/lircd instead of /dev/lircd, so all apps not using liblirc_client need to be changed. Else IR will not work in VDR.
There are two possibilities: 1. Shell code to check which of the two sockets do exist and adding relevant command-line-parameter to vdr (--lirc=/var/run/lirc/lircd). 2. Patching VDR to check both pathes and using the existing one.
Regards Matthias
Hi list!
lirc starting from version 0.8.6, does use the socket /var/run/lirc/lircd instead of /dev/lircd, so all apps not using liblirc_client need to be changed. Else IR will not work in VDR.
There are two possibilities:
- Shell code to check which of the two sockets do exist and adding relevant
command-line-parameter to vdr (--lirc=/var/run/lirc/lircd). 2. Patching VDR to check both pathes and using the existing one.
3. Change lirc to use /dev/lircd In gen2vdr ( =gentoo ) I set: LIRCD_OPTS="-o /dev/lircd"
in /etc/conf.d/lircd :)
On Dienstag, 29. September 2009, Helmut Auer wrote:
Hi list!
lirc starting from version 0.8.6, does use the socket /var/run/lirc/lircd instead of /dev/lircd, so all apps not using liblirc_client need to be changed. Else IR will not work in VDR.
There are two possibilities:
- Shell code to check which of the two sockets do exist and adding
relevant command-line-parameter to vdr (--lirc=/var/run/lirc/lircd). 2. Patching VDR to check both pathes and using the existing one.
- Change lirc to use /dev/lircd
In gen2vdr ( =gentoo ) I set: LIRCD_OPTS="-o /dev/lircd"
in /etc/conf.d/lircd :)
Nice to know that it can be changed, but I have a big BUT:
Does irw and all other apps using liblirc_client then still work? I doubt, as they have the new name compiled in.
And btw. I support the rename, as sockets should not be placed in /dev.
Regards Matthias
On 29 Sep 2009, at 20:54, Matthias Schwarzott wrote:
On Dienstag, 29. September 2009, Helmut Auer wrote:
Hi list!
lirc starting from version 0.8.6, does use the socket /var/run/ lirc/lircd instead of /dev/lircd, so all apps not using liblirc_client need to be changed. Else IR will not work in VDR.
There are two possibilities:
- Shell code to check which of the two sockets do exist and adding
relevant command-line-parameter to vdr (--lirc=/var/run/lirc/lircd). 2. Patching VDR to check both pathes and using the existing one.
- Change lirc to use /dev/lircd
In gen2vdr ( =gentoo ) I set: LIRCD_OPTS="-o /dev/lircd"
in /etc/conf.d/lircd :)
Nice to know that it can be changed, but I have a big BUT:
Does irw and all other apps using liblirc_client then still work? I doubt, as they have the new name compiled in.
I confirm irw does not work when using the '-o wherever' switch with lirc-0.8.6 (cvs from about a month ago). I guessed but was not sure it had something to do with a compiled-in patch.
I came across this issue when playing with an xbmc-pvr install. While debugging the install my work around was as 1. above.
Ian.
Ian Bates wrote:
On 29 Sep 2009, at 20:54, Matthias Schwarzott wrote:
On Dienstag, 29. September 2009, Helmut Auer wrote:
Hi list!
lirc starting from version 0.8.6, does use the socket /var/run/lirc/lircd instead of /dev/lircd, so all apps not using liblirc_client need to be changed. Else IR will not work in VDR.
There are two possibilities:
- Shell code to check which of the two sockets do exist and adding
relevant command-line-parameter to vdr (--lirc=/var/run/lirc/lircd). 2. Patching VDR to check both pathes and using the existing one.
- Change lirc to use /dev/lircd
In gen2vdr ( =gentoo ) I set: LIRCD_OPTS="-o /dev/lircd"
in /etc/conf.d/lircd :)
Nice to know that it can be changed, but I have a big BUT:
Does irw and all other apps using liblirc_client then still work? I doubt, as they have the new name compiled in.
I confirm irw does not work when using the '-o wherever' switch with lirc-0.8.6 (cvs from about a month ago). I guessed but was not sure it had something to do with a compiled-in patch.
I came across this issue when playing with an xbmc-pvr install. While debugging the install my work around was as 1. above.
Ian.
Me too.
Although without realising what the problem was at that point I did a symbolic link from /var/run/lirc/lircd to /dev/lircd
On 29.09.2009 20:45, Matthias Schwarzott wrote:
Hi list!
lirc starting from version 0.8.6, does use the socket /var/run/lirc/lircd instead of /dev/lircd, so all apps not using liblirc_client need to be changed. Else IR will not work in VDR.
There are two possibilities:
- Shell code to check which of the two sockets do exist and adding relevant
command-line-parameter to vdr (--lirc=/var/run/lirc/lircd). 2. Patching VDR to check both pathes and using the existing one.
That's what VDR's --lirc option is for.
If you like, I can change the default (defined in Makefile and user configurable in Make.config) to the new value.
Klaus