Re: ngene CI problems

2011-05-22 Thread Martin Vidovic
Hello Oliver, On Wed, 11 May 2011, Oliver Endriss wrote: On Monday 07 March 2011 14:50:02 Martin Vidovic wrote: ... - SEC device generates NULL packets (ad infinitum): When reading from SEC, NULL packets are read and interleaved with expected packets. They can be even read with

Re: ngene CI problems

2011-05-12 Thread Issa Gorissen
On 11/05/2011 20:59, Oliver Endriss wrote: I reworked the driver to strip those null packets. Please try http://linuxtv.org/hg/~endriss/ngene-octopus-test/raw-rev/f0dc4237ad08 CU Oliver Great! Will give it a try tonight and report. Thx, -- Issa -- To unsubscribe from this list: send the

Re: ngene CI problems

2011-05-12 Thread Oliver Endriss
On Thursday 12 May 2011 22:28:52 Issa Gorissen wrote: On 11/05/11 20:59, Oliver Endriss wrote: I reworked the driver to strip those null packets. Please try http://linuxtv.org/hg/~endriss/ngene-octopus-test/raw-rev/f0dc4237ad08 Tried your patch, but FFs have been replaced by 6Fs in null

Re: ngene CI problems

2011-05-11 Thread Oliver Endriss
On Monday 07 March 2011 14:50:02 Martin Vidovic wrote: ... - SEC device generates NULL packets (ad infinitum): When reading from SEC, NULL packets are read and interleaved with expected packets. They can be even read with dd(1) when nobody is writing to SEC and even when CAM is not ready.

RE: ngene CI problems

2011-05-03 Thread COEXSI
-Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Issa Gorissen Sent: samedi 23 avril 2011 12:20 To: Ralph Metzler Cc: xtro...@gmail.com; linux-media@vger.kernel.org Subject: Re: ngene CI problems On 23/04/11 00

Re: ngene CI problems

2011-04-23 Thread Issa Gorissen
On 23/04/11 00:16, Issa Gorissen wrote: Hi all! I'm trying to make the DVB_DEVICE_SEC approach work, however I'm experiencing certain problems with the following setup: Software: Linux 2.6.34.8 (vanilla) drivers from http://linuxtv.org/hg/~endriss/v4l-dvb/

Re: ngene CI problems

2011-04-23 Thread Martin Vidovic
Hi Issa, Running a bunch of test with gnutv and a DuoFLEX S2. I have a DuoFlex S2 running with CI, but not nGene based (it's attached to Octopus card - ddbridge module). I would run gnutv like 'gnutv -out stdout channelname /dev/dvb/adapter0/caio0' and then 'cat /dev/dvb/adapter0/caio0

Re: ngene CI problems

2011-04-23 Thread Issa Gorissen
On 23/04/11 13:37, Martin Vidovic wrote: Hi Issa, Running a bunch of test with gnutv and a DuoFLEX S2. I have a DuoFlex S2 running with CI, but not nGene based (it's attached to Octopus card - ddbridge module). I would run gnutv like 'gnutv -out stdout channelname

Re: ngene CI problems

2011-04-23 Thread Martin Vidovic
Hi, Okay, but have you managed to decode any channel yet ? Yes, I managed to descramble programmes without any problem. I find some code odd, maybe you can take a look as well... init_channel in ngene-core.c creates the device sec0/caio0 with the struct ngene_dvbdev_ci. In ngene-dvb.c you

Re: ngene CI problems

2011-04-23 Thread Issa Gorissen
On 23/04/11 14:39, Martin Vidovic wrote: Hi, Okay, but have you managed to decode any channel yet ? Yes, I managed to descramble programmes without any problem. I find some code odd, maybe you can take a look as well... init_channel in ngene-core.c creates the device sec0/caio0 with the

Re: ngene CI problems

2011-04-23 Thread Oliver Endriss
On Saturday 23 April 2011 00:16:56 Issa Gorissen wrote: Running a bunch of test with gnutv and a DuoFLEX S2. I saw the same problem concerning the decryption with a CAM. I'm running kern 2.6.39 rc 4 with the latest patches from Oliver. Also applied the patch moving from SEC to CAIO. If

Re: ngene CI problems

2011-04-23 Thread Issa Gorissen
On 23/04/11 19:40, Oliver Endriss wrote: On Saturday 23 April 2011 00:16:56 Issa Gorissen wrote: Running a bunch of test with gnutv and a DuoFLEX S2. I saw the same problem concerning the decryption with a CAM. I'm running kern 2.6.39 rc 4 with the latest patches from Oliver. Also applied

Re: ngene CI problems

2011-04-23 Thread Oliver Endriss
On Saturday 23 April 2011 20:56:47 Issa Gorissen wrote: On 23/04/11 19:40, Oliver Endriss wrote: On Saturday 23 April 2011 00:16:56 Issa Gorissen wrote: Running a bunch of test with gnutv and a DuoFLEX S2. I saw the same problem concerning the decryption with a CAM. I'm running kern

Re: ngene CI problems

2011-04-23 Thread Issa Gorissen
On 23/04/11 21:14, Oliver Endriss wrote: If you are running 2.6.39rc4, you must apply patch http://www.mail-archive.com/linux-media@vger.kernel.org/msg29870.html Otherwise the data will be garbled. Oliver, this patch was applied already. I'm hacking the ts_read/ts_write method, but so far,

Re: ngene CI problems

2011-04-23 Thread Issa Gorissen
On 23/04/11 21:14, Oliver Endriss wrote: Basically you should not have to hack anything. - Setup the CI as with any conventional device. - Write the encrypted stream into sec0. - Read the decrypted stream from sec0. This should work. (Please note that I could do some loopback tests only, as