Re: tm6000/tm6010 progress?

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

 



Hi Eddi,

On Tue, 28 Oct 2008 12:05:33 +0100
Eddi De Pieri <eddi@xxxxxxxxxxx> wrote:

> I report you some problem:
> 
> With DVB support active build fail on tm6000-dvb.o
>   CC [M]  /data/devel/tm6010/v4l/tm6000-dvb.o
> /data/devel/tm6010/v4l/tm6000-dvb.c: In function 'tm6000_dvb_register':
> /data/devel/tm6010/v4l/tm6000-dvb.c:240: error: unknown field
> 'video_dev' specified in initializer
> /data/devel/tm6010/v4l/tm6000-dvb.c:240: warning: initialization makes
> integer from pointer without a cast
> 
> I've tried changing the line..
> -                      .video_dev = dev,
> +                      .i2c_addr  = 0x61,
> Now it build but the decoder is not detected.

Hmm.. Ok, I'll check this.

The DVB part deserves some work. I'm currently trying to fix the streaming
routine to use the same model for DVB as we did on em28xx-dvb.

> insmod tm6000-alsa.ko
> insmod: error inserting 'tm6000-alsa.ko': -1 Unknown symbol in module

> # dmesg
> [ 1785.667726] tm6000_alsa: Unknown symbol tm6000_get_reg
> [ 1785.667930] tm6000_alsa: Unknown symbol tm6000_set_reg
> 

tm6000-alsa is just a cleaned copy of the dummy alsa prototype. It never
worked. I need first to have the streaming routines working fine for making the
binding between stream reception and audio.

> 
> Without dvb it build but  mplayer show green screen and no image.

One of the hardest part of tm6000 is the streaming decoding. If you take a look
at the history, most of the latest patches were meant to fix streaming reception.

On analog mode, tm6000 produces frames with 180 bytes wide. The 3rd byte is the
header identifier (why they didn't use the first byte?). since the frames are
broken into several URB's, and even can be broken into different URB sets, a
complex logic is required to avoid double-buffering and to recover the original
image. That part of the code is currently broken. It used to work in the past,
but, on some cases, I was losing some URB's, causing very bad effects at the
image. We need this fixed in order to have the driver properly working.

Cheers,
Mauro

_______________________________________________
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