←  [EN] Third-Party Development

Forums

»

DTT USB AF9035 and kernel 3.0.x -> patch

ambrosa's Photo ambrosa 19 Oct 2011

Probably main Plì developers already know this , but...

Here there are the patch for AF9035 working under kernel 3.0.x
http://forum.ubuntu-...html#msg3710395

the patch -> http://maffe.servizi...F9035-3.0.patch

It looks to work fine in a Personal Computer running kernel 3.0.x


And here a user has solved the problem about not scanning VHF frequencies
http://forum.ubuntu-...html#msg3753317
(I don't know if the problem was already solved by PLi. I will check PLi sources this evening)


I hope that AF9035 support will be added soon :-) :-)
Edited by ambrosa, 19 October 2011 - 09:20.
Quote

ambrosa's Photo ambrosa 19 Oct 2011

I'm a newbie in OE and bitbake, so I have simply:

- changed a little bit the patch to obey linux-3.0.3 path
- patched the original source/linux-3.0.3.tar.gz (decompress, patched, compress, generate new .md5)
- changed et9x00_defconf (you can find my changes searching the string '###' )

and now I'm recompiling.........


I want to see if .ko modules will be compiled.....

Attached Files

Quote

ambrosa's Photo ambrosa 20 Oct 2011

My local image compile was fine tonight with AF9035 patch.
This evening I will try AF9035 module with 3.0.3 kernel.

Stay tuned :-)
Quote

ambrosa's Photo ambrosa 20 Oct 2011

SGRUNT

Tonight Pli developers have added AF9035 support in master branch.
I've worked afternoon and evening to my patch .... sigh sigh

Well, stay tuned for feedback :-) :-)
Quote

pieterg's Photo pieterg 20 Oct 2011

well, it was good practice wasn't it? ;)
Quote

Gennar1's Photo Gennar1 20 Oct 2011

SGRUNT

Tonight Pli developers have added AF9035 support in master branch.
I've worked afternoon and evening to my patch .... sigh sigh


Looking at your avatar, it's been a long afternoon :D :D
Quote

ambrosa's Photo ambrosa 20 Oct 2011

well, it was good practice wasn't it? ;)


Yess !!! You can get more knowledge only solving problems. If all is fine, there is no fun AHAHAH

DraK3 (friend of mine) has downloaded and installed af9035 this morning but it looks not working.
.ko are loaded correctly but AF9035 doesn't scan any channels.

This evening DraK3 will post here his detailed test


BTW also gennar1 has made some experiment with his TerraTec Cinergy Hybrid T USB XS here http://openpli.org/f...post__p__225008 (module em28xx-dvb ) and also for him scan found no channel.

Something wrong in Linux 3.0.x DVB infrastructure ?
Quote

ambrosa's Photo ambrosa 20 Oct 2011


SGRUNT

Tonight Pli developers have added AF9035 support in master branch.
I've worked afternoon and evening to my patch .... sigh sigh


Looking at your avatar, it's been a long afternoon :D :D


Veeeeeeeery longggggggggggggg :rolleyes: :rolleyes:
It's the first time that I use OE and bitbake so the hard work was to find HOW OE works.
Quote

Gennar1's Photo Gennar1 20 Oct 2011

BTW also gennar1 has made some experiment with his TerraTec Cinergy Hybrid T USB XS here http://openpli.org/f...post__p__225008 (module em28xx-dvb ) and also for him scan found no channel.

Something wrong in Linux 3.0.x DVB infrastructure ?


I don't think so, because my Terratec exhibited the same behaviour with the older kernels (2.6.18 and 2.6.31).
Quote

DrAk3's Photo DrAk3 20 Oct 2011

ok it works fine :)

after a fresh install the system need the following ipk:

kernel-module-tda18218
kernel-module-af9033
kernel-module-dvb-usb-af9035
kernel-module-tda18218
kernel-module-mxl5007t
kernel-module-tua9001

add the firmware and terrestrial.xml (attach in this post: http://openpli.org/f...allation-guide/)

reboot and enjoy! :)

D.
Quote

Gennar1's Photo Gennar1 20 Oct 2011

ok it works fine :)


Great!
Can you check if it works with VHF channels, too?
Quote

ambrosa's Photo ambrosa 20 Oct 2011


BTW also gennar1 has made some experiment with his TerraTec Cinergy Hybrid T USB XS here http://openpli.org/f...post__p__225008 (module em28xx-dvb ) and also for him scan found no channel.

Something wrong in Linux 3.0.x DVB infrastructure ?


I don't think so, because my Terratec exhibited the same behaviour with the older kernels (2.6.18 and 2.6.31).


I remeber: you answer me here http://openpli.org/f...post__p__223625 about my Pinnacle 330e which use the same driver.
Quote

ambrosa's Photo ambrosa 20 Oct 2011

ok it works fine :)

after a fresh install the system need the following ipk:

kernel-module-tda18218
kernel-module-af9033
kernel-module-dvb-usb-af9035
kernel-module-tda18218
kernel-module-mxl5007t
kernel-module-tua9001

add the firmware and terrestrial.xml (attach in this post: http://openpli.org/f...allation-guide/)

reboot and enjoy! :)

D.


Don't forget
dvb-module-dvb-usb

but probably it was already installed

Please report if it scans channels correctly.
Quote

DrAk3's Photo DrAk3 20 Oct 2011


Don't forget
dvb-module-dvb-usb

but probably it was already installed

Please report if it scans channels correctly.



dvb-module-dvb-usb is automatically installed because is listed as dependence of the others :)

D.
Quote

ambrosa's Photo ambrosa 20 Oct 2011

Ah beh ! Dillo prima :-))

266 channels found, isnt'it :lol:
Quote

ambrosa's Photo ambrosa 21 Oct 2011

There is a problem with AF9035 module loading.

It's missing file
/etc/modutils/dvb-usb-af9035

I need to do manually:
echo "dvb-usb-af9035" > /etc/modutils/dvb-usb-af9035
update-modules

If not, module is not loaded ...


There's need to update ipk package....
Edited by ambrosa, 21 October 2011 - 16:16.
Quote

Carl's Photo Carl 21 Oct 2011

Yes you need to add: module_autoload_dvb-usb-af9035 = "dvb-usb-af9035" in http://openpli.git.s...fd9779b26b07d3a

Are the other modules load without adjustment in de modules?
kernel-module-tda18218
kernel-module-af9033
kernel-module-tda18218
kernel-module-mxl5007t
kernel-module-tua9001
Quote

Gennar1's Photo Gennar1 21 Oct 2011

Yes you need to add: module_autoload_dvb-usb-af9035 = "dvb-usb-af9035" in http://openpli.git.s...fd9779b26b07d3a

Are the other modules load without adjustment in de modules?


Thank you, this is a very useful information.

Please add also:

kernel-module-em28xx-dvb
Quote

pieterg's Photo pieterg 21 Oct 2011

note that we do not need to add modules which are loaded as dependencies; just the bare minimum.
We probably do not need

kernel-module-tda18218
kernel-module-af9033
kernel-module-tda18218
kernel-module-mxl5007t
kernel-module-tua9001
Quote

DrAk3's Photo DrAk3 21 Oct 2011

note that we do not need to add modules which are loaded as dependencies; just the bare minimum.
We probably do not need

kernel-module-tda18218
kernel-module-af9033
kernel-module-tda18218
kernel-module-mxl5007t
kernel-module-tua9001


Af9035 need 9033 and tda18218... Without them you have an error during the modprobe :)

D.
Quote