Re: [vdr] lirc-0.8.6 moved socket to /var/run/lirc/lircd

2009-09-30 Thread Ian Bates


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:
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.


3. 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.


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] lirc-0.8.6 moved socket to /var/run/lirc/lircd

2009-09-30 Thread Rob Davis

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:
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.


3. 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




___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] lirc-0.8.6 moved socket to /var/run/lirc/lircd

2009-09-29 Thread Helmut Auer
 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.
 
3. Change lirc to use /dev/lircd
In gen2vdr ( =gentoo ) I set:
LIRCD_OPTS=-o /dev/lircd

in /etc/conf.d/lircd :)

-- 
Helmut Auer, hel...@helmutauer.de

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] lirc-0.8.6 moved socket to /var/run/lirc/lircd

2009-09-29 Thread Matthias Schwarzott
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:
  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.

 3. 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

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr