Skip to contentSkip to conversation

TT Budget S2-3200 CI: failure with CAM module

linux-dvb Jaap Crezee 4 participants 5 messages Sep 23, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#1 lore raw

Jaap Crezee pisze:

Quoted 78 lines

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 $

Quoted 7 lines

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)

Signature · 8 lines
Pozdrawiam!
Gasiu


_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
#2 lore raw
Quoted 2 lines
Quoted 1 line · Jaap Crezee

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?

Quoted 1 line

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

drivers/media/dvb/ttpci/budget-ci.c renamed from kernel/multiproto/linux/drivers/media/dvb/ttpci/budget-ci.c +9 -1
@@ -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);

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#3 lore raw
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

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.

Quoted 7 lines

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?

Quoted 3 lines

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)

Quoted 7 lines

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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#4 lore raw
In reply to Jaap Crezee

Le 23.09.2008 05:50:37, Jaap Crezee a écrit :

Quoted 11 lines
Quoted 2 lines
Quoted 1 line · Jaap Crezee

Again, when I remove the CAM module, everything works fine (as for

FTA

Quoted 2 lines
Quoted 2 lines

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?

Quoted 7 lines
Quoted 1 line

I've got SkystarHD+CI Slot+Aston 2.18 and it works OK (for decoding

some

Quoted 1 line

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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb