Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] budget-ci CI interface testing



Hi,

I am testing the new CI code in the budget-ci driver with a Hauppauge
Nova-CI and a cryptoworks CAM (with a legal ORF smartcard). This setup is
working perfectly under Windows. I have two problems under linux (2.6.1 with
dvb-kernel-modules from CVS):

1) After loading the driver with enabled ci support I do not receive any
data via vdr0 or can use the dvbscan tool. szap is working well and reports
a LOCK on the signal. This happens on crypted and also on free channels.
If I unload the driver and load it without CI support receiving free
channels is working correctly.

2) If I unload the driver and load it again (tried budget-ci only and also
all modules down to dvb-core). Initialisation of the CAM does not work any
more. I can not retry the whole test cycle yet, because I can not reboot the
machine (due to another bug) remotely.

My kernel log at the first try (CAM init worked well):
saa7146: register extension 'budget_ci dvb'.
saa7146: found saa7146 @ mem e5c08400 (revision 1, irq 23) (0x13c2,0x100f).
DVB: registering new adapter (TT-Budget/WinTV-NOVA-CI PCI).
probe_tuner: try to attach to TT-Budget/WinTV-NOVA-CI PCI
/home/mythtv/dvb/cvstst/dvb-kernel/build-2.6/stv0299.c: setup for tuner
SU1278 (TSA5059 synth) on TechnoTrend hardware
DVB: registering frontend 0:0 (STV0299/TSA5059/SL1935 based)...
TT-Budget/WinTV-NOVA-CI PCI adapter 0 has MAC addr = 00:d0:5c:21:6d:ed
dvb_ca_en50221_init
dvb_ca_en50221_thread
budget_ci: CI interface initialised
CAMCHANGE IRQ slot:0 change_type:1
dvb_ca_en50221_thread_wakeup
CAMREADY IRQ slot:0
dvb_ca_en50221_thread_wakeup
TUPLE type:0x1d length:4
  0x00: 0x00 .
  0x01: 0xdb .
  0x02: 0x08 .
  0x03: 0xff .
TUPLE type:0x1c length:3
  0x00: 0x00 .
  0x01: 0x08 .
  0x02: 0xff .
TUPLE type:0x15 length:21
  0x00: 0x05 .
  0x01: 0x00 .
  0x02: 0x53 S
  0x03: 0x43 C
  0x04: 0x4d M
  0x05: 0x00 .
  0x06: 0x44 D
  0x07: 0x56 V
  0x08: 0x42 B
  0x09: 0x20
  0x0a: 0x43 C
  0x0b: 0x41 A
  0x0c: 0x20
  0x0d: 0x4d M
  0x0e: 0x6f o
  0x0f: 0x64 d
  0x10: 0x75 u
  0x11: 0x6c l
  0x12: 0x65 e
  0x13: 0x00 .
  0x14: 0xff .
TUPLE type:0x20 length:4
  0x00: 0xff .
  0x01: 0xff .
  0x02: 0x01 .
  0x03: 0x00 .
TUPLE type:0x1a length:21
  0x00: 0x01 .
  0x01: 0x0f .
  0x02: 0xfe .
  0x03: 0x01 .
  0x04: 0x01 .
  0x05: 0xf4 .
  0x06: 0x0e .
  0x07: 0x41 A
  0x08: 0x02 .
  0x09: 0x44 D
  0x0a: 0x56 V
  0x0b: 0x42 B
  0x0c: 0x5f _
  0x0d: 0x43 C
  0x0e: 0x49 I
  0x0f: 0x5f _
  0x10: 0x56 V
  0x11: 0x31 1
  0x12: 0x2e .
  0x13: 0x30 0
  0x14: 0x30 0
