From patchwork Fri Feb 15 19:03:00 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rainer Zocholl X-Patchwork-Id: 12599 Received: from archer.toppoint.de ([217.70.197.1] helo=mail.toppoint.de) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1JQ5qP-0007LP-IO for vdr@linuxtv.org; Fri, 15 Feb 2008 20:03:33 +0100 Received: (from uucp@localhost) by mail.toppoint.de (8.11.7p1+Sun/8.11.7) id m1FJ3Va00305 for vdr@linuxtv.org; Fri, 15 Feb 2008 20:03:31 +0100 (MET) >Received: by zocki.toppoint.de (OpenXP/4.10.7366 (Win32) (i386)); 15 Feb 2008 20:03:31 +0100 Date: 15 Feb 2008 20:03:00 +0100 From: UseNet-Posting-Nospam-74308-@zocki.toppoint.de (Rainer Zocholl) To: vdr@linuxtv.org Message-ID: In-Reply-To: <20080206224212.GA27979@halim.local> User-Agent: OpenXP/4.10.7366 (Win32) (i386) MIME-Version: 1.0 Organization: http://www.toppoint.de X-ZC-TELEFON: V+49-431-562136Q Received: from zocki.toppoint.de by archer.toppoint.de; Fri, 15 Feb 2008 20:03 MET X-MIME-Autoconverted: from 8bit to quoted-printable by mail.toppoint.de id m1FJ3Va00305 Subject: Re: [vdr] DVB-T card on the move X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2008 19:03:33 -0000 Status: O X-Status: X-Keywords: X-UID: 15732 (Halim Sahin) 06.02.08 in /SPAMDETEC: >Hi, >A dirty but working solution is to unload and load the modules in the >right order in startvdr skript. Thanks, but I tried it: The results were very bad. vdr do not cold start any more The drivers/module do not seem to like been "unloaded" and reloaded in the "right" order. This "unloading" leads to ACPI interrupr errors On the VDR console i could see 3 line ACPI disabling interupt tried using "noacpi": do not help. I really very frustrated as i ran the hard since years with 1.4.3 without any problem. (recently the new 500GB sata Samsung HD500 had developed a bad block) Any help available? a "how-to" Or at least some one reading here? ;-) Is see only a hardware solution: Removing the DVB-T card! I assume all other users will have done that way, as there seems to be no *working* help anywhere! Atleat non to be found with teh word i gave google/yahoo. This patch sems to lead into a desaster (= no dvb found) vdr:~# diff -Nau /usr/sbin/runvdr runvdr.mod Feb 15 19:31:15 vdr runvdr: stopping after fatal fail (vdr: warning - cannot set dumpable: Invalid argument vdr: error while reading '/var/lib/vdr/setup.conf' vdr: no primary device found - using first device!) Feb 15 19:32:00 vdr vdr: [4332] no DVB device found Rainer --- /usr/sbin/runvdr 2008-01-14 21:56:11.000000000 +0100 +++ runvdr.mod 2008-02-14 23:22:35.000000000 +0100 @@ -19,6 +19,8 @@ MODULES=`lsmod | grep dvb-core | cut -d'[' -f2 | cut -d']' -f1` [ "$MODULES" ] && MODULES="$MODULES dvb-core" fi + logger "$MODULES" + } function set_permissions() @@ -39,6 +41,8 @@ get_modulenames else if [ "$MODULES" ]; then + modprobe dvb-ttpci >/dev/null 2>&1 #2.4 + modprobe dvb_ttpci >/dev/null 2>&1 #2.6 for MODULE in $MODULES; do modprobe $MODULE >/dev/null 2>&1 done @@ -67,9 +71,28 @@ VDR_ERR=`mktemp -p /tmp vdr-err.XXXXXX` + +#revolve that senseless automatic PrimaryDVB = 2" +grep -v "^PrimaryDVB" /var/lib/vdr/setup.conf > $VDR_ERR +echo "PrimaryDVB = 1" >> $VDR_ERR +mv $VDR_ERR /var/lib/vdr/setup.conf +:>$VDR_ERR + + get_modulenames +logger -t runvdrz unload + unload_dvb_modules + sleep 2 +logger -t runvdrz unloaed +lsmod | grep dvb | logger -t runvdrz + +logger -t runvdrz load [ -z "$MODULES" ] && load_dvb_modules +logger -t runvdrz loadied +lsmod | grep dvb | logger -t runvdrz + + echo "$MODULES" | logger -t runvdrzm if [ "$VDSB_WORKAROUND" = "yes" ] && [ -x /usr/bin/szap ] ; then channel=àwk '/^[^:]/ {print NR; exit}' /var/lib/vdr/channels.conf` @@ -81,6 +104,7 @@ killall szap fi + while (true) do set_permissions