Re: [linux-dvb] Terratec Cinergy C HD - CAM support.... Need help?

2011-05-29 Thread Willem van Asperen
On Sunday 29 May 2011 14:11:23 Bjørn Mork wrote:
> Willem van Asperen  writes:
> > Actually, doing this on s2-liplianin-41388e396e0f (the one I downloaded
> > today) gets:
> > $ grep mantis_ca_init *.c
> >
> > mantis_ca.c:int mantis_ca_init(struct mantis_pci *mantis)
> > mantis_dvb.c:   mantis_ca_init(mantis);
> >
> > And in the function __devinit mantis_dvb_init(struct mantis_pci *mantis)
> > it actually says:
> >
> > ...
> > dvb_net_init(&mantis->dvb_adapter, &mantis->dvbnet, &mantis->demux.dmx);
> > tasklet_init(&mantis->tasklet, mantis_dma_xfer, (unsigned long) mantis);
> > mantis_frontend_init(mantis);
> > mantis_ca_init(mantis);
> >
> > return 0;
> > ...
> >
> > So it seems that this mantis_ca_init call is actually made nowadays.
> 
> In the s2-liplianin yes.  Not in mainline.  Investigating the
> differences might be useful.

Indeed.

% modprobe -r mantis
% modprobe mantis

gives:
May 29 14:37:51 mythbox kernel: Mantis :03:02.0: PCI INT A -> GSI 17 
(level, low) -> IRQ 17
May 29 14:37:51 mythbox kernel: DVB: registering new adapter (Mantis DVB 
adapter)
May 29 14:37:52 mythbox kernel: DVB: registering adapter 0 frontend 0 (Philips 
TDA10023 DVB-C)...


Nothing about CA

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Terratec Cinergy C HD - CAM support.... Need help?

2011-05-29 Thread Bjørn Mork
Willem van Asperen  writes:

> Actually, doing this on s2-liplianin-41388e396e0f (the one I downloaded 
> today) 
> gets:
> $ grep mantis_ca_init *.c
>
> mantis_ca.c:int mantis_ca_init(struct mantis_pci *mantis)
> mantis_dvb.c:   mantis_ca_init(mantis);
>
> And in the function __devinit mantis_dvb_init(struct mantis_pci *mantis) it 
> actually says:
>
> ...
>   dvb_net_init(&mantis->dvb_adapter, &mantis->dvbnet, &mantis->demux.dmx);
>   tasklet_init(&mantis->tasklet, mantis_dma_xfer, (unsigned long) mantis);
>   mantis_frontend_init(mantis);
>   mantis_ca_init(mantis);
>
>   return 0;
> ...
>
> So it seems that this mantis_ca_init call is actually made nowadays.

In the s2-liplianin yes.  Not in mainline.  Investigating the
differences might be useful.


Bjørn

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Terratec Cinergy C HD - CAM support.... Need help?

2011-05-29 Thread Willem van Asperen
On Saturday 28 May 2011 10:33:16 Bjørn Mork wrote:
> Marc Coevoet  writes:
> > Op 27-05-11 21:48, Willem van Asperen schreef:
> >> a) CAM support is currently not implemented for terratec HD
> >
> > For all cards?
> 
> The CA code in the mantis driver isn't actually hooked into the driver
> anywhere, so that't correct: No CAM will currently work with the
> Terratec Cinergy C HD.
> 
> Exported, but never called:
> 
>  bjorn@canardo:/usr/local/src/git/linux-2.6/drivers/media/dvb/mantis$ grep
>  mantis_ca_init *.c mantis_ca.c:int mantis_ca_init(struct mantis_pci
>  *mantis)
>  mantis_ca.c:EXPORT_SYMBOL_GPL(mantis_ca_init);

Actually, doing this on s2-liplianin-41388e396e0f (the one I downloaded today) 
gets:
$ grep mantis_ca_init *.c

mantis_ca.c:int mantis_ca_init(struct mantis_pci *mantis)
mantis_dvb.c:   mantis_ca_init(mantis);

And in the function __devinit mantis_dvb_init(struct mantis_pci *mantis) it 
actually says:

...
dvb_net_init(&mantis->dvb_adapter, &mantis->dvbnet, &mantis->demux.dmx);
tasklet_init(&mantis->tasklet, mantis_dma_xfer, (unsigned long) mantis);
mantis_frontend_init(mantis);
mantis_ca_init(mantis);

return 0;
...

So it seems that this mantis_ca_init call is actually made nowadays.

I'll do some more digging -- check the /var/log/messages file for output of the 
mantis initialization -- and report back.

Willem
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Terratec Cinergy C HD - CAM support.... Need help?

2011-05-28 Thread Willem van Asperen
On Saturday 28 May 2011 10:33:16 Bjørn Mork wrote:
> Marc Coevoet  writes:
> > Op 27-05-11 21:48, Willem van Asperen schreef:
> >> a) CAM support is currently not implemented for terratec HD
> >
> > For all cards?
> 
> The CA code in the mantis driver isn't actually hooked into the driver
> anywhere, so that't correct: No CAM will currently work with the
> Terratec Cinergy C HD.
> 
> Exported, but never called:
> 
>  bjorn@canardo:/usr/local/src/git/linux-2.6/drivers/media/dvb/mantis$ grep
>  mantis_ca_init *.c mantis_ca.c:int mantis_ca_init(struct mantis_pci
>  *mantis)
>  mantis_ca.c:EXPORT_SYMBOL_GPL(mantis_ca_init);
> 
> 
> I don't know why, but I assume it's the same as with the remote control
> code that was recently fixed Christoph Pinkl: The code probably wasn't
> considered production ready when the driver was merged, and was therefore
> "temporarily" disabled until it could be fixed.
> 
> 
> Bjørn
Can anyone confirm this and, if so, is someone working on getting this fixed?

Like I said, happy to dig in and see if I can help here. But I would at least 
need to know what the current status is and an idea where the problem(s) sit.

Regards,
Willem
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Terratec Cinergy C HD - CAM support.... Need help?

2011-05-28 Thread Bjørn Mork
Marc Coevoet  writes:
> Op 27-05-11 21:48, Willem van Asperen schreef:
>>
>> a) CAM support is currently not implemented for terratec HD
>
> For all cards?

The CA code in the mantis driver isn't actually hooked into the driver
anywhere, so that't correct: No CAM will currently work with the
Terratec Cinergy C HD.

Exported, but never called:

 bjorn@canardo:/usr/local/src/git/linux-2.6/drivers/media/dvb/mantis$ grep 
mantis_ca_init *.c
 mantis_ca.c:int mantis_ca_init(struct mantis_pci *mantis)
 mantis_ca.c:EXPORT_SYMBOL_GPL(mantis_ca_init);


I don't know why, but I assume it's the same as with the remote control
code that was recently fixed Christoph Pinkl: The code probably wasn't
considered production ready when the driver was merged, and was therefore
"temporarily" disabled until it could be fixed.


Bjørn

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Terratec Cinergy C HD - CAM support.... Need help?

2011-05-27 Thread Marc Coevoet

Op 27-05-11 21:48, Willem van Asperen schreef:


a) CAM support is currently not implemented for terratec HD


For all cards?

I use TNT/dvb sticks, and you should be able to decode HD video with a 
so called "no hd" usb stick.


Because it is a question of software, not hardware.

Maybe, if one CAM card works, you should look for it ...


Marc

--
The "Penguin" has arrived - and he's not going away - ever.
What's on Shortwave guide: choose an hour, go!
http://shortwave.tk
700+ Radio Stations on SW http://swstations.tk
300+ languages on SW http://radiolanguages.tk

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html