Might be a dumb question, but are these USB tuners digital or not? Analogue TV reception is being phased out here and all will require a digital tuner.
Sent from my Nexus 7 using Tapatalk 2
Might be a dumb question, but are these USB tuners digital or not? Analogue TV reception is being phased out here and all will require a digital tuner.
Sent from my Nexus 7 using Tapatalk 2
"DVB" means "Digital Video Broadcasting"
Also, no luck on finding channels on mine. Hmm.
i have copied the firmware also. did you d\l it from http://linuxtv.org/wiki/index.php/DV...T_USB_Devices?
when you ran startddvb script did you receive any errors? I get an error that the files in /dev/dvb/adapter0 are missing.
only when i create the files manually it passes, but then i can't initialize droid tv.
which kernel version do you use? i have 3.1.10 g52027f9
can you upload the files+script that you used?
That's where I got my firmware, yes.
I still get the init failed on all files, but I assume it's because they're already been "done" once, so theres no need to do it again. Thus it saying "File Exists). So on the first time I added a .ko file to the script, that file didn't produce an error.
Upon further examination, and don't ask me why, it started working when I was browsed to the dev/dvb/adapter0 -folder with the system mounted as Write with my EsExplorer as I plugged in my receiver. Only then will it create the 4 files needed in the folder, and I have no idea why. Maybe because of the terminal used?
So far no luck with getting any channels though. It shows going through all the different frequencies, but gives an error at the end.
Thanks for the info. i know that the second time it says file exists, but for some reason file dvb-usb-af9015.ko is always failed with file not found although it is. and running demsg gives some error in this ko file. it is strange that it works for you... since we use the same files and same system.
i'll keep investigating further.
I don't have the time to go through all individual questions now but will try to generalize
Yes, droid TV is highly unstable. I started writing my own app and will do the tuning via NDK so will see I don't want to give promises when it's going to be ready since it's a learning experience for me as well.
If you get "file missing" error with dmesg saying "missing symbol" then there's a missing dependency. I.e. modules need to be loaded in order and you didn't load a module in this case. I can try to figure out which module was missing by the exact error, but as I said I currently don't have enough time.
A device will work only if it's in a warm state and all permission s are correctly set. The droidTv will do the scanning. If for some reason something behaves funny, try with a hub with external power. If the device is in warm state and permission s are set I see no reason that it won't work. Unless ofcourse there `s something wrong with droidtv, but we don't currently have any alternatives...
In theory everything that can be compiled to Linux from source can be compiled to android. But for example some devices have precompiled drivers which do not work (I have an AverMedia Volar HX which has a proprietary driver precompiked for x86, so no chance running on Android...)
git clone https://android.googlesource.com/platform/prebuilt
make ARCH=arm SUBARCH=arm CROSS_COMPILE=[B]PUT_YOUR_CROSS_COMPILER_HERE[/B] modules
CONFIG_DVB_CORE=m
+CONFIG_USB=m
+CONFIG_I2C=m
CONFIG_DVB_USB=m
+CONFIG_RC_CORE=m
make ARCH=arm SUBARCH=arm CROSS_COMPILE=[B]PUT_YOUR_CROSS_COMPILER_HERE[/B] tegra3_android_defconfig
kernelversion:
@echo $(KERNELVERSION)
VERSION = 3
PATCHLEVEL = 1
SUBLEVEL = 10
EXTRAVERSION = -g52027f9
I created the files :
frontend0
demux0
dvr0
dvr0.ts
in /dev/dvb/adapter0 and now i don't get an error on running sh startdvb (except on *9015.ko being not found)
when i open droid tv and select DVB-T and some country using dvb-t i get an error of unable to determine frontend
so something still missing/wrong.
UPDATE
using dmesg i saw an error for init 9015.ko - Unknown symbol af9013_attach (err 0)
maybe the compilation of this driver was not right, since it is 9015 and not 9013?
I do hope that it's the lack og 9015.ko which is keeping me from watching DVB-T. If I had the dvb-usb-IT9135.ko file i could try a different DVB-T tuner.
Loving the progress on this, for me dtv isn't what I'm looking for I would love to see a working live video input displayed on my nexus for a project I'm working on using a usb composite video in Interface the type you use to rip vhs to the computer, I'm guessing and hoping the solution is pretty much the same? Any advise and help on this please?
Thanks
This is not an error. This is a success It means that the modules are already loaded. Now you have everything set up! You need to go to /dev/dvb with your favorite file explorer (like ES) and change the permissions to this dir and all subdirs and files to writable and voilà! It should be workingI cant get it to work. I got all the modules files in the right place. but i keep getting the error below
i've got up to droidtv scanning, lists a lot of numbers e.g. 592599: (time:04:24)
and then doesnt do anything
is my reception too weak?
thanks
can't wait to see your alternative to droidtv, keeps crashing
----------------------------
OK, plugged into wall aerial and could scan for channels but now when I open a channel it just stays black
am I missing something?
thanks
For those who have another kernel version, you don't need to recompile dvb modules. If your kernel version is not in git revisions, you will just fail with 'fatal: ambiguous argument '3.1.10-xxxxxxxx': unknown revision or path not in the working tree'. Fortunately, there's a much faster and much simpler way to get dvb modules for your kernel version. You don't need git, make, toolchain, kernel source...
Nearly every Android kernel for Nexus 7 is based on 3.1.10 linux kernel (because of nvidia's closed source driver for graphics card), so kernel version for your Nexus 7 will be always 3.1.10-xxxxxxxx.
You can get directly precompiled binary modules (aka *.ko files) at post #1 and patch them for your kernel version:
Alternaties: Get precompiled binary modules at post #80 (more complete than modules from post #1) and patch them:Code:perl -pi -e 's/3.1.10-g52027f9/3.1.10-xxxxxxxx/g' *.ko
Alternaties 2: Post #129, the same way:Code:perl -pi -e 's/3.1.10-g22b4fcd/3.1.10-xxxxxxxx/g' *.ko
Basically this command replaces 'magic version' in *.ko files. Version mismatch will prevent insmod with an 'exec format error'.Code:perl -pi -e 's/3.1.10-g05b777c/3.1.10-xxxxxxxx/g' *.ko
Replace xxxxxxxx by your kernel-version, for example if your kernel version is 3.1.10-g30c5396, use:
That's it!Code:perl -pi -e 's/3.1.10-g52027f9/3.1.10-g30c5396/g' *.ko
More info: This way works with Cyanogen Mod kernels/ROMs!!!
echo "Starting DVB support"
insmod dvb-core.ko # core support for DVB
insmod dvb-pll.ko # I am not sure if this is even needed
insmod rc-core.ko # Support for remote control, some drivers won't load otherwise
insmod dvb-usb.ko # Support for usb tuners
insmod dvb-usb-***** # Add here your driver. If more than one needed, add another line
# if firmware is needed, make sure the firmware is in the right folder, it should be /lib/firmware, but I'm not 100% sure
# Also some devices won't need the steps below
echo "Waiting for device"
sleep 5
cd /
mkdir /dev/dvb
mkdir /dev/dvb/adapter0
cd /dev/dvb/adapter0
ln -s /dev/dvb0.frontend0 frontend0
ln -s /dev/dvb0.demux0 demux0
ln -s /dev/dvb0.dvr0 dvr0
ln -s /dev/dvb0.dvr0 dvr0.ts
chmod -R 777 /dev/dvb* # The original script doesn't have it, but try adding a -R before 777 might ease things a bit
echo "DONE!"
Hi there,
it is so interesting topic for me, but i dont have a nexus 7 device
i want to try it in my htc Sensation and maybe HTC flyer. but as you know RTL2832U is not in standart linux kernel.
which driver/module you are using to compile? and how to integrate it to android kernel?
No, i did not have it working before. Im using custom kernel for 4.2.2 and thus under tablet information it says only the version 3.... Not the letter combination after it.