AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD)
#1
Posted 1 December 2011 - 20:56
It's funny (my wife hate me )
Many thanks to Gennar1, Skaman, Xgaz : they are "patient" with me
I've 4 DVB-T USB stick and I'm trying to have a better driver code for them.
In my opinion AverMedia A867 (aka italian "SKY Digital Key" 'blue LED' version, see NOTE1) is the best: cheap (about 15-20 euros), HD capable, very fast zap, very high sensitivity and stable. It's based on AF9035 and MX5007T (you can buy on eBay)
But I've see that during OpenPli A867 driver compile there are many many warnings and driver lacks completely SNR value.
So I've take OpenPli dvb-usb-a867.patch file and I've started a clean-up code process and added SNR management.
My effort is here: https://github.com/a...67_kernel_3.0.0
The same driver can be compiled without any change in Ubuntu 11.10 and CT9100 kernel 3.1.0
Now driver is faster, smaller, no warnings at all and SNR is OK . It looks stable.
DVB-T zap is faster than satellite ! URGH !
I add here my patch: you can simple overwrite openembedded/recipes/linux/linux-etxx00/dvb-usb-a867.patch file. No need to change anything in linux-etxx00_3.1.0.bb or the patch order.
In next days I'll try to have a better code for my RTL2832 driver, so stay tuned
-------
But I've discovered a strange problem about PliHD skin.
Some OpenPli versions ago , the PliHD second infobar show in upper right corner 3 coloured bars for SNR, AGC,BER
Now I've no infos. I've only numeric SNR% in the first infobar (lower right corner). No bar also for sat channels. Any idea ?
------
NOTE1: there are 2 type of "Sky Digital Key": one is Avermedia A867 and the stick has a "blue" LED. The second stick has a "green" LED and it's based on a unsupported chipset, so don't buy it.
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #2
Posted 1 December 2011 - 21:12
A problem about dvb-a867 ipk install process (also with previous original version).
During IPK install at the and it's showed an error message about "cannot found dvb_a867"
Well, driver is dvb-a867 but if I do an lsmod
dvb_a867 211646 2it's with an underscore.
Probably there is a mismatch somewhere about dvb-a867 and dvb_a867
Strange, I've named my driver dvb-usb-a867
a867_af903x-core.c: .name = "dvb-usb-a867",
Openembedded change module name ?
Anyway there is no problem using dvb-a867 but there is a mismatch "-" and "_"
Edited by ambrosa, 1 December 2011 - 21:15.
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #3
Posted 1 December 2011 - 21:22
There are no functional differences compared to the current version, except:
-some it9135 stuff (from the it9135 patch) has been added to Kconfig and Makefile (as a result, the it9135 patch won't apply anymore)
-<dvb-usb.h> replaced by "dvb-usb.h" at one location, and "dvb-usb.h" replaced by <dvb-usb.h> on another
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #4
Posted 1 December 2011 - 21:22
But I've discovered a strange problem about PliHD skin.
Some OpenPli versions ago , the PliHD second infobar show in upper right corner 3 coloured bars for SNR, AGC,BER
Now I've no infos. I've only numeric SNR% in the first infobar (lower right corner). No bar also for sat channels. Any idea ?
ty for your support!!!
i confirm that in the last week releases of pli HD skin in the second info bar the signal bars disappears... is this a bug?
D.
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #5
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #6
Posted 1 December 2011 - 21:50
are you sure you attached the correct patch?
There are no functional differences compared to the current version, except:
-some it9135 stuff (from the it9135 patch) has been added to Kconfig and Makefile (as a result, the it9135 patch won't apply anymore)
-<dvb-usb.h> replaced by "dvb-usb.h" at one location, and "dvb-usb.h" replaced by <dvb-usb.h> on another
Opps ! I've said before: I'm not an expert. Sorry. I've made a mistake with git diff
I attach here the correct patch.
Anyway for my mistake I've send you before the ORIGINAL patch as you can find in openembedded/recipes/linux/linux-etxx00/dvb-usb-a867.patch
And into the original patch there is the same it9135 code about Kconfig and Makefile :
diff --git a/drivers/media/dvb/dvb-usb/Kconfig b/drivers/media/dvb/dvb-usb/Kconfig index 4fc22e1..841a82f 100644 --- a/drivers/media/dvb/dvb-usb/Kconfig +++ b/drivers/media/dvb/dvb-usb/Kconfig @@ -382,3 +382,12 @@ config DVB_USB_TECHNISAT_USB2 depends on DVB_USB help Say Y here to support the ITE IT9135 based DVB-T USB2.0 receiver + +config DVB_A867 + tristate "Avermedia A867 DVB receiver" + depends on DVB_USB + default m + help + Choose Y or M here if you have an Avermedia A867 device + + To compile this driver as a module, choose M here diff --git a/drivers/media/dvb/dvb-usb/Makefile b/drivers/media/dvb/dvb-usb/Makefile index 4e1d137..c5badf1 100644 --- a/drivers/media/dvb/dvb-usb/Makefile +++ b/drivers/media/dvb/dvb-usb/Makefile @@ -98,6 +98,13 @@ obj-$(CONFIG_DVB_USB_TECHNISAT_USB2) += dvb-usb-technisat-usb2.o dvb-usb-af9035-objs = af9035.o obj-$(CONFIG_DVB_USB_AF9035) += dvb-usb-af9035.o +dvb-a867-objs := a867_af903x-core.o a867_af903x-devices.o a867_af903x-drv.o \ + a867_af903x-fe.o a867_af903x-tuner.o a867_cmd.o a867_standard.o \ + a867_demodulator.o a867_demodulatorextend.o a867_usb2impl.o \ + a867_user.o a867_mxl5007t.o a867_Maxlinear_MXL5007.o a867_Afa_AF9007.o + +obj-$(CONFIG_DVB_A867) += dvb-a867.o + EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core/ -Idrivers/media/dvb/frontends/ # due to tuner-xc3028 EXTRA_CFLAGS += -Idrivers/media/common/tuners (...omissis...)
and the "dvb-usb.h" replaced ... I've not replaced it !
I've extracted linux-3.1.0 kernel source, then I've applied (as bitbake does)
file://fix-proc-cputype.patch
file://dvb-usb-af9035.patch
file://dvb-usb-it9135.patch
file://tda18218-7mhz-lopass.patch
file://dvb-usb-a867.patch
and then changed a867 .[ch] files with mine. Then create a patch with "git diff" (now it's right)
During patch process I've see some patch "hunk" about it9135. I suppose that problem exists since many versions ago but it's not mine.
And I've see some "hunk" in other patch. All files are successfullt patched but with some "hunk" warning. No more.
Check my new patch, please.
Attached Files
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #7
Posted 1 December 2011 - 21:51
Probably there is a mismatch somewhere about dvb-a867 and dvb_a867
no, depmod and modprobe don't mind, they allow - and _ to be used interchangably
I suppose some IPK "postinstall" script problem...
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #8
Posted 2 December 2011 - 08:28
In my Ubuntu version I compile as dvb-usb-a867 and it works.
But for this step there is need some changes in a867 IPK creation and other .patch applyed after dvb-usb-a867.patch can have problems.
I.e. my dvb-usb-rtl2832u.patch modify Makefile/KConfig after a867 and perhaps it can fail.
Edited by ambrosa, 2 December 2011 - 08:29.
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #9
Posted 2 December 2011 - 14:53
By the way, I tested your new version of the driver and it works perfectly, including the SNR bar in Enigma2.
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #10
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #11
Posted 10 December 2011 - 15:30
cd path_to/build-et9x00/ source env.source bitbake linux-etxx00-3.1.0 -c clean -f -D bitbake linux-etxx00-3.1.0 -c build -f -D
When the last command finishes (it will take some time!), you will find the kernel sources along with the compiled kernel modules in the directory:
build-et9x00/tmp/work/et9x00-oe-linux/linux-etxx00-3.1.0-r6.9/linux-3.1.0/
and you can find the ipk packages containing the kernel modules into:
build-et9x00/tmp/deploy/ipk/et9x00/
Edited by Gennar1, 10 December 2011 - 15:30.
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #12
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #13
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #14
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #15
Posted 7 June 2012 - 14:59
The package your are quoting is not from OpenPli, but it should work just fine as the kernel is the same.
You may only need to create the proper /etc/modutils/ entry in order to load the driver at boot.
After installing the ipk package, try this:
echo dvb-usb-a867 > /etc/modutils/dvb-usb-a867 update-modules reboot
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #16
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #17
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #18
Re: AverMedia A867 "SKY Digital Key" new patch (and strange problem with PliHD) #19
Posted 20 October 2016 - 13:25
Hello,
I've always used the Sky usb stick (blu led) under BlackHole, before with a VU+Duo2 and now with a Solo4K.
But it doesn't work with OpenPLI (and also OpenBH and some other images I've tried).
The strange is that, installing the driver A9035 by the image itself, it is somehow recognised but it does not tune any channel.
How can I install it as .ipk or somewhat under OpenPLI?
Also tagged with one or more of these keywords: DVB-T
Pls recommend hardware for remote fallback tuner setupStarted by pli-marc, 8 Sep 2020 remote tuner, dvb-t, dvb-t2 and 1 more... |
|
|||
Correct EPG encoding for DVB-T TW to display correctly chinese charactersStarted by Kopernik, 6 Oct 2018 epg, chinese traditional, zh-TW and 2 more... |
|
|||
France
New channel referencesStarted by reg, 8 Apr 2016 France, DVB-T |
|
|||
Nothing found in DVB-T scan (TU1216-DM8000-OpenPLi4)Started by sylvester74, 31 Jan 2016 DVB-T, TU1216, DM8000, OpenPLi4 |
|
|||
France
Additional channel referencesStarted by reg, 5 Aug 2015 France, DVB-T |
|
5 user(s) are reading this topic
0 members, 5 guests, 0 anonymous users