public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] TT Budget S2-3200 CI: failure with CAM module
@ 2008-09-23  8:12 Jaap Crezee
  2008-09-23  9:02 ` Gasiu
  0 siblings, 1 reply; 5+ messages in thread
From: Jaap Crezee @ 2008-09-23  8:12 UTC (permalink / raw)
  To: linux-dvb

Hi All,

I searched all of this maillist for hints on S2-3200 and CAM modules, but found nothing.
I hope someone can give me a starting point for debug.

When I insert my Astoncrypt CAM module into my TT Budget S2-3200 card, scanning is no longer possible. Also getting any 
data out of /dev/dvb/adapter0/dvr0 is not working. Tuning is still working (or at least, it seems...), I still can get a 
FE_LOCK. No difference when I also insert my Canaldigitaal smartcard in the CAM module; same result.

I use the current multiproto HG tree (http://jusst.de/hg/multiproto , HEAD)
I use the current dvb-apps HG tree (http://linuxtv.org/hg/dvb-apps , HEAD)

My cam device is initialised:

<snip>
DVB CAM validated successfully
dvb_ca_en50221_link_init
dvb_ca_en50221_wait_if_status
dvb_ca_en50221_wait_if_status succeeded timeout:0
dvb_ca_en50221_read_data
Received CA packet for slot 0 connection id 0x0 last_frag:1 size:0x2
Chosen link buffer size of 16
dvb_ca_en50221_wait_if_status
dvb_ca_en50221_wait_if_status succeeded timeout:0
dvb_ca_en50221_write_data
Wrote CA packet for slot 0, connection id 0x0 last_frag:1 size:0x2
dvb_ca adapter 0: DVB CAM detected and initialised successfully
</snip>

Again, when I remove the CAM module, everything works fine (as for FTA channels...). Tools like dvbdate, dvbtraffic and 
mplayer /dev/dvb/adapter0/dvr0 work fine.

Any help in where to start debugging whould be very kind!

Regards,

Jaap Crezee



--------------------



Some more info:

02:09.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
         Subsystem: Technotrend Systemtechnik GmbH S2-3200

jaap@server /dev/dvb/adapter0 $ lsmod | grep -E "dvb|stb|lnb|budget"
lnbp21                  1920  1
stb6100                 6404  1
stb0899                34180  1
budget_ci              21636  3
firmware_class          7040  1 budget_ci
budget_core             9348  1 budget_ci
saa7146                15880  2 budget_ci,budget_core
ttpci_eeprom            2304  1 budget_core
ir_common              40708  1 budget_ci
dvb_core               79744  2 budget_ci,budget_core
i2c_core               21264  9 lnbp21,stb6100,stb0899,budget_ci,budget_core,ttpci_eeprom,eeprom,i2c_i801,i2c_dev
crc32                   4224  3 dvb_core,tun,skge
jaap@server /dev/dvb/adapter0 $


Kernel 2.6.26.5 , 'normal' x86 platform....

jaap@server /dev/dvb/adapter0 $ ls -al
total 0
drwxr-xr-x 2 root root     140 Sep 23 09:39 .
drwxr-xr-x 3 root root      60 Sep 23 09:39 ..
crw-rw---- 1 root video 212, 6 Sep 23 09:39 ca0
crw-rw---- 1 root video 212, 4 Sep 23 09:39 demux0
crw-rw---- 1 root video 212, 5 Sep 23 09:39 dvr0
crw-rw---- 1 root video 212, 3 Sep 23 09:39 frontend0
crw-rw---- 1 root video 212, 7 Sep 23 09:39 net0
jaap@server /dev/dvb/adapter0 $

jaap@server /dev/dvb/adapter0 $ cat /proc/interrupts | grep saa
  21:     711348   IO-APIC-fasteoi   sata_sil, saa7146 (0)
jaap@server /dev/dvb/adapter0 $

[and counting up (and not because of the sata_sil...) ...]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-dvb] TT Budget S2-3200 CI: failure with CAM module
  2008-09-23  8:12 [linux-dvb] TT Budget S2-3200 CI: failure with CAM module Jaap Crezee
@ 2008-09-23  9:02 ` Gasiu
  2008-09-23  9:50   ` Jaap Crezee
  0 siblings, 1 reply; 5+ messages in thread
From: Gasiu @ 2008-09-23  9:02 UTC (permalink / raw)
  To: Jaap Crezee, linux-dvb

Jaap Crezee pisze:
> Hi All,
>
> I searched all of this maillist for hints on S2-3200 and CAM modules, but found nothing.
> I hope someone can give me a starting point for debug.
>
> When I insert my Astoncrypt CAM module into my TT Budget S2-3200 card, scanning is no longer possible. Also getting any 
> data out of /dev/dvb/adapter0/dvr0 is not working. Tuning is still working (or at least, it seems...), I still can get a 
> FE_LOCK. No difference when I also insert my Canaldigitaal smartcard in the CAM module; same result.
>
> I use the current multiproto HG tree (http://jusst.de/hg/multiproto , HEAD)
> I use the current dvb-apps HG tree (http://linuxtv.org/hg/dvb-apps , HEAD)
>
> My cam device is initialised:
>
> <snip>
> DVB CAM validated successfully
> dvb_ca_en50221_link_init
> dvb_ca_en50221_wait_if_status
> dvb_ca_en50221_wait_if_status succeeded timeout:0
> dvb_ca_en50221_read_data
> Received CA packet for slot 0 connection id 0x0 last_frag:1 size:0x2
> Chosen link buffer size of 16
> dvb_ca_en50221_wait_if_status
> dvb_ca_en50221_wait_if_status succeeded timeout:0
> dvb_ca_en50221_write_data
> Wrote CA packet for slot 0, connection id 0x0 last_frag:1 size:0x2
> dvb_ca adapter 0: DVB CAM detected and initialised successfully
> </snip>
>
> Again, when I remove the CAM module, everything works fine (as for FTA channels...). Tools like dvbdate, dvbtraffic and 
> mplayer /dev/dvb/adapter0/dvr0 work fine.
>
> Any help in where to start debugging whould be very kind!
>
> Regards,
>
> Jaap Crezee
>
>
>
> --------------------
>
>
>
> Some more info:
>
> 02:09.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
>          Subsystem: Technotrend Systemtechnik GmbH S2-3200
>
> jaap@server /dev/dvb/adapter0 $ lsmod | grep -E "dvb|stb|lnb|budget"
> lnbp21                  1920  1
> stb6100                 6404  1
> stb0899                34180  1
> budget_ci              21636  3
> firmware_class          7040  1 budget_ci
> budget_core             9348  1 budget_ci
> saa7146                15880  2 budget_ci,budget_core
> ttpci_eeprom            2304  1 budget_core
> ir_common              40708  1 budget_ci
> dvb_core               79744  2 budget_ci,budget_core
> i2c_core               21264  9 lnbp21,stb6100,stb0899,budget_ci,budget_core,ttpci_eeprom,eeprom,i2c_i801,i2c_dev
> crc32                   4224  3 dvb_core,tun,skge
> jaap@server /dev/dvb/adapter0 $
>
>
> Kernel 2.6.26.5 , 'normal' x86 platform....
>
> jaap@server /dev/dvb/adapter0 $ ls -al
> total 0
> drwxr-xr-x 2 root root     140 Sep 23 09:39 .
> drwxr-xr-x 3 root root      60 Sep 23 09:39 ..
> crw-rw---- 1 root video 212, 6 Sep 23 09:39 ca0
> crw-rw---- 1 root video 212, 4 Sep 23 09:39 demux0
> crw-rw---- 1 root video 212, 5 Sep 23 09:39 dvr0
> crw-rw---- 1 root video 212, 3 Sep 23 09:39 frontend0
> crw-rw---- 1 root video 212, 7 Sep 23 09:39 net0
> jaap@server /dev/dvb/adapter0 $
>
> jaap@server /dev/dvb/adapter0 $ cat /proc/interrupts | grep saa
>   21:     711348   IO-APIC-fasteoi   sata_sil, saa7146 (0)
> jaap@server /dev/dvb/adapter0 $
>
> [and counting up (and not because of the sata_sil...) ...]
>
>   
I've got SkystarHD+CI Slot+Aston 2.18 and it works OK (for decoding some 
channels like HBO/MINIMINI I must wait very long time, but it works)

-- 
Pozdrawiam!
Gasiu


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-dvb] TT Budget S2-3200 CI: failure with CAM module
  2008-09-23  9:02 ` Gasiu
