[linux-dvb] Fwd: patch for support Leadtek Winfast DTV1800H
Markus Rechberger
mrechberger at gmail.com
Wed Sep 24 19:11:33 CEST 2008
Hi,
the v4l-dvb-experimental tree on mcentral.de isn't supposed to support
cx88/saa7134/xceive based devices, it's
only focussed on Empia based products before the development got split
out to em28xx-new. This was just a
sideeffect since those devices also used the available xceive driver back then.
Please apply your patch against the linuxtv.org code. this will save
you from incompatibility issues.
The v4l-dvb-experimental code hasn't got updated for a very long time
and lacks alot features now.
thanks,
Markus
---------- Forwarded message ----------
From: sustmi sustmi <sustmi at seznam.cz>
Date: 2008/9/24
Subject: Re: patch for support Leadtek Winfast DTV1800H
To: mrechberger at gmail.com
(sending this message again from other address due to possible spam-filter)
Hi,
It is several months I send you my patch and it hasn't been merged
into repository yet.
Are there any problems with merging or do you manage the
v4l-dvb-kernel repository any more?
I'm also sending you a patch for kernel-2.6.24-git9 and later which
lacks 'usage_count'
in 'struct i2c_client'. (Do the older kernels need it?)
I look forward to your reply.
______________________________________________________________
> Od: mrechberger at gmail.com
> Komu: sustmi sustmi <sustmi at seznam.cz>
> Datum: 10.03.2008 18:49
> Předmět: Re: patch for support Leadtek Winfast DTV1800H
>
Hi,
I received this one I'll go through it during the next few days!
thanks for the patch!
Markus
2008/3/10 sustmi sustmi <sustmi at seznam.cz>:
> Hello,
> I am sorry if I buging you, but I don't know if the previous message was delivered well (it could be marked as spam).
> There were several patches commited to repository since I sent the original message.
> If you already read it, please excuse my obtrusiveness.
>
> ----------
> MESSAGE SENT ON: 24.2.2008 23:22
> ----------
> Hello,
>
> This patch enables support for both analog and dvb for Leadtek Winfast DTV1800H.
> The sound in analog mode can by played through sox or via connector on card's PCB.
>
> The patch is made against the v4l-dvb-kernel revision 55d60e988b89 (see the third problem).
> It also contains some chnges in "global" cx88 code, which you maybe won't like.
>
>
> The first problem - ioctl and callback:
>
> In the tuner-core.c there is "default" v4l_dvb_tuner_ioctl which calls the tuner_callback(algo_data, ...).
> Then the cx88_xc3028_control (registered as tuner_callback) gets the cx88_core pointer as priv->data (where priv is algo_data).
>
> In the cx88-dvb.c there is another v4l_dvb_tuner_ioctl which calls callback(ops->dev, ...).
> Here the cx88_xc3028_control (registered as callback) can't get the cx88_core pointer as priv->data, because priv _is_ the pointer on cx88_core (ops->dev).
>
> This caused kernel faults to me, so I rewrote the v4l_dvb_tuner_ioctl function to call the callback function with the algo_data parameter (like in tuner_core.c).
>
>
> The second problem - TUNER_RESET3:
>
> I have two dvb-t devices which uses the XC3028 tuner. The first is Leadtek Winfast DTV1800H and the second is Avermedia M115 (in laptop).
> Both these cards don't like the resetting the XC3028 by GPIO in TUNER_RESET3. It somehow breaks the proper loading of dvb firmware.
> Maybe the other cards with XC3028 needs it, but my experience is not to do the reset by GPIO.
>
>
> The third problem - "Build issues 2.6.24.2 patch received from Matt Adams" = rev. 6c81945e4403
>
> This changes probably enables support for kernel-2.6.24.2, but my gentoo-2.6.22-r9 can't load the video-buf module because of the lack of the sg_set_page.
>
>
> The last problem:
>
> My English s*cks. :p
>
>
> That's all folks.
> Thank you in advance for your reply and opinions.
>
> ----------
> Miroslav Šustek, sustmidown at centrum.cz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: leadtek_dtv1800h.patch
Type: text/x-diff
Size: 5644 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080924/0b0a78d3/attachment.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_against_2.6.24-git9.patch
Type: text/x-diff
Size: 750 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080924/0b0a78d3/attachment-0001.patch
More information about the linux-dvb
mailing list