Hi Karim,
Karim schrieb am 21.05.2016 um 23:29:
It seems to me that there are two rc-devices on receiver cards - rc0 and rc1. After restart of LIRC only lirc_dev and lirc_serial are running - ok.
.. the new one from TBS and a backup - ok.
LIRC is a daemon (/usr/sbin/lircd on my system) and /etc/init.d/lirc is the script to start this daemon. If I restart LIRC I see the following in syslog (on my systemd system via journalctl -f):
Mai 22 14:52:10 vdr systemd[1]: Stopping LSB: lirc daemon... Mai 22 14:52:10 vdr lircd-0.9.0[980]: caught signal Mai 22 14:52:10 vdr vdr[2522]: [2540] ERROR: lircd connection broken, trying to reconnect every 3,0 seconds Mai 22 14:52:10 vdr lirc[1024]: Shutting down lircd ..done Mai 22 14:52:10 vdr systemd[1]: Stopped LSB: lirc daemon. Mai 22 14:52:12 vdr systemd[1]: Starting LSB: lirc daemon... Mai 22 14:52:12 vdr lircd-0.9.0[1071]: lircd(default) ready, using /var/run/lirc/lircd Mai 22 14:52:12 vdr lirc[1044]: Starting lircd (/dev/lirc0)..done Mai 22 14:52:12 vdr systemd[1]: Started LSB: lirc daemon. Mai 22 14:52:13 vdr vdr[2522]: [2540] reconnected to lircd Mai 22 14:52:13 vdr lircd-0.9.0[1071]: accepted new client on /var/run/lirc/lircd
Your line "[FAIL] Starting remote control..." means that LIRC has any problem. Please try to find any other entries in any logfiles that may be related with this problem. This failed start should be visible in syslog...
On my system the package from TBS installs in different directories than the original modules are. This way I had a mixture of original modules and modules from TBS. After deleting the original "media" subdirs and reinstalling TBS stuff all was ok. But if it become necessary to restore the originals you need a backup... Maybe your system has a different directory structure?
vdr:~ # find /etc -name 'lirc*' /etc/lirc /etc/lirc/lircd.conf /etc/init.d/lirc /etc/sysconfig/lirc
Try this on your system...
On my system there is no /etc/serial.conf. Your /etc/lirc/hardware.conf could be somewhat that /etc/sysconfig/lirc is on my system.
Best regards Andreas Böttger
Hi Andreas,
LIRC is a daemon (/usr/sbin/lircd on my system) and /etc/init.d/lirc is the script to start this daemon. If I restart LIRC I see the following in syslog (on my systemd system via journalctl -f):
Unfortunately I don't have journalctl, and I didn't afford to install it on Debian Wheezy.
Your line "[FAIL] Starting remote control..." means that LIRC has any problem. Please try to find any other entries in any logfiles that may be related with this problem. This failed start should be visible in syslog...
You've right. But curiously, I didnt find error :
grep lirc /var/log/syslog May 24 23:01:00 pctest lircd-0.9.0-pre1[4396]: lircd(default) ready, using /var/run/lirc/lircd May 24 23:02:00 pctest lircd-0.9.0-pre1[4396]: caught signal May 24 23:09:01 pctest lircd-0.9.0-pre1[4414]: lircd(default) ready, using /var/run/lirc/lircd May 24 23:09:09 pctest lircd-0.9.0-pre1[4414]: caught signal May 24 23:35:51 pctest kernel: [ 4171.326315] lirc_serial: Manually using active low receiver May 24 23:35:51 pctest kernel: [ 4171.326409] lirc_serial lirc_serial.0: lirc_dev: driver lirc_serial registered at minor = 2
grep lirc /var/log/user.log nothing.
On my system the package from TBS installs in different directories than the original modules are. This way I had a mixture of original modules and modules from TBS. After deleting the original "media" subdirs and reinstalling TBS stuff all was ok. But if it become necessary to restore the originals you need a backup... Maybe your system has a different directory structure?
Yes, I think so. I see 2 path : /lib/modules/3.2.0-4-amd64/kernel/drivers/media/ /lib/modules/3.2.0-4-amd64/kernel/drivers/staging/media/
(I am afraid that if I restore media from backup it erase news modules from TBS).Theses points (path and need/or don't need to restore backup) are not very clear for me.
vdr:~ # find /etc -name 'lirc*' /etc/lirc /etc/lirc/lircd.conf /etc/init.d/lirc /etc/sysconfig/lirc
Try this on your system...
Unfortunately I didn't find this file :-(
Your /etc/lirc/hardware.conf could be somewhat that /etc/sysconfig/lirc is on my system.
Yes, that's why I did'nt find /etc/sysconfig.
At this time, I think **the point** is to clarify is the configuration file : path, name and content.
In case I can't find/fix this, do you think it could be interesting to try with a fresh install of Debian Jessie **8.4.0** which kernel 3.16 ?
Thanks again for your support. Best regards.
Karim