]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
capmt: webui - we know the oscam revision for mode 4
authorJaroslav Kysela <perex@perex.cz>
Wed, 4 Jun 2014 06:15:36 +0000 (08:15 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 10 Jun 2014 12:02:35 +0000 (14:02 +0200)
docs/docresources/configcapmt.png
docs/html/config_capmt.html
src/webui/static/app/capmteditor.js

index 7589409255a7602fdb7e7be5ca865b7250475be1..68d8ff3b6fd536d1e0d78ef0afdba2af5bab9f62 100644 (file)
Binary files a/docs/docresources/configcapmt.png and b/docs/docresources/configcapmt.png differ
index 56fd42dd8279932908a04cf5f79f8a3b3131aaa5..69337a509d96b9d26832d71de48c757355bcbd3b 100644 (file)
@@ -1,6 +1,7 @@
 <div class="hts-doc-text">
 
-  Tvheadend support connecting to card clients via the capmt protocol for so called softcam descrambling. 
+  Tvheadend support connecting to card clients via the capmt protocol for so called softcam
+  descrambling.
 
  <p>
  <img src="docresources/configcapmt.png">
@@ -36,7 +37,7 @@
   <dt>Camd.socket Filename / IP Address
   <dd>Socket filename which is usually opened by cam client. Tvheadend
       tries to connect to this socket file.
-      <p>
+      <br><br>
       In mode 3 (TCP), enter the IP address of the oscam server. Tvheadend
       tries to create a TCP connecting to this IP adress and <i>Connect port</i>.
 
@@ -51,7 +52,7 @@
       </dl>
       This module will communicate the received control-words back to
       Tvheadend via Port 9000
-      <p>
+      <br><br>
       In mode 3 (TCP), this port is used for the oscam connection. It must
       be equal to the listen port in the oscam/dvbapi settings.
 
@@ -64,7 +65,7 @@
       <dt>mode 1 (old OSCam)
       <dd>If selected, connection will be made directly to oscam without
           using LD_PRELOAD hack.<br>
-          Port 9000 will be used automatically.<br>
+          Port 9000 will be used automatically.<br><br>
           The following lines are required in <b>[dvbapi]</b> section of oscam.conf file:
           <dl>
             <dt>boxtype = pc<br>
           
       <dt>mode 2 (new OSCam since revision 9095)
       <dd>In this mode, no UDP connections are required. All communication
-          is processed though the Camd.socket
+          is processed though the Camd.socket. The configuration for OSCam
+          should be same as for mode 1.
           
       <dt>mode 3 (new OSCam since revision 9574)
       <dd>A TCP connection to server is created. All emm/ecm data are send
           to oscam using this connection without a requirement for the real
           linuxdvb devices in the system with OSCam. This mode is suitable
-          for all DVB devices including SAT>IP and IPTV.
+          for all DVB devices including SAT>IP and IPTV.<br><br>
+          The following lines are required in <b>[dvbapi]</b> section of oscam.conf file:
+          <dl>
+            <dt>boxtype = pc<br>
+                pmt_mode = 4<br>
+                listen_port = 9000 # or your preferred port<br>
+          </dl>
 
-      <dt>mode 4 (new OSCam since revision <i>patched</i>)
+      <dt>mode 4 (new OSCam since revision 9754)
       <dd>Similar to mode 3, but a Camd.socket connection is used instead
-         of the TCP connection.
+          of the TCP connection.<br><br>
+          The following lines are required in <b>[dvbapi]</b> section of oscam.conf file:
+          <dl>
+            <dt>boxtype = pc-nodmx<br>
+                pmt_mode = 4
+          </dl>
 
   <dt>Comment
   <dd>Allows the administrator to set a comment only visible in this editor.
index a5e7cd1836c4191c760feb61eebc6c40c865211b..90141b5aed12c51fdc82df50c79d287287831080 100644 (file)
@@ -29,9 +29,9 @@ tvheadend.capmteditor = function() {
             fields: ['res', 'name'],
             id: 0,
             data: [
-                ['4', 'Patched OSCam (unix socket)'],
-                ['3', 'Recent OSCam (svn rev >= 9574 - TCP)'],
-                ['2', 'Recent OSCam (svn rev >= 9095)'],
+                ['4', 'OSCam pc-nodmx (rev >= 9756)'],
+                ['3', 'OSCam TCP (rev >= 9574)'],
+                ['2', 'OSCam (rev >= 9095)'],
                 ['1', 'Older OSCam'],
                 ['0', 'Wrapper (capmt_ca.so)']
             ]