Re: [vdr] Making VDR run under Systemd

2021-10-20 Thread Marko Mäkelä
Thu, Oct 21, 2021 at 02:06:37AM +0300, glenvt18 wrote: I'm not sure VDR is "idle" while a recording is paused. What is the log output? I can only see a clue "trying device number 2 instead": Oct 20 21:37:56 raspberrypi vdr: [3878] DVB API version is 0x050B (VDR was built with 0x050A) Oct 20 2

Re: [vdr] Making VDR run under Systemd

2021-10-20 Thread glenvt18
I'm not sure VDR is "idle" while a recording is paused. What is the log output? I myself don't use a standalone VDR (using softhddevice etc.). I use it only as a streaming server. When you start VDR as a server, it enters idle mode after a configured timeout. It might be different for a standalone

Re: [vdr] Making VDR run under Systemd

2021-10-20 Thread Marko Mäkelä
Mon, Oct 18, 2021 at 11:44:32PM +0300, glenvt18 wrote: What is the output of lsof | grep frontend when VDR is in the "idle" state? I produced some output from /proc/$(pgrep vdr)/fd which I think might be more helpful. The last-but-one "ls" output was "too soon" after I started and paused

Re: [vdr] Making VDR run under Systemd

2021-10-18 Thread glenvt18
What is the output of lsof | grep frontend when VDR is in the "idle" state? On Sun, Oct 17, 2021 at 10:52:11PM +0300, Marko Mäkelä wrote: > Tue, Oct 12, 2021 at 07:21:10PM +0300, glenvt18 wrote: > > Here you can find an updated version of the patch: > > https://github.com/glenvt18/vdr/commit

Re: [vdr] Making VDR run under Systemd

2021-10-17 Thread Marko Mäkelä
Tue, Oct 12, 2021 at 07:21:10PM +0300, glenvt18 wrote: Here you can find an updated version of the patch: https://github.com/glenvt18/vdr/commits/vdr-2.4.6 Thank you. I just conducted some tests with my uncalibrated Agilent power supply. The USB cable of such low quality that the Raspberry Pi

Re: [vdr] Making VDR run under Systemd

2021-10-12 Thread Marko Mäkelä
Mon, Oct 11, 2021 at 04:02:43PM +0100, Richard F wrote: Powersaving for DVB receivers - try the attached patch from glenvt18 Thank you. I will test it later once I have hooked up the Raspberry Pi to my laboratory power supply so that I can observe the total power consumption. While "uhubctl

Re: [vdr] Making VDR run under Systemd

2021-10-12 Thread glenvt18
Hi. Here you can find an updated version of the patch: https://github.com/glenvt18/vdr/commits/vdr-2.4.6 On Mon, Oct 11, 2021 at 04:02:43PM +0100, Richard F wrote: > Mon, Sep 13, 2021 at 08:51:05PM +0200, Martin Wache wrote: > > So, back to the plan with the Raspberry Pi 2B. One problem that I wa

Re: [vdr] Making VDR run under Systemd

2021-10-11 Thread Richard F
Mon, Sep 13, 2021 at 08:51:05PM +0200, Martin Wache wrote: So, back to the plan with the Raspberry Pi 2B. One problem that I wanted to solve is the power consumption of the DVB-T dongle when it is not in use. I found https://github.com/mvp/uhubctl which can switch off power on individual USB po

Re: [vdr] Making VDR run under Systemd

2021-10-10 Thread Marko Mäkelä
Hi all, hi Martin! Mon, Sep 13, 2021 at 08:51:05PM +0200, Martin Wache wrote: Yes good times! :-) I think that softdevice (without HD in the name) was quite an achievement for the hardware that was available about 20 years ago. Today, I made a little progress on this. First, I was thinking

Re: [vdr] Making VDR run under Systemd

2021-09-13 Thread Martin Wache
Hi all, hi Marko! Am 12.09.21 um 11:46 schrieb Marko Mäkelä: I was an active VDR user from about 2004 to 2010 Yes good times! :-) Actually I still use the VDR excatly for the same reasons: to record shows for my kids. If my Raspberry Pi were not an "always-on server" that runs some other se

Re: [vdr] Making VDR run under Systemd

2021-09-13 Thread Marko Mäkelä
Mon, Sep 13, 2021 at 10:57:23AM +0200, g.bruno wrote: Hallo, the problem for the shutdown bottom "no -s option" (not parameter) is in /etc/vdr/config.d/00-vdr.conf where the line 21 concerning shutdown is commented out: #--shutdown=/usr/lib/vdr/vdr-shutdown.wrapper Thank you, but it is not

Re: [vdr] Making VDR run under Systemd

2021-09-13 Thread g.bruno
Hallo, the problem for the shutdown bottom "no -s option" (not parameter) is in /etc/vdr/config.d/00-vdr.conf where the line 21 concerning shutdown is commented out: #--shutdown=/usr/lib/vdr/vdr-shutdown.wrapper I uncommented it and it worked for me with the power-off-buttom on the remote co

[vdr] Making VDR run under Systemd

2021-09-12 Thread Marko Mäkelä
Hi all, I was an active VDR user from about 2004 to 2010 when my children were younger and there was a need to record TV programs for them. The old setup was more or less abandoned when I got a smart TV and the family started to use video streaming services. Some years ago, I got a Raspberry