[linux-dvb] TwinHan DVB-C card problem, lost packet, and get a lot of error packet

linux drangon drangon.dvb at gmail.com
Fri Apr 21 05:28:19 CEST 2006


HI,

I have a TwinHan DVB-C card, install under linux, drivers is loaded
successful,
but when I get TS data from demux device, lots of packet lost, and get some
other error packet,

the windows driver is OK, can get all the packet.

/var/log/message when load module

Apr 20 19:22:56 drangon kernel: bttv: driver version 0.9.16 loaded
Apr 20 19:22:56 drangon kernel: bttv: using 8 buffers with 2080k (520 pages)
each for capture
Apr 20 19:22:56 drangon kernel: bttv: Bt8xx card found (0).
Apr 20 19:22:56 drangon kernel: ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI
22 (level, low) -> IRQ 18
Apr 20 19:22:56 drangon kernel: bttv0: Bt878 (rev 17) at 0000:02:02.0, irq:
18, latency: 32, mmio: 0xe4000000
Apr 20 19:22:56 drangon kernel: bttv0: detected: Twinhan VisionPlus DVB
[card=113], PCI subsystem ID is 1822:0001
Apr 20 19:22:56 drangon kernel: bttv0: using: Twinhan DST + clones
[card=113,insmod option]
Apr 20 19:22:56 drangon kernel: bttv0: using tuner=4
Apr 20 19:22:56 drangon kernel: bttv0: add subdevice "dvb0"
Apr 20 19:23:32 drangon kernel: bt878: AUDIO driver version 0.0.0 loaded
Apr 20 19:23:32 drangon kernel: bt878: Bt878 AUDIO function found (0).
Apr 20 19:23:32 drangon kernel: ACPI: PCI Interrupt 0000:02:02.1[A] -> GSI
22 (level, low) -> IRQ 18
Apr 20 19:23:32 drangon kernel: bt878_probe: card id=[0x11822],[ Twinhan
VisionPlus DVB ] has DVB functions.
Apr 20 19:23:32 drangon kernel: bt878(0): Bt878 (rev 17) at 02:02.1, irq:
18, latency: 32, memory: 0xe4001000
Apr 20 19:23:46 drangon kernel: dvb_bt8xx: Unknown symbol dst_attach
Apr 20 19:23:46 drangon kernel: dvb_bt8xx: Unknown symbol dst_ca_attach
Apr 20 19:23:53 drangon kernel: dst: Unknown parameter `debug'
Apr 20 19:24:38 drangon kernel: dst_ca: Unknown parameter `debug'
Apr 20 19:25:04 drangon kernel: DVB: registering new adapter (bttv0).
Apr 20 19:25:04 drangon kernel: dst_get_device_id: Recognise [DCT-CI]
Apr 20 19:25:04 drangon kernel:
Apr 20 19:25:04 drangon kernel: DST type flags : 0x1 newtuner 0x2 ts204 0x8
firmware version = 1 0x10 firmware version = 2
Apr 20 19:25:04 drangon kernel: dst_get_mac: MAC Address=[00:08:ca:17:19:00]
Apr 20 19:25:04 drangon kernel: dst_ca_attach: registering DST-CA device
Apr 20 19:25:04 drangon kernel: DVB: registering frontend 0 (DST DVB-C)...

fronted config :
        fep.frequency = 123000000;
        fep.inversion = INVERSION_OFF;
        fep.u.qam.symbol_rate = 6875000; // symbol rate in second
        fep.u.qam.fec_inner = FEC_AUTO; // forward error correction
        fep.u.qam.modulation = QAM_64;

        if( ioctl( fd, FE_SET_FRONTEND, &fep ) < 0 ) {
                PR_LOG( "[F] set frontend failed" );
                return -1;
        }

demux filter config

        struct dmx_pes_filter_params flt;
        flt.pid = (uint16_t)0x2000;
        flt.input = DMX_IN_FRONTEND;
        flt.output = DMX_OUT_TAP;
        flt.pes_type = DMX_PES_OTHER;
        flt.flags = 0;
        if( ioctl( fd, DMX_SET_PES_FILTER, &flt ) < 0 ) {
                PR_LOG( "set pes filter failed" );
                return -1;
        }


but when I recv data, the program( pid 17 and pid 20 ) lost a lot of packet,
and get some other error packet.
( the pid 8191 info output has been flitered )

[line 134, errno 0] [   13] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 3, seq 3
[line 134, errno 0] [   14] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 5
[line 134, errno 0] [   15] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [   17] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 10
[line 134, errno 0] [   18] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [   22] pid 4403 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 0, adapt 2, seq 0
[line 134, errno 0] [   26] pid 3189 ; tserr 1, pustart 1, tsprio 0 ;
tsscram 2, adapt 0, seq 3
[line 134, errno 0] [   27] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [   28] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 7
[line 134, errno 0] [   30] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [   33] pid 8118 ; tserr 1, pustart 1, tsprio 1 ;
tsscram 3, adapt 2, seq 11
[line 134, errno 0] [   37] pid 2695 ; tserr 1, pustart 0, tsprio 0 ;
tsscram 3, adapt 1, seq 2
[line 134, errno 0] [   39] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 10
[line 134, errno 0] [   40] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [   41] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 15
[line 134, errno 0] [   46] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 1
[line 134, errno 0] [   47] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [   48] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [   53] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 3
[line 134, errno 0] [   54] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 10
[line 134, errno 0] [   55] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [   57] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 10
[line 134, errno 0] [   58] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [   62] pid 6961 ; tserr 1, pustart 1, tsprio 0 ;
tsscram 3, adapt 1, seq 7
[line 134, errno 0] [   66] pid 5801 ; tserr 0, pustart 0, tsprio 0 ;
tsscram 1, adapt 1, seq 4
[line 134, errno 0] [   67] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [   73] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 7
[line 134, errno 0] [   74] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 10
[line 134, errno 0] [   75] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [   77] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 10
[line 134, errno 0] [   78] pid 5674 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 2, seq 12
[line 134, errno 0] [   80] pid 1911 ; tserr 1, pustart 0, tsprio 0 ;
tsscram 3, adapt 0, seq 11
[line 134, errno 0] [   83] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 10
[line 134, errno 0] [   84] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [   85] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [   90] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 12
[line 134, errno 0] [   91] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 10
[line 134, errno 0] [   92] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [   94] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 10
[line 134, errno 0] [   95] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [  102] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 15
[line 134, errno 0] [  103] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [  109] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 1
[line 134, errno 0] [  110] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 10
[line 134, errno 0] [  111] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [  112] pid 1823 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 3, adapt 3, seq 15
[line 134, errno 0] [  115] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 3
[line 134, errno 0] [  119] pid 236 ; tserr 0, pustart 0, tsprio 0 ; tsscram
3, adapt 1, seq 9
[line 134, errno 0] [  121] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 10
[line 134, errno 0] [  123] pid 7466 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 2, adapt 1, seq 12
[line 134, errno 0] [  127] pid 2470 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 3, adapt 0, seq 10
[line 134, errno 0] [  128] pid 2116 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 5
[line 134, errno 0] [  129] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [  131] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 10
[line 134, errno 0] [  132] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [  133] pid 6519 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 12
[line 134, errno 0] [  136] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 8
[line 134, errno 0] [  140] pid 5833 ; tserr 0, pustart 0, tsprio 0 ;
tsscram 3, adapt 2, seq 8
[line 134, errno 0] [  141] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [  144] pid 3289 ; tserr 1, pustart 1, tsprio 1 ;
tsscram 1, adapt 0, seq 10
[line 134, errno 0] [  147] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [  149] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 10
[line 134, errno 0] [  150] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [  151] pid 7168 ; tserr 1, pustart 0, tsprio 0 ;
tsscram 0, adapt 3, seq 7
[line 134, errno 0] [  155] pid 3528 ; tserr 0, pustart 0, tsprio 1 ;
tsscram 1, adapt 0, seq 1
[line 134, errno 0] [  158] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 13
[line 134, errno 0] [  159] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [  160] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [  162] pid 5306 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 1, adapt 1, seq 1
[line 134, errno 0] [  166] pid 1211 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 0, adapt 1, seq 1
[line 134, errno 0] [  168] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 10
[line 134, errno 0] [  169] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [  174] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 1
[line 134, errno 0] [  177] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 2
[line 134, errno 0] [  178] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [  179] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 3
[line 134, errno 0] [  182] pid 17 ; tserr 0, pustart 0, tsprio 0 ; tsscram
0, adapt 1, seq 4
[line 134, errno 0] [  183] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 10
[line 134, errno 0] [  184] pid 6586 ; tserr 1, pustart 0, tsprio 1 ;
tsscram 2, adapt 3, seq 11
[line 134, errno 0] [  186] pid 2121 ; tserr 0, pustart 1, tsprio 0 ;
tsscram 1, adapt 0, seq 10
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20060421/ac1e60c0/attachment.htm


More information about the linux-dvb mailing list