Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: budget-ci CI interface testing



Andrew de Quincey wrote:

On Thursday 22 April 2004 13:30, Jesper Sörensen wrote:

Great!!! Now I'm getting the TS data from the card; that didn't work
with the CI code before. So far I've only been able to test it without
the CAM, but I hope to test the CAM later tonight...

Thats good to hear!

Hmm, if you find you don't get any data with the CAM inserted, perhaps
that CAM is slightly nonstandard... because as you can see from the list,
other people are getting data with CAMs inserted.

I did get data with the CAM inserted so that seems to work nicely. I
didn't get the descrambling to work though but that could be because the
smart card needs to be updated with new op codes since it hasn't been
used for a while. Should this work automatically with the Nova card or
do I need to move it to a STB for updating? I only had time for some quick tests last night (so I guess it might not have had time to get the
updates) but I'll try again tonight.

Hmmm no idea... I'd guess it should pick them up automatically now the transport stream is flowing through it.
That would explain why EN50221 says the transport stream should be routed through the CAM after initialisation is complete, and not when you actually want to start decrypting something.

Well, I've tested it some more now but I'm still unable to get the decryption going. Free channels work nicely and I get data from scrambled channels too but it's not getting descrambled :(

I've only tested this with MythTV. Since I'm currently not in front of the machine, the best I can do for now is try to get a recording going. This is what I get in the log:

2004-04-22 23:56:14 DVB#0 Using DVB card 0, with frontend STV0299/TSA5059/SL1935 based.
2004-04-22 23:56:15 DVB#0 CAM - Initialized successfully.
2004-04-22 23:56:15 DVB#0 WARNING - Status: NO LOCK!
2004-04-22 23:56:15 DVB#0 WARNING - Status: CARRIER | NO LOCK!
2004-04-22 23:56:15 DVB#0 Successfully tuned to channel 4.
2004-04-22 23:56:15 DVB#0 CAM - Cached PMT found.
2004-04-22 23:56:15 mythbackend version: 0.14.20040123-1 www.mythtv.org
2004-04-22 23:56:15 Enabled verbose msgs : important general
2004-04-22 23:56:17 Found changes in the todo list.
2004-04-22 23:56:17 Started recording "Business International[64059445]" on channel: 30 on cardid: 1, sourceid 1
2004-04-22 23:56:17 DVB#0 WARNING - Status: NO LOCK!
2004-04-22 23:56:17 DVB#0 WARNING - Status: SIGNAL | NO LOCK!
2004-04-22 23:56:17 DVB#0 Successfully tuned to channel 30.
2004-04-22 23:56:17 Changing from None to RecordingOnly
2004-04-22 23:56:17 DVB#0 Recorder: Card opened successfully.
CAM: Conax 4.00e, 01, 0B00, 04B1
2004-04-22 23:56:17 DVB#0 CAM - Sending PMT to slot 0.
ERROR: CAM: Read failed: slot 0, tcid 1

2004-04-22 23:56:44 DVB#0 WARNING - Transport Stream Continuity Error. PID = 700
2004-04-22 23:56:44 DVB#0 WARNING - Transport Stream Continuity Error. PID = 701
2004-04-22 23:56:46 DVB#0 WARNING - Transport Stream Continuity Error. PID = 700
2004-04-22 23:56:46 DVB#0 WARNING - Transport Stream Continuity Error. PID = 701
CAM: Conax 4.00e, 01, 0B00, 04B1
ERROR: CAM: Read failed: slot 0, tcid 1

2004-04-22 23:57:10 DVB#0 WARNING - Transport Stream Continuity Error. PID = 700
2004-04-22 23:57:10 DVB#0 WARNING - Transport Stream Continuity Error. PID = 701


The CAM keeps getting resetted, as can also be seen in this dmesg log:

saa7146: register extension 'budget_ci dvb'.
saa7146: found saa7146 @ mem e0dac000 (revision 1, irq 11) (0x13c2,0x100f).
DVB: registering new adapter (TT-Budget/WinTV-NOVA-CI PCI).
probe_tuner: try to attach to TT-Budget/WinTV-NOVA-CI PCI
drivers/media/dvb/frontends/stv0299.c: setup for tuner SU1278 (TSA5059 synth) on TechnoTrend hardware
DVB: registering frontend 0:0 (STV0299/TSA5059/SL1935 based)...
TT-Budget/WinTV-NOVA-CI PCI adapter 0 has MAC addr = 00:d0:5c:23:0c:fe
budget_ci: CI interface initialised
dvb_ca: DVB CAM detected and initialised successfully
dvb_ca: DVB CAM detected and initialised successfully
dvb_ca: DVB CAM detected and initialised successfully
dvb_ca: DVB CAM detected and initialised successfully
dvb_ca: PC card did not respond :(


I don't know if it's related but the Myth backend abends pretty often while trying to record scrambled channels. No log message or anything, it just dies... :-(

Obviously the recordings don't work, the files stay at 0 kb.

Is there some lower level tool to test the decryption so I can make sure this is not some MythTV bug?

Any ideas?



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index