Re: [vdr] Force VDR to save channels.conf

2012-05-27 Thread Anssi Hannula
26.05.2012 23:54, Tobi kirjoitti:
 On 26.05.2012 20:56, Artem Makhutov wrote:
 
 How ever - when I restart VDR the changes are not getting saved to
 channels.conf.
 
 Check the syslog. There might be a plugin not cleanly shutting down,
 making the vdr abort it's shutdown sequence causing it's settings to not
 be saved.

Unless things have changed very recently, VDR doesn't save channels.conf
on shutdown.

It only saves it
a) Immediately after user manually modifies channels via VDR
b) 10 minutes after automatic channel update

I've been hit with this many times as well, so I'd suggest to change VDR
so that it saves automatic channel updates on exit as well. Suggested
patch attached (only compile-tested, so actual testing is needed).

-- 
Anssi Hannula
Index: vdr-1.7.26/vdr.c
===
--- vdr-1.7.26/vdr.c
+++ vdr-1.7.26/vdr.c	2012-05-27 14:32:06.886993810 +0300
@@ -1299,6 +1299,10 @@
  Setup.CurrentVolume  = cDevice::CurrentVolume();
  Setup.Save();
  }
+  if (Channels.Modified()) {
+ // Save any automatic channels.conf modifications
+ Channels.Save();
+ }
   cDevice::Shutdown();
   EpgHandlers.Clear();
   PluginManager.Shutdown(true);
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording does not stop

2012-05-27 Thread Klaus Schmidinger

On 21.05.2012 22:26, brian wrote:

On 05/18/2012 05:04 PM, Klaus Schmidinger wrote:

On 18.05.2012 15:32, brian wrote:

On 05/18/2012 10:04 AM, Klaus Schmidinger wrote:

On 18.05.2012 09:49, brian wrote:

On 05/01/2012 01:28 PM, Klaus Schmidinger wrote:

On 01.05.2012 13:07, brian wrote:

On 05/01/2012 11:54 AM, Klaus Schmidinger wrote:

On 01.05.2012 07:50, brian wrote:

Hi,
doing some pretty heavy testing of VDR 1.7.21 as part of gen2vdr V3 and have 
now twice had the case
that a recording did not end. Supposed to end at 23:10 yesterday, still going 
strong at 06:00 this
morning. Can't find anything in the history file of VDR that this is a know 
problem and has been fixed in
later versions.
Here is some of the log:

Apr 30 21:59:00 [vdr] [2496] timer 1 (1 2159-2310 'Silent Witness') start
Apr 30 21:59:00 [vdr] [2496] Title: 'Silent Witness' Subtitle: 'Fear - Part Two'
Apr 30 21:59:00 [vdr] [2496] executing '/tmp/vdr/vdr_record before 
/video/Silent_Witness/2012-04-30.21.59.1-0.rec'
Apr 30 21:59:00 [logger] BJD g2v_record.sh Called: 0 = /tmp/vdr/vdr_record
Apr 30 21:59:00 [logger] 2012-04-30 21:59 /tmp/vdr/vdr_record before 
/video/Silent_Witness/2012-04-30.21.59.1-0.rec
Apr 30 21:59:00 [logger] /usr/sbin/mailtext: Started Start 2012-04-30 21.59 
Silent Witness.
Apr 30 21:59:00 [logger] [g2v_rec_msg.sh] Silent Witness: Warte auf Verzeichnis
- Last output repeated 2 times -
Apr 30 21:59:01 [sSMTP] Sent mail for brian_dorl...@t-online.de (221 2.0.0 
fwd22.t-online.de closing. / Verbindung wird getrennt.) u
Apr 30 21:59:01 [logger] Apr 30 21:59:01 gen2vdr sendemail[3863]: Email was 
sent successfully!
Apr 30 21:59:01 [logger] /usr/sbin/mailtext: Done
Apr 30 21:59:01 [vdr] [2496] record 
/video/Silent_Witness/2012-04-30.21.59.1-0.rec
Apr 30 21:59:01 [vdr] [2496] creating directory 
/video/Silent_Witness/2012-04-30.21.59.1-0.rec
Apr 30 21:59:02 [vdr] [2496] recording to 
'/video/Silent_Witness/2012-04-30.21.59.1-0.rec/1.ts'