@ 2008-09-23  9:50   ` Jaap Crezee
  2008-09-23 10:15     ` Jo Heremans
  2008-09-23 18:48     ` [linux-dvb] Re : " manu
  0 siblings, 2 replies; 5+ messages in thread
From: Jaap Crezee @ 2008-09-23  9:50 UTC (permalink / raw)
  To: linux-dvb

[-- Attachment #1: Type: text/plain, Size: 757 bytes --]

> Jaap Crezee wrote:
>> Again, when I remove the CAM module, everything works fine (as for FTA 
>> channels...). Tools like dvbdate, dvbtraffic and mplayer 
>> /dev/dvb/adapter0/dvr0 work fine.

I just created a patch to add a budget-ci module param to the driver to disable the CI interface at module load time. 
This way I can still use the card when the CAM module is inserted.
Maybe it is good enough to integrated it with the current hg tree?

> I've got SkystarHD+CI Slot+Aston 2.18 and it works OK (for decoding some 
> channels like HBO/MINIMINI I must wait very long time, but it works)

I have waited long enough (more than 6 hours) and still no results.
Anyone got it working with a TT S2-3200 and AstonCrypt CAM module?

regards,


Jaap Crezee


[-- Attachment #2: buget-ci-disable-ci-interface-mod-param.patch --]
[-- Type: text/plain, Size: 837 bytes --]

--- /kernel/multiproto/linux/drivers/media/dvb/ttpci/budget-ci.c	2008-09-23 11:30:25.000000000 +0200
+++ linux/drivers/media/dvb/ttpci/budget-ci.c	2008-09-23 11:38:24.000000000 +0200
@@ -101,6 +101,10 @@
 module_param(ir_debug, int, 0644);
 MODULE_PARM_DESC(ir_debug, "enable debugging information for IR decoding");
 
+static int ci_disable = 0;
+module_param(ci_disable, int, 0644);
+MODULE_PARM_DESC(ci_disable, "disable CI interface (default: 0, enable...)");
+
 struct budget_ci_ir {
 	struct input_dev *dev;
 	struct tasklet_struct msp430_irq_tasklet;
@@ -1509,7 +1513,11 @@
 	if (err)
 		goto out3;
 
-	ciintf_init(budget_ci);
+	if (ci_disable == 0) {
+		ciintf_init(budget_ci);
+	} else {
+	        printk("buget-ci: disabled CI interface!\n");
+	}
 
 	budget_ci->budget.dvb_adapter.priv = budget_ci;
 	frontend_init(budget_ci);

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-dvb] TT Budget S2-3200 CI: failure with CAM module
  2008-09-23  9:50   ` Jaap Crezee
