TechnoTrend TT-DVB-T 1500: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
 
Line 16: Line 16:
== Firmware ==
== Firmware ==


This cards needs the firmware file called dvb-fe-tda10046.fw to be available in /lib/firmware. It can be obtained from [http://rehost.splurben.com/linux_dvb_firmware_v2.7z this archive with firmwares].
This card needs the firmware file called dvb-fe-tda10046.fw to be available in /lib/firmware. It can be obtained from [http://rehost.splurben.com/linux_dvb_firmware_v2.7z this archive with firmwares].


== Notes about CI/CAM (Conax 4.00e)==
== Notes about CI/CAM (Conax 4.00e)==

Latest revision as of 22:36, 9 August 2011

Kernel output for a TT-DVB-T 1500 + CI + CAM (Conax 4.00e):

Dec 14 09:22:37 mythtvbackend saa7146: register extension 'budget_ci dvb'.
Dec 14 09:22:37 mythtvbackend budget_ci dvb 0000:05:09.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
Dec 14 09:22:37 mythtvbackend IRQ 18/: IRQF_DISABLED is not guaranteed on shared IRQs
Dec 14 09:22:37 mythtvbackend saa7146: found saa7146 @ mem f8b1e000 (revision 1, irq 18) (0x13c2,0x1012).
Dec 14 09:22:37 mythtvbackend saa7146 (0): dma buffer size 192512
Dec 14 09:22:37 mythtvbackend DVB: registering new adapter (TT-Budget-T-CI PCI)
Dec 14 09:22:37 mythtvbackend adapter has MAC addr = <deleted>
Dec 14 09:22:37 mythtvbackend input: Budget-CI dvb ir receiver saa7146 (0) as /class/input/input3
Dec 14 09:22:37 mythtvbackend budget_ci: CI interface initialised
Dec 14 09:22:37 mythtvbackend DVB: registering adapter 1 frontend 0 (Philips TDA10046H DVB-T)...
...
Dec 14 09:22:37 mythtvbackend dvb_ca adapter 1: DVB CAM detected and initialised successfully

Firmware

This card needs the firmware file called dvb-fe-tda10046.fw to be available in /lib/firmware. It can be obtained from this archive with firmwares.

Notes about CI/CAM (Conax 4.00e)

The delivered CI cable (SCSI) is very short. In case the cable length is increased, the CAM cannot always be properly initialized. In case of a CAM initialization failure the syslog is:

Dec 14 07:16:27 mythtvbackend dvb_ca adapter 1: Invalid PC card inserted :(

If the CAM initialization fails, the encrypted channels will not be decrypted anymore. The only solution, I was aware of, was to remove the CAM followed by reinserting the CAM in the CI. This in turn would force a reinitialization of the CI/CAM.

Another possible workaround is to patch the /usr/src/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c to restart reinitialization of the CI/CAM in case it fails.

WARNING: this might put your CAM initialization in a continuous loop.

--- dvb_ca_en50221.c.ORG        2009-12-01 14:04:46.000000000 +0100
+++ dvb_ca_en50221.c    2009-12-03 17:17:21.000000000 +0100
@@ -1053,6 +1053,11 @@ static int dvb_ca_en50221_thread(void *d

                                        printk("dvb_ca adapter %d: Invalid PC card inserted :(\n",
                                               ca->dvbdev->adapter->num);
+                    //BEGIN patch 20091203
+                    printk("Retrying DVB_CA_SLOTSTATE_INVALID \n");
+                    ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_VALIDATE;
+                    break;
+                    //END
                                        ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_INVALID;
                                        dvb_ca_en50221_thread_update_delay(ca);
                                        break;

Extra log info

WRONG initialization:
---------------------------
Nov 24 07:16:02 mythtvbackend dvb_ca_en50221_thread_wakeup
Nov 24 07:16:02 mythtvbackend TUPLE type:0x1d length:4
Nov 24 07:16:02 mythtvbackend 0x00: 0x00 .
Nov 24 07:16:02 mythtvbackend 0x01: 0xdb .
Nov 24 07:16:02 mythtvbackend 0x02: 0x08 .
Nov 24 07:16:02 mythtvbackend 0x03: 0xff .
Nov 24 07:16:02 mythtvbackend TUPLE type:0x1c length:3
Nov 24 07:16:02 mythtvbackend 0x00: 0x00 .
Nov 24 07:16:02 mythtvbackend 0x01: 0x08 .
Nov 24 07:16:02 mythtvbackend 0x02: 0xff .
Nov 24 07:16:02 mythtvbackend TUPLE type:0x15 length:21
Nov 24 07:16:02 mythtvbackend 0x00: 0x05 .
Nov 24 07:16:02 mythtvbackend 0x01: 0x00 .
Nov 24 07:16:02 mythtvbackend 0x02: 0x53 S
Nov 24 07:16:02 mythtvbackend 0x03: 0x43 C
Nov 24 07:16:02 mythtvbackend 0x04: 0x4d M
Nov 24 07:16:02 mythtvbackend 0x05: 0x00 .
Nov 24 07:16:02 mythtvbackend 0x06: 0x44 D
Nov 24 07:16:02 mythtvbackend 0x07: 0x56 V
Nov 24 07:16:02 mythtvbackend 0x08: 0x42 B
Nov 24 07:16:02 mythtvbackend 0x09: 0x20
Nov 24 07:16:02 mythtvbackend 0x0a: 0x43 C
Nov 24 07:16:02 mythtvbackend 0x0b: 0x41 A
Nov 24 07:16:02 mythtvbackend 0x0c: 0x20
Nov 24 07:16:02 mythtvbackend 0x0d: 0x4d M
Nov 24 07:16:02 mythtvbackend 0x0e: 0x6f o
Nov 24 07:16:02 mythtvbackend 0x0f: 0x64 d
Nov 24 07:16:02 mythtvbackend 0x10: 0x75 u
Nov 24 07:16:02 mythtvbackend 0x11: 0x6c l
Nov 24 07:16:02 mythtvbackend 0x12: 0x65 e
Nov 24 07:16:02 mythtvbackend 0x13: 0x00 .
Nov 24 07:16:02 mythtvbackend 0x14: 0xff .
Nov 24 07:16:02 mythtvbackend TUPLE type:0x9 length:4
Nov 24 07:16:02 mythtvbackend 0x00: 0xff .
Nov 24 07:16:02 mythtvbackend 0x01: 0xff .
Nov 24 07:16:02 mythtvbackend 0x02: 0x01 .
Nov 24 07:16:02 mythtvbackend 0x03: 0x00 .
Nov 24 07:16:02 mythtvbackend dvb_ca adapter 1: Invalid PC card inserted :(
---------------------------------


GOOD initialization:
-----------------
Nov 24 07:21:08 mythtvbackend dvb_ca_en50221_thread_wakeup
Nov 24 07:21:08 mythtvbackend TUPLE type:0x1d length:4
Nov 24 07:21:08 mythtvbackend 0x00: 0x00 .
Nov 24 07:21:08 mythtvbackend 0x01: 0xdb .
Nov 24 07:21:08 mythtvbackend 0x02: 0x08 .
Nov 24 07:21:08 mythtvbackend 0x03: 0xff .
Nov 24 07:21:08 mythtvbackend TUPLE type:0x1c length:3
Nov 24 07:21:08 mythtvbackend 0x00: 0x00 .
Nov 24 07:21:08 mythtvbackend 0x01: 0x08 .
Nov 24 07:21:08 mythtvbackend 0x02: 0xff .
Nov 24 07:21:08 mythtvbackend TUPLE type:0x15 length:21
Nov 24 07:21:08 mythtvbackend 0x00: 0x05 .
Nov 24 07:21:08 mythtvbackend 0x01: 0x00 .
Nov 24 07:21:08 mythtvbackend 0x02: 0x53 S
Nov 24 07:21:08 mythtvbackend 0x03: 0x43 C
Nov 24 07:21:08 mythtvbackend 0x04: 0x4d M
Nov 24 07:21:08 mythtvbackend 0x05: 0x00 .
Nov 24 07:21:08 mythtvbackend 0x06: 0x44 D
Nov 24 07:21:08 mythtvbackend 0x07: 0x56 V
Nov 24 07:21:08 mythtvbackend 0x08: 0x42 B
Nov 24 07:21:08 mythtvbackend 0x09: 0x20
Nov 24 07:21:08 mythtvbackend 0x0a: 0x43 C
Nov 24 07:21:08 mythtvbackend 0x0b: 0x41 A
Nov 24 07:21:08 mythtvbackend 0x0c: 0x20
Nov 24 07:21:08 mythtvbackend 0x0d: 0x4d M
Nov 24 07:21:08 mythtvbackend 0x0e: 0x6f o
Nov 24 07:21:08 mythtvbackend 0x0f: 0x64 d
Nov 24 07:21:08 mythtvbackend 0x10: 0x75 u
Nov 24 07:21:08 mythtvbackend 0x11: 0x6c l
Nov 24 07:21:08 mythtvbackend 0x12: 0x65 e
Nov 24 07:21:08 mythtvbackend 0x13: 0x00 .
Nov 24 07:21:08 mythtvbackend 0x14: 0xff .
Nov 24 07:21:08 mythtvbackend TUPLE type:0x20 length:4
Nov 24 07:21:08 mythtvbackend 0x00: 0xff .
Nov 24 07:21:08 mythtvbackend 0x01: 0xff .
Nov 24 07:21:08 mythtvbackend 0x02: 0x01 .
Nov 24 07:21:08 mythtvbackend 0x03: 0x00 .
Nov 24 07:21:08 mythtvbackend TUPLE type:0x1a length:21
Nov 24 07:21:08 mythtvbackend 0x00: 0x01 .
Nov 24 07:21:08 mythtvbackend 0x01: 0x0f .
Nov 24 07:21:08 mythtvbackend 0x02: 0xfe .
Nov 24 07:21:08 mythtvbackend 0x03: 0x01 .
Nov 24 07:21:08 mythtvbackend 0x04: 0x01 .
Nov 24 07:21:08 mythtvbackend 0x05: 0xc0 .
Nov 24 07:21:08 mythtvbackend 0x06: 0x0e .
Nov 24 07:21:08 mythtvbackend 0x07: 0x41 A
Nov 24 07:21:08 mythtvbackend 0x08: 0x02 .
Nov 24 07:21:08 mythtvbackend 0x09: 0x44 D
Nov 24 07:21:08 mythtvbackend 0x0a: 0x56 V
Nov 24 07:21:08 mythtvbackend 0x0b: 0x42 B
Nov 24 07:21:08 mythtvbackend 0x0c: 0x5f _
Nov 24 07:21:08 mythtvbackend 0x0d: 0x43 C
Nov 24 07:21:08 mythtvbackend 0x0e: 0x49 I
Nov 24 07:21:08 mythtvbackend 0x0f: 0x5f _
Nov 24 07:21:08 mythtvbackend 0x10: 0x56 V
Nov 24 07:21:08 mythtvbackend 0x11: 0x31 1
Nov 24 07:21:08 mythtvbackend 0x12: 0x2e .
Nov 24 07:21:08 mythtvbackend 0x13: 0x30 0
Nov 24 07:21:08 mythtvbackend 0x14: 0x30 0
Nov 24 07:21:08 mythtvbackend TUPLE type:0x1b length:17
Nov 24 07:21:08 mythtvbackend 0x00: 0xc9 .
Nov 24 07:21:08 mythtvbackend 0x01: 0x41 A
Nov 24 07:21:08 mythtvbackend 0x02: 0x19 .
Nov 24 07:21:08 mythtvbackend 0x03: 0x37 7
Nov 24 07:21:08 mythtvbackend 0x04: 0x55 U
Nov 24 07:21:08 mythtvbackend 0x05: 0x4e N
Nov 24 07:21:08 mythtvbackend 0x06: 0x5e ^
Nov 24 07:21:08 mythtvbackend 0x07: 0x1d .
Nov 24 07:21:08 mythtvbackend 0x08: 0x56 V
Nov 24 07:21:08 mythtvbackend 0x09: 0xaa .
Nov 24 07:21:08 mythtvbackend 0x0a: 0x60 `
Nov 24 07:21:08 mythtvbackend 0x0b: 0x20
Nov 24 07:21:08 mythtvbackend 0x0c: 0x03 .
Nov 24 07:21:08 mythtvbackend 0x0d: 0x03 .
Nov 24 07:21:08 mythtvbackend 0x0e: 0x50 P
Nov 24 07:21:08 mythtvbackend 0x0f: 0xff .
Nov 24 07:21:08 mythtvbackend 0x10: 0xff .
Nov 24 07:21:08 mythtvbackend TUPLE type:0x1b length:37
Nov 24 07:21:08 mythtvbackend 0x00: 0xcf .
Nov 24 07:21:08 mythtvbackend 0x01: 0x04 .
Nov 24 07:21:08 mythtvbackend 0x02: 0x09 .
Nov 24 07:21:08 mythtvbackend 0x03: 0x37 7
Nov 24 07:21:08 mythtvbackend 0x04: 0x55 U
Nov 24 07:21:08 mythtvbackend 0x05: 0x4d M
Nov 24 07:21:08 mythtvbackend 0x06: 0x5d ]
Nov 24 07:21:08 mythtvbackend 0x07: 0x1d .
Nov 24 07:21:08 mythtvbackend 0x08: 0x56 V
Nov 24 07:21:08 mythtvbackend 0x09: 0x22 "
Nov 24 07:21:08 mythtvbackend 0x0a: 0xc0 .
Nov 24 07:21:08 mythtvbackend 0x0b: 0x09 .
Nov 24 07:21:08 mythtvbackend 0x0c: 0x44 D
Nov 24 07:21:08 mythtvbackend 0x0d: 0x56 V
Nov 24 07:21:08 mythtvbackend 0x0e: 0x42 B
Nov 24 07:21:08 mythtvbackend 0x0f: 0x5f _
Nov 24 07:21:08 mythtvbackend 0x10: 0x48 H
Nov 24 07:21:08 mythtvbackend 0x11: 0x4f O
Nov 24 07:21:08 mythtvbackend 0x12: 0x53 S
Nov 24 07:21:08 mythtvbackend 0x13: 0x54 T
Nov 24 07:21:08 mythtvbackend 0x14: 0x00 .
Nov 24 07:21:08 mythtvbackend 0x15: 0xc1 .
Nov 24 07:21:08 mythtvbackend 0x16: 0x0e .
Nov 24 07:21:08 mythtvbackend 0x17: 0x44 D
Nov 24 07:21:08 mythtvbackend 0x18: 0x56 V
Nov 24 07:21:08 mythtvbackend 0x19: 0x42 B
Nov 24 07:21:08 mythtvbackend 0x1a: 0x5f _
Nov 24 07:21:08 mythtvbackend 0x1b: 0x43 C
Nov 24 07:21:08 mythtvbackend 0x1c: 0x49 I
Nov 24 07:21:08 mythtvbackend 0x1d: 0x5f _
Nov 24 07:21:08 mythtvbackend 0x1e: 0x4d M
Nov 24 07:21:08 mythtvbackend 0x1f: 0x4f O
Nov 24 07:21:08 mythtvbackend 0x20: 0x44 D
Nov 24 07:21:08 mythtvbackend 0x21: 0x55 U
Nov 24 07:21:08 mythtvbackend 0x22: 0x4c L
Nov 24 07:21:08 mythtvbackend 0x23: 0x45 E
Nov 24 07:21:08 mythtvbackend 0x24: 0x00 .
Nov 24 07:21:08 mythtvbackend TUPLE type:0x14 length:0
Nov 24 07:21:08 mythtvbackend END OF CHAIN TUPLE type:0xff
Nov 24 07:21:08 mythtvbackend Valid DVB CAM detected MANID:ffff DEVID:1 CONFIGBASE:0x1fe CONFIGOPTION:0xf
Nov 24 07:21:08 mythtvbackend dvb_ca_en50221_set_configoption
Nov 24 07:21:08 mythtvbackend Set configoption 0xf, read configoption 0xf
Nov 24 07:21:08 mythtvbackend DVB CAM validated successfully