Ga naar inhoud


Aanbevolen berichten

Geplaatst:

Hallo,

 

Ik heb een oscam server draaien op een D-link dns-323 NAS. Deze draait debian. De smargo cardreader hangt aan de USB poort van de NAS.

Sleutels voor digitenne opvragen gaat prima vanaf een PC, via het newcamd protocol.

 

Wat ik nu probeer is om op de NAS zelf vdr met vdr-plugin-dvbapi kanalen te ontsleutelen.

Ik heb geen configuratie van vdr-plugin-dvbapi, Ik heb die alleen gecompileerd en in /usr/lib/vdr/plugins neergezet.

 

Ik zie het volgende in /var/log/syslog tijdens starten van VDR:

Dec 24 16:08:51 debian vdr: [14370] VDR version 1.7.28 started

Dec 24 16:08:51 debian vdr: [14370] loading plugin: /usr/lib/vdr/plugins/libvdr-dvbapi.so.1.7.28

Dec 24 16:08:51 debian vdr: [14370] loading /var/lib/vdr/setup.conf

Dec 24 16:08:51 debian vdr: [14370] loading /var/lib/vdr/sources.conf

Dec 24 16:08:51 debian vdr: [14370] loading /var/lib/vdr/diseqc.conf

Dec 24 16:08:51 debian vdr: [14370] loading /var/lib/vdr/scr.conf

Dec 24 16:08:51 debian vdr: [14370] loading /var/lib/vdr/channels.conf

Dec 24 16:08:51 debian vdr: [14370] loading /var/lib/vdr/timers.conf

Dec 24 16:08:51 debian vdr: [14370] loading /var/lib/vdr/commands.conf

Dec 24 16:08:51 debian vdr: [14370] loading /var/lib/vdr/reccmds.conf

Dec 24 16:08:51 debian vdr: [14370] loading /var/lib/vdr/svdrphosts.conf

Dec 24 16:08:51 debian vdr: [14370] loading /var/lib/vdr/keymacros.conf

Dec 24 16:08:52 debian vdr: [14370] DVBAPI: Probe: capturing device 0/0 (subsystem ID 00000000)

Dec 24 16:08:52 debian vdr: [14370] DVBAPI: creating standard device 0/0

Dec 24 16:08:52 debian vdr: [14370] new device number 1

Dec 24 16:08:53 debian vdr: [14370] frontend 0/0 provides DVB-T with QPSK,QAM16,QAM64 ("DiBcom 7000PC")

Dec 24 16:08:53 debian vdr: [14370] DVBAPI: Using software decryption on card 0/0

Dec 24 16:08:53 debian vdr: [14370] DVBAPI: SCCIAdapter: built caid table with 1 caids for 65 channels

Dec 24 16:08:53 debian vdr: [14370] found 1 DVB device

Dec 24 16:08:53 debian vdr: [14380] SC-CI adapter on device 0 thread started (pid=14370, tid=14380)

Dec 24 16:08:53 debian vdr: [14370] initializing plugin: dvbapi (1.0.5): DVBAPI type SOFTCAM

Dec 24 16:08:53 debian vdr: [14370] DVBAPI: plugin version 1.0.5 initializing (VDR 1.7.28)

Dec 24 16:08:53 debian vdr: [14370] SVDRP listening on port 6419

Dec 24 16:08:53 debian vdr: [14370] starting plugin: dvbapi

Dec 24 16:08:53 debian vdr: [14370] DVBAPI: plugin started

Dec 24 16:08:53 debian vdr: [14370] DVBAPI: 0.0: doReply changed, reset triggered

Dec 24 16:08:53 debian vdr: [14370] DVBAPI: 0.0: now using CAIDs version 16843009

Dec 24 16:08:53 debian vdr: [14370] DVBAPI: 0.0: status 'present'

Dec 24 16:08:53 debian vdr: [14370] DVBAPI: 0.0: status 'reset'

Dec 24 16:08:54 debian vdr: [14370] DVBAPI: 0.0: status 'ready'

