[UPDATE]
This is solved, see bottom of post.
Hi,
I'm currently having trouble getting Oscam to work with TVHeadend.
I have this:
I: tvheadend -> oscam -> cccam -> smargo
but i want this:
II: tvheadend -> oscam -> smargo (
but ended up with this:
III: tvheadend -> cccam -> smargo
In I: and in III the cccam is working ok because i have a dreambox running fine on it as a client.
In I: having the dreambox talking to the cccam part of oscam is working also very well. I see the decrypting proces happening ;-)
But having tvheadend talking to the same oscam in I: is not working. It cant decrypt the packets it seems.
In III: however tvheadend is also working very well talking to the cccam directly.
In II its not working either.
So i'm guessing that the tvheadend talking to the oscam is not working is it should.
Anyone else having same problems.
(running tvheadend svn latest co, cccam 2.1.2 and oscam 1.00beta, smargo 1.4)
[UPDATE]:
I finally got TVHeadend working with Oscam and a Smargo reader, decrypting Canal Digitaal Seca3 encrypted (HD) channels.
Here's my oscam.conf
[global]
nice = -1
WaitForCards = 1
#pidfile = /var/run/oscam.pid
logfile = /var/log/oscam/oscam.log
usrfile = /var/log/oscam/oscamuser.log
cwlogdir = /var/log/oscam/cw
[monitor]
port = 988
aulow = 120
monlevel = 1
[newcamd]
key = 0102030405060708091011121314
port = 10000@0100:00006A
[webif]
httpport = 81
httprefresh = 5
httpallowed = 192.168.0.1-192.168.255.255
httphideidleclients = 0
httpreadonly = 0
[cccam]
#port = 12000
#cccversion = 2.1.2
#cccbuild = 2892
#reshare = 2
#ignorereshare = 1
#updateinterval = 240
#minimizecards = 0
Here's oscam.server
[reader]
label = canaldigitaal
enable = 1
protocol = mouse
device = /dev/ttyUSB0
caid = 0100
detect = cd
mhz = 500
cardmhz = 500
ident =
group = 1
emmcache = 1,3,2
auprovid =
And oscam.user
[account]
user = hts
pwd = hts
group = 1
caid =
au = canaldigitaal
In TVheadend you have to add under Configuration -> Code Word Client:
your Oscam hostname or IP number under Hostname
your Oscam newcamd Port number under Port (in this case its port 10000)
your newcamd key under [newcamd] in DES key (in this case 0102030405060708091011121314)
your username from oscam.user under Username
your password from oscam.user under Password
Now for CanalDigitaal Seca3 you have to add the caid (0100) in the [newcamd] part of oscam.conf after your necamd portnumber. Other providers/card need to modify this. Also use this caid (0100) in oscam.server. I'm using the Smargo in mouse mode and the CD card is able to be read on 5mhz so i did change the mhz and cardmhz from 357 to 500.
When I disable Update Card in TVHeadend it didnt work because it couldnt read the card, enabling Update Card did the trick and oscam was reading the cards serial number and such and started decoding ;-)
If you want your existing CCcam clients like Dreambox and such also to talk to Oscam just enable the lines in the cccam section and modify your cccam client to talk to the oscam server IP and port.
Good luck ;-)