Forums » Descrambling »
Problem after switch Smartcard with new CAID
Added by Tom P almost 10 years ago
Hey!
I use TVHeadend (Build: 3.9.2413) with CWC (newcmd protocol) and Oscam with Easymouse readers.
Yesterday I got a new Smartcard which uses a new CAID (switched from CAID 0x1838 to 0x098E).
I have changed the CWC configuration in TVHeadend and newcmd config in Oscam to use the new CAID, restarted TVHeadend and Oscam, but first the descrambling did not work. :-(
After a while of testing and debugging I figured out that TVHeadend stores the last working CAID in service configuration (in "prefcapid" property).
Here an example configuration for one channel
{ "sid": 30116, "lcn": 77, "lcn_minor": 0, "lcn2": 0, "svcname": "Kinowelt TV HD", "provider": "UMKBW", "dvb_servicetype": 25, "dvb_ignore_eit": false, "prefcapid": 2550, "prefcapid_lock": 0, "force_caid": 0, "created": 1422005840, "last_seen": 1422126324, "enabled": true, "auto": 0, "priority": 0, "pcr": 543, "pmt": 260, "stream": [ { "pid": 543, "type": "H264", "position": 0 }, { "pid": 544, "type": "AC3", "position": 0, "language": "ger", "audio_type": 1 }, { "pid": 545, "type": "AC3", "position": 0, "language": "eng", "audio_type": 1 }, { "pid": 552, "type": "CA", "position": 262144, "caidlist": [ { "caid": 6224 } ] }, { "pid": 2550, "type": "CA", "position": 262144, "caidlist": [ { "caid": 6200 } ] }, { "pid": 7769, "type": "CA", "position": 262144, "caidlist": [ { "caid": 2446 } ] } ] }
The "prefcapid" was set to pid 2550 which means caid 0x1838. That was the old working configuration.
After setting the property "prefcapid" manually to value "0" (inital value), and restarting TVHeadend, descrambling works fine for this service.
I checked the service configration again and realized that TVHeadend set the "prefcapid" property to pid 7769 (CAID 0x98E). So far so good.
But that means I have to configure all services which used CAID 1838 manually and set the prefcapid property to "0". What a mess!
In my opinion this is a bug. Note: The "prefcapid_lock" was set to "0", which means no lock.
Can anyone confirm? Did I miss something?
Tom