Dec 24 16:08:54 debian vdr: [14380] CAM 1: module ready

Dec 24 16:08:54 debian vdr: [14380] DVBAPI: CaInfo: 0.0 sending CA info

Dec 24 16:08:55 debian vdr: [14380] CAM 1: replies to QUERY - multi channel decryption possible

Dec 24 16:08:55 debian vdr: [14370] switching to channel 1

Dec 24 16:08:55 debian vdr: [14370] CAM 1: assigned to device 1

Dec 24 16:08:55 debian vdr: [14370] DVBAPI: Forcing transfermode on card 0/0

Dec 24 16:08:55 debian vdr: [14370] setting watchdog timer to 60 seconds

Dec 24 16:08:55 debian vdr: [14370] ERROR: no OSD provider available - using dummy OSD!

Dec 24 16:08:56 debian vdr: [14370] max. latency time 1 seconds

Dec 24 16:08:58 debian vdr: [14370] DVBAPI: Forcing transfermode on card 0/0

Zodra ik een encrypted kanaal probeer te streamen in mijn browser zie ik het volgende:

/var/log/syslog

Dec 24 16:14:37 debian vdr: [14383] Streamdev: Accepted new client (HTTP) 192.168.31.112:58954

Dec 24 16:14:37 debian vdr: [14383] DVBAPI: 0.0 set CAM decrypt (SID 31, caLm 4, HasCaDescriptors 1)

Dec 24 16:14:37 debian vdr: [14808] streamdev-livestreaming thread started (pid=14370, tid=14808)

Dec 24 16:14:37 debian vdr: [14807] streamdev-writer thread started (pid=14370, tid=14807)

Dec 24 16:14:37 debian vdr: [14809] receiver on device 1 thread started (pid=14370, tid=14809)

Dec 24 16:14:37 debian vdr: [14810] TS buffer on device 1 thread started (pid=14370, tid=14810)

Dec 24 16:14:39 debian vdr: [14383] client (HTTP) 192.168.31.112:58954 has closed connection

Dec 24 16:14:39 debian vdr: [14383] streamdev-server: closing HTTP connection to 192.168.31.112:58954

Dec 24 16:14:39 debian vdr: [14808] streamdev-livestreaming thread ended (pid=14370, tid=14808)

Dec 24 16:14:39 debian vdr: [14383] DVBAPI: 0.0 set CAM decrypt (SID 31, caLm 5, HasCaDescriptors 1)

Dec 24 16:14:39 debian vdr: [14810] TS buffer on device 1 thread ended (pid=14370, tid=14810)

Dec 24 16:14:39 debian vdr: [14809] buffer stats: 0 (0%) used

Dec 24 16:14:39 debian vdr: [14809] receiver on device 1 thread ended (pid=14370, tid=14809)

Dec 24 16:14:39 debian vdr: [14807] streamdev-writer thread ended (pid=14370, tid=14807)

Dec 24 16:14:39 debian vdr: [14383] buffer stats: 0 (0%) used

en in /var/log/oscam.log

013/12/24 16:14:37  14F4DA8 c [DVBAPI] Receiver sends PMT command 3 for channel 001F

2013/12/24 16:14:37  14F4DA8 c [DVBAPI] Receiver wants to demux srvid 001F on adapter 0000 camask 0001 index 0000

2013/12/24 16:14:37  14F4DA8 c [ADD PID 0] CAID: 0B00 ECM_PID: 0BCB PROVID: 000000

2013/12/24 16:14:37  14F4DA8 c Found 1 ECMpids and 2 STREAMpids in PMT

2013/12/24 16:14:37  14F4DA8 c [DVBAPI] Receiver wants to demux srvid 001F on adapter 0000 camask 0001 index 0000

2013/12/24 16:14:37  14F4DA8 c New program number: 001F (0B00:001F unknown) [pmt_list_management 3]

2013/12/24 16:14:37  14F4DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!

2013/12/24 16:14:37  14F4DA8 c [DVBAPI] Demuxer #0 (re)starting decodingrequests on all 1 ecmpids!

