Re: [PATCH 2/3] New card supported(partially): Pinnacle 800i

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

 



On Sat, Jan 12, 2008 at 08:39:43PM -0500, Steven Toth wrote:
> Chaogui Zhang wrote:
> >On Sun, Jan 06, 2008 at 05:18:48PM -0500, Steven Toth wrote:
> >>Chaogui,
> >>
> >>I merged and mofiedi slightly patches 1, 2 and 3 and merged them into 
> >>one of my developer trees. HVR1500Q is working correctly.
> >>
> >>See http://linuxtv.org/hg/~stoth/xc5000-analog
> >>
> >>I suggest you download this tree and ensure the 800i is working 
> >>correctly, before I generate a pull request to Mauro.
> >>
> >
> >Hi, Steve,
> >
> >I tested analog tv as well as composite/s-video input, it is working
> >properly. I still cannot manage to get digital tv working, even after
> >getting proper values of the registers from regspy. I get a ton of 
> >ts_oflow interrupt as soon as I use azap to tune to any digital channel.
> 
> Zhang,
> 
> Can you email me the regspy full register dumps?
Hi, Steve,

No problem, attached is the regspy dump. It is not the "full" dump
because for some reason, my computer hangs when I tried to use
regspy with all the register listed in the ini file (I probably
messed up something in the ini file). The dump only contains registers
related to the transport stream and some registers that I think 
might affect the transport stream function.

To save you some time, here is what I gathered so far:

I managed to get rid of the overflow problem by setting the PLL_B 
register to 0x099b0000 as shown in the regspy dump. However, I still
cannot get the TS working. Everything runs without reporting any error,
but no data is coming out of the ts. This test is done with a parallel
mpeg port setting (ts_gen_cntrl = 0x04 and pinmux_io = 0x80). The
ts_gen_cntrl value is from the regspy dump as you can see, and the
pinmux_io is according to the datasheet. When I did that test, I did
not know that the pinnacle software actually set pinmux_io to 0x00, not
0x80. 

The most recent regspy dump (the one I am sending to you now) shows that
pinmux_io is set to 0x00, which is very strange as that means a serial
mpeg port, which contradicts to the ts_gen_cntrl value. I haven't tested
what happens if I use a serial setting yet.

In any case, I probably won't have time to work on this until a few
weeks later, but if you have any ideas, please let me know.

Thanks!

Chaogui Zhang

-- RegSpy dump when digital tv is working---

CX2388x Card [0]:

Vendor ID:           0x14f1
Device ID:           0x8800
Subsystem ID:        0x005111bd

=================================================================================

