* cxusb: How to add CI support?
@ 2014-07-23 19:24 Olli Salonen
2014-07-24 7:04 ` Antti Palosaari
0 siblings, 1 reply; 2+ messages in thread
From: Olli Salonen @ 2014-07-23 19:24 UTC (permalink / raw)
To: linux-media
Hi everyone,
I'm in need of advice when it comes to the implementation of the
drivers. I recently added support for TechnoTrend CT2-4400 DVB-T2
tuner into the dvb-usb-cxusb module. Now I have gotten another
TechnoTrend device CT2-4650 and it seems this is more or less the same
device as CT2-4400 but with an added CI slot. The CI is realized using
a CIMaX SP2HF chip.
There seems to be support already for the said CIMaX chip, but only in
combination with cx23885 (drivers/media/pci/cx23885/
cimax2.c). This cannot be reused directly in my case. When I look at
the other dvb-usb devices that have CI slot the support for CI has
been implemented directly in the code of the USB device (for example,
pctv452e or az6027).
Of course, an easy way to do it is to reuse a lot of code from the
existing cimax2 and add it in the cxusb. However, I'm not sure if
that's an ok approach. As I'm relatively new to linux kernel coding,
I'd like to ask your recommendation for implementing the CI support
here before the endeavour. Thanks!
Cheers,
-olli
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: cxusb: How to add CI support?
2014-07-23 19:24 cxusb: How to add CI support? Olli Salonen
@ 2014-07-24 7:04 ` Antti Palosaari
0 siblings, 0 replies; 2+ messages in thread
From: Antti Palosaari @ 2014-07-24 7:04 UTC (permalink / raw)
To: Olli Salonen, linux-media
Moikka!
On 07/23/2014 10:24 PM, Olli Salonen wrote:
> Hi everyone,
>
> I'm in need of advice when it comes to the implementation of the
> drivers. I recently added support for TechnoTrend CT2-4400 DVB-T2
> tuner into the dvb-usb-cxusb module. Now I have gotten another
> TechnoTrend device CT2-4650 and it seems this is more or less the same
> device as CT2-4400 but with an added CI slot. The CI is realized using
> a CIMaX SP2HF chip.
Here is some brief cip info from manufacturer
http://www.smardtv.com/component/zoo/item/cimax.html
> There seems to be support already for the said CIMaX chip, but only in
> combination with cx23885 (drivers/media/pci/cx23885/
> cimax2.c). This cannot be reused directly in my case. When I look at
> the other dvb-usb devices that have CI slot the support for CI has
> been implemented directly in the code of the USB device (for example,
> pctv452e or az6027).
That is because CI driver usually by USB interface firmware. You could
see also anysee as one of such example more.
> Of course, an easy way to do it is to reuse a lot of code from the
> existing cimax2 and add it in the cxusb. However, I'm not sure if
> that's an ok approach. As I'm relatively new to linux kernel coding,
> I'd like to ask your recommendation for implementing the CI support
> here before the endeavour. Thanks!
Implement CIMaX driver as a standalone SPI (I am not sure if it is SPI
or I2C) driver, which implements CI (struct dvb_ca_en50221 callbacks).
Then load it properly, like si2168/si2157 drivers. It could be hard to
convert cx23885 without a hardware, but don't worry it - you could left
it as it is.
regards
Antti
--
http://palosaari.fi/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-24 7:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-23 19:24 cxusb: How to add CI support? Olli Salonen
2014-07-24 7:04 ` Antti Palosaari
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.