2013/12/24 16:14:37  14F4DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!

2013/12/24 16:14:37  14F4DA8 c [DVBAPI] Demuxer #0 (re)starting decodingrequests on all 1 ecmpids!

2013/12/24 16:14:38  14F4DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!

2013/12/24 16:14:38  14F4DA8 c [DVBAPI] Demuxer #0 (re)starting decodingrequests on all 1 ecmpids!

2013/12/24 16:14:38  14F4DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!

2013/12/24 16:14:39  14F4DA8 c [DVBAPI] Demuxer #0 (re)starting decodingrequests on all 1 ecmpids!

2013/12/24 16:14:39  14F4DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!

2013/12/24 16:14:39  14F4DA8 c ERROR: Can't open device /dev/dvb/adapter0/ca0 (errno=2 No such file or directory)

Configuratie van oscam:

cat /etc/oscam/oscam.conf
# main configuration

[global]

nice          = -1

WaitForCards  = 1



# logging

pidfile       = /var/run/oscam.pid

logfile       = /var/log/oscam/oscam.log

usrfile       = /var/log/oscam/oscamuser.log

cwlogdir      = /var/log/oscam/cw



# monitor

[monitor]

port          = 8988

aulow         = 120

monlevel      = 1



# protocols



[newcamd]

key            = 000102030405060708090A0B0C0D

port           = 15050@0B00:0E030



[dvbapi]

enabled                       = 1

au                            = 1

boxtype                       = none

user                          =

request_mode                  = 1
cat /etc/oscam/oscam.server

# reader configuration



[reader]

label    = reader1

protocol = mouse

detect   = CD

device   = /dev/ttyUSB0

group    = 1

emmcache = 1,3,2

services = services1

caid     = 0B00

mhz      = 500

cardmhz  = 500
cat /etc/oscam/oscam.services

# definition of services

#

# format:

# [name]

# caid=CAID[,CAID]...

# provid = provider ID[,provider ID]...

# srvid = service ID[,service ID]...



[services1]

caid=0B00

provid=0E030

srvid=
cat /etc/oscam/oscam.user

# user configuration



[account]

user       = user1

pwd        = password1

monlevel   = 0

uniq       = 0

group      = 1

au         = 1

ident      = 0B00:0E030

caid       = 0B00



# user for group 2 with monitor access, AU enabled



#[account]

user       = user2

pwd        = password2

monlevel   = 0

uniq       = 0

group      = 1

au         = 1

ident      = 0B00:0E030

caid       = 0B00

Geplaatst:

INSTALL file van vdr-plugin-dvbapi gelezen:

https://github.com/manio/vdr-plugin-dvbapi/blob/master/INSTALL

 

Ik heb oscam.conf aangepast, maar ik krijg nog dezelfde fout.

 

Groetjes,

Cedric

 

 

cat /etc/oscam/oscam.conf
# main configuration
[global]
nice          = -1
WaitForCards  = 1

# logging
pidfile       = /var/run/oscam.pid
logfile       = /var/log/oscam/oscam.log
usrfile       = /var/log/oscam/oscamuser.log
cwlogdir      = /var/log/oscam/cw

# monitor
[monitor]
port          = 8988
aulow         = 120
monlevel      = 1

# protocols

[newcamd]
key            = 000102030405060708090A0B0C0D
port           = 15050@0B00:0E030

[dvbapi]
        enabled = 1
        au = 1
        boxtype = pc
        user = vdr
        pmt_mode = 4
        request_mode = 1

 

 

