I've found some driver for Ubuntu but they are old and someone has patched them introducing some wrong typecast in C code so they compile only for x86 64bit arch.
"Restart from scratch !" : I've emailed Realtek and they kindly give me their latest RTL2832 Linux driver rel 2.2.2. This driver is for kernel 2.6.x and V4L
I've started porting the code to kernel 3.x.x and I've made some code cleanup and minor bug correction.
My little project is here https://github.com/a...od_kernel-3.0.0 and you also can find in my GitHub repo the original RTL2832U 2.2.2 driver (two versions: full with 10 tuners and simplified with 3 tuner)
Since yesterday evening driver compile fine without any warning in Ubuntu 11.10 32bit and 64bit and device works fine.
And this morning compile fine also with OpenPLi for CT9x00 (based on 27-11-2011 repo)
These are some USB sticks RTL2832U based:
DIKOM USB-DVBT HD [ID 1b80:d394] (my own)
NILOX DVB-T Stick N15 [ID 1b80:d393]
TRUST 16738 [ID 0bda:2832]
TERRATEC Cinergy T Stick BLACK [ID 0ccd:00a9]
TX Hollywood DVTB [ID 1d19:1101]
DIGIVOX mini II v3.0 [ID 1d19:1101]
The driver "full" support:
Chipset 2832, 2836, 2840
DVB-T, DVB-C, DTMB
Tuners: E4000, FC0012 (most used), FC0013, FC2580, MAX3543, MX2063, MX2266, MXL5007T, TDA18272, TUA9001
All in one package: patch (see below) is about 2.5 MB
I've tested DIKOM USB-DVBT HD (USB2.0, RTL2832, FC0012, DVB-T) in my CT9100 with my driver and compared with Avermedia A867 stick:
Channels found (using Manual Scan, Tuner C, Complete, n, n, n; "Europe DVB-T" freq. set)
DIKOM: 312 (VHF ok), the same more or less than Avermedia A835
A867: 393 (VHF ok)
Zap time:
DIKOM: about 3-4 sec.
A867: about 1.5-2 sec.
Uptime after 10 minutes watching the same DVB-T HD channel:
DIKOM: 0.47
A867: 1.20
Signal quality feedback in E2:
DIKOM: none (no SNR, no AGC, no BER). I hope to fix in future.
A867: AGC, BER (no SNR)
Device temperature:
DIKOM: medium
A867: medium
The driver looks stable.
This is my local linux-etxx00_3.1.0.bb (made this morning) and I attach here my openembedded/recipes/linux/linux-etxx00/dvb-usb-rtl2832u.patch
I hope it can be included in OpenPli
DESCRIPTION = "Linux kernel for ${MACHINE}" LICENSE = "GPL" MACHINE_KERNEL_PR_append = ".7" DEPENDS = "mtd-minimal-nand-utils" RDEPENDS_kernel-image = "mtd-minimal-nand-utils" SRC_URI += "http://www.et-view.com/download/linux-${PV}.tar.gz \ file://${MACHINE}_defconfig \ 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 \ file://PCTV-DVB-S2-stick-460e.patch \ file://cxd2820r-enable-LNA-for-DVB-T.patch \ file://cxd2820r-changed-condition-to-break-out-from-wait-lock-loop.patch \ file://dvb-usb-smsdvb_fix_frontend.patch \ file://dvb-usb-rtl2832u.patch \ " SRC_URI_append_et5x00 = " file://disable_early_fb.patch" S = "${WORKDIR}/linux-${PV}" inherit kernel export OS = "Linux" KERNEL_OBJECT_SUFFIX = "ko" KERNEL_OUTPUT = "vmlinux" KERNEL_IMAGETYPE = "vmlinux" KERNEL_IMAGEDEST = "/tmp" FILES_kernel-image = "/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}.gz" do_configure_prepend() { oe_machinstall -m 0644 ${WORKDIR}/${MACHINE}_defconfig ${S}/.config oe_runmake oldconfig } kernel_do_install_append() { install -d ${D}/${KERNEL_IMAGEDEST} install -m 0755 ${KERNEL_OUTPUT} ${D}/${KERNEL_IMAGEDEST} gzip ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} } pkg_postinst_kernel-image () { if [ "x$D" == "x" ]; then if [ -f /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}.gz ] ; then flash_eraseall -j /dev/mtd1 nandwrite -p /dev/mtd1 /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}.gz rm -f /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}.gz fi fi true }
Attached Files
Edited by ambrosa, 27 November 2011 - 16:29.