Doesn't seem to try to end at 23:10

Apr 30 22:59:50 [vdr] [2738] channel 1 (BBC 1 London) event Mon 30.04.2012 
23:00-23:25 'BBC News' status 4
Apr 30 23:00:01 [cron] (root) CMD (rm -f /var/spool/cron/lastrun/cron.hourly)
Apr 30 23:01:59 [vdr] [2734] read incomplete section - len = 428, r = 214
Apr 30 23:12:36 [ntpd] peer 213.198.55.2 now valid
Apr 30 23:12:39 [ntpd] peer 129.70.132.36 now valid
Apr 30 23:12:48 [ntpd] peer 178.63.99.230 now valid
Apr 30 23:14:41 [vdr] [3935] recording to 
'/video/Silent_Witness/2012-04-30.21.59.1-0.rec/2.ts'
Apr 30 23:18:11 [kernel] lirc_serial: ignoring spike: 1 1 4f9f0193 4f9f0190 
87401 aa74b
Apr 30 23:20:41 [ntpd] skew change -36.162 exceeds limit
Apr 30 23:20:41 [ntpd] clock is now synced


Still going strong:

May 01 00:07:37 [vdr] [2738] channel 1 (BBC 1 London) event Tue 01.05.2012 
00:05-00:35 'Late Kick Off' status 4
May 01 00:19:30 [vdr] [3935] recording to 
'/video/Silent_Witness/2012-04-30.21.59.1-0.rec/3.ts'
May 01 00:24:40 [vdr] [2779] TVTV: Packed String: DKVxHLuoiXDxsDu98Eavvg==

May 01 01:23:04 [vdr] [3935] recording to 
'/video/Silent_Witness/2012-04-30.21.59.1-0.rec/4.ts'


Deleted the timer manually:

May 01 06:37:39 [vdr] [2496] timer 1 (1 2159-2310 'Silent Witness') stop
May 01 06:37:39 [vdr] [2496] executing '/tmp/vdr/vdr_record after 
/video/Silent_Witness/2012-04-30.21.59.1-0.rec'
May 01 06:37:39 [logger] BJD g2v_record.sh Called: 0 = /tmp/vdr/vdr_record
May 01 06:37:39 [logger] 2012-05-01 06:37 /tmp/vdr/vdr_record after 
/video/Silent_Witness/2012-04-30.21.59.1-0.rec
May 01 06:37:39 [logger] /usr/sbin/mailtext: Started End 2012-04-30 21.59 
Silent Witness.
May 01 06:37:39 [vdr] [3939] TS buffer on device 3 thread ended (pid=2496, 
tid=3939)
May 01 06:37:39 [vdr] [3936] buffer stats: 95316 (4%) used
May 01 06:37:39 [vdr] [3936] receiver on device 3 thread ended (pid=2496, 
tid=3936)

Any ideas?


Did this happen only once, or is it reproducible?

Is this plain vanilla VDR or are there any patches involved.
I never had this problem with plain vanilla VDR.

Klaus


Moin,

second time now. Its the standard gen2vdr distribution so various patches and 
plugins I guess.

I am not trying to use VPS, can I rule that out due to the messages shown?


Since there is no VPS keyword in the timer line at

Apr 30 21:59:00 [vdr] [2496] timer 1 (1 2159-2310 'Silent Witness') start

it's safe to assume that VPS is not being used.


Apr 30 23:01:59 [vdr] [2734] read incomplete section - len = 428, r = 214


Is the above message important?


