[linux-dvb] pluto2 mac address fix

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

 



Dne so 14. kv?tna 2005 17:53 jste napsal(a):
> Hi Michal,
>
> On Sat, 2005-05-14 at 13:02 +0200, Michal Semler wrote:
> > I tried hack mac addres resolution in pluto2 via original pluto2 driver
> > and here is result:
> >
> > static void __devinit pluto_read_mac(struct pluto *pluto, u8 *mac)
> > {
> >         u32 val = pluto_readreg(pluto, REG_MMAC);
> >
> >         mac[0] = pluto_readreg(pluto, 0x2D) ;
> >         mac[1] = pluto_readreg(pluto, 0x2C) ;
> >         mac[2] = pluto_readreg(pluto, 0x31) ;
> >         mac[3] = pluto_readreg(pluto, 0x30) ;
> >         mac[4] = pluto_readreg(pluto, 0x35) ;
> >         mac[5] = pluto_readreg(pluto, 0x34) ;
> >
> >         dev_info(&pluto->pdev->dev, "MAC
> > %02x:%02x:%02x:%02x:%02x:%02x\n", mac[0], mac[1], mac[2], mac[3], mac[4],
> > mac[5]); }
> >
> > This helped me to get driver inicialized faster and almost everytime I
> > plug card into slot.
> > PLS include it into CVS with your DMA fix.
>
> How can 7 register accesses be faster than only 3 of them?
>
> > There are other bugs I am working on, but maybe you should help me with
> > it:
> >
> > After a while of stream decoding mplayer says:
> > Too many audio packets in the buffer: (4096 in 746992 bytes).
> > Maybe you are playing a non-interleaved stream/file or the codec failed?
> > For AVI files, try to force non-interleaved mode with the -ni option.
> >
> > Video starts go very slow, in about 5 seconds sound stopps and video
> > start works normal, but without sound
> > Can you give me hint where can be bug to find it?
>
> Maybe it is due to bad signal quality. Does tzap show uncorrected
> blocks?
tzap output:

using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
tuning to 506000000 Hz
video pid 0x0200, audio pid 0x028a
status 00 | signal 0000 | snr 0000 | ber 0001fffe | unc 00000000 |
status 00 | signal a0a0 | snr c7c7 | ber 0001fffe | unc 00000000 |
status 00 | signal 9c9c | snr bdbd | ber 0001fffe | unc 00000000 |
status 00 | signal a0a0 | snr 8e8e | ber 0001fffe | unc 00000000 |
status 00 | signal 9f9f | snr 8787 | ber 0001fffe | unc 00000000 |
status 01 | signal 9f9f | snr e0e0 | ber 0001fffe | unc 00000000 |
status 00 | signal 9d9d | snr b8b8 | ber 0001fffe | unc 00000000 |
status 00 | signal a1a1 | snr a3a3 | ber 0001fffe | unc 00000000 |
status 00 | signal a1a1 | snr 9595 | ber 0001fffe | unc 00000000 |
status 00 | signal a6a6 | snr 9e9e | ber 0001fffe | unc 00000000 |
status 00 | signal a3a3 | snr 0000 | ber 0001fffe | unc 00000000 |
status 00 | signal a2a2 | snr 5e5e | ber 0001fffe | unc 00000000 |
status 1f | signal a0a0 | snr fdfd | ber 00000d8e | unc ffffffff | FE_HAS_LOCK
status 1f | signal 9d9d | snr fefe | ber 000007e8 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9e9e | snr fefe | ber 00000870 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9f9f | snr fefe | ber 0000063c | unc 00000000 | FE_HAS_LOCK
status 1f | signal a3a3 | snr fefe | ber 00000a36 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9e9e | snr fefe | ber 0000073a | unc 00000000 | FE_HAS_LOCK
status 1f | signal a4a4 | snr fefe | ber 00000d7c | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9e9e | snr fefe | ber 00000c88 | unc 00000000 | FE_HAS_LOCK
status 1f | signal a1a1 | snr fdfd | ber 00000bd0 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9e9e | snr fefe | ber 00000a74 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9e9e | snr fefe | ber 00000b2c | unc 00000000 | FE_HAS_LOCK
status 1f | signal a2a2 | snr fefe | ber 00000ca6 | unc 00000000 | FE_HAS_LOCK
status 1f | signal a1a1 | snr fefe | ber 0000074e | unc 00000000 | FE_HAS_LOCK
status 1f | signal a1a1 | snr fdfd | ber 0000050a | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9d9d | snr fefe | ber 00000660 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9e9e | snr fefe | ber 00000710 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9e9e | snr fefe | ber 0000065e | unc 00000000 | FE_HAS_LOCK
status 1f | signal a0a0 | snr fefe | ber 00000666 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9c9c | snr fefe | ber 000005b2 | unc 00000000 | FE_HAS_LOCK
status 1f | signal a4a4 | snr fefe | ber 000005bc | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9f9f | snr fefe | ber 00000408 | unc 00000000 | FE_HAS_LOCK
status 1f | signal a3a3 | snr fefe | ber 0000083e | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9f9f | snr fefe | ber 000006d6 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9b9b | snr fefe | ber 000007d0 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9e9e | snr fefe | ber 000006aa | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9e9e | snr fefe | ber 00000708 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9a9a | snr fefe | ber 00000cf0 | unc 00000000 | FE_HAS_LOCK
status 1f | signal a1a1 | snr fefe | ber 000006f8 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9f9f | snr fefe | ber 000005dc | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9f9f | snr fefe | ber 000006be | unc 00000000 | FE_HAS_LOCK
status 1f | signal a0a0 | snr fefe | ber 00000bd2 | unc 00000000 | FE_HAS_LOCK
status 1f | signal a1a1 | snr fefe | ber 000009cc | unc 00000000 | FE_HAS_LOCK
status 1f | signal 9d9d | snr fefe | ber 00000cce | unc 00000000 | FE_HAS_LOCK


Michal



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

  Powered by Linux