Re: [vdr] Wake-on-timer rtcwake experiments on various PC hardware

2023-04-17 Thread Marko Mäkelä
Mon, Apr 17, 2023 at 09:14:30PM +0300, Marko Mäkelä wrote: The "rtcwake -m show" straight after the reboot indicated that the alarm is off. I read all journal entries between the two rtcwake commands, which were helpfully logged. The only thing I found was a kernel boot message

Re: [vdr] Wake-on-timer rtcwake experiments on various PC hardware

2023-04-17 Thread Marko Mäkelä
Mon, Apr 17, 2023 at 04:38:11PM +0300, Marko Mäkelä wrote: Mon, Apr 17, 2023 at 10:17:03AM +0200, g.bruno wrote: here a longer thread at problems with rtcwake (in German): https://forum.ubuntuusers.de/topic/rtcwake-geht-nicht-mehr/#post-9369451 Thank you. I am not going to use rtcwake

Re: [vdr] Wake-on-timer rtcwake experiments on various PC hardware

2023-04-17 Thread Marko Mäkelä
Mon, Apr 17, 2023 at 10:17:03AM +0200, g.bruno wrote: here a longer thread at problems with rtcwake (in German): https://forum.ubuntuusers.de/topic/rtcwake-geht-nicht-mehr/#post-9369451 Thank you. I am not going to use rtcwake on those 2 problematic laptops for anything real, but out of

[vdr] Wake-on-timer rtcwake experiments on various PC hardware

2023-04-16 Thread Marko Mäkelä
Today, I tested rtcwake on several x86 or x86-64 based computers. The outcome: (1) Suspend to RAM (say, "rtcwake -m mem -s 10"): * Success: Every system. (2) Wake-on-timer ("rtcwake -m no -s 120 && shutdown -h now" or "rtcwake -m off -s 120"): * Success: Lenovo Thinkpad X220 (2012?), and a

Re: [vdr] Integartion with systemd and rtcwake

2023-04-15 Thread Marko Mäkelä
Wed, Apr 12, 2023 at 08:29:48AM +0200, Harald Milz wrote: Let me put my unsolicited €0.02 in. My mindset is pretty hackerish as well, but I'm also an engineer thinking in efficiency terms. The raspi is what it is, and it is a nice building block for many jobs. If I wanted to build a vdr, I'd

Re: [vdr] Integartion with systemd and rtcwake

2023-04-12 Thread Marko Mäkelä
Tue, Apr 11, 2023 at 05:41:24PM +0200, Joerg Riechardt wrote: https://github.com/j1rie/IRMP_STM32 Thank you. This is a user space solution, with the benefit that it is not limited to Linux. I think that it would be good to mention this at

Re: [vdr] Integartion with systemd and rtcwake

2023-04-11 Thread Marko Mäkelä
Tue, Apr 11, 2023 at 12:23:44PM +0200, Joerg Riechardt wrote: Maybe still not what you want, but how other guys do it: https://www.vdr-portal.de/forum/index.php?thread/133092-ein-weiterer-ir-einschalter-f%C3%BCr-den-rpi/=1319903=mosfet

Re: [vdr] Integartion with systemd and rtcwake

2023-04-10 Thread Marko Mäkelä
Mon, Apr 10, 2023 at 07:08:29AM -0700, VDRU VDRU wrote: Why don't you make life easy and just add a $5-10 rtc module and be done with it? Based on this discussion https://forums.raspberrypi.com/viewtopic.php?t=210662 one would need more than that. "Shutting down" the Raspberry Pi will

[vdr] Integartion with systemd and rtcwake

2023-04-10 Thread Marko Mäkelä
Some time ago, I created the wiki page https://www.linuxtv.org/vdrwiki/index.php/Systemd that describes much of my VDR installation. On my Raspberry Pi, there is no real-time-clock. My low-tech solution for waking up VDR for recordings is that I set an alarm on my phone, to remind me to turn

Re: [vdr] [PATCH] Add thread safety to cRingBufferLinear

2023-02-25 Thread Marko Mäkelä
Tue, Feb 21, 2023 at 10:47:28AM +0100, Klaus Schmidinger wrote: On 19.02.23 18:29, Patrick Lerda wrote: ... I had definitively a few crashes related to this class. Thread safety issues are often not easily reproducible. Is your environment 100% reliable? My VDR runs for weeks, even months

Re: [vdr] [PATCH] Fix cThread related race conditions

2023-02-18 Thread Marko Mäkelä
Wed, Feb 15, 2023 at 05:17:55PM +0100, Klaus Schmidinger wrote: On 02.02.23 21:56, Patrick Lerda wrote: ... diff --git a/thread.c b/thread.c index 93eb8c0..21be7a4 100644 --- a/thread.c +++ b/thread.c @@ -312,13 +312,16 @@ bool cThread::Start(void)

Re: [vdr] [PATCH] Use cThread::mutex with absolute cCondVar::TimedWait()