No.


I'll try to strip it down then and see if it reoccurs.


Try to get rid of as many patches as possible (preferably all of them ;-).
And use only the plugin necessary for output, nothing else.

Klaus



Hi Klaus,

without plugins up till now no problems till yesterday evening. The VDR is 
still up, but not recording anything,
no disk activity at all.

May 17 21:59:03 [vdr] [2513] SVDRP message: 'Aufnahme: Close~Lost in 
Translation'
May 17 21:59:04 [vdr] [2513] info: Aufnahme: 

Re: [vdr] Bad choices of USB cards

2012-05-27 Thread Henning Pingel

Am 25.05.2012 21:02, schrieb Henning Pingel:

Am 25.05.2012 08:40, schrieb Marx:

On 23.05.2012 08:16, Marx wrote:

Finally everything seems ok. Even DVB-T tuner seems to work.
While it compiles and everything seems ok (I can watch or record from 
two cards at once), after a while (half day or so) suddenly I get 
dvb-usb: bulk message failed, dw2102: i2c transfer failed., 
INFO: task khubd:111 blocked for more than 120 seconds. etc.


Could you please list all the USB devices you have attached when the 
problem occurs?

Marx,

Again: Could you please list all the USB devices you have attached when 
the problem occurs?


It's a bit frustrating when people ask for help, get help and then 
vanish from the discussion.


Cheers,
Henning

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


[vdr] DVD menu issue

2012-05-27 Thread Richard Scobie
I have recently installed the dvd and dvdswitch on a new vdr system 
using a TT S2-6400 and am seeing a problem I did not have on the 
previous full feature card based setup.


On all DVD images, the menu highlight area, (that moves around as you 
navigate the menu), is either horizontally or vertically, (depending on 
DVD), displaced by a large amount.


Is anyone else seeing this?

vdr-1.2.27 libdvdnav-0.1.10 libdvdcss-1.2.11

Regards,

Richard

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


Re: [vdr] Bad choices of USB cards

2012-05-27 Thread Marx

W dniu 2012-05-27 14:52, Henning Pingel pisze:

Am 25.05.2012 21:02, schrieb Henning Pingel:

Am 25.05.2012 08:40, schrieb Marx:

On 23.05.2012 08:16, Marx wrote:

Finally everything seems ok. Even DVB-T tuner seems to work.

While it compiles and everything seems ok (I can watch or record from
two cards at once), after a while (half day or so) suddenly I get
dvb-usb: bulk message failed, dw2102: i2c transfer failed.,
INFO: task khubd:111 blocked for more than 120 seconds. etc.


Could you please list all the USB devices you have attached when the
problem occurs?

Marx,

Again: Could you please list all the USB devices you have attached when
the problem occurs?

It's a bit frustrating when people ask for help, get help and then
vanish from the discussion.

Sorry I was away.
I have three USB devices (2 different DVB-S2 tuners and one DVB-T), but 
problems exists even if I use only one of them.

Actually the only device I use is Terratec Cinergy S2 USB HD Rev.2

wuwek:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 007: ID 0ccd:00b0 TerraTec Electronic GmbH

Device seems to work, hovewer not reliable. Sometimes I have to restart 
vdr to make device working. Recorded stream isn't fully playable, seems 
like it plays to first error in stream and then later stream is unplayable.


I have standalone tuner connected to the same antenna via twin converter 
and it works ok.


Here are latest logs:

May 27 13:27:07 wuwek kernel: [188840.813108] dvb-usb: could not submit 
URB no. 0 - get them all back
May 27 13:27:07 wuwek kernel: [188840.813132] dvb-usb: bulk message 
failed: -19 (3/0)

May 27 13:27:07 wuwek kernel: [188840.813140] dw2102: i2c transfer failed.
May 27 13:27:08 wuwek kernel: [188842.132341] dvb-usb: bulk message 
failed: -19 (3/0)

