TBS 8920 still fails to initialize - cx24116_readreg error
Greetings:
Using current current v4l-dvb drivers, I get the following in the dmesg:
cx88[1]/2: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72] cx88[1]/2: cx2388x based DVB/ATSC card cx8802_alloc_frontends() allocating 1 frontend(s)cx24116_readreg: reg=0xff (error=-6)cx24116_readreg: reg=0xfe (error=-6)
Invalid probe, probably not a CX24116 device
cx88[1]/2: frontend initialization failed
cx88[1]/2: dvb_register failed (err = -22)
cx88[1]/2: cx8802 probe failed, err = -22
Does this mean that one of the chips on this card is different than expected? How can I gather useful information about this?
-- Mark
Quoted 18 lines · On 24 июля 2009 05:33:15 Mark Zimmerman wrote:
Greetings:
Using current current v4l-dvb drivers, I get the following in the dmesg:
cx88[1]/2: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72] cx88[1]/2: cx2388x based DVB/ATSC card
cx8802_alloc_frontends()allocating 1 frontend(s)cx24116_readreg: reg=0xff (error=-6)cx24116_readreg: reg=0xfe (error=-6)
Invalid probe, probably not a CX24116 device
cx88[1]/2: frontend initialization failed
cx88[1]/2:dvb_registerfailed (err = -22)
cx88[1]/2: cx8802 probe failed, err = -22Does this mean that one of the chips on this card is different than expected? How can I gather useful information about this?
Quoted 6 lines
-- Mark
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi
You can try:
http://www.tbsdtv.com/download/tbs6920_8920_v23_linux_x86_x64.rar
Signature · 2 lines
Igor M. Liplianin Microsoft Windows Free Zone - Linux used for all Computing Tasks
Quoted 16 lines · Igor M. Liplianin
Quoted 15 lines · On 24 ???? 2009 05:33:15 Mark Zimmerman wrote:
Greetings:
Using current current v4l-dvb drivers, I get the following in the dmesg:
cx88[1]/2: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72] cx88[1]/2: cx2388x based DVB/ATSC card
cx8802_alloc_frontends()allocating 1 frontend(s)cx24116_readreg: reg=0xff (error=-6)cx24116_readreg: reg=0xfe (error=-6)
Invalid probe, probably not a CX24116 device
cx88[1]/2: frontend initialization failed
cx88[1]/2:dvb_registerfailed (err = -22)
cx88[1]/2: cx8802 probe failed, err = -22
Quoted 5 lines
Quoted 2 lines
Does this mean that one of the chips on this card is different than expected? How can I gather useful information about this?
Hi
You can try:
http://www.tbsdtv.com/download/tbs6920_8920_v23_linux_x86_x64.rar
This code did not compile as-is, but after I commented out some things in drivers I do not need, I managed to build something. The TBS card now seems to be initialized, but it also broke support for my DViCO FusionHDTV7 Dual Express card, which also uses a cx23885.
I am going to move this card to another machine that does not have any other capture cards and repeat the process. This should make it easier to know what the TBS card/driver is doing.
I am assuming that you are interested in using me to gather information to update the v4l-dvb drivers so that this card can be supported properly. Is this correct? Please let me know what I can do to assist.
-- Mark
Quoted 29 lines · On 25 июля 2009 05:22:06 Mark Zimmerman wrote:
Quoted 16 lines · Igor M. Liplianin
Quoted 15 lines · On 24 ???? 2009 05:33:15 Mark Zimmerman wrote:
Greetings:
Using current current v4l-dvb drivers, I get the following in the dmesg:
cx88[1]/2: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72] cx88[1]/2: cx2388x based DVB/ATSC card
cx8802_alloc_frontends()allocating 1 frontend(s)cx24116_readreg: reg=0xff (error=-6)cx24116_readreg: reg=0xfe (error=-6)
Invalid probe, probably not a CX24116 device
cx88[1]/2: frontend initialization failed
cx88[1]/2:dvb_registerfailed (err = -22)
cx88[1]/2: cx8802 probe failed, err = -22Quoted 6 lines
Quoted 2 lines
Does this mean that one of the chips on this card is different than expected? How can I gather useful information about this?
Hi
You can try:
http://www.tbsdtv.com/download/tbs6920_8920_v23_linux_x86_x64.rarThis code did not compile as-is, but after I commented out some things in drivers I do not need, I managed to build something. The TBS card now seems to be initialized, but it also broke support for my DViCO FusionHDTV7 Dual Express card, which also uses a cx23885.
Quoted 8 lines
I am going to move this card to another machine that does not have any other capture cards and repeat the process. This should make it easier to know what the TBS card/driver is doing.
I am assuming that you are interested in using me to gather information to update the v4l-dvb drivers so that this card can be supported properly. Is this correct? Please let me know what I can do to assist.
I've changed tbs 8920 initialization in http://mercurial.intuxication.org/hg/s2-liplianin.
I ask you to try it.
If it works, then I will commit it to linuxv.
Also pay attention to remote.
Quoted 6 lines
-- Mark
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
Igor M. Liplianin Microsoft Windows Free Zone - Linux used for all Computing Tasks
Quoted 34 lines · Igor M. Liplianin
Quoted 33 lines · On 25 ???? 2009 05:22:06 Mark Zimmerman wrote:
Quoted 16 lines · Igor M. Liplianin
Quoted 15 lines · On 24 ???? 2009 05:33:15 Mark Zimmerman wrote:
Greetings:
Using current current v4l-dvb drivers, I get the following in the dmesg:
cx88[1]/2: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72] cx88[1]/2: cx2388x based DVB/ATSC card
cx8802_alloc_frontends()allocating 1 frontend(s)cx24116_readreg: reg=0xff (error=-6)cx24116_readreg: reg=0xfe (error=-6)
Invalid probe, probably not a CX24116 device
cx88[1]/2: frontend initialization failed
cx88[1]/2:dvb_registerfailed (err = -22)
cx88[1]/2: cx8802 probe failed, err = -22Quoted 6 lines
Quoted 2 lines
Does this mean that one of the chips on this card is different than expected? How can I gather useful information about this?
Hi
You can try:
http://www.tbsdtv.com/download/tbs6920_8920_v23_linux_x86_x64.rarThis code did not compile as-is, but after I commented out some things in drivers I do not need, I managed to build something. The TBS card now seems to be initialized, but it also broke support for my DViCO FusionHDTV7 Dual Express card, which also uses a cx23885.
I am going to move this card to another machine that does not have any other capture cards and repeat the process. This should make it easier to know what the TBS card/driver is doing.
Quoted 9 lines
Quoted 4 lines
I am assuming that you are interested in using me to gather information to update the v4l-dvb drivers so that this card can be supported properly. Is this correct? Please let me know what I can do to assist.
I've changed tbs 8920 initialization in http://mercurial.intuxication.org/hg/s2-liplianin.
I ask you to try it.
If it works, then I will commit it to linuxv.
Also pay attention to remote.
Unfortunately, there appears to be no change:
cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.7 loaded
cx88[0]: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72,autodetected], frontend(s): 1 cx88[0]: TV tuner type 4, Radio tuner type -1
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input5 cx88/0: cx2388x v4l2 driver version 0.0.7 loaded
input: cx88 IR (TBS 8920 DVB-S/S2) as /devices/pci0000:00/0000:00:08.2/input/input6 cx88[0]/2: cx2388x 8802 Driver Manager
alloc irq_desc for 17 on cpu 0 node 0
alloc kstat_irqs on cpu 0 node 0
cx88-mpeg driver manager 0000:00:08.2: PCI INT A -> GSI 17 (level, low) -> IRQ 17 cx88[0]/2: found at 0000:00:08.2, rev: 5, irq: 17, latency: 32, mmio: 0xf9000000 IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
cx8800 0000:00:08.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
cx88[0]/0: found at 0000:00:08.0, rev: 5, irq: 17, latency: 32, mmio: 0xfa000000 IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88/2: cx2388x dvb driver version 0.0.7 loaded
cx88/2: registering cx8802 driver, type: dvb access: shared
cx88[0]/2: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72]
cx88[0]/2: cx2388x based DVB/ATSC cardcx8802_alloc_frontends() allocating 1 frontend(s)
ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
alloc irq_desc for 22 on cpu 0 node 0
alloc kstat_irqs on cpu 0 node 0
VIA 82xx Audio 0000:00:11.5: PCI INT C -> Link[ALKC] -> GSI 22 (level, low) -> IRQ 22 VIA 82xx Audio 0000:00:11.5: setting latency timer to 64cx24116_readreg: reg=0xff (error=-6)cx24116_readreg: reg=0xfe (error=-6)
Invalid probe, probably not a CX24116 device
cx88[0]/2: frontend initialization failed
cx88[0]/2: dvb_register failed (err = -22)
cx88[0]/2: cx8802 probe failed, err = -22
Just for reference, here is how it looks when using the drivers compiled from the source in tbs6920_8920_v23_linux_x86_x64.rar:
cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
cx88[0]: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72,autodetected], frontend(s): 1 cx88[0]: TV tuner type 4, Radio tuner type -1
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input5 cx88[0]/2: cx2388x 8802 Driver Manager
alloc irq_desc for 17 on cpu 0 node 0
alloc kstat_irqs on cpu 0 node 0
cx88-mpeg driver manager 0000:00:08.2: PCI INT A -> GSI 17 (level, low) -> IRQ 17 cx88[0]/2: found at 0000:00:08.2, rev: 5, irq: 17, latency: 32, mmio: 0xf9000000 IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
cx8800 0000:00:08.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
cx88[0]/0: found at 0000:00:08.0, rev: 5, irq: 17, latency: 32, mmio: 0xfa000000 IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88/2: cx2388x dvb driver version 0.0.6 loaded
cx88/2: registering cx8802 driver, type: dvb access: shared
cx88[0]/2: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72]
cx88[0]/2: cx2388x based DVB/ATSC cardcx8802_alloc_frontends() allocating 1 frontend(s)dvb_register() setup TBS8920
ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
alloc irq_desc for 22 on cpu 0 node 0
alloc kstat_irqs on cpu 0 node 0
VIA 82xx Audio 0000:00:11.5: PCI INT C -> Link[ALKC] -> GSI 22 (level, low) -> IRQ 22 VIA 82xx Audio 0000:00:11.5: setting latency timer to 64
DVB: registering new adapter (cx88[0])
DVB: registering adapter 0 frontend 0 (Conexant CX24116/CX24118)...
vtest$ ls -laR /dev/dvb/dev/dvb:
total 0
drwxr-xr-x 3 root root 60 2009-07-26 19:32 .
drwxr-xr-x 18 root root 3480 2009-07-26 19:32 .. drwxr-xr-x 2 root root 120 2009-07-26 19:32 adapter0
/dev/dvb/adapter0:
total 0
drwxr-xr-x 2 root root 120 2009-07-26 19:32 .
drwxr-xr-x 3 root root 60 2009-07-26 19:32 ..
crw-rw---- 1 root video 212, 1 2009-07-26 19:32 demux0 crw-rw---- 1 root video 212, 2 2009-07-26 19:32 dvr0 crw-rw---- 1 root video 212, 0 2009-07-26 19:32 frontend0 crw-rw---- 1 root video 212, 3 2009-07-26 19:32 net0
Also, here are the diffs of cx88-dvb.c between your version and the one from the manufacturer. I wonder if the magic number writes at line 1142 could be what makes it work. I can try adding them to your source if you think it is advisable.
home/mark/tbs8920/linux-s2api-tbs6920-8920-v23/linux/drivers/media/video/cx88/cx88-dvb.c 2009-06-07 18:15:11.000000000 -0600 renamed from drivers/media/video/cx88/cx88-dvb.c 2009-07-26 18:00:00.000000000 -0600 +15 -4
@@ -428,14 +428,17 @@ switch (voltage) { case SEC_VOLTAGE_13: printk("LNB Voltage SEC_VOLTAGE_13\n"); - cx_write(MO_GP0_IO, 0x00006040); + cx_set(MO_GP0_IO, 0x00006040); + cx_clear(MO_GP0_IO, 0x00000020); break; case SEC_VOLTAGE_18: printk("LNB Voltage SEC_VOLTAGE_18\n"); - cx_write(MO_GP0_IO, 0x00006060); + cx_set(MO_GP0_IO, 0x00006020); + cx_set(MO_GP0_IO, 0x00000040); break; case SEC_VOLTAGE_OFF: printk("LNB Voltage SEC_VOLTAGE_off\n"); + cx_clear(MO_GP0_IO, 0x00000020); break; }
@@ -1021,7 +1024,6 @@ } break; case CX88_BOARD_PINNACLE_HYBRID_PCTV: - case CX88_BOARD_WINFAST_DTV1800H: fe0->dvb.frontend = dvb_attach(zl10353_attach, &cx88_pinnacle_hybrid_pctv, &core->i2c_adap);
@@ -1142,6 +1144,15 @@ case CX88_BOARD_TBS_8920: case CX88_BOARD_PROF_7300: case CX88_BOARD_SATTRADE_ST4200: + printk(KERN_INFO "%s() setup TBS8920\n", __func__); + cx_write(MO_GP0_IO, 0x00008000); + msleep(100); + cx_write(MO_SRST_IO, 0); + msleep(10); + cx_write(MO_GP0_IO, 0x00008080); + msleep(100); + cx_write(MO_SRST_IO, 1); + msleep(100); fe0->dvb.frontend = dvb_attach(cx24116_attach, &hauppauge_hvr4000_config, &core->i2c_adap);
@@ -1179,7 +1190,7 @@ fe1->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl; /* Put the analog decoder in standby to keep it quiet */ - call_all(core, tuner, s_standby); + cx88_call_i2c_clients(core, TUNER_SET_STANDBY, NULL); /* register everything */ return videobuf_dvb_register_bus(&dev->frontends, THIS_MODULE, dev,
-- Mark
Quoted 47 lines · On 27 июля 2009 04:43:16 Mark Zimmerman wrote:
Quoted 39 lines · Igor M. Liplianin
Quoted 29 lines · On 25 ???? 2009 05:22:06 Mark Zimmerman wrote:
Quoted 16 lines · Igor M. Liplianin
Quoted 15 lines · On 24 ???? 2009 05:33:15 Mark Zimmerman wrote:
Greetings:
Using current current v4l-dvb drivers, I get the following in the dmesg:
cx88[1]/2: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72] cx88[1]/2: cx2388x based DVB/ATSC card
cx8802_alloc_frontends()allocating 1 frontend(s)cx24116_readreg: reg=0xff (error=-6)cx24116_readreg: reg=0xfe (error=-6)
Invalid probe, probably not a CX24116 device
cx88[1]/2: frontend initialization failed
cx88[1]/2:dvb_registerfailed (err = -22)
cx88[1]/2: cx8802 probe failed, err = -22Quoted 6 lines
Quoted 2 lines
Does this mean that one of the chips on this card is different than expected? How can I gather useful information about this?
Hi
You can try:
http://www.tbsdtv.com/download/tbs6920_8920_v23_linux_x86_x64.rarThis code did not compile as-is, but after I commented out some things in drivers I do not need, I managed to build something. The TBS card now seems to be initialized, but it also broke support for my DViCO FusionHDTV7 Dual Express card, which also uses a cx23885.
Quoted 8 lines
I am going to move this card to another machine that does not have any other capture cards and repeat the process. This should make it easier to know what the TBS card/driver is doing.
I am assuming that you are interested in using me to gather information to update the v4l-dvb drivers so that this card can be supported properly. Is this correct? Please let me know what I can do to assist.
Quoted 4 lines
I've changed tbs 8920 initialization in
http://mercurial.intuxication.org/hg/s2-liplianin. I ask you to try it. If it works, then I will commit it to linuxv.
Also pay attention to remote.Unfortunately, there appears to be no change:
Quoted 7 lines
Just for reference, here is how it looks when using the drivers compiled from the source in tbs6920_8920_v23_linux_x86_x64.rar:
Also, here are the diffs of
cx88-dvb.cbetween your version and the one from the manufacturer. I wonder if the magic number writes at line 1142 could be what makes it work. I can try adding them to your source if you think it is advisable.
It is advisable to try.
I forgot about voltage control. It must preserve that "magic" number.
http://mercurial.intuxication.org/hg/s2-liplianin/rev/b1ca288a0600
Quoted 39 lines
---
linux/drivers/media/video/cx88/cx88-dvb.c2009-07-26
18:00:00.000000000 -0600 +++/home/mark/tbs8920/linux-s2api-tbs6920-8920-v23/linux/drivers/media/video/cx88/cx88-dvb.c2009-06-07 18:15:11.000000000 -0600 @@ -428,14 +428,17 @@switch (voltage) { case SEC_VOLTAGE_13: printk("LNB Voltage SEC_VOLTAGE_13\n");home/mark/tbs8920/linux-s2api-tbs6920-8920-v23/linux/drivers/media/video/cx88/cx88-dvb.c 2009-06-07 18:15:11.000000000 -0600 renamed from drivers/media/video/cx88/cx88-dvb.c 2009-07-26 18:00:00.000000000 -0600 +14
-2- cx_write(MO_GP0_IO, 0x00006040); + cx_set(MO_GP0_IO, 0x00006040); + cx_clear(MO_GP0_IO, 0x00000020); break; case SEC_VOLTAGE_18: printk("LNB Voltage SEC_VOLTAGE_18\n"); - cx_write(MO_GP0_IO, 0x00006060); + cx_set(MO_GP0_IO, 0x00006020); + cx_set(MO_GP0_IO, 0x00000040); break; case SEC_VOLTAGE_OFF: printk("LNB Voltage SEC_VOLTAGE_off\n"); + cx_clear(MO_GP0_IO, 0x00000020); break; }@@ -1142,6 +1144,15 @@ case CX88_BOARD_TBS_8920: case CX88_BOARD_PROF_7300: case CX88_BOARD_SATTRADE_ST4200: + printk(KERN_INFO "%s() setup TBS8920\n", __func__); + cx_write(MO_GP0_IO, 0x00008000); + msleep(100); + cx_write(MO_SRST_IO, 0); + msleep(10); + cx_write(MO_GP0_IO, 0x00008080); + msleep(100); + cx_write(MO_SRST_IO, 1); + msleep(100); fe0->dvb.frontend = dvb_attach(cx24116_attach, &hauppauge_hvr4000_config, &core->i2c_adap);
Signature · 2 lines
Igor M. Liplianin Microsoft Windows Free Zone - Linux used for all Computing Tasks
Quoted 51 lines · Igor M. Liplianin
Quoted 50 lines · On 27 ???? 2009 04:43:16 Mark Zimmerman wrote:
Quoted 39 lines · Igor M. Liplianin
Quoted 29 lines · On 25 ???? 2009 05:22:06 Mark Zimmerman wrote:
Quoted 16 lines · Igor M. Liplianin
Quoted 15 lines · On 24 ???? 2009 05:33:15 Mark Zimmerman wrote:
Greetings:
Using current current v4l-dvb drivers, I get the following in the dmesg:
cx88[1]/2: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72] cx88[1]/2: cx2388x based DVB/ATSC card
cx8802_alloc_frontends()allocating 1 frontend(s)cx24116_readreg: reg=0xff (error=-6)cx24116_readreg: reg=0xfe (error=-6)
Invalid probe, probably not a CX24116 device
cx88[1]/2: frontend initialization failed
cx88[1]/2:dvb_registerfailed (err = -22)
cx88[1]/2: cx8802 probe failed, err = -22Quoted 6 lines
Quoted 2 lines
Does this mean that one of the chips on this card is different than expected? How can I gather useful information about this?
Hi
You can try:
http://www.tbsdtv.com/download/tbs6920_8920_v23_linux_x86_x64.rarThis code did not compile as-is, but after I commented out some things in drivers I do not need, I managed to build something. The TBS card now seems to be initialized, but it also broke support for my DViCO FusionHDTV7 Dual Express card, which also uses a cx23885.
Quoted 8 lines
I am going to move this card to another machine that does not have any other capture cards and repeat the process. This should make it easier to know what the TBS card/driver is doing.
I am assuming that you are interested in using me to gather information to update the v4l-dvb drivers so that this card can be supported properly. Is this correct? Please let me know what I can do to assist.
Quoted 4 lines
I've changed tbs 8920 initialization in
http://mercurial.intuxication.org/hg/s2-liplianin. I ask you to try it. If it works, then I will commit it to linuxv.
Also pay attention to remote.Unfortunately, there appears to be no change:
Just for reference, here is how it looks when using the drivers compiled from the source in tbs6920_8920_v23_linux_x86_x64.rar:
Quoted 9 lines
Quoted 4 lines
Also, here are the diffs of
cx88-dvb.cbetween your version and the one from the manufacturer. I wonder if the magic number writes at line 1142 could be what makes it work. I can try adding them to your source if you think it is advisable.It is advisable to try.
I forgot about voltage control. It must preserve that "magic" number.http://mercurial.intuxication.org/hg/s2-liplianin/rev/b1ca288a0600
This was successful. So that there is no miscommunication, let me specify exactly what I tested:
I started with
hg clone http://mercurial.intuxication.org/hg/s2-liplianin/rev/b1ca288a0600
and then changed cx88-dvb.c as follows:
linux/drivers/media/video/cx88/cx88-dvb.c +12 -1
@@ -429,15 +429,17 @@switch (voltage) {case SEC_VOLTAGE_13 :printk ("LNB Voltage SEC_VOLTAGE_13\n" ); +cx_set (MO_GP0_IO ,0x00006040 );cx_clear (MO_GP0_IO ,0x00000020 );break ;case SEC_VOLTAGE_18 :printk ("LNB Voltage SEC_VOLTAGE_18\n" ); +cx_set (MO_GP0_IO ,0x00006020 );cx_set (MO_GP0_IO ,0x00000020 );break ;case SEC_VOLTAGE_OFF : +printk ("LNB Voltage SEC_VOLTAGE_off\n" );cx_clear (MO_GP0_IO ,0x00000020 ); -printk ("LNB Voltage SEC_VOLTAGE_off\n" );break ; }
@@ -1144,6 +1146,15 @@case CX88_BOARD_TBS_8920 :case CX88_BOARD_PROF_7300 :case CX88_BOARD_SATTRADE_ST4200 : +printk (KERN_INFO "%s() setup TBS8920\n" , __func__); +cx_write (MO_GP0_IO ,0x00008000 ); +msleep (100 ); +cx_write (MO_SRST_IO ,0 ); +msleep (10 ); +cx_write (MO_GP0_IO ,0x00008080 ); +msleep (100 ); +cx_write (MO_SRST_IO ,1 ); +msleep (100 ); fe0->dvb.frontend =dvb_attach (cx24116_attach, &hauppauge_hvr4000_config, &core->i2c_adap);
make ; make install ; reboot
dmesg contained this:
cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.7 loaded
cx88[0]: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72,autodetected], frontend(s): 1 cx88[0]: TV tuner type 4, Radio tuner type -1
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input5 cx88/0: cx2388x v4l2 driver version 0.0.7 loaded
input: cx88 IR (TBS 8920 DVB-S/S2) as /devices/pci0000:00/0000:00:08.2/input/input6 cx88[0]/2: cx2388x 8802 Driver Manager
alloc irq_desc for 17 on cpu 0 node 0
alloc kstat_irqs on cpu 0 node 0
cx88-mpeg driver manager 0000:00:08.2: PCI INT A -> GSI 17 (level, low) -> IRQ 17 cx88[0]/2: found at 0000:00:08.2, rev: 5, irq: 17, latency: 32, mmio: 0xf9000000 IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
cx8800 0000:00:08.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
cx88[0]/0: found at 0000:00:08.0, rev: 5, irq: 17, latency: 32, mmio: 0xfa000000 IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88/2: cx2388x dvb driver version 0.0.7 loaded
cx88/2: registering cx8802 driver, type: dvb access: shared
cx88[0]/2: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72]
cx88[0]/2: cx2388x based DVB/ATSC cardcx8802_alloc_frontends() allocating 1 frontend(s)dvb_register() setup TBS8920
ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
alloc irq_desc for 22 on cpu 0 node 0
alloc kstat_irqs on cpu 0 node 0
VIA 82xx Audio 0000:00:11.5: PCI INT C -> Link[ALKC] -> GSI 22 (level, low) -> IRQ 22 VIA 82xx Audio 0000:00:11.5: setting latency timer to 64
DVB: registering new adapter (cx88[0])
DVB: registering adapter 0 frontend 0 (Conexant CX24116/CX24118)...
Then, I tried szap-s2 (without an attached satellite dish; I will not have one until next week).
vtest$ ./szap-s2 -M 5 -S 1 PBS
reading channels from file '/home/mark/.szap/channels.conf' zapping to 7 'PBS':
delivery DVB-S2, modulation 8PSK
sat 0, frequency 12140 MHz V, symbolrate 30000000, coderate auto, rolloff 0.35 vpid 0x0031, apid 0x0034, sid 0x0003
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 00 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 | status 00 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 | status 00 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 | status 00 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
^C
which added this to dmesg:
cx24116_firmware_ondemand: Waiting for firmware upload (dvb-fe-cx24116.fw)... cx88-mpeg driver manager 0000:00:08.2: firmware: requesting dvb-fe-cx24116.fwcx24116_firmware_ondemand: Waiting for firmware upload(2)...cx24116_load_firmware: FW version 1.23.86.1cx24116_firmware_ondemand: Firmware upload complete
LNB Voltage SEC_VOLTAGE_13
LNB Voltage SEC_VOLTAGE_off
I think that this is all that I can test without a satellite dish; please let me know if there is anything else I can do.
Thanks for looking at this.
-- Mark
Quoted 21 lines · On 28 июля 2009 04:21:54 Mark Zimmerman wrote:
Quoted 20 lines · Igor M. Liplianin
Quoted 19 lines · On 27 ???? 2009 04:43:16 Mark Zimmerman wrote:
Quoted 18 lines · Igor M. Liplianin
Quoted 17 lines · On 25 ???? 2009 05:22:06 Mark Zimmerman wrote:
Quoted 16 lines · Igor M. Liplianin
Quoted 15 lines · On 24 ???? 2009 05:33:15 Mark Zimmerman wrote:
Greetings:
Using current current v4l-dvb drivers, I get the following in the dmesg:
cx88[1]/2: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72] cx88[1]/2: cx2388x based DVB/ATSC card
cx8802_alloc_frontends()allocating 1 frontend(s)cx24116_readreg: reg=0xff (error=-6)cx24116_readreg: reg=0xfe (error=-6)
Invalid probe, probably not a CX24116 device cx88[1]/2: frontend initialization failed cx88[1]/2:dvb_registerfailed (err = -22) cx88[1]/2: cx8802 probe failed, err = -22
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
Does this mean that one of the chips on this card is different than expected? How can I gather useful information about this?
Please try attached patch against recent v4l-dvb.
It does matter to set explicitly gpio0 value in cx88_board structure for TBS 8920 card.
Igor
# HG changeset patch
# User Igor M. Liplianin <[email protected]> # Date 1248905908 -10800
# Node ID d2dee95e2da26a145cca2d081be86793cc9b07ea # Parent ee6cf88cb5d3faf861289fce0ef0385846adcc7c fix TBS 8920 card support
linux/drivers/media/video/cx88/cx88-cards.c +6 -1
@@ -1941,7 +1941,8 @@ .radio_addr = ADDR_UNSET, .input = {{ .type = CX88_VMUX_DVB, - .vmux = 1, + .vmux = 0, + .gpio0 = 0x8080, } }, .mpeg = CX88_MPEG_DVB, },
@@ -3187,7 +3188,11 @@case CX88_BOARD_PROF_6200 :case CX88_BOARD_PROF_7300 :case CX88_BOARD_SATTRADE_ST4200 : +cx_write (MO_GP0_IO ,0x8000 ); +msleep (100 );cx_write (MO_SRST_IO ,0 ); +msleep (10 ); +cx_write (MO_GP0_IO ,0x8080 );msleep (100 );cx_write (MO_SRST_IO ,1 );msleep (100 );
linux/drivers/media/video/cx88/cx88-dvb.c +4 -5
@@ -425,17 +425,16 @@struct cx8802_dev *dev= fe->dvb->priv;struct cx88_core *core = dev->core; +cx_set (MO_GP0_IO ,0x6040 );switch (voltage) {case SEC_VOLTAGE_13 : -printk ("LNB Voltage SEC_VOLTAGE_13\n" ); -cx_write (MO_GP0_IO ,0x00006040 ); +cx_clear (MO_GP0_IO ,0x20 );break ;case SEC_VOLTAGE_18 : -printk ("LNB Voltage SEC_VOLTAGE_18\n" ); -cx_write (MO_GP0_IO ,0x00006060 ); +cx_set (MO_GP0_IO ,0x20 );break ;case SEC_VOLTAGE_OFF : -printk ("LNB Voltage SEC_VOLTAGE_off\n" ); +cx_clear (MO_GP0_IO ,0x20 );break ; }
Quoted 32 lines · Igor M. Liplianin
Quoted 21 lines · On 28 ???? 2009 04:21:54 Mark Zimmerman wrote:
Quoted 20 lines · Igor M. Liplianin
Quoted 19 lines · On 27 ???? 2009 04:43:16 Mark Zimmerman wrote:
Quoted 18 lines · Igor M. Liplianin
Quoted 17 lines · On 25 ???? 2009 05:22:06 Mark Zimmerman wrote:
Quoted 16 lines · Igor M. Liplianin
Quoted 15 lines · On 24 ???? 2009 05:33:15 Mark Zimmerman wrote:
Greetings:
Using current current v4l-dvb drivers, I get the following in the dmesg:
cx88[1]/2: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72] cx88[1]/2: cx2388x based DVB/ATSC card
cx8802_alloc_frontends()allocating 1 frontend(s)cx24116_readreg: reg=0xff (error=-6)cx24116_readreg: reg=0xfe (error=-6)
Invalid probe, probably not a CX24116 device cx88[1]/2: frontend initialization failed cx88[1]/2:dvb_registerfailed (err = -22) cx88[1]/2: cx8802 probe failed, err = -22Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
Does this mean that one of the chips on this card is different than expected? How can I gather useful information about this?
Please try attached patch against recent v4l-dvb.
It does matter to set explicitly gpio0 value incx88_boardstructure for TBS 8920 card.Igor
Quoted 7 lines
# HG changeset patch
# User Igor M. Liplianin <[email protected]> # Date 1248905908 -10800
# Node IDd2dee95e2da26a145cca2d081be86793cc9b07ea# Parentee6cf88cb5d3faf861289fce0ef0385846adcc7cfix TBS 8920 card support
Looks good now. dmesg follows:
Linux video capture interface: v2.00
cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.7 loaded
cx88[0]: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72,autodetected], frontend(s): 1 cx88[0]: TV tuner type 4, Radio tuner type -1
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input5 cx88/0: cx2388x v4l2 driver version 0.0.7 loaded
cx88[0]/2: cx2388x 8802 Driver Manager
alloc irq_desc for 17 on cpu 0 node 0
alloc kstat_irqs on cpu 0 node 0
cx88-mpeg driver manager 0000:00:08.2: PCI INT A -> GSI 17 (level, low) -> IRQ 17 cx88[0]/2: found at 0000:00:08.2, rev: 5, irq: 17, latency: 32, mmio: 0xf9000000 IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
cx8800 0000:00:08.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
cx88[0]/0: found at 0000:00:08.0, rev: 5, irq: 17, latency: 32, mmio: 0xfa000000 IRQ 17/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88/2: cx2388x dvb driver version 0.0.7 loaded
cx88/2: registering cx8802 driver, type: dvb access: shared
cx88[0]/2: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72]
cx88[0]/2: cx2388x based DVB/ATSC cardcx8802_alloc_frontends() allocating 1 frontend(s)
DVB: registering new adapter (cx88[0])
DVB: registering adapter 0 frontend 0 (Conexant CX24116/CX24118)...
...
cx24116_firmware_ondemand: Waiting for firmware upload (dvb-fe-cx24116.fw)... cx88-mpeg driver manager 0000:00:08.2: firmware: requesting dvb-fe-cx24116.fwcx24116_firmware_ondemand: Waiting for firmware upload(2)...cx24116_load_firmware: FW version 1.23.86.1cx24116_firmware_ondemand: Firmware upload complete
vtest$ ls -laR /dev/dvb/dev/dvb:
total 0
drwxr-xr-x 3 root root 60 2009-07-29 21:13 .
drwxr-xr-x 18 root root 3480 2009-07-29 21:14 .. drwxr-xr-x 2 root root 120 2009-07-29 21:13 adapter0
/dev/dvb/adapter0:
total 0
drwxr-xr-x 2 root root 120 2009-07-29 21:13 .
drwxr-xr-x 3 root root 60 2009-07-29 21:13 ..
crw-rw---- 1 root video 212, 1 2009-07-29 21:13 demux0 crw-rw---- 1 root video 212, 2 2009-07-29 21:13 dvr0 crw-rw---- 1 root video 212, 0 2009-07-29 21:13 frontend0 crw-rw---- 1 root video 212, 3 2009-07-29 21:13 net0
Thank you for working through this.
-- Mark
Quoted 97 lines · On 30 июля 2009 07:17:07 Mark Zimmerman wrote:
Quoted 34 lines · Igor M. Liplianin
Quoted 21 lines · On 28 ???? 2009 04:21:54 Mark Zimmerman wrote:
Quoted 20 lines · Igor M. Liplianin
Quoted 19 lines · On 27 ???? 2009 04:43:16 Mark Zimmerman wrote:
Quoted 18 lines · Igor M. Liplianin
Quoted 17 lines · On 25 ???? 2009 05:22:06 Mark Zimmerman wrote:
Quoted 16 lines · Igor M. Liplianin
Quoted 15 lines · On 24 ???? 2009 05:33:15 Mark Zimmerman wrote:
Greetings:
Using current current v4l-dvb drivers, I get the following in the dmesg:
cx88[1]/2: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72] cx88[1]/2: cx2388x based DVB/ATSC card
cx8802_alloc_frontends()allocating 1 frontend(s)cx24116_readreg: reg=0xff (error=-6)cx24116_readreg: reg=0xfe (error=-6)
Invalid probe, probably not a CX24116 device cx88[1]/2: frontend initialization failed cx88[1]/2:dvb_registerfailed (err = -22) cx88[1]/2: cx8802 probe failed, err = -22Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Does this mean that one of the chips on this card is different than expected? How can I gather useful information about this?
Please try attached patch against recent v4l-dvb.
It does matter to set explicitly gpio0 value incx88_boardstructure for TBS 8920 card.Igor
Quoted 6 lines
# HG changeset patch
# User Igor M. Liplianin <[email protected]> # Date 1248905908 -10800
# Node IDd2dee95e2da26a145cca2d081be86793cc9b07ea# Parentee6cf88cb5d3faf861289fce0ef0385846adcc7cfix TBS 8920 card supportLooks good now. dmesg follows:
Linux video capture interface: v2.00
cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.7 loaded cx88[0]: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72,autodetected], frontend(s): 1 cx88[0]: TV tuner type 4, Radio tuner type -1
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input5 cx88/0: cx2388x v4l2 driver version 0.0.7 loaded
cx88[0]/2: cx2388x 8802 Driver Manager
allocirq_descfor 17 on cpu 0 node 0
allockstat_irqson cpu 0 node 0
cx88-mpeg driver manager 0000:00:08.2: PCI INT A -> GSI 17 (level, low) -> IRQ 17 cx88[0]/2: found at 0000:00:08.2, rev: 5, irq: 17, latency: 32,
mmio:0xf9000000IRQ 17/cx88[0]:IRQF_DISABLEDis not guaranteed on shared IRQs
cx8800 0000:00:08.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 cx88[0]/0: found at 0000:00:08.0, rev: 5, irq: 17, latency: 32, mmio:0xfa000000IRQ 17/cx88[0]:IRQF_DISABLEDis not guaranteed on shared IRQs cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88/2: cx2388x dvb driver version 0.0.7 loaded
cx88/2: registering cx8802 driver, type: dvb access: shared cx88[0]/2: subsystem: 8920:8888, board: TBS 8920 DVB-S/S2 [card=72] cx88[0]/2: cx2388x based DVB/ATSC cardcx8802_alloc_frontends()allocating 1 frontend(s)
DVB: registering new adapter (cx88[0])
DVB: registering adapter 0 frontend 0 (Conexant CX24116/CX24118)......
cx24116_firmware_ondemand: Waiting for firmware upload (dvb-fe-cx24116.fw)... cx88-mpeg driver manager 0000:00:08.2: firmware:
requesting dvb-fe-cx24116.fwcx24116_firmware_ondemand: Waiting for firmware upload(2)...cx24116_load_firmware: FW version 1.23.86.1cx24116_firmware_ondemand: Firmware upload completevtest$ ls -laR
/dev/dvb/dev/dvb:
total 0
drwxr-xr-x 3 root root 60 2009-07-29 21:13 .
drwxr-xr-x 18 root root 3480 2009-07-29 21:14 .. drwxr-xr-x 2 root root 120 2009-07-29 21:13 adapter0
/dev/dvb/adapter0:
total 0
drwxr-xr-x 2 root root 120 2009-07-29 21:13 .
drwxr-xr-x 3 root root 60 2009-07-29 21:13 ..
crw-rw---- 1 root video 212, 1 2009-07-29 21:13 demux0 crw-rw---- 1 root video 212, 2 2009-07-29 21:13 dvr0 crw-rw---- 1 root video 212, 0 2009-07-29 21:13 frontend0 crw-rw---- 1 root video 212, 3 2009-07-29 21:13 net0
Quoted 2 lines
Thank you for working through this.
-- Mark
So I will commit.
Thank you for testing.
Signature · 2 lines
Igor M. Liplianin Microsoft Windows Free Zone - Linux used for all Computing Tasks