Project

General

Profile

TVH 4.0.7 - Oscam 1.2 no CAs connection

Added by Fredrick B about 9 years ago

I cannot get Tvheadend to connect to Oscam. Running on Linux.

oscam.conf
[dvbapi]
enabled = 1
user = root
au = 1
pmt_mode = 4
listen_port = 9000
boxtype = pc

camd.socket exist, but looks like it's 0 bytes.
srwxrwxrwx 1 root root 0 Nov 10 09:17 camd.socket

tvheadend log
capmt: Oscam: Cannot connect to /tmp/camd.socket:9000 (Name or service not known); Do you have OSCam running?

tvheadend setting
OSCam net protocol (rev >= 10389)


Replies (7)

RE: TVH 4.0.7 - Oscam 1.2 no CAs connection - Added by Fredrick B about 9 years ago

When using net protocol in tvheadend the ip of machine should be used instead.

So instead of the /tmp/camd.socket replace with 127.0.0.1 (if oscam is on same computer)

RE: TVH 4.0.7 - Oscam 1.2 no CAs connection - Added by Meindert Oldenburger about 9 years ago

Which revision of OSCAM are you using? I'm using r10680 but like to use a higher revision!

RE: TVH 4.0.7 - Oscam 1.2 no CAs connection - Added by Acid Rain about 9 years ago

Same problem here.
Using newest OSCam Version (yesterday from repository compiled) and newest tvheadend Version (~4.1.8xx)

With older Version my configuration with dvbapi worked perfectly.
Since Switch to newer dvbapi protocol Versions, and port Settings, camd.socket didn't work. :(

currently switched to newcamd protocol...
but here's the Problem, sending EMMs to wrong Card.
(I have two Cards with CAID 098E, and different programs, and every EMM is sent to both Cards, even when program is only available on Card 1)

with older dvbapi Version was no Problem... EMM sent to correct Card.

RE: TVH 4.0.7 - Oscam 1.2 no CAs connection - Added by Hanspeter Müller about 9 years ago

Acid Rain wrote:

Same problem here.
Using newest OSCam Version (yesterday from repository compiled) and newest tvheadend Version (~4.1.8xx)

With older Version my configuration with dvbapi worked perfectly.
Since Switch to newer dvbapi protocol Versions, and port Settings, camd.socket didn't work. :(

yeah, same here, i suspect commit 66b12c40d384fa2b1b89c2d39f9bf7a73058fdf3 broke something. I've raised an issue in the tracker https://tvheadend.org/issues/3295

If someone with the problem could try one commit before that (i can't, accidentally deleted the old configs), it would probably help kill that bug ;)

RE: TVH 4.0.7 - Oscam 1.2 no CAs connection - Added by Stephan Oelze about 9 years ago

Hi!

The ticket says "everything fine ???"

I am stombeling into same issue. None working descramble.
tvheadend: 4.0.7 "stable"
oscam:11140

[dvbapi]
enabled = 1
au = 1
pmt_mode = 4
listen_port = 9000
user = tvh
boxtype = pc

can anyone please post a working combo of tvheadend and oscam?
or a working config?

Thanks a lot!
Stephan

RE: TVH 4.0.7 - Oscam 1.2 no CAs connection - Added by Hanspeter Müller about 9 years ago

That one is a real doozy, argh... it took me two days to find the exact version that starts the problem (see issue 3295), the last version of OSCAM that works for me is r11110...

RE: TVH 4.0.7 - Oscam 1.2 no CAs connection - Added by Stephan Oelze about 9 years ago

Thanks Hanspeter for that information!
anyway, could you please post your oscam config?

    (1-7/7)