Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] dvbd3 quickfix for opensky. patch in messabe body.





Since the list does not seem to allow attachements, but the patch is
very small, here it is included inline in this message :

After applying the patch, copy dvbd.conf to /etc/dvbd.conf and edit it : 
change the definition  
filter_1 3003 your_MAC 48
replacing "your_MAC" with the MAC address of the DVB card. (the one you
used when you subscribed to OpenSKY).


================ dvbd3.patch
=================================================
diff -urb dvbd3.orig/dvbd.c dvbd3/dvbd.c
--- dvbd3.orig/dvbd.c	Wed Aug  8 09:29:13 2001
+++ dvbd3/dvbd.c	Tue Nov 13 19:13:46 2001
@@ -170,7 +170,11 @@
       case 'f':
         ret = atoi (optarg) ;
 
-        if (ret > 10600000 && ret < 14500000)
+        if (ret > 10600000 && ret < 11700000)
+        {
+          front.freq = front.curfreq = ((__u32) ret - 9750000) * 1000 ;
+        } else
+        if (ret > 11700000 && ret < 14500000)
         {
           front.freq = front.curfreq = ((__u32) ret - 10600000) * 1000
;
         }
@@ -1275,7 +1279,11 @@
       {
         ret = (__u32) atoi (s) ;
 
-        if ((ret > 10600000) && (ret < 14500000))
+        if ((ret > 10600000) && (ret < 11700000))
+        {
+          fend->freq = fend->curfreq = ((__u32) ret - 9750000) * 1000 ;
+        } else
+        if ((ret > 11700000) && (ret < 14500000))
         {
           fend->freq = fend->curfreq = ((__u32) ret - 10600000) * 1000
;
         }
diff -urb dvbd3.orig/dvbd.conf dvbd3/dvbd.conf
--- dvbd3.orig/dvbd.conf	Sat Aug  4 20:39:00 2001
+++ dvbd3/dvbd.conf	Tue Nov 13 19:17:52 2001
@@ -19,7 +19,7 @@
 #
 # ASTRA 1G/1H
 #
-symbolrate 22000000
+symbolrate 27500000
 #
 # frequency [kHz]
 #
@@ -37,11 +37,11 @@
 #
 # ASTRA TR 115
 #
-frequency 12662750
+frequency 11262300
 #
 # 22 kHz signal to LNB. on=1/off=0
 #
-ttk 1
+ttk 0
 #
 # DiSEqC. on=1/off=0
 #
@@ -71,7 +71,8 @@
 #
 # syntax: filter_0 <PID> [<netdevice | IP[/bitmask]>]
 #
-filter_0 512 eth0
+filter_0 3003 dvb0
+filter_1 3003 !!!your_MAC!!! 48
 #
 # other MPE filters (these are intended to filter multicast traffic).
 #
==================== end of dvbd3.patch
=====================================


-- 
ing. Andrei Boros
mailto:andrei@srr.ro / +40-1-303-1865
Centrul pt. Tehnologia Informatiei
Societatea Romana de Radiodifuziune


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.


Home | Main Index | Thread Index