May 27 13:27:08 wuwek kernel: [188842.132355] dw2102: i2c transfer failed.
May 27 13:27:09 wuwek kernel: [188843.022382] dvb-usb: Terratec Cinergy 
S2 USB HD Rev.2 successfully deinitialized and disconnected.
May 27 13:27:09 wuwek kernel: [188843.260115] usb 1-4: new high-speed 
USB device number 7 using ehci_hcd
May 27 13:27:09 wuwek kernel: [188843.393685] usb 1-4: New USB device 
found, idVendor=0ccd, idProduct=00b0
May 27 13:27:09 wuwek kernel: [188843.393700] usb 1-4: New USB device 
strings: Mfr=1, Product=2, SerialNumber=3

May 27 13:27:09 wuwek kernel: [188843.393710] usb 1-4: Product: USB Stick
May 27 13:27:09 wuwek kernel: [188843.393718] usb 1-4: Manufacturer: Max
May 27 13:27:09 wuwek kernel: [188843.393726] usb 1-4: SerialNumber: 080116
May 27 13:27:09 wuwek kernel: [188843.395225] dw2102: su3000_identify_state
May 27 13:27:09 wuwek kernel: [188843.395230]
May 27 13:27:09 wuwek kernel: [188843.395239] dvb-usb: found a 'Terratec 
Cinergy S2 USB HD Rev.2' in warm state.
May 27 13:27:09 wuwek kernel: [188843.395258] dw2102: su3000_power_ctrl: 
1, initialized 0

May 27 13:27:09 wuwek kernel: [188843.395262]
May 27 13:27:09 wuwek kernel: [188843.395538] dvb-usb: will pass the 
complete MPEG2 transport stream to the software demuxer.
May 27 13:27:09 wuwek kernel: [188843.395720] DVB: registering new 
adapter (Terratec Cinergy S2 USB HD Rev.2)

May 27 13:27:09 wuwek kernel: [188843.396424] ff 00 00 00 00 00
May 27 13:27:09 wuwek kernel: [188843.397166] ff ff 00 00 00 00
May 27 13:27:09 wuwek kernel: [188843.397914] ff ff ff 00 00 00
May 27 13:27:09 wuwek kernel: [188843.398663] ff ff ff ff 00 00
May 27 13:27:09 wuwek kernel: [188843.399413] ff ff ff ff ff 00
May 27 13:27:09 wuwek kernel: [188843.400175] ff ff ff ff ff ff
May 27 13:27:09 wuwek kernel: [188843.400192] dvb-usb: MAC address: 
ff:ff:ff:ff:ff:ff
May 27 13:27:09 wuwek kernel: [188843.405296] DS3000 chip version: 0.192 
attached.

May 27 13:27:09 wuwek kernel: [188843.405305] dw2102: Attached DS3000!
May 27 13:27:09 wuwek kernel: [188843.405309]
May 27 13:27:09 wuwek kernel: [188843.405319] DVB: registering adapter 0 
frontend 0 (Montage Technology DS3000/TS2020)...
May 27 13:27:09 wuwek kernel: [188843.406055] input: IR-receiver inside 
an USB DVB receiver as 
/devices/pci:00/:00:12.2/usb1/1-4/input/input64
May 27 13:27:09 wuwek kernel: [188843.406347] dvb-usb: schedule remote 
query interval to 150 msecs.
May 27 13:27:09 wuwek kernel: [188843.406360] dw2102: su3000_power_ctrl: 
0, initialized 1

May 27 13:27:09 wuwek kernel: [188843.406364]
May 27 13:27:09 wuwek kernel: [188843.406371] dvb-usb: Terratec Cinergy 
S2 USB HD Rev.2 successfully initialized and connected.
May 27 13:27:14 wuwek kernel: [188847.734416] dw2102: su3000_power_ctrl: 
1, initialized 1

May 27 13:27:14 wuwek kernel: