Thanks for the answer.
I enabled debbug-logging and with one active caclient (caid=098c) i see following:
2015-02-10 20:03:13.912 [ INFO]:mpegts: 12031.5H in Test - tuning on Conexant CX24116/CX24118 : DVB-S #0
2015-02-10 20:03:14.184 [ DEBUG]:cwc: Test/12031.5H/Sky Bundesliga 1 using CWC 192.168.0.6:2000
2015-02-10 20:03:14.184 [ INFO]:subscription: 000A: "127.0.0.1 [ xbmc | XBMC Media Center ]" subscribing on "Sky Bundesliga 1", weight: 150, adapter: "Conexant CX24116/CX24118 : DVB-S #0", network: "Test", mux: "12031.5H", provider: "SKY", service: "Sky Bundesliga 1", hostname="127.0.0.1", username="xbmc", client="XBMC Media Center"
2015-02-10 20:03:14.184 [ INFO]:subscription: 0009: "epggrab" unsubscribing
2015-02-10 20:03:14.406 [ DEBUG]:cwc: ECM state 0
2015-02-10 20:03:14.999 [ ERROR]:descrambler: cannot decode packets for service "Sky Bundesliga 1"
2015-02-10 20:03:18.417 [ DEBUG]:cwc: ECM state 0
2015-02-10 20:03:29.000 [ NOTICE]:subscription: 000A: No input source available for subscription "127.0.0.1 [ xbmc | XBMC Media Center ]" to channel "Sky Bundesliga 1"
There is no ecm-request startet?
Info about the Channel Sky Bundesliga 1:
0x170c / 5900 CA CAIDS: 1702:000000
0x180c / 6156 CA CAIDS: 1833:000000
0x1b0c / 6924 CA CAIDS: 09c4:000000
0x1f0c / 7948 CA CAIDS: 09af:000000
0x1a0c / 6668 CA CAIDS: 098c:000000
Then i added a second "Fake"-caclient with caid=1702:
2015-02-10 20:05:49.899 [ INFO]:mpegts: 12031.5H in Test - tuning on Conexant CX24116/CX24118 : DVB-S #0
2015-02-10 20:05:50.016 [ DEBUG]:cwc: Test/12031.5H/Sky Bundesliga 1 using CWC 192.168.0.6:2000
2015-02-10 20:05:50.017 [ DEBUG]:cwc: Test/12031.5H/Sky Bundesliga 1 using CWC 192.168.0.6:2100
2015-02-10 20:05:50.017 [ INFO]:subscription: 0006: "127.0.0.1 [ xbmc | XBMC Media Center ]" subscribing on "Sky Bundesliga 1", weight: 150, adapter: "Conexant CX24116/CX24118 : DVB-S #0", network: "Test", mux: "12031.5H", provider: "SKY", service: "Sky Bundesliga 1", hostname="127.0.0.1", username="xbmc", client="XBMC Media Center"
2015-02-10 20:05:50.184 [ DEBUG]:cwc: ECM state 0
2015-02-10 20:05:50.184 [ DEBUG]:cwc: Insert prefered ECM (PID 5900) for service "Sky Bundesliga 1"
2015-02-10 20:05:50.184 [ DEBUG]:cwc: Sending ECM (PID 5900) section=0/0, for service "Sky Bundesliga 1" (seqno: 21)
2015-02-10 20:05:50.196 [ DEBUG]:cwc: Received NOK[0] for service "Sky Bundesliga 1" (PID 5900) (seqno: 21 Req delay: 12 ms)
2015-02-10 20:05:50.196 [ ERROR]:cwc: Can not descramble service "Sky Bundesliga 1", access denied (seqno: 21 Req delay: 12 ms) from cwc-192.168.0.6-2200-1702
2015-02-10 20:05:50.320 [ DEBUG]:cwc: ECM state 0
2015-02-10 20:05:50.320 [ DEBUG]:cwc: ECM state 0
2015-02-10 20:05:50.320 [ DEBUG]:cwc: ECM state 0
2015-02-10 20:05:50.827 [ ERROR]:descrambler: cannot decode packets for service "Sky Bundesliga 1"
2015-02-10 20:05:55.329 [ DEBUG]:cwc: ECM state 0
2015-02-10 20:05:55.329 [ DEBUG]:cwc: ECM state 0
2015-02-10 20:05:55.329 [ DEBUG]:cwc: ECM state 0
In the second test, tvheadend uses the caclient with caid=1702. The caclient with caid=098c is never used, but can also "descamble" that
service. There are many other services with the same behavior.
If my second test uses a "real" caclient, in some cases (late ecm-receives?) tvheadend switches to the caclient with 098c.
For now, i have no possibilities to reproduce this behavior.