Bug #2648
Capmt connection with socket file (the old .so wrapper mode) don't work
0%
Description
Hi,
I use this method to set capmt to work with cccam : https://tvheadend.org/boards/4/topics/2649
It work great with TVHeadend 3.4, but not with latest build.
I've this log with all payed channels :
No input source available for subscription
Files
History
Updated by christophe wuylsteker almost 10 years ago
Log :
2015-01-27 15:09:42.137 [ INFO] main: Log started 2015-01-27 15:09:42.177 [ INFO] charset: 71 entries loaded 2015-01-27 15:09:42.513 [ INFO] linuxdvb: adapter added /dev/dvb/adapter2 2015-01-27 15:09:42.805 [ INFO] linuxdvb: adapter added /dev/dvb/adapter1 2015-01-27 15:09:43.221 [ INFO] linuxdvb: adapter added /dev/dvb/adapter0 2015-01-27 15:09:43.237 [ INFO] dvr: Creating new configuration '' 2015-01-27 15:09:43.237 [ INFO] CSA: Using SSE2 128bit parallel descrambling 2015-01-27 15:09:43.238 [ INFO] epggrab: module eit created 2015-01-27 15:09:43.238 [ INFO] epggrab: module uk_freesat created 2015-01-27 15:09:43.238 [ INFO] epggrab: module uk_freeview created 2015-01-27 15:09:43.238 [ INFO] epggrab: module viasat_baltic created 2015-01-27 15:09:43.238 [ INFO] capmt: localhost active 2015-01-27 15:09:43.238 [ INFO] capmt: localhost: mode 0 sockfile /tmp/camd.socket port 9000 got connection from client (.so wrapper) 2015-01-27 15:09:43.240 [ INFO] epggrab: module opentv-ausat created 2015-01-27 15:09:43.275 [ INFO] epggrab: module opentv-skyit created 2015-01-27 15:09:43.276 [ INFO] epggrab: module opentv-skyuk created 2015-01-27 15:09:43.278 [ INFO] epggrab: module pyepg created 2015-01-27 15:09:43.278 [ INFO] epggrab: module xmltv created 2015-01-27 15:09:43.284 [ INFO] spawn: Executing "/usr/bin/tv_grab_file" 2015-01-27 15:09:43.286 [ INFO] epggrab: module /usr/bin/tv_grab_file created 2015-01-27 15:09:43.289 [ INFO] spawn: Executing "/usr/bin/X11/tv_grab_file" 2015-01-27 15:09:43.291 [ INFO] epggrab: module /usr/bin/X11/tv_grab_file created 2015-01-27 15:09:44.470 [ INFO] /usr/bin/tv_grab_file: grab /usr/bin/tv_grab_file 2015-01-27 15:09:44.472 [ INFO] spawn: Executing "/usr/bin/tv_grab_file" 2015-01-27 15:09:44.988 [ INFO] epgdb: loaded v2 2015-01-27 15:09:44.988 [ INFO] epgdb: config 1 2015-01-27 15:09:44.988 [ INFO] epgdb: channels 0 2015-01-27 15:09:44.988 [ INFO] epgdb: brands 0 2015-01-27 15:09:44.988 [ INFO] epgdb: seasons 0 2015-01-27 15:09:44.988 [ INFO] epgdb: episodes 30727 2015-01-27 15:09:44.988 [ INFO] epgdb: broadcasts 30727 2015-01-27 15:09:44.997 [ NOTICE] START: HTS Tvheadend version 0.0.0~unknown started, running as PID:12588 UID:1000 GID:100, CWD:/usr/local/bin CNF:/home/titof/.hts/tvheadend 2015-01-27 15:09:44.997 [ INFO] htsp: Got connection from 192.168.1.106 2015-01-27 15:09:44.997 [ INFO] htsp: 192.168.1.106: Welcomed client software: XBMC Media Center (HTSPv8) 2015-01-27 15:09:52.001 [ INFO] mpegts: 682MHz in F - tuning on DiBcom 3000MC/P : DVB-T #0 2015-01-27 15:09:52.001 [ INFO] subscription: 0001: "scan" subscribing to mux, weight: 5, adapter: "DiBcom 3000MC/P : DVB-T #0", network: "F", mux: "682MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 2015-01-27 15:09:52.001 [ INFO] mpegts: 626MHz in F - tuning on DiBcom 3000MC/P : DVB-T #0 2015-01-27 15:09:52.001 [ INFO] subscription: 0002: "scan" subscribing to mux, weight: 5, adapter: "DiBcom 3000MC/P : DVB-T #0", network: "F", mux: "626MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 2015-01-27 15:09:55.900 [ INFO] /usr/bin/tv_grab_file: grab took 11 seconds 2015-01-27 15:09:56.069 [ INFO] mpegts: 626MHz in F scan complete 2015-01-27 15:09:56.069 [ INFO] subscription: 0002: "scan" unsubscribing 2015-01-27 15:09:56.071 [ INFO] mpegts: 778MHz in F - tuning on DiBcom 3000MC/P : DVB-T #0 2015-01-27 15:09:56.071 [ INFO] subscription: 0003: "scan" subscribing to mux, weight: 5, adapter: "DiBcom 3000MC/P : DVB-T #0", network: "F", mux: "778MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 2015-01-27 15:09:56.092 [ INFO] /usr/bin/tv_grab_file: parse took 1 seconds 2015-01-27 15:09:56.092 [ INFO] /usr/bin/tv_grab_file: channels tot= 117 new= 1 mod= 1 2015-01-27 15:09:56.092 [ INFO] /usr/bin/tv_grab_file: brands tot= 0 new= 0 mod= 0 2015-01-27 15:09:56.092 [ INFO] /usr/bin/tv_grab_file: seasons tot= 0 new= 0 mod= 0 2015-01-27 15:09:56.092 [ INFO] /usr/bin/tv_grab_file: episodes tot=30727 new= 0 mod= 0 2015-01-27 15:09:56.092 [ INFO] /usr/bin/tv_grab_file: broadcasts tot=30727 new= 0 mod= 0 2015-01-27 15:09:57.000 [ INFO] mpegts: 682MHz in F - scan no data, failed 2015-01-27 15:09:57.000 [ INFO] subscription: 0001: "scan" unsubscribing 2015-01-27 15:09:57.001 [ INFO] mpegts: 698MHz in F - tuning on DiBcom 3000MC/P : DVB-T #0 2015-01-27 15:09:57.001 [ INFO] subscription: 0004: "scan" subscribing to mux, weight: 5, adapter: "DiBcom 3000MC/P : DVB-T #0", network: "F", mux: "698MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 2015-01-27 15:10:01.000 [ INFO] mpegts: 778MHz in F - scan needs more time 2015-01-27 15:10:01.002 [ INFO] mpegts: 778MHz in F scan complete 2015-01-27 15:10:01.002 [ INFO] subscription: 0003: "scan" unsubscribing 2015-01-27 15:10:01.004 [ INFO] mpegts: 546MHz in F - tuning on DiBcom 3000MC/P : DVB-T #0 2015-01-27 15:10:01.004 [ INFO] subscription: 0005: "scan" subscribing to mux, weight: 5, adapter: "DiBcom 3000MC/P : DVB-T #0", network: "F", mux: "546MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 2015-01-27 15:10:02.000 [ INFO] mpegts: 698MHz in F - scan needs more time 2015-01-27 15:10:02.009 [ INFO] mpegts: 698MHz in F scan complete 2015-01-27 15:10:02.009 [ INFO] subscription: 0004: "scan" unsubscribing 2015-01-27 15:10:02.011 [ INFO] mpegts: 618MHz in F - tuning on DiBcom 3000MC/P : DVB-T #0 2015-01-27 15:10:02.011 [ INFO] subscription: 0006: "scan" subscribing to mux, weight: 5, adapter: "DiBcom 3000MC/P : DVB-T #0", network: "F", mux: "618MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 2015-01-27 15:10:06.000 [ INFO] mpegts: 546MHz in F - scan needs more time 2015-01-27 15:10:06.039 [ INFO] mpegts: 546MHz in F scan complete 2015-01-27 15:10:06.039 [ INFO] subscription: 0005: "scan" unsubscribing 2015-01-27 15:10:06.040 [ INFO] mpegts: 730MHz in F - tuning on DiBcom 3000MC/P : DVB-T #0 2015-01-27 15:10:06.040 [ INFO] subscription: 0007: "scan" subscribing to mux, weight: 5, adapter: "DiBcom 3000MC/P : DVB-T #0", network: "F", mux: "730MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 2015-01-27 15:10:07.000 [ INFO] mpegts: 618MHz in F - scan needs more time 2015-01-27 15:10:08.033 [ INFO] mpegts: 618MHz in F scan complete 2015-01-27 15:10:08.033 [ INFO] subscription: 0006: "scan" unsubscribing 2015-01-27 15:10:08.035 [ INFO] mpegts: 674MHz in F - tuning on DiBcom 3000MC/P : DVB-T #0 2015-01-27 15:10:08.035 [ INFO] subscription: 0008: "scan" subscribing to mux, weight: 5, adapter: "DiBcom 3000MC/P : DVB-T #0", network: "F", mux: "674MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 2015-01-27 15:10:11.000 [ INFO] mpegts: 730MHz in F - scan needs more time 2015-01-27 15:10:11.016 [ INFO] mpegts: 730MHz in F scan complete 2015-01-27 15:10:11.016 [ INFO] subscription: 0007: "scan" unsubscribing 2015-01-27 15:10:11.018 [ INFO] mpegts: 658MHz in F - tuning on DiBcom 3000MC/P : DVB-T #0 2015-01-27 15:10:11.018 [ INFO] subscription: 0009: "scan" subscribing to mux, weight: 5, adapter: "DiBcom 3000MC/P : DVB-T #0", network: "F", mux: "658MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 2015-01-27 15:10:13.000 [ INFO] mpegts: 674MHz in F - scan needs more time 2015-01-27 15:10:14.797 [ INFO] mpegts: 674MHz in F scan complete 2015-01-27 15:10:14.797 [ INFO] subscription: 0008: "scan" unsubscribing 2015-01-27 15:10:16.000 [ INFO] mpegts: 658MHz in F - scan needs more time 2015-01-27 15:10:16.015 [ INFO] mpegts: 658MHz in F scan complete 2015-01-27 15:10:16.015 [ INFO] subscription: 0009: "scan" unsubscribing 2015-01-27 15:10:55.487 [ INFO] htsp: Got connection from 127.0.0.1 2015-01-27 15:10:55.487 [ INFO] htsp: 127.0.0.1: Welcomed client software: XBMC Media Center (HTSPv8) 2015-01-27 15:11:14.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:16.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:18.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:20.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:22.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:24.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:26.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:28.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:30.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:32.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:34.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:36.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:38.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:40.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:42.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:44.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:46.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:48.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:50.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:52.000 [ NOTICE] subscription: 000A: No input source available for subscription "127.0.0.1 [ XBMC Media Center ]" to channel "CINE+ CLUB" 2015-01-27 15:11:53.913 [ INFO] subscription: 000A: "127.0.0.1 [ XBMC Media Center ]" unsubscribing from "CINE+ CLUB", hostname="127.0.0.1", username="<N/A>", client="XBMC Media Center" 2015-01-27 15:11:54.648 [ INFO] htsp: 127.0.0.1 [ XBMC Media Center ]: Disconnected
Updated by Jaroslav Kysela almost 10 years ago
compile tvh with --enable-trace and provide output from "--trace descrambler,capmt,cwc,subscription --debug all" .
Updated by christophe wuylsteker almost 10 years ago
Hi,
A log file with traces enable.
Updated by Jaroslav Kysela almost 10 years ago
I don't see any received packet on the UDP socket. The handle_ca0_wrapper() function in src/descrambler/capmt.c should get some data after "Trying to obtain key for service "CANAL+ DECALE"".
You can add more traces to the code to see what's wrong (to compare the old and new code), but I would probably suggest to use newest oscam as the key server (and mode TCP or net protocol in tvh).
Updated by Jaroslav Kysela almost 10 years ago
- Subject changed from Capmt connection with socket file don't work to Capmt connection with socket file (the old .so wrapper mode) don't work
Updated by Andrei B over 9 years ago
I have similar problem.
christophe, if you force XBMC to reconnect by pressing red "X" circle in Status/Connections tab in tvheadend - does it work? For me, it does