syslog:
Dec 24 16:24:13 debian vdr: [14383] Streamdev: Accepted new client (HTTP) 192.168.31.112:59074
Dec 24 16:24:13 debian vdr: [14383] DVBAPI: 0.0 set CAM decrypt (SID 31, caLm 4, HasCaDescriptors 1)
Dec 24 16:24:13 debian vdr: [15512] streamdev-livestreaming thread started (pid=14370, tid=15512)
Dec 24 16:24:13 debian vdr: [15511] streamdev-writer thread started (pid=14370, tid=15511)
Dec 24 16:24:13 debian vdr: [15513] receiver on device 1 thread started (pid=14370, tid=15513)
Dec 24 16:24:13 debian vdr: [15514] TS buffer on device 1 thread started (pid=14370, tid=15514)
Dec 24 16:24:14 debian vdr: [14383] Streamdev: Accepted new client (HTTP) 192.168.31.112:59075
Dec 24 16:24:14 debian vdr: [14383] client (HTTP) 192.168.31.112:59074 has closed connection
Dec 24 16:24:14 debian vdr: [14383] streamdev-server: closing HTTP connection to 192.168.31.112:59074
Dec 24 16:24:14 debian vdr: [15512] streamdev-livestreaming thread ended (pid=14370, tid=15512)
Dec 24 16:24:14 debian vdr: [14383] DVBAPI: 0.0 set CAM decrypt (SID 31, caLm 5, HasCaDescriptors 1)
Dec 24 16:24:14 debian vdr: [15511] streamdev-writer thread ended (pid=14370, tid=15511)
Dec 24 16:24:14 debian vdr: [14383] buffer stats: 15416 (0%) used
Dec 24 16:24:14 debian vdr: [15514] TS buffer on device 1 thread ended (pid=14370, tid=15514)
Dec 24 16:24:14 debian vdr: [15513] buffer stats: 8836 (0%) used
Dec 24 16:24:14 debian vdr: [15513] receiver on device 1 thread ended (pid=14370, tid=15513)
Dec 24 16:24:14 debian vdr: [15517] streamdev-livestreaming thread started (pid=14370, tid=15517)
Dec 24 16:24:14 debian vdr: [15516] streamdev-writer thread started (pid=14370, tid=15516)
Dec 24 16:24:14 debian vdr: [14383] DVBAPI: 0.0 set CAM decrypt (SID 31, caLm 4, HasCaDescriptors 1)
Dec 24 16:24:14 debian vdr: [15518] receiver on device 1 thread started (pid=14370, tid=15518)
Dec 24 16:24:14 debian vdr: [15519] TS buffer on device 1 thread started (pid=14370, tid=15519)
Dec 24 16:24:18 debian vdr: [14383] client (HTTP) 192.168.31.112:59075 has closed connection
Dec 24 16:24:18 debian vdr: [14383] streamdev-server: closing HTTP connection to 192.168.31.112:59075
Dec 24 16:24:18 debian vdr: [15517] streamdev-livestreaming thread ended (pid=14370, tid=15517)
Dec 24 16:24:18 debian vdr: [14383] DVBAPI: 0.0 set CAM decrypt (SID 31, caLm 5, HasCaDescriptors 1)
Dec 24 16:24:18 debian vdr: [15516] streamdev-writer thread ended (pid=14370, tid=15516)
Dec 24 16:24:18 debian vdr: [14383] buffer stats: 32524 (0%) used
Dec 24 16:24:18 debian vdr: [15519] TS buffer on device 1 thread ended (pid=14370, tid=15519)
Dec 24 16:24:18 debian vdr: [15518] buffer stats: 19364 (0%) used
Dec 24 16:24:18 debian vdr: [15518] receiver on device 1 thread ended (pid=14370, tid=15518)
Dec 24 16:25:19 debian vdr: [14378] changing name of channel 24 from 'TV West,;Digitenne' to 'TV Noord-Holland,;Digitenne'
Dec 24 16:25:19 debian vdr: [14378] changing name of channel 25 from 'Radio West,;Digitenne' to 'Radio Noord-Holland,;Digitenne'

 

 

