Message ID | 20130216154636.GA21094@triton8.kn-bremen.de |
---|---|
State | New |
Headers |
Received: from localhost ([127.0.0.1] helo=www.linuxtv.org) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from <vdr-bounces@linuxtv.org>) id 1U6k10-00019v-87; Sat, 16 Feb 2013 16:49:26 +0100 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from <vdr-l@jelal.kn-bremen.de>) id 1U6k0b-000176-E6 for vdr@linuxtv.org; Sat, 16 Feb 2013 16:49:25 +0100 X-tubIT-Incoming-IP: 78.46.108.116 Received: from gelbbaer.kn-bremen.de ([78.46.108.116] helo=smtp.kn-bremen.de) by mail.tu-berlin.de (exim-4.75/mailfrontend-4) with esmtp for <vdr@linuxtv.org> id 1U6k0b-0000zs-9z; Sat, 16 Feb 2013 16:49:01 +0100 Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 7E1241E00071; Sat, 16 Feb 2013 16:49:00 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.5/8.14.4) with ESMTP id r1GFkb2w021689; Sat, 16 Feb 2013 16:46:37 +0100 (CET) (envelope-from vdr-l@triton8.kn-bremen.de) Received: (from vdr-l@localhost) by triton8.kn-bremen.de (8.14.5/8.14.3/Submit) id r1GFkbkL021688; Sat, 16 Feb 2013 16:46:37 +0100 (CET) (envelope-from vdr-l) From: Juergen Lock <vdr-l@jelal.kn-bremen.de> Date: Sat, 16 Feb 2013 16:46:36 +0100 To: vdr@linuxtv.org Message-ID: <20130216154636.GA21094@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.2.16.153917 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, __ANY_URI 0, __CD 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_FROM 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_MAILTO 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0' X-LSpam-Score: -1.1 (-) X-LSpam-Report: No, score=-1.1 required=5.0 tests=BAYES_00=-1.9, RDNS_NONE=0.793 autolearn=no Cc: vdr@dolze.de Subject: [vdr] Device bonding X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: VDR Mailing List <vdr@linuxtv.org> List-Id: VDR Mailing List <vdr.linuxtv.org> List-Unsubscribe: <http://www.linuxtv.org/cgi-bin/mailman/options/vdr>, <mailto:vdr-request@linuxtv.org?subject=unsubscribe> List-Archive: <http://www.linuxtv.org/pipermail/vdr> List-Post: <mailto:vdr@linuxtv.org> List-Help: <mailto:vdr-request@linuxtv.org?subject=help> List-Subscribe: <http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr>, <mailto:vdr-request@linuxtv.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: vdr-bounces@linuxtv.org Errors-To: vdr-bounces@linuxtv.org |
Commit Message
Juergen Lock
Feb. 16, 2013, 3:46 p.m. UTC
Hi! Now that I have a spare DVB-S2 tuner (TechniSat SkyStar USB HD (adapter2); the others on this box are atm Hauppauge Nova-TD model 1172 (adapter 0+1) and TechnoTrend S2-3600 (adapter3) - all USB) I decided to play with vdr device bonding. I discovered three things: (still using vdr 1.7.29, I know I should upgrade... :) 1. The LNB setup OSD menu causes bonding to fail (it's trying to bond a DVB-T tuner) if I set the two DVB-S2 tuners as "connected to sat cable 1"; it works with "sat cable 2". Maybe it somehow thinks of (one of?) the DVB-T tuner(s) as cable 1 too? 2. The infosatepg plugin doesn't check MaySwitchTransponder() and thus grabs a bonded device when it shouldn't, I just patched that in the FreeBSD port: (plugin maintainer Cc'd) http://svnweb.freebsd.org/ports/head/multimedia/vdr-plugin-infosatepg/files/patch-infosatepg.cpp?r1=300896&r2=312357 3. Running with these four tuners (dual DVB-T and the bonded two DVB-S2) I get two different deadlocks waiting for cDvbTuner::bondMutex after live viewing a DVB-T(!) channel for longer (OSD doesn't react anymore and attaching gdb reveals two threads waiting for bondMutex) - the following two changes make it work but there probably is a better fix: (patch may apply with offsets; one of the problems I think is a lock order reversal with cDvbTuner::mutex and bondMutex when cDvbTuner::SetChannel calls back into itself with bondMutex held.) Thanx, Juergen
Comments
On 16.02.2013 16:46, Juergen Lock wrote: > Hi! > > Now that I have a spare DVB-S2 tuner (TechniSat SkyStar USB HD > (adapter2); the others on this box are atm Hauppauge Nova-TD model > 1172 (adapter 0+1) and TechnoTrend S2-3600 (adapter3) - all USB) I > decided to play with vdr device bonding. I discovered three things: > (still using vdr 1.7.29, I know I should upgrade... :) > > 1. The LNB setup OSD menu causes bonding to fail (it's trying to > bond a DVB-T tuner) if I set the two DVB-S2 tuners as "connected > to sat cable 1"; it works with "sat cable 2". Maybe it somehow > thinks of (one of?) the DVB-T tuner(s) as cable 1 too? What does the "Setup/LNB" menu look like on your system? Does it list only the two DVB-S devices, or all four of them? Which device numbers does it display? What does the "DeviceBondings = ..." line in setup.conf look like in both cases (working/not working)? You wrote that your DVB-S2 device is "adapter2". Does this mean it is actually "adaper2/frontend0" and "adapter2/frontend1"? Have you appliead any patches to VDR? If so, what happens without them? Same for plugins. Klaus
In article <5121FBA4.2050108@tvdr.de> you write: >On 16.02.2013 16:46, Juergen Lock wrote: >> Hi! >> >> Now that I have a spare DVB-S2 tuner (TechniSat SkyStar USB HD >> (adapter2); the others on this box are atm Hauppauge Nova-TD model >> 1172 (adapter 0+1) and TechnoTrend S2-3600 (adapter3) - all USB) I >> decided to play with vdr device bonding. I discovered three things: >> (still using vdr 1.7.29, I know I should upgrade... :) >> >> 1. The LNB setup OSD menu causes bonding to fail (it's trying to >> bond a DVB-T tuner) if I set the two DVB-S2 tuners as "connected >> to sat cable 1"; it works with "sat cable 2". Maybe it somehow >> thinks of (one of?) the DVB-T tuner(s) as cable 1 too? > >What does the "Setup/LNB" menu look like on your system? >Does it list only the two DVB-S devices, or all four of them? >Which device numbers does it display? > >What does the "DeviceBondings = ..." line in setup.conf look like >in both cases (working/not working)? > working: Einstellungen - LNB DiSEqC benutzen: nein SLOF (MHz): 11700 Untere LNB-Frequenz (MHz): 9750 Obere LNB-Frequenz (MHz): 10600 Device 3 angeschlossen an Sat-Kabel: 2 Device 4 angeschlossen an Sat-Kabel: 2 -> DeviceBondings = 1 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 broken: Einstellungen - LNB DiSEqC benutzen: nein SLOF (MHz): 11700 Untere LNB-Frequenz (MHz): 9750 Obere LNB-Frequenz (MHz): 10600 Device 3 angeschlossen an Sat-Kabel: 1 Device 4 angeschlossen an Sat-Kabel: 1 -> DeviceBondings = 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >You wrote that your DVB-S2 device is "adapter2". Does this mean it >is actually "adaper2/frontend0" and "adapter2/frontend1"? > No the other DVB-S2 tuner is adapter3 (TechnoTrend S2-3600), all four only have frontend0 no frontend1. >Have you appliead any patches to VDR? Currently the two patches belonging to the iptv and ttxtsubs plugins and my stb0899 signal strength patch, and of course the FreeBSD portability patches. >If so, what happens without them? I will have to check that later tho I guess they are unrelated... >Same for plugins. > I just started vdr with just the xineliboutput plugin (I don't have an ff card) and got the same DeviceBondings = 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 when setting both DVB-S2 tuners as ".. connected to sat cable 1". I wonder, could this be a result of me running vdr with only the DVB-S2 tuners once and the first 1 in DeviceBondings that I may have set then simply doesn't get reset when the first two tuners became DVB-T? >Klaus Thanx! Juergen
On 19.02.2013 01:48, Juergen Lock wrote: > On Mon, Feb 18, 2013 at 11:52:31PM +0100, Klaus Schmidinger wrote: >> On 18.02.2013 23:43, Juergen Lock wrote: >>> In article <5121FBA4.2050108@tvdr.de> you write: >>>> On 16.02.2013 16:46, Juergen Lock wrote: >>>>> Hi! >>>>> >>>>> Now that I have a spare DVB-S2 tuner (TechniSat SkyStar USB HD >>>>> (adapter2); the others on this box are atm Hauppauge Nova-TD model >>>>> 1172 (adapter 0+1) and TechnoTrend S2-3600 (adapter3) - all USB) I >>>>> decided to play with vdr device bonding. I discovered three things: >>>>> (still using vdr 1.7.29, I know I should upgrade... :) >>>>> >>>>> 1. The LNB setup OSD menu causes bonding to fail (it's trying to >>>>> bond a DVB-T tuner) if I set the two DVB-S2 tuners as "connected >>>>> to sat cable 1"; it works with "sat cable 2". Maybe it somehow >>>>> thinks of (one of?) the DVB-T tuner(s) as cable 1 too? >>>> >>>> What does the "Setup/LNB" menu look like on your system? >>>> Does it list only the two DVB-S devices, or all four of them? >>>> Which device numbers does it display? >>>> >>>> What does the "DeviceBondings = ..." line in setup.conf look like >>>> in both cases (working/not working)? >>>> >>> working: >>> >>> Einstellungen - LNB >>> >>> DiSEqC benutzen: nein >>> SLOF (MHz): 11700 >>> Untere LNB-Frequenz (MHz): 9750 >>> Obere LNB-Frequenz (MHz): 10600 >>> Device 3 angeschlossen an Sat-Kabel: 2 >>> Device 4 angeschlossen an Sat-Kabel: 2 >>> >>> -> >>> DeviceBondings = 1 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>> >>> broken: >>> >>> Einstellungen - LNB >>> >>> DiSEqC benutzen: nein >>> SLOF (MHz): 11700 >>> Untere LNB-Frequenz (MHz): 9750 >>> Obere LNB-Frequenz (MHz): 10600 >>> Device 3 angeschlossen an Sat-Kabel: 1 >>> Device 4 angeschlossen an Sat-Kabel: 1 >>> >>> -> >>> DeviceBondings = 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>> >>>> You wrote that your DVB-S2 device is "adapter2". Does this mean it >>>> is actually "adaper2/frontend0" and "adapter2/frontend1"? >>>> >>> No the other DVB-S2 tuner is adapter3 (TechnoTrend S2-3600), all four >>> only have frontend0 no frontend1. >>> >>>> Have you appliead any patches to VDR? >>> >>> Currently the two patches belonging to the iptv and ttxtsubs plugins >>> and my stb0899 signal strength patch, and of course the FreeBSD >>> portability patches. >>> >>>> If so, what happens without them? >>> >>> I will have to check that later tho I guess they are unrelated... >>> >>>> Same for plugins. >>>> >>> I just started vdr with just the xineliboutput plugin (I don't have >>> an ff card) and got the same >>> >>> DeviceBondings = 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>> >>> when setting both DVB-S2 tuners as ".. connected to sat cable 1". >>> >>> I wonder, could this be a result of me running vdr with only the DVB-S2 >>> tuners once and the first 1 in DeviceBondings that I may have set then >>> simply doesn't get reset when the first two tuners became DVB-T? >> >> I'll have to further look into this, but you might be on to something here. >> Please stop VDR, set that line to >> >> DeviceBondings = 0 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >> >> manually and restart VDR. Does it work then? >> > Yeah, looks like. (I should have tested that earlier... :) Just one more thing: did you get any log messages regarding device bonding when it didn't work? > Btw did you take a look at the bondMutex vs mutex locking yet? I've had > no further deadlocks with the second patch now. I was a little cnfused about this at first ;-) Will look into it later. BTW: you sent your original posting "To" me and "Cc"d the VDR-ML. Therefore my reply inadvertently only went to you and not to the list. I'm no replying explicitly to the list. Please send postings only to the list and do not Cc me (unless you only want to contact me privately). Klaus
On 19.02.2013 10:25, Klaus Schmidinger wrote: > ... > BTW: you sent your original posting "To" me and "Cc"d the VDR-ML. Therefore my reply > inadvertently only went to you and not to the list. I'm no replying explicitly to the s/no/now/ Those stupid typos appear to be contageous... ;-) Klaus > list. Please send postings only to the list and do not Cc me (unless you only want to > contact me privately).
In article <51234507.6090302@tvdr.de> you write: >On 19.02.2013 01:48, Juergen Lock wrote: >> On Mon, Feb 18, 2013 at 11:52:31PM +0100, Klaus Schmidinger wrote: >>> On 18.02.2013 23:43, Juergen Lock wrote: >>>> In article <5121FBA4.2050108@tvdr.de> you write: >>>>> On 16.02.2013 16:46, Juergen Lock wrote: >>>>>> Hi! >>>>>> >>>>>> Now that I have a spare DVB-S2 tuner (TechniSat SkyStar USB HD >>>>>> (adapter2); the others on this box are atm Hauppauge Nova-TD model >>>>>> 1172 (adapter 0+1) and TechnoTrend S2-3600 (adapter3) - all USB) I >>>>>> decided to play with vdr device bonding. I discovered three things: >>>>>> (still using vdr 1.7.29, I know I should upgrade... :) >>>>>> >>>>>> 1. The LNB setup OSD menu causes bonding to fail (it's trying to >>>>>> bond a DVB-T tuner) if I set the two DVB-S2 tuners as "connected >>>>>> to sat cable 1"; it works with "sat cable 2". Maybe it somehow >>>>>> thinks of (one of?) the DVB-T tuner(s) as cable 1 too? >>>>> >>>>> What does the "Setup/LNB" menu look like on your system? >>>>> Does it list only the two DVB-S devices, or all four of them? >>>>> Which device numbers does it display? >>>>> >>>>> What does the "DeviceBondings = ..." line in setup.conf look like >>>>> in both cases (working/not working)? >>>>> >>>> working: >>>> >>>> Einstellungen - LNB >>>> >>>> DiSEqC benutzen: nein >>>> SLOF (MHz): 11700 >>>> Untere LNB-Frequenz (MHz): 9750 >>>> Obere LNB-Frequenz (MHz): 10600 >>>> Device 3 angeschlossen an Sat-Kabel: 2 >>>> Device 4 angeschlossen an Sat-Kabel: 2 >>>> >>>> -> >>>> DeviceBondings = 1 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>>> >>>> broken: >>>> >>>> Einstellungen - LNB >>>> >>>> DiSEqC benutzen: nein >>>> SLOF (MHz): 11700 >>>> Untere LNB-Frequenz (MHz): 9750 >>>> Obere LNB-Frequenz (MHz): 10600 >>>> Device 3 angeschlossen an Sat-Kabel: 1 >>>> Device 4 angeschlossen an Sat-Kabel: 1 >>>> >>>> -> >>>> DeviceBondings = 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>>> >>>>> You wrote that your DVB-S2 device is "adapter2". Does this mean it >>>>> is actually "adaper2/frontend0" and "adapter2/frontend1"? >>>>> >>>> No the other DVB-S2 tuner is adapter3 (TechnoTrend S2-3600), all four >>>> only have frontend0 no frontend1. >>>> >>>>> Have you appliead any patches to VDR? >>>> >>>> Currently the two patches belonging to the iptv and ttxtsubs plugins >>>> and my stb0899 signal strength patch, and of course the FreeBSD >>>> portability patches. >>>> >>>>> If so, what happens without them? >>>> >>>> I will have to check that later tho I guess they are unrelated... >>>> >>>>> Same for plugins. >>>>> >>>> I just started vdr with just the xineliboutput plugin (I don't have >>>> an ff card) and got the same >>>> >>>> DeviceBondings = 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>>> >>>> when setting both DVB-S2 tuners as ".. connected to sat cable 1". >>>> >>>> I wonder, could this be a result of me running vdr with only the DVB-S2 >>>> tuners once and the first 1 in DeviceBondings that I may have set then >>>> simply doesn't get reset when the first two tuners became DVB-T? >>> >>> I'll have to further look into this, but you might be on to something here. >>> Please stop VDR, set that line to >>> >>> DeviceBondings = 0 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>> >>> manually and restart VDR. Does it work then? >>> >> Yeah, looks like. (I should have tested that earlier... :) > >Just one more thing: did you get any log messages regarding device bonding >when it didn't work? > Sure, I just reproduced it: ERROR: can't bond device 3 with device 1 (only DVB-S(2) devices can be bonded) >> Btw did you take a look at the bondMutex vs mutex locking yet? I've had >> no further deadlocks with the second patch now. > >I was a little cnfused about this at first ;-) >Will look into it later. > >BTW: you sent your original posting "To" me and "Cc"d the VDR-ML. Therefore my reply >inadvertently only went to you and not to the list. I'm no replying explicitly to the >list. Please send postings only to the list and do not Cc me (unless you only want to >contact me privately). > Oh, sorry, will try to remember. Thanx, Juergen
On 19.02.2013 21:35, Juergen Lock wrote: > In article <51234507.6090302@tvdr.de> you write: >> On 19.02.2013 01:48, Juergen Lock wrote: >>> On Mon, Feb 18, 2013 at 11:52:31PM +0100, Klaus Schmidinger wrote: >>>> On 18.02.2013 23:43, Juergen Lock wrote: >>>>> In article <5121FBA4.2050108@tvdr.de> you write: >>>>>> On 16.02.2013 16:46, Juergen Lock wrote: >>>>>>> Hi! >>>>>>> >>>>>>> Now that I have a spare DVB-S2 tuner (TechniSat SkyStar USB HD >>>>>>> (adapter2); the others on this box are atm Hauppauge Nova-TD model >>>>>>> 1172 (adapter 0+1) and TechnoTrend S2-3600 (adapter3) - all USB) I >>>>>>> decided to play with vdr device bonding. I discovered three things: >>>>>>> (still using vdr 1.7.29, I know I should upgrade... :) >>>>>>> >>>>>>> 1. The LNB setup OSD menu causes bonding to fail (it's trying to >>>>>>> bond a DVB-T tuner) if I set the two DVB-S2 tuners as "connected >>>>>>> to sat cable 1"; it works with "sat cable 2". Maybe it somehow >>>>>>> thinks of (one of?) the DVB-T tuner(s) as cable 1 too? >>>>>> >>>>>> What does the "Setup/LNB" menu look like on your system? >>>>>> Does it list only the two DVB-S devices, or all four of them? >>>>>> Which device numbers does it display? >>>>>> >>>>>> What does the "DeviceBondings = ..." line in setup.conf look like >>>>>> in both cases (working/not working)? >>>>>> >>>>> working: >>>>> >>>>> Einstellungen - LNB >>>>> >>>>> DiSEqC benutzen: nein >>>>> SLOF (MHz): 11700 >>>>> Untere LNB-Frequenz (MHz): 9750 >>>>> Obere LNB-Frequenz (MHz): 10600 >>>>> Device 3 angeschlossen an Sat-Kabel: 2 >>>>> Device 4 angeschlossen an Sat-Kabel: 2 >>>>> >>>>> -> >>>>> DeviceBondings = 1 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>>>> >>>>> broken: >>>>> >>>>> Einstellungen - LNB >>>>> >>>>> DiSEqC benutzen: nein >>>>> SLOF (MHz): 11700 >>>>> Untere LNB-Frequenz (MHz): 9750 >>>>> Obere LNB-Frequenz (MHz): 10600 >>>>> Device 3 angeschlossen an Sat-Kabel: 1 >>>>> Device 4 angeschlossen an Sat-Kabel: 1 >>>>> >>>>> -> >>>>> DeviceBondings = 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>>>> >>>>>> You wrote that your DVB-S2 device is "adapter2". Does this mean it >>>>>> is actually "adaper2/frontend0" and "adapter2/frontend1"? >>>>>> >>>>> No the other DVB-S2 tuner is adapter3 (TechnoTrend S2-3600), all four >>>>> only have frontend0 no frontend1. >>>>> >>>>>> Have you appliead any patches to VDR? >>>>> >>>>> Currently the two patches belonging to the iptv and ttxtsubs plugins >>>>> and my stb0899 signal strength patch, and of course the FreeBSD >>>>> portability patches. >>>>> >>>>>> If so, what happens without them? >>>>> >>>>> I will have to check that later tho I guess they are unrelated... >>>>> >>>>>> Same for plugins. >>>>>> >>>>> I just started vdr with just the xineliboutput plugin (I don't have >>>>> an ff card) and got the same >>>>> >>>>> DeviceBondings = 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>>>> >>>>> when setting both DVB-S2 tuners as ".. connected to sat cable 1". >>>>> >>>>> I wonder, could this be a result of me running vdr with only the DVB-S2 >>>>> tuners once and the first 1 in DeviceBondings that I may have set then >>>>> simply doesn't get reset when the first two tuners became DVB-T? >>>> >>>> I'll have to further look into this, but you might be on to something here. >>>> Please stop VDR, set that line to >>>> >>>> DeviceBondings = 0 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>>> >>>> manually and restart VDR. Does it work then? >>>> >>> Yeah, looks like. (I should have tested that earlier... :) >> >> Just one more thing: did you get any log messages regarding device bonding >> when it didn't work? >> > Sure, I just reproduced it: > > ERROR: can't bond device 3 with device 1 (only DVB-S(2) devices can be bonded) Thanks, so at least the final check worked. Klaus
--- dvbdevice.c.orig +++ dvbdevice.c @@ -476,8 +476,10 @@ void cDvbTuner::SetChannel(const cChanne t->SetChannel(NULL); } } - else if (strcmp(GetBondingParams(Channel), BondedMaster->GetBondingParams()) != 0) + else if (strcmp(GetBondingParams(Channel), BondedMaster->GetBondingParams()) != 0) { + bondMutex.Unlock(); BondedMaster->SetChannel(Channel); + } } cMutexLock MutexLock(&mutex); if (!IsTunedTo(Channel)) @@ -761,7 +773,12 @@ bool cDvbTuner::SetFrontend(void) tone = SEC_TONE_ON; } int volt = (dtp.Polarization() == 'V' || dtp.Polarization() == 'R') ? SEC_VOLTAGE_13 : SEC_VOLTAGE_18; - if (GetBondedMaster() != this) { +#if 1 + if (bondedTuner && !bondedMaster) +#else + if (GetBondedMaster() != this) +#endif + { tone = SEC_TONE_OFF; volt = SEC_VOLTAGE_13; }