sorry Xgaz, for not responding earlier - I've been quite busy but now I had some time to re-work my patches (s2-liplianin was crashing on my netbook)
according to this commit
http://linuxtv.org/hg/v4l-dvb/rev/966a48be43e7, v4l-dvb is old and deprecated and nowadays, we should use
media_build to build the up-to-date drivers from the latest kernel for any other (older) kernel. I thus checked out media_build and
media_tree, applied your patches on it and adapted them accordingly (as I did in the past). The resulting rpms for openSUSE can be found in my repository
http://download.opensuse.org/repositori ... :/drivers/ named media_tree*.rpm. I do not know how to package kernel modules for deb-based distros, e.g. Ubuntu, the proper way but if someone volunteers to do that accordingly, we could provide packages, too - an Ubuntu packager could of course also prepare a package for launchpad using the same patches mentioned below.
compilation works for 2.6.34 <= kernel <= 2.6.39, AverTV A385 tested on Kernel 2.6.38.2, 2.6.39 with kaffeine 0.8.8 (Signal and SNR display in channel list do not work, watching TV and radio however does)
@Xgaz: I only adapted my previously created patches - if you changed anything for your new patches
http://forum.ubuntu-it.org/viewtopic.php?p=3534693#p3534693 (aside from making it compile), please tell me and I will update mine...
this is how you can make the drivers on your own:download my patches from
https://build.opensuse.org/package/file ... %3Adrivers (currently offline 2011-04-17 14:20 GMT+1:00, probably back soon), also download dvb-usb-af9035-01.fw from either there or
http://xgazza.altervista.org/Linux/DVB/ ... 9035-01.fw - then continue:
- Codice: Seleziona tutto
git clone git://linuxtv.org/media_build.git
cd media_build
make -C linux/ download
make -C linux/ untar
patch -p1 < ../anttip-tda18218.patch
patch -p1 < ../anttip-tda18218_af9033.patch
patch -p1 < ../anttip-tda18218_af9033_af9035.patch
patch -p1 < ../anttip-tda18218_af9033_af9035_tua9001.patch
patch -p1 < ../anttip-tda18218_af9033_af9035_tua9001_avertv-a385.patch
make
make install
cd ..
cp dvb-usb-af9035-01.fw /lib/firmware/
If you need the patches and the build service is down, you can extract them from the source rpm (media_tree-*.src.rpm) which is available at
http://download.opensuse.org/repositori ... _11.4/src/ - see
http://www.rpm-based.org/how-to-extract ... t-of-a-rpm for how to do that
If the patches do not apply cleanly, download
_service:recompress:tar_scm:media_build-.tar.bz2 and
_service:download_url:linux-media-LATEST.tar.bz2 from
https://build.opensuse.org/package/file ... %3Adrivers and start with these steps instead (replace
with the value of the (single) file you will find there):
- Codice: Seleziona tutto
tar -xjf _service:recompress:tar_scm:media_build-<version>.tar.bz2
cd media_build-<version>
mv ../_service:download_url:linux-media-LATEST.tar.bz2 linux/linux-media.tar.bz2
make -C linux/ untar
...
Update (2011-04-25): updated patches for the current media_tree based on kernel 2.6.38
Update (2011-06-02): updated patches for the current media_tree based on kernel 2.6.39