oscam.log
2013/12/24 16:23:44   ED0DA8 c plain dvbapi-client granted (anonymous, au=off)
2013/12/24 16:23:44   ED0DA8 c [DVBAPI] Detected /dev/dvb/adapter0/demux0 Api: 0, userconfig boxtype: 11
2013/12/24 16:23:45   ED2AB0 c client connected to 15050 port
2013/12/24 16:23:45   ED2AB0 c encrypted newcamd:15050-client 192.168.31.111 granted (user2, au=auto (1 reader))
2013/12/24 16:23:45   ED2AB0 c user user2 authenticated successfully (generic)
2013/12/24 16:23:45   ED2AB0 c AU disabled for user user2
2013/12/24 16:23:45   ED2AB0 c user2 (0B00&00E030/0000/000F/47:70E604A7FFCB742086B737D9E9669FCA): found (190 ms) by reader1
2013/12/24 16:23:45   ED2AB0 c user2 (0B00&00E030/0000/000E/47:8C3D9CF237D3A74D6B1873AAEE45C172): found (189 ms) by reader1
2013/12/24 16:23:55   ED2AB0 c user2 (0B00&00E030/0000/000E/47:A9BAF5E7C6C88D19E75862E14C3F3B85): found (191 ms) by reader1
2013/12/24 16:23:55   ED2AB0 c user2 (0B00&00E030/0000/000F/47:097CBF729BE9C2A7F8C45E0CB6F6F50D): found (190 ms) by reader1
2013/12/24 16:24:05   ED2AB0 c user2 (0B00&00E030/0000/000E/47:01D6AF337ACDE74F231F326485D93157): found (190 ms) by reader1
2013/12/24 16:24:05   ED2AB0 c user2 (0B00&00E030/0000/000F/47:6C5B113B9A5BFAEFF572925EDA36528A): found (190 ms) by reader1
2013/12/24 16:24:13   ED0DA8 c [DVBAPI] Receiver sends PMT command 3 for channel 001F
2013/12/24 16:24:13   ED0DA8 c [DVBAPI] Receiver wants to demux srvid 001F on adapter 0000 camask 0001 index 0000
2013/12/24 16:24:13   ED0DA8 c [ADD PID 0] CAID: 0B00 ECM_PID: 0BCB PROVID: 000000
2013/12/24 16:24:13   ED0DA8 c Found 1 ECMpids and 2 STREAMpids in PMT
2013/12/24 16:24:13   ED0DA8 c [DVBAPI] Receiver wants to demux srvid 001F on adapter 0000 camask 0001 index 0000
2013/12/24 16:24:13   ED0DA8 c New program number: 001F (0B00:001F unknown) [pmt_list_management 3]
2013/12/24 16:24:13   ED0DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!
2013/12/24 16:24:13   ED0DA8 c [DVBAPI] Demuxer #0 (re)starting decodingrequests on all 1 ecmpids!
2013/12/24 16:24:13   ED0DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!
2013/12/24 16:24:14   ED0DA8 c [DVBAPI] Demuxer #0 (re)starting decodingrequests on all 1 ecmpids!
2013/12/24 16:24:14   ED0DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!
2013/12/24 16:24:14   ED0DA8 c [DVBAPI] Receiver sends PMT command 3 for channel 001F
2013/12/24 16:24:14   ED0DA8 c [DVBAPI] Receiver wants to demux srvid 001F on adapter 0000 camask 0001 index 0000
2013/12/24 16:24:14   ED0DA8 c [ADD PID 0] CAID: 0B00 ECM_PID: 0BCB PROVID: 000000
2013/12/24 16:24:14   ED0DA8 c Found 1 ECMpids and 2 STREAMpids in PMT
2013/12/24 16:24:14   ED0DA8 c [DVBAPI] Receiver wants to demux srvid 001F on adapter 0000 camask 0001 index 0000
2013/12/24 16:24:14   ED0DA8 c New program number: 001F (0B00:001F unknown) [pmt_list_management 3]
2013/12/24 16:24:14   ED0DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!
2013/12/24 16:24:14   ED0DA8 c [DVBAPI] Demuxer #0 (re)starting decodingrequests on all 1 ecmpids!
2013/12/24 16:24:15   ED0DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!
2013/12/24 16:24:15   ED0DA8 c [DVBAPI] Demuxer #0 (re)starting decodingrequests on all 1 ecmpids!
2013/12/24 16:24:15   ED2AB0 c user2 (0B00&00E030/0000/000F/47:FD79D9867ABB670430AFCC40CF52B0AB): found (191 ms) by reader1
2013/12/24 16:24:15   ED0DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!
2013/12/24 16:24:15   ED2AB0 c user2 (0B00&00E030/0000/000E/47:7FE23254455F0A2788CC7B23989F86BB): found (189 ms) by reader1
2013/12/24 16:24:15   ED0DA8 c [DVBAPI] Demuxer #0 (re)starting decodingrequests on all 1 ecmpids!
2013/12/24 16:24:16   ED0DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!
2013/12/24 16:24:16   ED0DA8 c [DVBAPI] Demuxer #0 (re)starting decodingrequests on all 1 ecmpids!
2013/12/24 16:24:16   ED0DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!
2013/12/24 16:24:17   ED0DA8 c [DVBAPI] Demuxer #0 (re)starting decodingrequests on all 1 ecmpids!
2013/12/24 16:24:17   ED0DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!
2013/12/24 16:24:17   ED0DA8 c [DVBAPI] Demuxer #0 (re)starting decodingrequests on all 1 ecmpids!
2013/12/24 16:24:18   ED0DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!
2013/12/24 16:24:18   ED0DA8 c [DVBAPI] Demuxer #0 (re)starting decodingrequests on all 1 ecmpids!
2013/12/24 16:24:18   ED0DA8 c [DVBAPI] Demuxer #0 no suitable readers found that can be used for decoding!
2013/12/24 16:24:25   ED2AB0 c user2 (0B00&00E030/0000/000F/47:BDD8627A96FA1356B6F5947248E9CF83): found (188 ms) by reader1
2013/12/24 16:24:25   ED2AB0 c user2 (0B00&00E030/0000/000E/47:847E58C7D53F2D58F421F4D2B76831C3): found (188 ms) by reader1
2013/12/24 16:24:35   ED2AB0 c user2 (0B00&00E030/0000/000E/47:6E164847CBE062B5CAA30103572758AF): found (189 ms) by reader1
Geplaatst: (aangepast)