TUPLE type:0x1b length:17
  0x00: 0xc9 .
  0x01: 0x41 A
  0x02: 0x19 .
  0x03: 0x37 7
  0x04: 0x55 U
  0x05: 0x4e N
  0x06: 0x5e ^
  0x07: 0x1d .
  0x08: 0x56 V
  0x09: 0xaa .
  0x0a: 0x60 `
  0x0b: 0x20
  0x0c: 0x03 .
  0x0d: 0x03 .
  0x0e: 0x50 P
  0x0f: 0xff .
  0x10: 0xff .
TUPLE type:0x1b length:37
  0x00: 0xcf .
  0x01: 0x04 .
  0x02: 0x09 .
  0x03: 0x37 7
  0x04: 0x55 U
  0x05: 0x4d M
  0x06: 0x5d ]
  0x07: 0x1d .
  0x08: 0x56 V
  0x09: 0x22 "
  0x0a: 0xc0 .
  0x0b: 0x09 .
  0x0c: 0x44 D
  0x0d: 0x56 V
  0x0e: 0x42 B
  0x0f: 0x5f _
  0x10: 0x48 H
  0x11: 0x4f O
  0x12: 0x53 S
  0x13: 0x54 T
  0x14: 0x00 .
  0x15: 0xc1 .
  0x16: 0x0e .
  0x17: 0x44 D
  0x18: 0x56 V
  0x19: 0x42 B
  0x1a: 0x5f _
  0x1b: 0x43 C
  0x1c: 0x49 I
  0x1d: 0x5f _
  0x1e: 0x4d M
  0x1f: 0x4f O
  0x20: 0x44 D
  0x21: 0x55 U
  0x22: 0x4c L
  0x23: 0x45 E
  0x24: 0x00 .
TUPLE type:0x14 length:0
TUPLE type:0xff length:0
Valid DVB CAM detected MANID:ffff DEVID:1 CONFIGBASE:0x1fe CONFIGOPTION:0xf
dvb_ca_en50221_set_configoption
DVB CAM validated successfully
dvb_ca_en50221_link_init
dvb_ca_en50221_wait_if_status
dvb_ca_en50221_wait_if_status succeeded timeout:1
dvb_ca_en50221_wait_if_status
FR/DA IRQ slot:0
CAM supports DA IRQ
dvb_ca_en50221_wait_if_status succeeded timeout:1
dvb_ca_en50221_read_data
Chosen link buffer size of 128
dvb_ca_en50221_wait_if_status
dvb_ca_en50221_wait_if_status succeeded timeout:0
dvb_ca_en50221_write_data
FR/DA IRQ slot:0
dvb_ca: DVB CAM detected and initialised successfully
CAM supports FR IRQ

---

My kernel log at the second try (CAM init did not work):
saa7146: register extension 'budget_ci dvb'.
saa7146: found saa7146 @ mem e5c08400 (revision 1, irq 23) (0x13c2,0x100f).
DVB: registering new adapter (TT-Budget/WinTV-NOVA-CI PCI).
probe_tuner: try to attach to TT-Budget/WinTV-NOVA-CI PCI
/home/mythtv/dvb/cvstst/dvb-kernel/build-2.6/stv0299.c: setup for tuner
SU1278 (TSA5059 synth) on TechnoTrend hardware
DVB: registering frontend 0:0 (STV0299/TSA5059/SL1935 based)...
TT-Budget/WinTV-NOVA-CI PCI adapter 0 has MAC addr = 00:d0:5c:21:6d:ed
dvb_ca_en50221_init
dvb_ca_en50221_thread
budget_ci: CI interface initialised
CAMCHANGE IRQ slot:0 change_type:1
dvb_ca_en50221_thread_wakeup
CAMREADY IRQ slot:0
dvb_ca_en50221_thread_wakeup
TUPLE type:0x1d length:4
  0x00: 0x00 .
  0x01: 0xdb .
  0x02: 0x08 .
  0x03: 0xff .
TUPLE type:0x1c length:3
  0x00: 0x00 .
  0x01: 0x08 .
  0x02: 0xff .
TUPLE type:0x15 length:21
  0x00: 0x05 .
  0x01: 0x00 .
  0x02: 0x53 S
  0x03: 0x43 C
  0x04: 0x4d M
  0x05: 0x00 .
  0x06: 0x44 D
  0x07: 0x56 V
  0x08: 0x42 B
  0x09: 0x20
  0x0a: 0x43 C
  0x0b: 0x41 A
  0x0c: 0x20
  0x0d: 0x4d M
  0x0e: 0x6f o
  0x0f: 0x64 d
  0x10: 0x75 u
  0x11: 0x6c l
  0x12: 0x65 e
  0x13: 0x00 .
  0x14: 0xff .
TUPLE type:0x20 length:4
  0x00: 0xff .
  0x01: 0xff .
  0x02: 0x01 .
  0x03: 0x00 .
TUPLE type:0x1a length:21
  0x00: 0x01 .
  0x01: 0x0f .
  0x02: 0xfe .
  0x03: 0x01 .
  0x04: 0x01 .
  0x05: 0xf4 .
  0x06: 0x0e .
  0x07: 0x41 A
  0x08: 0x02 .
  0x09: 0x44 D
  0x0a: 0x56 V
  0x0b: 0x42 B
  0x0c: 0x5f _
  0x0d: 0x43 C
  0x0e: 0x49 I
  0x0f: 0x5f _
  0x10: 0x56 V
  0x11: 0x31 1
  0x12: 0x2e .
  0x13: 0x30 0
  0x14: 0x30 0
TUPLE type:0x1b length:17
  0x00: 0xc9 .
  0x01: 0x41 A
  0x02: 0x19 .
  0x03: 0x37 7
  0x04: 0x55 U
  0x05: 0x4e N
  0x06: 0x5e ^
  0x07: 0x1d .
  0x08: 0x56 V
  0x09: 0xaa .
  0x0a: 0x60 `
  0x0b: 0x20
  0x0c: 0x03 .
  0x0d: 0x03 .
  0x0e: 0xd4 .
  0x0f: 0xff .
  0x10: 0xff .
TUPLE type:0x1b length:37
  0x00: 0xcf .
  0x01: 0x04 .
  0x02: 0x09 .
  0x03: 0x37 7
  0x04: 0x55 U
  0x05: 0x4d M
  0x06: 0x5d ]
  0x07: 0x1d .
  0x08: 0x56 V
  0x09: 0x22 "
  0x0a: 0xf4 .
  0x0b: 0x09 .
  0x0c: 0x44 D
  0x0d: 0x56 V
  0x0e: 0x42 B
  0x0f: 0x5f _
  0x10: 0x48 H
  0x11: 0x4f O
  0x12: 0x53 S
  0x13: 0x54 T
  0x14: 0x00 .
  0x15: 0xc1 .
  0x16: 0x0e .
  0x17: 0x44 D
  0x18: 0x56 V
  0x19: 0x42 B
  0x1a: 0x5f _
  0x1b: 0x43 C
  0x1c: 0x49 I
  0x1d: 0x5f _
  0x1e: 0x4d M
  0x1f: 0x4f O
  0x20: 0x44 D
  0x21: 0x55 U
  0x22: 0x4c L
  0x23: 0x45 E
  0x24: 0x00 .
TUPLE type:0x14 length:0
TUPLE type:0xff length:0
Valid DVB CAM detected MANID:ffff DEVID:1 CONFIGBASE:0x1fe CONFIGOPTION:0xf
dvb_ca_en50221_set_configoption
dvb_ca: Unable to initialise CAM :(

---

If you need any further information or want me to test something please
contact me.

Regards,
Bernhard




-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index