2023-02-18 Thread Marko Mäkelä
Wed, Feb 15, 2023 at 06:01:46PM +0100, Klaus Schmidinger wrote: On 22.01.23 13:52, Marko Mäkelä wrote: Hi, I would propose the following patch, or some equivalent interface that would allow cThread::mutex to be used with some cCondVar in derived classes: diff --git a/thread.h b/thread.h

Re: [vdr] [PATCH] Add thread safety to cRingBufferLinear

2023-02-06 Thread Marko Mäkelä
Tue, Feb 07, 2023 at 12:54:16AM +0100, Udo Richter wrote: Two-ended buffers are pretty good when used correctly, but nowadays they have a small chance of triggering memory ordering issues, where it is possible that written data to the buffer is still stuck in a distant cache, while the updated

Re: [vdr] [PATCH] Use cThread::mutex with absolute cCondVar::TimedWait()

2023-01-22 Thread Marko Mäkelä
Sun, Jan 22, 2023 at 02:52:03PM +0200, Marko Mäkelä wrote: This code illustrates another limitation: There is no way to pass an absolute time to cCondVar::TimedWait(). On each call, a relative wake-up time (milliseconds from the current time) will be converted into an absolute time

[vdr] [PATCH] Use cThread::mutex with absolute cCondVar::TimedWait()

2023-01-22 Thread Marko Mäkelä
Hi, I would propose the following patch, or some equivalent interface that would allow cThread::mutex to be used with some cCondVar in derived classes: diff --git a/thread.h b/thread.h index 16c4bd75..cd1d98ab 100644 --- a/thread.h +++ b/thread.h @@ -83,7 +83,9 @@ private: bool running;

Re: [vdr] Running VDR from systemd on Raspberry Pi OS

2022-12-29 Thread Marko Mäkelä
Sat, Dec 24, 2022 at 11:33:19AM +0200, Marko Mäkelä wrote: Yesterday, I finally bought external storage for my Raspberry Pi based VDR setup, a Samsung Portable SSD T7. I have now documented my setup in the following wiki pages: https://www.linuxtv.org/vdrwiki/index.php/Systemd https

Re: [vdr] Running VDR from systemd on Raspberry Pi OS

2022-12-28 Thread Marko Mäkelä
Tue, Dec 27, 2022 at 11:15:29PM +0100, Martin Dummer wrote: Am 27.12.22 um 21:49 schrieb Marko Mäkelä: First, I removed the custom /etc/fstab entry. Everything will be controlled by systemd as follows: On systemd-systems, each line  in /etc/fstab is automatically converted by a binary

Re: [vdr] Running VDR from systemd on Raspberry Pi OS

2022-12-27 Thread Marko Mäkelä
Tue, Dec 27, 2022 at 12:04:00PM +0200, Marko Mäkelä wrote: I might configure some more, such as: * Write some udev rule so that when the USB storage is unplugged and replugged, the file system will be auto-mounted and VDR service will be started. * Restore /etc/systemd/logind.conf

Re: [vdr] Running VDR from systemd on Raspberry Pi OS

2022-12-27 Thread Marko Mäkelä
Mon, Dec 26, 2022 at 01:34:48AM +0100, Udo Richter wrote: No, just replace the call to vdr in the service with a call to a runvdr script (any of the ones floating around, or just a three-liner), and in that script, after vdr ends, do whatever cleanup you need to do. I see. That could certainly

Re: [vdr] Running VDR from systemd on Raspberry Pi OS

2022-12-25 Thread Marko Mäkelä
Sun, Dec 25, 2022 at 01:10:51PM +0100, Udo Richter wrote: On 24.12.22 10:33, Marko Mäkelä wrote: then   sudo service vdr stop   sudo umount /video   sudo udisksctl power-off -b /dev/sda fi The first step appears to terminate the shell script, because the shell is a subprocess of VDR. So

[vdr] Running VDR from systemd on Raspberry Pi OS

2022-12-24 Thread Marko Mäkelä
Yesterday, I finally bought external storage for my Raspberry Pi based VDR setup, a Samsung Portable SSD T7. It supports USB 3, but it also works on the Raspberry Pi 2's USB 2.0 and does not consume too much power. My old tower PC case based system that I had set up in 2004 has now been

Re: [vdr] [PATCH] ThreadSanitizer warnings for cThread

2022-12-14 Thread Marko Mäkelä
Wed, Dec 14, 2022 at 10:21:10AM +0100, Klaus Schmidinger wrote: Is there an actual problem that requires this? It has been that way for many, many years, so I'd like to see more than "looks problematic to me" before I dare touch this ;-). The only problem that I am currently aware of is

Re: [vdr] [PATCH] ThreadSanitizer warnings for cThread

