[linux-dvb] pcHDTV 3000 (cx88) - Tunes, locks, but no data

Mac Michaels wmichaels1 at earthlink.net
Sun Jun 19 07:07:15 CEST 2005


Does the following patch help?

RCS file: /cvs/video4linux/video4linux/cx88-mpeg.c,v
retrieving revision 1.27
diff -u -b -B -u -p -r1.27 cx88-mpeg.c
--- cx88-mpeg.c 17 Jun 2005 18:46:23 -0000      1.27
+++ cx88-mpeg.c 19 Jun 2005 05:05:38 -0000
@@ -77,7 +77,7 @@ static int cx8802_start_dma(struct cx880
                        cx_write(TS_HW_SOP_CNTRL,0x47<<16 | 188<<4 | 0x00);
                        cx_write(TS_SOP_STAT, 0<<16 | 0<<14 | 1<<13 | 0<<12);
                } else {
-                       cx_write(TS_HW_SOP_CNTRL,47<<16|188<<4|0x00);
+                       cx_write(TS_HW_SOP_CNTRL,0x47<<16|188<<4|0x00);
                        cx_write(TS_SOP_STAT,0x00);
                }
                cx_write(TS_GEN_CNTRL, dev->ts_gen_cntrl);


On Saturday 18 June 2005 10:59 pm, MonMotha wrote:
> I have a pcHDTV 3000 (ATSC) using the DVB drivers
> included with the 2.6.12 vanilla kernel.org release.  I
> also tried 2.6.12-rc6 a couple days ago, and had a
> patched up 2.6.10 using the original release of the cx88
> dvb stuff from CVS that behaved the same way.
>
> I can use azap to tune the card just fine.  A good signal
> is indicated and a lock is shown.  MythTV can also do
> this.
>
> monmotha at enlight:~$ /usr/src/dvb-apps/util/szap/azap -r
> WFYI using '/dev/dvb/adapter0/frontend0' and
> '/dev/dvb/adapter0/demux0' tuning to 515000000 Hz
> video pid 0x0000, audio pid 0x0000
> status 1f | signal dcab | snr cd37 | ber 00000000 | unc
> 00000000 | FE_HAS_LOCK status 1f | signal f2af | snr fbff
> | ber 00000000 | unc 00000000 | FE_HAS_LOCK status 1f |
> signal f603 | snr fc09 | ber 00000000 | unc 00000000 |
> FE_HAS_LOCK
>
> I have also tried other local stations (including WTHR,
> WISH [VHF], and WXIN for those going and looking up the
> Indianapolis area).  All behave the same.
>
> Assuming there's no inversion in the numbers going on and
> higher is better for both signal level and SNR, that
> would appear to be a pretty stellar signal quality. 
> However, no data is passed through /dev/dvb/adapter0/dvr0
> (kernel messages confirm that the pcHDTV is adapter0).  I
> am using the -r option to azap.  I have checked that no
> data is being passed using dvbtraffic (sits there and
> does nothing) and test_sections from the testsuite:
>
> monmotha at enlight:/usr/src/dvb-apps/test$ ./test_sections
> 0 test_sections: using '/dev/dvb/adapter0/demux0'
>   PID 0x0000
>   Filter 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
> 0x00 0x00 0x00 0x00 0x00 0x00 0x00
>     Mask 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
> 0x00 0x00 0x00 0x00 0x00 0x00 0x00
>
> MythTV also can acquire a lock on all my local stations,
> but then sees no PID information and gives up.
>
> The test apps (from dvb-apps) being used are all from
> CVS.  Kernel is again 2.6.12 final, but older revisions
> behaved in the same way.
>
> I've also tried QAM with my cable provider and the same
> thing happens: tune, lock, no data.
>
> For reference, a list of all loaded kernel modules and
> relevant kernel messages:
>
> Module                  Size  Used by
> iptable_filter          2240  0
> ip_tables              19744  1 iptable_filter
> ipv6                  242656  18
> analog                 10208  0
> ns558                   4644  0
> parport_pc             37220  0
> parport                32360  1 parport_pc
> evdev                   7296  0
> pcspkr                  3140  0
> 8139cp                 16832  0
> 8139too                20768  0
> snd_bt87x              11752  0
> tvaudio                21476  0
> bttv                  148112  0
> snd_ens1371            21120  0
> gameport               11944  4 analog,ns558,snd_ens1371
> snd_rawmidi            20384  1 snd_ens1371
> snd_seq_device          6860  1 snd_rawmidi
> snd_ac97_codec         77504  1 snd_ens1371
> snd_pcm_oss            48160  0
> snd_mixer_oss          17152  1 snd_pcm_oss
> snd_pcm                81000  4
> snd_bt87x,snd_ens1371,snd_ac97_codec,snd_pcm_oss
> snd_timer              21220  1 snd_pcm
> snd                    44804  9
> snd_bt87x,snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97
>_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
> soundcore               7392  1 snd
> snd_page_alloc          7620  2 snd_bt87x,snd_pcm
> cx88_dvb                5572  0
> mt352                   6084  1 cx88_dvb
> or51132                 9892  1 cx88_dvb
> video_buf_dvb           4452  1 cx88_dvb
> dvb_core               75784  1 video_buf_dvb
> cx22702                 5764  1 cx88_dvb
> dvb_pll                 3716  3 cx88_dvb,or51132,cx22702
> cx88_blackbird         12804  0
> cx8802                  7620  2 cx88_dvb,cx88_blackbird
> firmware_class          7712  3
> bttv,or51132,cx88_blackbird tuner                  26728 
> 0
> cx8800                 26892  0
> cx88xx                 49120  4
> cx88_dvb,cx88_blackbird,cx8802,cx8800 i2c_algo_bit       
>     8808  2 bttv,cx88xx
> video_buf              17636  7
> bttv,cx88_dvb,video_buf_dvb,cx88_blackbird,cx8802,cx8800,
>cx88xx ir_common               6148  1 cx88xx
> tveeprom               11640  2 bttv,cx88xx
> v4l1_compat            13668  1 cx8800
> v4l2_common             4640  2 bttv,cx8800
> btcx_risc               3912  4 bttv,cx8802,cx8800,cx88xx
> videodev                7168  4
> bttv,cx88_blackbird,cx8800,cx88xx i2c_piix4              
> 7568  0
> i2c_core               17840  10
> tvaudio,bttv,mt352,or51132,cx22702,tuner,cx88xx,i2c_algo_
>bit,tveeprom,i2c_piix4 intel_agp              20092  1
> agpgart                29608  1 intel_agp
> rtc                    10648  0
>
> ...
> cx2388x v4l2 driver version 0.0.4 loaded
> PCI: Found IRQ 10 for device 0000:00:09.0
> PCI: Sharing IRQ 10 with 0000:00:09.2
> PCI: Sharing IRQ 10 with 0000:00:0f.0
> cx88[0]: quirk: PCIPCI_NATOMA -- set TBFX
> cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV
> [card=22,autodetected]
> cx88[0]/0: found at 0000:00:09.0, rev: 5, irq: 10,
> latency: 32, mmio: 0xda000000
> tuner 1-0061: chip found @ 0xc2 (cx88[0])
> tuner 1-0061: type set to 52 (Thomson DDT 7610
> (ATSC/NTSC)) cx88[0]/0: registered device video0 [v4l2]
> cx88[0]/0: registered device vbi0
> cx88[0]/0: registered device radio0
> cx2388x blackbird driver version 0.0.4 loaded
> cx2388x dvb driver version 0.0.4 loaded
> PCI: Found IRQ 10 for device 0000:00:09.2
> PCI: Sharing IRQ 10 with 0000:00:09.0
> PCI: Sharing IRQ 10 with 0000:00:0f.0
> cx88[0]/2: found at 0000:00:09.2, rev: 5, irq: 10,
> latency: 32, mmio: 0xdb000000
> cx88[0]/2: cx2388x based dvb card
> DVB: registering new adapter (cx88[0]).
> DVB: registering frontend 0 (pcHDTV HD3000 HDTV)...
> ...
> or51132: Waiting for firmware
> upload(dvb-fe-or51132-vsb.fw)... or51132: Version:
> 10001134-19430000 (113-4-194-3) or51132: Firmware upload
> complete.
> ...
>
> --MonMotha
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb




More information about the linux-dvb mailing list