Ook op je vdr-systeem dien je OSCAM geïnstalleerd te hebben (wat volgens mij nu ook het geval is)

 

Je moet de opties van vdr-plugin-dvbapi aanpassen/uitbreiden met "-B0 -B1" en dan zou het miscchien al kunnen werken.

 

oscam.user op je vdr-box aanpassen/toevoegeb naar het volgende (de vdr gebruiker moet bestaan):

[account]
user = vdr
pwd = vdr
group = 1
uniq = 3
monlevel = 0
au = [naam van reader]

En oscam.conf op je vdr-systeem aanpassen naar het volgende (wat je zo te zien al gedaan hebt):

[dvbapi]
enabled = 1
au = 1
boxtype = pc
user = vdr
pmt_mode = 4
request_mode = 1

aangepast door Niels Wagenaar

Woonkamer : Xubuntu 8.04 met VDR 1.7.4 en WinTV NOVA-HD-S2 icm Reel Extension HD.

Slaapkamer : Een MediaMVP icm de vompserver v0.30 VDR plugin.

  • 2 weken later...
Geplaatst: (aangepast)

Ben ook wel benieuwd hoe de VDR-dvbapi-plugin icm OSCam aan de praat is te krijgen, dus dat er updates doorkomen.

Is het een kwestie van compilen op een linux machientje en zo ja welke dependencies zijn er dan  packages voordat het gecompiled kan worden, zoals vdr en vdr-dev. Zou mooi zijn als "  ERROR: Could not detect DVBAPI version. " tot het verleden behoort

aangepast door dolphs

Xtrend ET10000 met Quad Inverto Ultra

Maak een account aan of log in om te reageren

Je moet een lid zijn om een reactie te kunnen achterlaten

Account aanmaken

Registreer voor een nieuwe account in onze community. Het is erg gemakkelijk!

Registreer een nieuwe account

Inloggen

Heb je reeds een account? Log hier in.

Nu inloggen
×
×
  • Nieuwe aanmaken...