2022-12-12 Thread Marko Mäkelä
Sat, Dec 10, 2022 at 07:30:50PM +0200, Marko Mäkelä wrote: Because of the heap-use-after-free race condition that was rather easily reproducible with AddressSanitizer (-fsanitize=address), I thought that I should finally try to learn to use ThreadSanitizer (TSAN, -fsanitize=thread in GCC

Re: [vdr] [PATCH] ThreadSanitizer warnings for cThread

2022-12-10 Thread Marko Mäkelä
Sat, Dec 10, 2022 at 07:30:50PM +0200, Marko Mäkelä wrote: Finally, I figured out what is causing the first report: cThread::description is not protected by cThread::mutex. Sorry, I failed to notice that even after applying both patches, both TSAN reports are still there. The race condition

[vdr] [PATCH] ThreadSanitizer warnings for cThread

2022-12-10 Thread Marko Mäkelä
Because of the heap-use-after-free race condition that was rather easily reproducible with AddressSanitizer (-fsanitize=address), I thought that I should finally try to learn to use ThreadSanitizer (TSAN, -fsanitize=thread in GCC and clang). https://clang.llvm.org/docs/ThreadSanitizer.html

Re: [vdr] [PATCH] Fix undefined behaviour

2022-12-06 Thread Marko Mäkelä
Tue, Dec 06, 2022 at 01:24:09PM +0200, Marko Mäkelä wrote: The first attached patch includes your suggested fixes and nothing that you opposed so far. The second attached patch fixes the following 2 issues. I agree that the NumCamSlots==0 case could be solved in a nicer way. I tried to make

Re: [vdr] [PATCH] Fix undefined behaviour

2022-12-06 Thread Marko Mäkelä
Mon, Dec 05, 2022 at 04:08:45PM +0100, Klaus Schmidinger wrote: Instead if typecasting I guess I'll rather do it this way: This worked as well. If x2 ever becomes negative, something else must have gone wrong. The actual culprit is cDvbSubtitleConverter::FinishPage(), which was invoking

Re: [vdr] [PATCH] Fix undefined behaviour

2022-12-06 Thread Marko Mäkelä
Hi Klaus, Tue, Dec 06, 2022 at 12:05:02AM +0100, Klaus Schmidinger wrote: In cDevice::GetDevice() SlotPriority[] is never touched if NumCamSlots is 0. So the compiler may assume whatever it wants in that case, it won't matter. Or can you show a case where it actually misbehaves? Because I am

Re: [vdr] [PATCH] Fix undefined behaviour

2022-12-05 Thread Marko Mäkelä
Hi Klaus, Mon, Dec 05, 2022 at 04:08:45PM +0100, Klaus Schmidinger wrote: If NumCamSlots is 0, SlotPriority[] is never accessed. So why allocate memory for it if it is never used? Allocating a variable-length array of length 0 is undefined behaviour. The compiler is allowed to assume

[vdr] [PATCH] Fix undefined behaviour

2022-12-04 Thread Marko Mäkelä
Another day, another sanitizer. After fixing issues reported by -fsanitize=address yesterday, I gave -fsanitize=undefined a try. The GCC documentation points to the clang documentation: https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html The issues related to cControl::player were

[vdr] [PATCH] Race conditions on shutdown

2022-12-03 Thread Marko Mäkelä
Wed, Nov 30, 2022 at 02:01:13PM +0100, Klaus Schmidinger wrote: VDR version 2.6.2 is now available at the official VDR GIT archive git://git.tvdr.de Thank you, Klaus! While debugging hangs or crashes during the shutdown of rpihddevice (see https://github.com/reufer/rpihddevice/pull/6

Re: [vdr] VDR keeps a tuner busy when a recording is paused

2022-11-28 Thread Marko Mäkelä
Mon, Nov 28, 2022 at 12:27:08PM +, Richard F wrote: FYI I'm using the powersaving patch on a system with an Astrometa USB stick + an old Winfast PCI receiver, and I see 2-3W reduction when the Astrometa frontend is shut down: I only tested with a single receiver. Your patch may very well

[vdr] VDR keeps a tuner busy when a recording is paused

2022-11-27 Thread Marko Mäkelä
Sun, Oct 17, 2021 at 10:52:11PM +0300, Marko Mäkelä wrote: I noticed that VDR is consuming about 5% of the CPU power according to "top". Could it not be made more event-based? It might be interesting to check with "powertop" how many wakeups per second there are, an

[vdr] [PATCH] Support kernel-based LIRC

2022-11-06 Thread Marko Mäkelä
I thought that it would be a good idea to make use of the built-in LIRC driver of the Linux kernel. Currently, there is a --lirc option for interfacing to a user-space driver (lircd), but nothing for using the kernel driver. The "remote" plugin can interface with /dev/input/event* but not with

[vdr] Getting started with Pi TV HAT and gpio-ir

2022-10-22 Thread Marko Mäkelä
Hi all, Much of this message would probably belong to some wiki page, along with some photographs that I made. Before starting to write this, I checked https://vdr-projects.github.io and did not find any hardware projects. The hardware section of the VDR wiki at https://www.linuxtv.org does

Re: [vdr] How to use /dev/lirc0 in VDR?

2022-07-24 Thread Marko Mäkelä
Wed, Jul 20, 2022 at 12:34:19PM +0300, Marko Mäkelä wrote: Mon, Jul 18, 2022 at 09:36:55AM +0300, Marko Mäkelä wrote: TL;DR: How could I connect VDR to the kernel-provided /dev/lirc0 device? Is there a dummy lircd implementation that would simply open /dev/lirc0 in LIRC_MODE_SCANCODE

Re: [vdr] How to use /dev/lirc0 in VDR?

2022-07-20 Thread Marko Mäkelä
Mon, Jul 18, 2022 at 09:36:55AM +0300, Marko Mäkelä wrote: TL;DR: How could I connect VDR to the kernel-provided /dev/lirc0 device? Is there a dummy lircd implementation that would simply open /dev/lirc0 in LIRC_MODE_SCANCODE and relay its contents over a socket? I wrote a simple converter

[vdr] How to use /dev/lirc0 in VDR?

2022-07-18 Thread Marko Mäkelä
Hi all, TL;DR: How could I connect VDR to the kernel-provided /dev/lirc0 device? Is there a dummy lircd implementation that would simply open /dev/lirc0 in LIRC_MODE_SCANCODE and relay its contents over a socket? As far as I understand, LIRC was first implemented as a user-space daemon

Re: [vdr] Attempting to use rpihddevice on Debian

2022-01-07 Thread Marko Mäkelä
Mon, Jan 03, 2022 at 09:47:11AM +0200, Marko Mäkelä wrote: Sat, Jan 01, 2022 at 06:41:19PM +0200, Marko Mäkelä wrote: sudo make -C vdr install LD_LIBRARY_PATH=/opt/vc/lib:/opt/vc/lib/plugins vdr -Prpihddevice It failed due to an unresolved symbol: vdr: /opt/vc/lib/libEGL.so: undefined symbol

Re: [vdr] Configuring the remote control unit for the Astrometa USB stick

2022-01-03 Thread Marko Mäkelä
Sun, Dec 03, 2017 at 09:16:31PM +0200, Marko Mäkelä wrote: On Sat, Dec 02, 2017 at 09:57:37PM +0200, Marko Mäkelä wrote: Now I will only have to figure out how to get the remote control to work. The Astrometa driver in the Linux kernel exposes a /dev/input/event device that did not react

Re: [vdr] Attempting to use rpihddevice on Debian

2022-01-02 Thread Marko Mäkelä
Sat, Jan 01, 2022 at 06:41:19PM +0200, Marko Mäkelä wrote: sudo make -C vdr install LD_LIBRARY_PATH=/opt/vc/lib:/opt/vc/lib/plugins vdr -Prpihddevice It failed due to an unresolved symbol: vdr: /opt/vc/lib/libEGL.so: undefined symbol: glPointSizePointerOES A similar problem (with no solution

Re: [vdr] VDR packages in Debian and e-tobi.net

2022-01-02 Thread Marko Mäkelä
Sat, Jan 01, 2022 at 06:44:52PM +0100, Narcis Garcia wrote: As Far As I Know w-scan2 is needed to tune DVB-T2 https://github.com/stefantalpalaru/w_scan2/ Another DVB-T2 compatible solution (which also supports DVB-T) is t2scan. This is how I built and invoked it on my Raspberry Pi 2 (using

[vdr] Attempting to use rpihddevice on Debian

2022-01-01 Thread Marko Mäkelä
Thu, Dec 30, 2021 at 07:55:40PM +0200, Marko Mäkelä wrote: https://github.com/raspberrypi/userland I was able to build and install this in /opt/vc (which is where rpihddevice looks for it) after installing sudo and cmake: git clone https://github.com/raspberrypi/userland (cd userland

Re: [vdr] VDR packages in Debian and e-tobi.net

2021-12-30 Thread Marko Mäkelä
Wed, Dec 29, 2021 at 04:56:54PM +0200, René wrote: Klaus just released 2.6.0. Any chance if we could get that version too? :-) For me, git://projects.vdr-developer.org/vdr-plugin-rpihddevice.git would be a must-have feature. Today I made an attempt of installing Debian Sid from the scratch

Re: [vdr] Making VDR run under Systemd

2021-10-21 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

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

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-13 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

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

[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

Re: [vdr] Trouble with DVB-T2 on frontend 1

2017-12-12 Thread Marko Mäkelä
On Tue, Dec 12, 2017 at 11:26:08AM +0100, Karl-Heinz Volk wrote: There is no EPG with this. I have tried to use dvbv5-scan like Marko described but I cannot find initial files for my location. Sorry, I could have mentioned that I got the initial files from

[vdr] Configuring the remote control unit for the Astrometa USB stick

2017-12-03 Thread Marko Mäkelä
On Sat, Dec 02, 2017 at 09:57:37PM +0200, Marko Mäkelä wrote: Now I will only have to figure out how to get the remote control to work. The Astrometa driver in the Linux kernel exposes a /dev/input/event device that did not react to any of my remote control units, including the one

Re: [vdr] Trouble with DVB-T2 on frontend 1

2017-12-02 Thread Marko Mäkelä
On Wed, Nov 29, 2017 at 11:13:24AM +0100, Klaus Schmidinger wrote: The second startup is for a tweak where I removed /dev/dvb/adapter0/frontend0 and renamed frontend1 to frontend0. On this startup, VDR will not complain anything, but it will not find any signal either. It properly detects the

Re: [vdr] Trouble with DVB-T2 on frontend 1

2017-11-28 Thread Marko Mäkelä
Hallo Klaus, On Tue, Nov 28, 2017 at 11:28:13AM +0100, Klaus Schmidinger wrote: On 27.11.2017 19:55, Marko Mäkelä wrote: On Sun, Nov 26, 2017 at 07:21:58PM +0200, Marko Mäkelä wrote: Hi all, I recently got a USB adapter "Astrometa DVB-T2" that I would like to use with VDR. It com

Re: [vdr] Trouble with DVB-T2 on frontend 1

2017-11-27 Thread Marko Mäkelä
On Sun, Nov 26, 2017 at 07:21:58PM +0200, Marko Mäkelä wrote: Hi all, I recently got a USB adapter "Astrometa DVB-T2" that I would like to use with VDR. It comprises two frontends: /dev/dvb/adapter0/frontend0: Realtek RTL2832 (DVB-T) /dev/dvb/adapter0/frontend1: Panasonic MN884

[vdr] Trouble with DVB-T2 on frontend 1

2017-11-26 Thread Marko Mäkelä
Hi all, I recently got a USB adapter "Astrometa DVB-T2" that I would like to use with VDR. It comprises two frontends: /dev/dvb/adapter0/frontend0: Realtek RTL2832 (DVB-T) /dev/dvb/adapter0/frontend1: Panasonic MN88473 (DVB-T2 and DVB-C) I guess it is similar to this one; just a slightly

Re: [vdr] vdr-plugin-iptv-2.2.1 fails on compile

2016-05-16 Thread Marko Mäkelä
the source, you could also try to work around the issues by specifying -std=gnu++03 or -std=gnu++98. Marko Mäkelä ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Re: [vdr] vdr-plugin-iptv-2.2.1 fails on compile

2016-05-16 Thread Marko Mäkelä
u try to add spaces around the errstr parameter, like this: esyslog("[%s,%d]: " errstr ": %s", __FILE__, __LINE__,\ Best regards, Marko Mäkelä ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Re: [vdr] Raspberry Pi, satip, MLD

2015-11-15 Thread Marko Mäkelä
On Sun, Nov 15, 2015 at 07:09:41PM +0100, Nicolas Huillard wrote: I know have an RPi2 installed since a few days, which works great. Coincidentally, I acquired a Raspberry Pi 2 about 2 weeks ago. I installed Raspbian, compiled VDR 2.2.0 and the following plugins:

Re: [vdr] vdr 2.2.0 + dvbapi plugin + libdvbcsa (Raspi)

2015-06-09 Thread Marko Mäkelä
On Tue, Jun 09, 2015 at 07:28:21AM +0300, Jari Fredriksson wrote: vdr: /usr/local/lib/vdr/libvdr-dvbapi.so.2.2.0: undefined symbol: _Z21set_even_control_wordPvPKh The dvbcsa library is linked OK, so I wonder what might cause this. c++filt demangles the symbol name to

Re: [vdr] xineliboutput and streamdev at the same time

2015-04-20 Thread Marko Mäkelä
On Mon, Apr 20, 2015 at 03:15:08PM +0200, Patrick Boettcher wrote: Is it technically possible to for example pause a live SD TV stream and copy some files over the Ethernet at the same time? Which scenario? VDR on RPI or on a remote? If VDR on a remote host, IIRC, pausing causes very few

Re: [vdr] xineliboutput and streamdev at the same time

2015-04-20 Thread Marko Mäkelä
On Mon, Apr 20, 2015 at 11:40:41AM +0200, Patrick Boettcher wrote: vdr-fbfe is connecting over network to a vdr running on a full machine. No need for streamdev. This looks interesting. Am I right assuming that the full machine will not need any video output? Can vdr-fbfe be used for editing

Re: [vdr] from xineliboutput to ... perhaps softhdddevice?

2015-04-17 Thread Marko Mäkelä
On Fri, Apr 17, 2015 at 09:25:22AM +0300, Füley István wrote: I know, it's not a proper answer for your problem, but I think at the moment the best native vdr client is a Raspberry Pi with Thomas Reufer's great plugin. It's small, cheap and (using with vdr) it's fast. Speaking of small and

Re: [vdr] from xineliboutput to ... perhaps softhdddevice?

2015-04-17 Thread Marko Mäkelä
Hi Cedric, On Fri, Apr 17, 2015 at 12:08:05PM +0200, cedric.dew...@telfort.nl wrote: Write performance on the uSD card is terrible, even with a class 10 card. Updating debian on the card takes patience. AFAIU if you are not afraid of bricking the Cubietruck, you could install Debian on the

Re: [vdr] [ANNOUNCE] VDR version 2.2.0 released - Celebrating 15 years of VDR!

2015-02-20 Thread Marko Mäkelä
On Thu, Feb 19, 2015 at 01:25:04PM +0100, Klaus Schmidinger wrote: On 19.02.2015 12:55, fnu wrote: http://www.heise.de/newsticker/meldung/Seiner-Zeit-voraus-Klaus-Schmidingers-Video-Disk-Recorder-VDR-2552972.html Great! Thank you Tobias, Mirko Doelle and Peter Siering! Thanks from me,

Re: [vdr] Want to have Permashift in your own language?

2014-11-22 Thread Marko Mäkelä
On Fri, Nov 21, 2014 at 07:56:28PM +0100, Eike wrote: got German, English and Russian. If you'd like your favorite language to be included, it's as easy as translating the following 7 texts. For support of SD TV displays it would be good to have every line except the first two to be smaller than

Re: [vdr] Debian, howto get the latest and greatest VDR (source) packages?

2014-08-10 Thread Marko Mäkelä
On Sun, Aug 10, 2014 at 02:44:40PM +0200, cedric.dew...@telfort.nl wrote: How can I get, compile, package and install the latest versions on debian? If I remember correctly, I did roughly the following: 1. apt-get source vdr (version 1.7) 2. Get the VDR 2.x source package 3. Replace the

Re: [vdr] Raspberry Pi, Streamdev + rpihddevice

2014-07-18 Thread Marko Mäkelä
On Tue, Jul 08, 2014 at 05:01:15PM +0200, cedric.dew...@telfort.nl wrote: OK, I see. I would prefer an all-in-one solution (HDMI output, DVB-T input, Ethernet and hard disk in a single device). This would seem to be doable with an ARM board that supports SATA devices. On the RPi I would not

Re: [vdr] Raspberry Pi, Streamdev + rpihddevice

2014-07-08 Thread Marko Mäkelä
Oh, hi, Martin! Long time no see. Are you still using the old softdevice? I would have never guessed someone is still using it :-) Yes! I was in stealth mode for several years, until I finally upgraded the software (Debian+VDR) from 2006 less than a year ago. I tried to contribute some

Re: [vdr] TBS6285 slow onscreen menu

2014-06-02 Thread Marko Mäkelä
On Mon, Jun 02, 2014 at 04:23:36PM +0200, Milos Kapoun wrote: TBS drivers replace all media tree in the kernel. After compilation I have problem with IR remote on the current Hauppage Nova–T card. If the Hauppauge card is comparable with the Nova-T PCI 90002 and if the media drivers are

Re: [vdr] cSoftDevice::StillPicture() not updating video in VDR 2.0

2014-05-31 Thread Marko Mäkelä
On Wed, Dec 25, 2013 at 04:50:39PM +0200, Marko Mäkelä wrote: After upgrading to VDR 2.0, I got Softdevice to almost work (see the mail archive a couple of months ago). Sometimes it is showing garbage (really random noise) on the MGA350 OSD layer; I can live with that, as this box is only used

[vdr] Streaming DVD contents from VDR?

2014-02-01 Thread Marko Mäkelä
Hi, I have a minimal setup consisting of an old PC sitting in a different room, and a Samsung SmartTV in the living room. We rarely watch any DVDs in my family, so we do not have any dedicated DVD player. I used to use a DVD player plugin when the VDR PC was in the living room, attached to

Re: [vdr] [PATCH] vdr -v ... --edit ignores -v to set videodir

2013-12-25 Thread Marko Mäkelä
On Wed, Dec 25, 2013 at 12:35:19PM +0100, Klaus Schmidinger wrote: I think I'll do it this way: Thanks, this looks OK too. I guess that your patch is against the development branch. In 2.0.4, the function is SetVideoDirectory() instead of cVideoDirectory::SetName(). Marko

[vdr] cSoftDevice::StillPicture() not updating video in VDR 2.0

2013-12-25 Thread Marko Mäkelä
After upgrading to VDR 2.0, I got Softdevice to almost work (see the mail archive a couple of months ago). Sometimes it is showing garbage (really random noise) on the MGA350 OSD layer; I can live with that, as this box is only used for infrequent recordings. The last annoying problem is that

Re: [vdr] cSoftDevice::StillPicture() not updating video in VDR 2.0

2013-12-25 Thread Marko Mäkelä
On Wed, Dec 25, 2013 at 12:23:23PM -0800, VDR User wrote: If you haven't done so already, please bring this to Johns (author of softhddevice) at the vdrportal forum. I did not yet, because softdevice has little to do with softhddevice. But thanks for the hint, I think I should set up vdr,

Re: [vdr] [PATCH] vdr -v ... --edit ignores -v to set videodir

2013-12-21 Thread Marko Mäkelä
On Mon, Dec 16, 2013 at 07:11:52PM +0200, Marko Mäkelä wrote: With the patch, VDR successfully cut the recording. The source files were in PES format, and also the new recording is in PES format. Based on a discussion from 2008, this is the expected behaviour. Is there some tool

[vdr] [PATCH] vdr -v ... --edit ignores -v to set videodir

2013-12-16 Thread Marko Mäkelä
Hi all, I am not sure if this was reported already, but I encountered this bug when trying to edit a recording without setting up VDR: ./vdr -v /tmp/video --edit /tmp/video/Rec_name/2013-08-12.20.58.50.99.rec Without the attached patch, VDR would try to create /srv/vdr/video, and would fail

Re: [vdr] Valgrind warnings with LCARS OSD

2013-11-16 Thread Marko Mäkelä
Hi Klaus, Thanks for debugging this! Please try whether this fixes it: --- skinlcars.c +++ skinlcars.c @@ -900,6 +900,15 @@ ys03 = ys04 - Gap; ys05 = yb15; + // The item area (just to have them initialized, actual setting will be done in SetMenuCategory(): + + xi00 = 0; + xi01 = 0; +

[vdr] Valgrind warnings with LCARS OSD

2013-11-15 Thread Marko Mäkelä
Hi all, I played a little with Valgrind: valgrind --vgdb=yes --vgdb-error=0 ./vdr ... and in gdb, (gdb) target remote |vgdb This seems to give me a false alarm for cRecording::cRecording(): Program received signal SIGTRAP, Trace/breakpoint trap. 0x0811951a in cRecording::cRecording

Re: [vdr] Valgrind warnings with LCARS OSD

2013-11-15 Thread Marko Mäkelä
Hi Klaus, On Fri, Nov 15, 2013 at 04:47:10PM +0100, Klaus Schmidinger wrote: #2 0x0810e3d2 in cPixmapMemory::DrawRectangle (this=0x6d3fe78, Rect=..., Color=2566914048) at osd.c:1333 1333 cRect r = Rect.Intersected(DrawPort().Size()); As far as I can tell, the entirely uninitialized

Re: [vdr] OSD and subtitles trouble

2013-11-10 Thread Marko Mäkelä
On Sun, Nov 10, 2013 at 04:44:44PM +0200, Sami Ketola wrote: This is not entirely true. All broadcasters in Finland are using DVB subtitles except Nelonen Media on all their channels and MTV Media on Sub channel. Yes even MTV3 seems to be DVB subtitled now. I must admit that I do not watch TV

Re: [vdr] OSD and subtitles trouble

2013-11-09 Thread Marko Mäkelä
On Sat, Nov 09, 2013 at 11:36:55AM +0100, Klaus Schmidinger wrote: I just tried this on my VDR with a TT S2-6400 and there was no such problem. I assume that this is related to the softdevice OSD implementation and not the core VDR. Thank you for testing, Klaus! Were you able to test the

Re: [vdr] OSD and subtitles trouble

2013-11-09 Thread Marko Mäkelä
Hi Klaus, I have no such problem here. If I open the menu of the channel/progress display while subtitles are active, no subtitles are displayed while the menu is open and they continue to be displayed once the menu has been closed again. OK. The only difference that I am seeing (after

[vdr] OSD and subtitles trouble

2013-11-08 Thread Marko Mäkelä
I did some more hacking and got softdevice to a useable state on VDR 2.0.4. My patch against softdevice cvs is attached. The TL;DR version is that I suspect 2 bugs in VDR 2.0.4: (1) The bottom 1% lines of the OSD are not being cleared when the OSD extends that low. (I can choose up to 99%

Re: [vdr] Trouble with softdevice -vo dfb:mgatv OSD with vdr 2.0.4

2013-11-03 Thread Marko Mäkelä
On Fri, Nov 01, 2013 at 11:19:48PM +0200, Marko Mäkelä wrote: If I change the assignment to isTrueColor=false, the square goes away and I will get the familiar gray rectangles on the screen (from the else block that I omitted above). I did some further studying. The truecolor OSD

Re: [vdr] Trouble with softdevice -vo dfb:mgatv OSD with vdr 2.0.4

2013-11-03 Thread Marko Mäkelä
On Sun, Nov 03, 2013 at 10:01:54PM +0200, Marko Mäkelä wrote: On Fri, Nov 01, 2013 at 11:19:48PM +0200, Marko Mäkelä wrote: If I change the assignment to isTrueColor=false, the square goes away and I will get the familiar gray rectangles on the screen (from the else block that I omitted above

Re: [vdr] Trouble with softdevice -vo dfb:mgatv OSD with vdr 2.0.4

2013-11-03 Thread Marko Mäkelä
On Sun, Nov 03, 2013 at 05:25:36PM -0800, VDR User wrote: Have you tried softhddevice for output? http://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git/ It looks like this is based on the X server. I see no reference to DirectFB in the README.txt or the Makefile. The Matrox

[vdr] Trouble with softdevice -vo dfb:mgatv OSD with vdr 2.0.4

2013-11-01 Thread Marko Mäkelä
Hi all, I used to follow the vdr development between 1.3.x and 1.6.0. I stopped updating my system around 2007, because it was working well enough for me. This year, I bought a Samsung SmartTV, hoping that it could be replace the old PC. Little did I know that the USB interface does not

Re: [vdr] vdr-1.5.1 problems with the new shutdown code

2007-03-04 Thread Marko Mäkelä
On Sun, Mar 04, 2007 at 08:31:16PM +0100, Udo Richter wrote: Rolf Ahrenberg wrote: On Sun, 4 Mar 2007, Udo Richter wrote: Mar 4 18:31:14 xxx vdr: [6740] LastActivity: Never Mar 4 18:31:14 xxx vdr: [6740] ActiveTimeout: 2104 Mar 4 18:31:14 xxx vdr: [6740] Retry: Never ... goes on and

Re: [vdr] [RFC] Shutdown rewrite for 1.5.x, final

2007-03-03 Thread Marko Mäkelä
On Sat, Mar 03, 2007 at 04:36:03PM +0100, Klaus Schmidinger wrote: Sorry, I forgot one feature request. In a private discussion with Klaus a long time ago (around vdr 1.3.30), Klaus mentioned the idea of VDR remembering the name of the last replayed recording across shutdowns. That is,

Re: [vdr] [RFC] Shutdown rewrite for 1.5.x

2007-02-25 Thread Marko Mäkelä
On Sun, Jan 28, 2007 at 05:50:46PM +0100, Udo Richter wrote: - Added #define PATCH_SHUTDOWN_REWRITE to detect the patch Use #if VDRVERSNUM = 105xx || defined(PATCH_SHUTDOWN_REWRITE) after final integration into VDR. Now that VDR 1.5.1 includes the patch, I wonder if you are going to

Re: [vdr] [RFC] Shutdown rewrite for 1.5.x

2007-02-25 Thread Marko Mäkelä
On Sun, Feb 25, 2007 at 09:11:36PM +0200, Marko Mäkelä wrote: On Sun, Jan 28, 2007 at 05:50:46PM +0100, Udo Richter wrote: - Added #define PATCH_SHUTDOWN_REWRITE to detect the patch Use #if VDRVERSNUM = 105xx || defined(PATCH_SHUTDOWN_REWRITE) after final integration into VDR. Now

[vdr] [ANNOUNCE] Relay plugin 0.1.1 for VDR 1.5.1

2007-02-25 Thread Marko Mäkelä
Because the global variable Shutdown introduced in Udo Richter's shutdown rewrite was renamed to ShutdownHandler in VDR 1.5.1, I have to release a new version of the relay plugin, for powering the output equipment on or off via RS-232. http://www.iki.fi/~msmakela/software/vdr/#relay

Re: [vdr] Key and button

2007-02-19 Thread Marko Mäkelä
On Mon, Feb 19, 2007 at 08:07:05PM +0200, Rolf Ahrenberg wrote: Shouldn't it be button (Knopf) instead of key (Taste)? I would guess that most people control vdr with a remote control unit instead of a keyboard. Besides, nappia is shorter than näppäintä (as in the Finnish translation of

[vdr] RS-232 relay plugin adapted for the shutdown rewrite

2007-02-18 Thread Marko Mäkelä
On Sun, Jan 28, 2007 at 05:50:46PM +0100, Udo Richter wrote: Hi list, I've finished a third version of the shutdown rewrite. Again there are two patches available, one for VDR 1.5.0, and one with slight changes for 1.4.x. http://www.udo-richter.de/vdr/patches.html#shutdown

Re: [vdr] VDR user input slowness

2007-02-16 Thread Marko Mäkelä
On Fri, Feb 16, 2007 at 03:54:19PM +0200, Teemu Suikki wrote: But are you using the cx88 kernel module? My patch probably breaks all other drivers depending on ir-common.c or ir-funtions.c, as it is called in later 2.6 kernels. I'm talking about this patch, which I have been using since

Re: [vdr] VDR user input slowness

2007-02-15 Thread Marko Mäkelä
On Thu, Feb 15, 2007 at 04:37:16PM +0200, Teemu Suikki wrote: .. Replying to myself.. The problem seems to be in kernel level after all, I enabled ir_debug in budget-ci module and the same delay is there as well, debug log appears at the same time as vdr reacts to the keypress.

Re: [vdr] [RFC] Shutdown rewrite for 1.5.x

2007-02-14 Thread Marko Mäkelä
On Sun, Feb 11, 2007 at 08:11:03PM +, Darren Salt wrote: I demand that VDR User may or may not have written... On 2/8/07, Marko Mäkelä [EMAIL PROTECTED] wrote: (August already?) Hey, I wrote that on 2007-02-08 (ISO date) or 8.2.2007 (German or Finnish style date). I think

[vdr] WORC5 (Wakeup by RC5 infrared RCU) update

2007-02-11 Thread Marko Mäkelä
I finally got around to documenting the internal installation of my wake-on-remote module. http://www.iki.fi/~msmakela/electronics/worc5/#pci The instructions are for the Hauppauge Nova-T PCI 90002, but I guess that the module could be installed on any PCI card that features a connector for an

  1   2   >