[Pkg-lirc-maint] Bug#849266: Bug#849266: lirc: does not work with update 0.9.4c-4 to 0.9.4c-5

Alec Leamas leamas.alec at gmail.com
Sun Dec 25 05:49:48 UTC 2016


Hi Tomas!


On 24/12/16 16:40, Thomas Renard wrote:
>
>
>> What version where you updating from?
>>
>
> it was 0.9.4c-4 and yes, I needed to change my configs with upgrading to
> 0.9.4xxx some weeks ago.

OK, that should rule out a lot of things...

 > etc/lirc/lircd.conf.dist [Errno 2] Datei oder Verzeichnis nicht 
gefunden: u'/etc/lirc/lircd.conf.dist'

This is just weird. This file is part of the lirc package:

$ dpkg -c lirc_0.9.4c-6_amd64.deb | grep lircd.conf.dist
-rw-r--r-- root/root  [...]  ./etc/lirc/lircd.conf.dist

Have you any idea why this file is missing by you? The same goes for the 
  missing devinput.lircd.conf:

$ dpkg -c lirc_0.9.4c-6_amd64.deb | grep devinput.lircd.conf
-rw-r--r-- root/root  [...] ./etc/lirc/lircd.conf.d/devinput.lircd.conf


> - Configuration Files:

> /etc/lirc/lirc_options.conf changed:

This shouldn't change on an update from -4. Yes, indeed, it's missing
is conffiles. Will fix, but it looks you have updated this so it's OK 
(?) This is probably not the cause of your problem as long as the 
/dev/input/myremote device exists and works OK.

> /etc/lirc/lircd.conf changed:
> include "lircd.conf.d/*.conf"

This looks bad. lirc is not supposed to touch an existing lircd.conf on 
an update, just to create it if it does not exist. Did you have a 
/etc/lirc/lircd.conf before upgrading to -5?

> /etc/lirc/lircd.conf.d/devinput.lircd.conf [Errno 2] Datei oder Verzeichnis nicht gefunden: u'/etc/lirc/lircd.conf.d/devinput.lircd.conf'

This might be the culprit.  Since you are using the devinput driver it 
needs the devinput.lircd.conf.

If you have a /etc/lirc/lircd.conf.d/devinput.lircd.conf.dist you could 
just copy it to /etc/lirc/lircd.conf.d/devinput.lircd. Otherwise, the 
lirc-make-devinput script can create a new and possibly better file 
using something like

   # lirc-make-devinput > /etc/lirc/lircd.conf.d/devinput.lircd.conf

However, the core issue is why it's not there, see above.



Cheers!

--alec



More information about the Pkg-lirc-maint mailing list