@ 2008-09-23 10:15     ` Jo Heremans
  2008-09-23 18:48     ` [linux-dvb] Re : " manu
  1 sibling, 0 replies; 5+ messages in thread
From: Jo Heremans @ 2008-09-23 10:15 UTC (permalink / raw)
  To: 'Jaap Crezee', linux-dvb

>>> Again, when I remove the CAM module, everything works fine (as for 
>>> FTA channels...). Tools like dvbdate, dvbtraffic and mplayer 
>>> /dev/dvb/adapter0/dvr0 work fine.
>
>I just created a patch to add a budget-ci module param to the driver to
disable the CI interface at module load time. 
>This way I can still use the card when the CAM module is inserted.
>Maybe it is good enough to integrated it with the current hg tree?
>
>> I've got SkystarHD+CI Slot+Aston 2.18 and it works OK (for decoding 
>> some channels like HBO/MINIMINI I must wait very long time, but it 
>> works)
>
>I have waited long enough (more than 6 hours) and still no results.
>Anyone got it working with a TT S2-3200 and AstonCrypt CAM module?
>
>regards,
>
>
>Jaap Crezee

I have a TT S2-3200 working with the original tv-vlaanderen cam (same as the
canal-digital cam)
I use the liplianindvb tree

Jo


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [linux-dvb] Re :  TT Budget S2-3200 CI: failure with CAM module
  2008-09-23  9:50   ` Jaap Crezee
  2008-09-23 10:15     ` Jo Heremans
@ 2008-09-23 18:48     ` manu
  1 sibling, 0 replies; 5+ messages in thread
From: manu @ 2008-09-23 18:48 UTC (permalink / raw)
  To: linux-dvb

Le 23.09.2008 05:50:37, Jaap Crezee a écrit :
> > Jaap Crezee wrote:
> >> Again, when I remove the CAM module, everything works fine (as for
> FTA 
> >> channels...). Tools like dvbdate, dvbtraffic and mplayer 
> >> /dev/dvb/adapter0/dvr0 work fine.
> 
> I just created a patch to add a budget-ci module param to the driver
> to disable the CI interface at module load time. 
> This way I can still use the card when the CAM module is inserted.
> Maybe it is good enough to integrated it with the current hg tree?
> 
> > I've got SkystarHD+CI Slot+Aston 2.18 and it works OK (for decoding
> some 
> > channels like HBO/MINIMINI I must wait very long time, but it 
> works)
> 
> I have waited long enough (more than 6 hours) and still no results.
> Anyone got it working with a TT S2-3200 and AstonCrypt CAM module?

Yes here (CanalSatellite in the French Caribbean Islands): AstonCrypt 
2.18 (IIRC), works great (I can even decode 2 channels 
simultaneously!).
I use Manu's multiproto treee but I dont think that there is something 
different for the CI/CAM stack in this driver.
I think I've read that some older AstonCrypt cards (version < 2.18) 
dont play well... 
Bye
Manu


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-09-23 18:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-23  8:12 [linux-dvb] TT Budget S2-3200 CI: failure with CAM module Jaap Crezee
2008-09-23  9:02 ` Gasiu
2008-09-23  9:50   ` Jaap Crezee
2008-09-23 10:15     ` Jo Heremans
2008-09-23 18:48     ` [linux-dvb] Re : " manu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox