Hi,
the next-1a.diff was thought only for the Diablo Cam, which was working before next-1.diff.
The only new for this CAM was the read and dump of the Attribute Memory Area. None of my CAMs had any problem with it.
Helmut
Hi,
the next-1a.diff was thought only for the Diablo Cam, which was working before next-1.diff.
The only new for this CAM was the read and dump of the Attribute Memory Area. None of my CAMs had any problem with it.
Helmut
Hi Helmut,
looks like you did catch it, since git from today also the Matrix CAM Air did work on my wintv-ci.
[58151.610288] usb 1-4: new high-speed USB device number 23 using xhci_hcd
[58151.759048] usb 1-4: New USB device found, idVendor=2040, idProduct=1100, bcdDevice= 0.00
[58151.759057] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[58151.759063] usb 1-4: Product: WinTV-CI-USB2
[58151.759068] usb 1-4: Manufacturer: HAUPPAUGE
[58151.759637] wintv_usb2ci: Found USB-CI device 2040:1100 (Ver.0) in warm state
[58151.759641] wintv_usb2ci: Product : WinTV-CI-USB2
[58151.759645] wintv_usb2ci: Manufacturer : HAUPPAUGE
[58153.849679] wintv_usb2ci: EP 1 IN (INTR) Addr : 0x81, Maxp 64 Ival 9
[58153.849687] wintv_usb2ci: EP 1 OUT (BULK) Addr : 0x01, Maxp 512 Ival 8
[58153.849692] wintv_usb2ci: EP 2 IN (ISOC) Addr : 0x82, Maxp 752 Ival 1
[58153.849696] wintv_usb2ci: EP 6 OUT (ISOC) Addr : 0x06, Maxp 752 Ival 1
[58153.850520] wintv_usb2ci: Registering DVB Adapter
[58153.850525] dvbdev: DVB: registering new adapter (WinTV-CI)
[58153.850527] wintv_usb2ci: Attaching DVB CA Device
[58153.850532] wintv_usb2ci: ca_bulk_allocate : EP(01) init packet buffer: 64 bytes
[58153.850543] wintv_usb2ci: ca_intr_allocate : EP(81) init packet/message buffers: 64/255 bytes
[58153.851080] wintv_usb2ci: Attaching DVB CI Device
[58153.851099] wintv_usb2ci: ts_rb_alloc : EP(06) ringbuffer size 722672 bytes (8 x 480 | 3844 TS-packets)
[58153.851105] wintv_usb2ci: ci_isoc_allocate : EP(06) init 9 urbs (120 uframes | 480 TS-packets each urb)
[58153.851509] wintv_usb2ci: ci_isoc_setup : EP(06) initialize 9 urbs (DIR_OUT)
[58153.851542] wintv_usb2ci: ts_rb_alloc : EP(82) ringbuffer size 722672 bytes (8 x 480 | 3844 TS-packets)
[58153.851548] wintv_usb2ci: ci_isoc_allocate : EP(82) init 9 urbs (120 uframes | 480 TS-packets each urb)
[58153.852017] wintv_usb2ci: ci_isoc_setup : EP(82) initialize 9 urbs (DIR_IN)
[58153.852364] wintv_usb2ci: CI_send_CMD : [90] 0/0/0
[58153.856300] wintv_usb2ci: CI_read_CMD_REPLY : [08] 20/20/0
[58153.856307] wintv_usb2ci: * FW_Version(2.01) FPGA_Version(1.d)
[58153.856309] wintv_usb2ci: probe succesfull
[58153.856320] wintv_usb2ci: cam_state_set : 00 -> 01
[58155.870122] wintv_usb2ci: CI_send_CMD : [10] 1/1/0
[58156.704392] wintv_usb2ci: CI_read_CMD_REPLY : [02] 0/0/0
[58156.704401] wintv_usb2ci: CI_WriteExchange : [10/02] response time 832 ms
[58156.704405] wintv_usb2ci: cam_state_set : 01 -> 04
[58156.704415] wintv_usb2ci: CI_send_CMD : [40] 0/0/0
[58156.864165] wintv_usb2ci: CI_read_CMD_REPLY : [03] 101/60/41
[58156.896384] wintv_usb2ci: CI_read_CMD_REPLY : [03] 41/41/0
[58156.896390] wintv_usb2ci: CI_WriteExchange : [40/03] response time 192 ms
[58156.896393] wintv_usb2ci: cam_state_set : 04 -> 05
[58156.896396] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 0: G
[58156.896398] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 1: M
[58156.896400] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 2: L
[58156.896402] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 3: L
[58156.896404] wintv_usb2ci: parse_cis : CFG_BASE: 0x200 (Cfg.Reg[0] in Attrib.Memory)
[58156.896406] wintv_usb2ci: parse_cis : CFG_REGS present [0-7] = 0x03
[58156.896409] wintv_usb2ci: parse_cis : IF-CODE[0] 0x0241 'DVB_CI_V1.00' matched
[58156.896411] wintv_usb2ci: parse_cis : CFG-OPTIONS: 0xF
[58156.896412] wintv_usb2ci: DVB-CI-Module detected
[58156.896416] wintv_usb2ci: CI_send_CMD : [70] 5/5/0
[58220.000377] wintv_usb2ci: CI_read_CMD_REPLY : [07] 0/0/0
[58220.000386] wintv_usb2ci: CI_WriteExchange : [70/07] response time 63108 ms
[58220.000390] wintv_usb2ci: cam_state_set : 05 -> 06
[58220.000396] wintv_usb2ci: CI_send_CMD : [60] 2/2/0
[58220.160379] wintv_usb2ci: CI_read_CMD_REPLY : [04] 2/2/0
[58220.160387] wintv_usb2ci: CI_WriteExchange : [60/04] response time 160 ms
[58220.160391] wintv_usb2ci: cam_state_set : 06 -> 07
[58287.671869] wintv_usb2ci: ca_ioctl : CA_RESET
[58287.671875] wintv_usb2ci: cam_state_set : 07 -> 03
[58288.729871] wintv_usb2ci: CI_send_CMD : [10] 1/1/0
[58289.536327] wintv_usb2ci: CI_read_CMD_REPLY : [02] 0/0/0
[58289.536334] wintv_usb2ci: CI_WriteExchange : [10/02] response time 804 ms
[58289.536337] wintv_usb2ci: cam_state_set : 03 -> 04
[58289.536344] wintv_usb2ci: CI_send_CMD : [40] 0/0/0
[58289.696349] wintv_usb2ci: CI_read_CMD_REPLY : [03] 101/60/41
[58289.728302] wintv_usb2ci: CI_read_CMD_REPLY : [03] 41/41/0
[58289.728310] wintv_usb2ci: CI_WriteExchange : [40/03] response time 192 ms
[58289.728314] wintv_usb2ci: cam_state_set : 04 -> 05
[58289.728319] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 0: G
[58289.728322] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 1: M
[58289.728325] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 2: L
[58289.728327] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 3: L
[58289.728330] wintv_usb2ci: parse_cis : CFG_BASE: 0x200 (Cfg.Reg[0] in Attrib.Memory)
[58289.728334] wintv_usb2ci: parse_cis : CFG_REGS present [0-7] = 0x03
[58289.728338] wintv_usb2ci: parse_cis : IF-CODE[0] 0x0241 'DVB_CI_V1.00' matched
[58289.728340] wintv_usb2ci: parse_cis : CFG-OPTIONS: 0xF
[58289.728342] wintv_usb2ci: DVB-CI-Module detected
[58289.728348] wintv_usb2ci: CI_send_CMD : [70] 5/5/0
[58352.832340] wintv_usb2ci: CI_read_CMD_REPLY : [07] 0/0/0
[58352.832348] wintv_usb2ci: CI_WriteExchange : [70/07] response time 63104 ms
[58352.832351] wintv_usb2ci: cam_state_set : 05 -> 06
[58352.832358] wintv_usb2ci: CI_send_CMD : [60] 2/2/0
[58352.992331] wintv_usb2ci: CI_read_CMD_REPLY : [04] 2/2/0
[58352.992340] wintv_usb2ci: CI_WriteExchange : [60/04] response time 160 ms
[58352.992343] wintv_usb2ci: cam_state_set : 06 -> 07
[58353.024473] wintv_usb2ci: ca_ioctl : CA_GET_SLOT_INFO [0] : CAM READY
[58355.584254] wintv_usb2ci: CI_send_CMD : [20] 65/60/5
[58355.584296] wintv_usb2ci: CI_send_CMD : [20] 5/5/0
[58358.528344] wintv_usb2ci: CI_read_CMD_REPLY : [06] 71/60/11
[58358.560350] wintv_usb2ci: CI_read_CMD_REPLY : [06] 11/11/0
[58358.560357] wintv_usb2ci: CI_WriteExchange : [80/06] response time 64 ms
Display More
CU
9000h
Hi Helmut,
I do have still a issue with my Cinergy CI where the Cingery firmware get loaded and I do have only a rev 2.0
[58624.237890] usb 1-4: new high-speed USB device number 24 using xhci_hcd
[58624.386118] usb 1-4: New USB device found, idVendor=1b0d, idProduct=5f0f, bcdDevice= 0.02
[58624.386127] usb 1-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[58624.387182] wintv_usb2ci: Found USB-CI device 1b0d:5f0f (Ver.2) in cold state
[58624.387273] wintv_usb2ci: located firmware usb2ci_cb.fw, size 6424 bytes
[58624.387283] wintv_usb2ci: *** FW *** block-size 16, block-cnt 292, RAM address range: 0x0000 - 0x0E06
[58624.401452] wintv_usb2ci: * 291 firmware blocks written to internal RAM
[58624.404895] wintv_usb2ci: * EEPROM: Boot-Mode: C0, V:P:D: 1B0D:5F0F-2.00 cfg: 04
[58624.421768] wintv_usb2ci: * EEPROM: Size 16 kB ( 16384 [0x4000] bytes )
[58624.422111] wintv_usb2ci: * REVID [0xE60A]: Silicon Revision 0x01
[58624.422489] wintv_usb2ci: * REVCTL [0xE60B]: 0x00
[58624.422867] wintv_usb2ci: * IFCONFIG [0xE601]=0x80 : FIFO/GPIF Clock 30 Mhz (internal)
[58624.423241] wintv_usb2ci: * USBCS [0xE680]=0x80
[58624.423620] wintv_usb2ci: * CPUCS [0xE600]=0x02 : CPU clock-speed 12 Mhz (12|24|48)
[58624.423625] wintv_usb2ci: CI-firmware usb2ci_r2.fw selected
[58624.423723] wintv_usb2ci: located firmware usb2ci_r2.fw, size 11200 bytes
[58624.423729] wintv_usb2ci: *** FW *** block-size 46, block-cnt 160, RAM address range: 0x0000 - 0x2620
[58624.430483] wintv_usb2ci: * 159 firmware blocks written to internal RAM
[58624.581321] usb 1-4: USB disconnect, device number 24
[58624.581361] wintv_usb2ci: wintv_usb_ci_disconnect
[58624.581366] wintv_usb2ci: wintv_usb_ci_delete
[58624.581368] wintv_usb2ci: USB wintv-ci #-1 now disconnected
[58626.373935] usb 1-4: new high-speed USB device number 25 using xhci_hcd
[58626.522648] usb 1-4: New USB device found, idVendor=1b0d, idProduct=5f0f, bcdDevice= 0.00
[58626.522656] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[58626.522662] usb 1-4: Product: USB2CI
[58626.522667] usb 1-4: Manufacturer: SMARDTV
[58626.523298] wintv_usb2ci: Found USB-CI device 1b0d:5f0f (Ver.0) in warm state
[58626.523303] wintv_usb2ci: Product : USB2CI
[58626.523306] wintv_usb2ci: Manufacturer : SMARDTV
[58628.613031] wintv_usb2ci: EP 1 IN (INTR) Addr : 0x81, Maxp 64 Ival 9
[58628.613035] wintv_usb2ci: EP 1 OUT (BULK) Addr : 0x01, Maxp 512 Ival 8
[58628.613037] wintv_usb2ci: EP 2 IN (ISOC) Addr : 0x82, Maxp 752 Ival 1
[58628.613038] wintv_usb2ci: EP 6 OUT (ISOC) Addr : 0x06, Maxp 752 Ival 1
[58628.614202] wintv_usb2ci: Registering DVB Adapter
[58628.614207] dvbdev: DVB: registering new adapter (WinTV-CI)
[58628.614208] wintv_usb2ci: Attaching DVB CA Device
[58628.614210] wintv_usb2ci: ca_bulk_allocate : EP(01) init packet buffer: 64 bytes
[58628.614219] wintv_usb2ci: ca_intr_allocate : EP(81) init packet/message buffers: 64/255 bytes
[58628.614713] wintv_usb2ci: Attaching DVB CI Device
[58628.614728] wintv_usb2ci: ts_rb_alloc : EP(06) ringbuffer size 722672 bytes (8 x 480 | 3844 TS-packets)
[58628.614731] wintv_usb2ci: ci_isoc_allocate : EP(06) init 9 urbs (120 uframes | 480 TS-packets each urb)
[58628.615016] wintv_usb2ci: ci_isoc_setup : EP(06) initialize 9 urbs (DIR_OUT)
[58628.615040] wintv_usb2ci: ts_rb_alloc : EP(82) ringbuffer size 722672 bytes (8 x 480 | 3844 TS-packets)
[58628.615043] wintv_usb2ci: ci_isoc_allocate : EP(82) init 9 urbs (120 uframes | 480 TS-packets each urb)
[58628.615604] wintv_usb2ci: ci_isoc_setup : EP(82) initialize 9 urbs (DIR_IN)
[58628.615940] wintv_usb2ci: CI_send_CMD : [90] 0/0/0
[58628.640269] wintv_usb2ci: CI_read_CMD_REPLY : [08] 20/20/0
[58628.640275] wintv_usb2ci: * FW_Version(2.00) FPGA_Version(1.d)
[58628.640276] wintv_usb2ci: probe succesfull
[58628.640284] wintv_usb2ci: cam_state_set : 00 -> 01
[58630.617978] wintv_usb2ci: CI_send_CMD : [10] 1/1/0
[58631.424380] wintv_usb2ci: CI_read_CMD_REPLY : [02] 0/0/0
[58631.424389] wintv_usb2ci: CI_WriteExchange : [10/02] response time 804 ms
[58631.424393] wintv_usb2ci: cam_state_set : 01 -> 04
[58631.424403] wintv_usb2ci: CI_send_CMD : [40] 0/0/0
[58631.584369] wintv_usb2ci: CI_read_CMD_REPLY : [03] 101/60/41
[58631.616392] wintv_usb2ci: CI_read_CMD_REPLY : [03] 41/41/0
[58631.616400] wintv_usb2ci: CI_WriteExchange : [40/03] response time 192 ms
[58631.616404] wintv_usb2ci: cam_state_set : 04 -> 05
[58631.616409] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 0: G
[58631.616412] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 1: M
[58631.616415] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 2: L
[58631.616417] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 3: L
[58631.616420] wintv_usb2ci: parse_cis : CFG_BASE: 0x200 (Cfg.Reg[0] in Attrib.Memory)
[58631.616424] wintv_usb2ci: parse_cis : CFG_REGS present [0-7] = 0x03
[58631.616428] wintv_usb2ci: parse_cis : IF-CODE[0] 0x0241 'DVB_CI_V1.00' matched
[58631.616430] wintv_usb2ci: parse_cis : CFG-OPTIONS: 0xF
[58631.616432] wintv_usb2ci: DVB-CI-Module detected
[58631.616438] wintv_usb2ci: CI_send_CMD : [70] 5/5/0
[58647.488381] wintv_usb2ci: CI_read_CMD_REPLY : [07] rc: 0 s:00 f:00 r:10 l:0
[58647.488397] wintv_usb2ci: CI_WriteExchange : [70/07] response time 15872 ms
[58647.488401] wintv_usb2ci: XR-rc(16 != 7) *** CAM-ERROR(70) ***
[58647.488407] wintv_usb2ci: cam_state_set : 05 -> 01
[58649.498223] wintv_usb2ci: CI_send_CMD : [10] 1/1/0
[58650.304383] wintv_usb2ci: CI_read_CMD_REPLY : [02] 0/0/0
[58650.304407] wintv_usb2ci: CI_WriteExchange : [10/02] response time 804 ms
[58650.304410] wintv_usb2ci: cam_state_set : 01 -> 04
[58650.304418] wintv_usb2ci: CI_send_CMD : [40] 0/0/0
[58650.464391] wintv_usb2ci: CI_read_CMD_REPLY : [03] 101/60/41
[58650.496380] wintv_usb2ci: CI_read_CMD_REPLY : [03] 41/41/0
[58650.496387] wintv_usb2ci: CI_WriteExchange : [40/03] response time 192 ms
[58650.496390] wintv_usb2ci: cam_state_set : 04 -> 05
[58650.496395] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 0: G
[58650.496398] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 1: M
[58650.496400] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 2: L
[58650.496402] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 3: L
[58650.496405] wintv_usb2ci: parse_cis : CFG_BASE: 0x200 (Cfg.Reg[0] in Attrib.Memory)
[58650.496408] wintv_usb2ci: parse_cis : CFG_REGS present [0-7] = 0x03
[58650.496412] wintv_usb2ci: parse_cis : IF-CODE[0] 0x0241 'DVB_CI_V1.00' matched
[58650.496414] wintv_usb2ci: parse_cis : CFG-OPTIONS: 0xF
[58650.496416] wintv_usb2ci: DVB-CI-Module detected
[58650.496420] wintv_usb2ci: CI_send_CMD : [70] 5/5/0
Display More
CU
9000h
Hi Helmut.
the Cinergy CI is working now also
[68874.936615] usb 1-4: new high-speed USB device number 28 using xhci_hcd
[68875.088846] usb 1-4: New USB device found, idVendor=1b0d, idProduct=5f0f, bcdDevice= 0.02
[68875.088855] usb 1-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[68875.480559] wintv_usb2ci: Found USB-CI device 1b0d:5f0f (Ver.2) in cold state
[68875.480615] wintv_usb2ci: located firmware usb2ci_cb.fw, size 6424 bytes
[68875.480619] wintv_usb2ci: *** FW *** block-size 16, block-cnt 292, RAM address range: 0x0000 - 0x0E06
[68875.493394] wintv_usb2ci: * 291 firmware blocks written to internal RAM
[68875.496920] wintv_usb2ci: * EEPROM: Boot-Mode: C0, V:P:D: 1B0D:5F0F-2.00 cfg: 04
[68875.513578] wintv_usb2ci: * EEPROM: Size 16 kB ( 16384 [0x4000] bytes )
[68875.513874] wintv_usb2ci: * REVID [0xE60A]: Silicon Revision 0x01
[68875.514162] wintv_usb2ci: * REVCTL [0xE60B]: 0x00
[68875.514451] wintv_usb2ci: * IFCONFIG [0xE601]=0x80 : FIFO/GPIF Clock 30 Mhz (internal)
[68875.514740] wintv_usb2ci: * USBCS [0xE680]=0x80
[68875.515031] wintv_usb2ci: * CPUCS [0xE600]=0x02 : CPU clock-speed 12 Mhz (12|24|48)
[68875.515033] wintv_usb2ci: CI-firmware usb2ci_r2.fw selected
[68875.515154] wintv_usb2ci: located firmware usb2ci_r2.fw, size 11200 bytes
[68875.515157] wintv_usb2ci: *** FW *** block-size 46, block-cnt 160, RAM address range: 0x0000 - 0x2620
[68875.522600] wintv_usb2ci: *** applying patches to firmware: usb2ci_r2.fw ***
[68875.522946] wintv_usb2ci: * 159 firmware blocks written to internal RAM
[68875.523058] usbcore: registered new interface driver wintv_usb2ci
[68875.673690] usb 1-4: USB disconnect, device number 28
[68875.673730] wintv_usb2ci: wintv_usb_ci_disconnect
[68875.673736] wintv_usb2ci: wintv_usb_ci_delete
[68875.673738] wintv_usb2ci: USB wintv-ci #-1 now disconnected
[68877.464591] usb 1-4: new high-speed USB device number 29 using xhci_hcd
[68877.613105] usb 1-4: New USB device found, idVendor=1b0d, idProduct=5f0f, bcdDevice= 0.00
[68877.613114] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[68877.613120] usb 1-4: Product: USB2CI
[68877.613125] usb 1-4: Manufacturer: SMARDTV
[68877.613747] wintv_usb2ci: Found USB-CI device 1b0d:5f0f (Ver.0) in warm state
[68877.613751] wintv_usb2ci: Product : USB2CI
[68877.613754] wintv_usb2ci: Manufacturer : SMARDTV
[68879.703590] wintv_usb2ci: EP 1 IN (INTR) Addr : 0x81, Maxp 64 Ival 9
[68879.703598] wintv_usb2ci: EP 1 OUT (BULK) Addr : 0x01, Maxp 512 Ival 8
[68879.703603] wintv_usb2ci: EP 2 IN (ISOC) Addr : 0x82, Maxp 752 Ival 1
[68879.703607] wintv_usb2ci: EP 6 OUT (ISOC) Addr : 0x06, Maxp 752 Ival 1
[68879.704988] wintv_usb2ci: Registering DVB Adapter
[68879.704996] dvbdev: DVB: registering new adapter (WinTV-CI)
[68879.704998] wintv_usb2ci: Attaching DVB CA Device
[68879.705003] wintv_usb2ci: ca_bulk_allocate : EP(01) init packet buffer: 64 bytes
[68879.705017] wintv_usb2ci: ca_intr_allocate : EP(81) init packet/message buffers: 64/255 bytes
[68879.705825] wintv_usb2ci: Attaching DVB CI Device
[68879.705846] wintv_usb2ci: ts_rb_alloc : EP(06) ringbuffer size 722672 bytes (8 x 480 | 3844 TS-packets)
[68879.705852] wintv_usb2ci: ci_isoc_allocate : EP(06) init 9 urbs (120 uframes | 480 TS-packets each urb)
[68879.706232] wintv_usb2ci: ci_isoc_setup : EP(06) initialize 9 urbs (DIR_OUT)
[68879.706256] wintv_usb2ci: ts_rb_alloc : EP(82) ringbuffer size 722672 bytes (8 x 480 | 3844 TS-packets)
[68879.706261] wintv_usb2ci: ci_isoc_allocate : EP(82) init 9 urbs (120 uframes | 480 TS-packets each urb)
[68879.706667] wintv_usb2ci: ci_isoc_setup : EP(82) initialize 9 urbs (DIR_IN)
[68879.707067] wintv_usb2ci: CI_send_CMD : [90] 0/0/0
[68879.712167] wintv_usb2ci: CI_read_CMD_REPLY : [08] 20/20/0
[68879.712174] wintv_usb2ci: * FW_Version(2.00) FPGA_Version(1.d)
[68879.712176] wintv_usb2ci: probe succesfull
[68879.712187] wintv_usb2ci: cam_state_set : 00 -> 01
[68881.736567] wintv_usb2ci: CI_send_CMD : [10] 1/1/0
[68882.560373] wintv_usb2ci: CI_read_CMD_REPLY : [02] 0/0/0
[68882.560381] wintv_usb2ci: CI_WriteExchange : [10/02] response time 824 ms
[68882.560385] wintv_usb2ci: cam_state_set : 01 -> 04
[68882.560395] wintv_usb2ci: CI_send_CMD : [40] 0/0/0
[68882.720368] wintv_usb2ci: CI_read_CMD_REPLY : [03] 101/60/41
[68882.752379] wintv_usb2ci: CI_read_CMD_REPLY : [03] 41/41/0
[68882.752388] wintv_usb2ci: CI_WriteExchange : [40/03] response time 192 ms
[68882.752391] wintv_usb2ci: cam_state_set : 04 -> 05
[68882.752396] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 0: G
[68882.752400] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 1: M
[68882.752402] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 2: L
[68882.752405] wintv_usb2ci: parse_cis_vstrings : CFG_V1_STR 3: L
[68882.752408] wintv_usb2ci: parse_cis : CFG_BASE: 0x200 (Cfg.Reg[0] in Attrib.Memory)
[68882.752412] wintv_usb2ci: parse_cis : CFG_REGS present [0-7] = 0x03
[68882.752416] wintv_usb2ci: parse_cis : IF-CODE[0] 0x0241 'DVB_CI_V1.00' matched
[68882.752418] wintv_usb2ci: parse_cis : CFG-OPTIONS: 0xF
[68882.752420] wintv_usb2ci: DVB-CI-Module detected
[68882.752426] wintv_usb2ci: CI_send_CMD : [70] 5/5/0
[68898.752376] wintv_usb2ci: CI_read_CMD_REPLY : [07] 0/0/0
[68898.752384] wintv_usb2ci: CI_WriteExchange : [70/07] response time 16000 ms
[68898.752388] wintv_usb2ci: cam_state_set : 05 -> 06
[68898.752394] wintv_usb2ci: CI_send_CMD : [60] 2/2/0
[68898.912365] wintv_usb2ci: CI_read_CMD_REPLY : [04] 2/2/0
[68898.912374] wintv_usb2ci: CI_WriteExchange : [60/04] response time 160 ms
[68898.912378] wintv_usb2ci: cam_state_set : 06 -> 07
Display More
CU
9000h
I just uploaded a update to github. The firmware patch can be applied on both the wintv and cinergy firmware v2.
And i reduced the COR timeout back to the 15 sec. firmware default as the MatrixAir times aut anyway.
Yuri666 : there is now a module option uf_triggers_submission ro set it to a higher value for the use with minisatip.
Helmut
Hello Helmut,
I have troubles with new CAM. In authentication process from CAM receive big tpdu (more 2kbyte). With old CAM it works fine.
Full log:
But with new CAM i have error
New CAM with ordinary dvb ci and kernel drivers works fine too.
Can you look please, where might be bug?
BR,
Yuri
Hi Yuri,
for me it looks like some kind of race condition between a CAM request ('cc_data_req' after a 5 second delay) and the regulary polled CI status from the driver.
Does this occur on every (new) CAM initilalization or only once and then ?
But I will check it.
Helmut
After this error procedure authentication stopping, CAM unusable, and this occur on every CAM initialisation.
How I can extend time between polling procedures?
BR,
Yuri
The driver itself polls the CAMs status byte only every 2 seconds to detect insertions/removes, and you can change it here:
But VDR itself regularly queries the the CAM by writing short PDUs to see if the CAM has some data to send,
And for this writes the status byte has to be read too. I dont know how often these queries are done, you could check it by insert a pr_info("...") at the beginning of the function ca_write() (line 554).
Helmut
Hi Yuri,
can you apply this patch (no fix, only more logging) an post the output.
Helmut
I think see the problem:
[ 546.143489] CI_read_CMD_REPLY : [06] 0/0/0
[ 546.143500] CA_recv_TPDU : *** ERROR *** TPDU too large (frag_size = 18446744073709551614 > 4094)
The CAM report that it has some data for the host, the CAM status-byte indicates "data ready" but the actual read gives 0 bytes of data. And as CA_recv_TPDU() does not expect zero-len data this ends in an error.
I will send you a first patch tonight.
Helmut
Here is the patch - more a proof of concept - Let's see.
The more_core_info.diff is also included.
Helmut
Hi Helmut,
here is log - this happens most often.
Sometimes it happens, but the result is the same...
BR,
Yuri
Hallo Yuri,
I think your new CAM ignores the negotiated buffersize of 255 bytes and send the data in 256 byte-blocks without notifying the driver.
The Old CAM fills the buffer of 255 bytes in thsi way (4 x 60 + 15 bytes)
[36462.365365] CI_read_CMD_REPLY : [06] 255/60/195
[36462.397236] CI_read_CMD_REPLY : [06] 195/60/135
[36462.429354] CI_read_CMD_REPLY : [06] 135/60/75
[36462.461349] CI_read_CMD_REPLY : [06] 75/60/15
[36462.493342] CI_read_CMD_REPLY : [06] 15/15/0
And your new CAM (4 x 60 +16 bytes)
[95684.661847] CI_read_CMD_REPLY : [06] 0/0/0 --> means 256/60/196
...
[95684.693988] CI_read_CMD_REPLY : [06] 196/60/136
[95684.725924] CI_read_CMD_REPLY : [06] 136/60/76
[95684.757780] CI_read_CMD_REPLY : [06] 76/60/16
[95684.789930] CI_read_CMD_REPLY : [06] 16/16/0
I use a buffersize of 255 bytes because there is only a 8-bit size-field in the msg-header (0..255).
But when i assume, that a 0-byte TPDU never can occure, then i can increase the drivers buffersize to 256 bytes.
I will modify the driver in this way and post the patch tomorrow.
Helmut
Hallo Yuri,
here is the patch with a link-layer size of 256 bytes.
Helmut
Hi Helmut,
now it works, authentication process is done. Thank you very much!
Seems something was broken - i have CAM-ERROR message more often.
But need more tests, i'll do and will report.
BR,
Yuri
Hallo Yuri,
I've seen it. It is still the old problem that when stopping the TS-stream sometimes a kind of unsync of IN / OUT packets remains. And then CA-messages can not be sent to the CAM. I already have a patch trying to restore this sync, but this one is not fully tested with all my CAMs yet and it will take some time. But I can post a pre-release version today or tomorrow.
Helmut
Don’t have an account yet? Register yourself now and be a part of our community!