CX2388x Card - Register Dump:
MO_PCI_INTMSK:                   00000007   (00000000 00000000 00000000 00000111)                 
MO_PCI_INTSTAT:                  001c1300   (00000000 00011100 00010011 00000000)                 
MO_PCI_INTMSTAT:                 00000000   (00000000 00000000 00000000 00000000)                 
MO_TS_INTMSK:                    001f1101   (00000000 00011111 00010001 00000001)                 
MO_TS_INTSTAT:                   00000000   (00000000 00000000 00000000 00000000)                 
MO_TS_INTMSTAT:                  00000000   (00000000 00000000 00000000 00000000)                 
MO_TS_INTSSTAT:                  4714f2c0   (01000111 00010100 11110010 11000000)                 
MO_DMA28_PTR1:                   00186d98   (00000000 00011000 01101101 10011000)                 
MO_DMA28_PTR2:                   001869c8   (00000000 00011000 01101001 11001000)                 
MO_DMA28_CNT1:                   00000022   (00000000 00000000 00000000 00100010)                 
MO_DMA28_CNT2:                   00000000   (00000000 00000000 00000000 00000000)                 
MO_PLL_REG:                      01000000   (00000001 00000000 00000000 00000000)                 
MO_PLL_ADJ_CTRL:                 03f9f190   (00000011 11111001 11110001 10010000)                 
MO_SCONV_REG:                    00020000   (00000000 00000010 00000000 00000000)                 
MO_SCONV_FIFO:                   003f8008   (00000000 00111111 10000000 00001000)                 
MO_SUB_STEP:                     00400000   (00000000 01000000 00000000 00000000)                 
MO_SUB_STEP_DR:                  00538e38   (00000000 01010011 10001110 00111000)                 
MO_TS_DMA:                       5f6fa49c   (01011111 01101111 10100100 10011100)                 
MO_TS_GPCNT:                     00000000   (00000000 00000000 00000000 00000000)                 
MO_TS_GPCNTRL:                   00000000   (00000000 00000000 00000000 00000000)                 
MO_TS_DMACNTRL:                  00000011   (00000000 00000000 00000000 00010001)                 
MO_TS_XFR_STAT:                  00000000   (00000000 00000000 00000000 00000000)                 
MO_TS_LNGTH:                     000002f0   (00000000 00000000 00000010 11110000)                 
TS_HW_SOP_CNTRL:                 002f0bc0   (00000000 00101111 00001011 11000000)                 
TS_GEN_CNTRL:                    00000005   (00000000 00000000 00000000 00000101)                 
TS_BD_PKT_STAT:                  00000000   (00000000 00000000 00000000 00000000)                 
TS_SOP_STAT:                     00000000   (00000000 00000000 00000000 00000000)                 
TS_FIFO_OVFL_STAT:               00000000   (00000000 00000000 00000000 00000000)                 
TS_VALERR_CNTRL:                 00000000   (00000000 00000000 00000000 00000000)                 
MO_PINMUX_IO:                    00000000   (00000000 00000000 00000000 00000000)                 
MO_M2M_DMA:                      6dbde3af   (01101101 10111101 11100011 10101111)                 
MO_GP0_IO:                       000004fb   (00000000 00000000 00000100 11111011)                 
MO_GP1_IO:                       000010ef   (00000000 00000000 00010000 11101111)                 
MO_GP2_IO:                       00000039   (00000000 00000000 00000000 00111001)                 
MO_GP3_IO:                       00000000   (00000000 00000000 00000000 00000000)                 
MO_GPIO:                         00000000   (00000000 00000000 00000000 00000000)                 
MO_GPOE:                         00000000   (00000000 00000000 00000000 00000000)                 
MO_GP_ISM:                       00000000   (00000000 00000000 00000000 00000000)                 
MO_PLL_B:                        099b0000   (00001001 10011011 00000000 00000000)                 
MO_M2M_CNT:                      00000000   (00000000 00000000 00000000 00000000)                 
MO_M2M_XSUM:                     456c036a   (01000101 01101100 00000011 01101010)                 
MO_CRC:                          0000ffff   (00000000 00000000 11111111 11111111)                 
MO_CRC_D:                        00000000   (00000000 00000000 00000000 00000000)                 
MO_TM_CNT_LDW:                   00000000   (00000000 00000000 00000000 00000000)                 
MO_TM_CNT_UW:                    00000000   (00000000 00000000 00000000 00000000)                 
MO_TM_LMT_LDW:                   00000000   (00000000 00000000 00000000 00000000)                 
MO_TM_LMT_UW:                    00000000   (00000000 00000000 00000000 00000000)                 
MO_TSTSEL_IO:                    00000000   (00000000 00000000 00000000 00000000)                 
MO_AFECFG_IO:                    0000001e   (00000000 00000000 00000000 00011110)                 
MO_DDS_IO:                       00a80a80   (00000000 10101000 00001010 10000000)                 
MO_DDSCFG_IO:                    00000005   (00000000 00000000 00000000 00000101)                 
MO_SAMPLE_IO:                    ffffffff   (11111111 11111111 11111111 11111111)                 
MO_SRST_IO:                      00000001   (00000000 00000000 00000000 00000001)                 
MO_INT1_MSK:                     ffffffff   (11111111 11111111 11111111 11111111)                 
MO_INT1_STAT:                    00000000   (00000000 00000000 00000000 00000000)                 
MO_INT1_MSTAT:                   00000000   (00000000 00000000 00000000 00000000)                 

end of dump

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux