[DEV][DEAD] DVB USB stick support for Live TV

Search This thread

chrulri

Senior Member
Dec 7, 2010
895
275
ATTENTION

This project is currently dead, for more information have a look at http://code.google.com/p/archos-gen8-dvb/

SUCCESSOR IS ONLINE, check it out at http://github.com/chrulri/droidtv


-- old content:
As the Archos 101IT has a full size USB port, why shouldn't we plug a dvb-t stick in and watch tv? (without internet!)

For more information see Roadmap

Any comments / suggestions?

Testers:
Links:
Videos:
 
Last edited:

chrulri

Senior Member
Dec 7, 2010
895
275
After analyzing the archos froyo source package I've found out that they already have a package for the linuxtv-dvb-apps project but disabled it :D This makes building a lot easier, as I don't have to write my own configs and makefiles ;)

I updated it to the newest HEAD checkout of linuxtv-dvb-apps and then I've wrote some script which make the build process so much easier (unpack one tar archive, copy the froyo release package into same folder and run a script..)

I'm currently testing the build process and try to minimalize it (for fixing and upgrading, in the end I only have to build it once)

edit: update in OP
 
Last edited:

chrulri

Senior Member
Dec 7, 2010
895
275
I don't know if power could be an issue at all.
Is the HVR-950Q supported by linux kernel?
 

MGUS

Member
Mar 2, 2005
12
1
you can count me as a tester...

have a bunch of different dvb-t sticks and a dvb-s2 usb and have some experience in LinuxTV especially with vdr.
 

usrname

Senior Member
Aug 20, 2007
248
11
very interesting. would like to test with my A101IT and Cinergy Hybrid T XE.
 

chrulri

Senior Member
Dec 7, 2010
895
275
I wasn't able to sleep so I kept working ;)

  • built dvb kernel modules and wrote a script doing all the insmod stuff
  • copied firmware for my dvb tuner
  • baaam! device gets recognized!!!!
  • crossbuilt w_scan
YAY! Now I can scan for channels and I finally have found all of them!
 

chrulri

Senior Member
Dec 7, 2010
895
275
hi guys, it's me again ;)

still not sleeping (3:55 AM local time) ...
here is my first package (so far only dvb-t drivers) for some early pre-alpha testers:
  1. install SDE
  2. install custom kernel+initramfs from dogmaphobia: http://xdaforums.com/showthread.php?t=880321
  3. copy content of zip file to internal storage or sd card, don't forget to disconnect usb
  4. boot SDE (rooted android)
  5. start terminal -> run "su"
  6. run "sh .../setup_dvb-core.sh"
  7. run "sh .../load_xxx.sh" (create your custom script if you need another module than me)
  8. plug in dvb-t stick
  9. check "dmesg" if your device got recognized (don't forget firmware if needed!)
  10. run "w_scan -ft -c$$ -X > channels.conf" where $$ is your country code (CH for switzerland for example, see w_scan help)
  11. check channels.conf if all channels got recognized :)
  12. post feedback in this thread (!!)

package download: --obsolete--
 
Last edited:

schaze

Senior Member
Jan 13, 2009
140
4
I just donated you a 10.
Even though I can't test as I don't have SDE installed yet, I wanted to say thanks for all your efforts for this! It is always ppl like you who make our devices worth a lot more for us with functions I didn't even think of when I bought it.
THANK YOU! Keep up the amazing pace! :)
/schaze
 
  • Like
Reactions: chrulri

bkortleven

Senior Member
Apr 26, 2006
52
0
Antwerpen
Volunteering too.
Archos 101, latest froyo updates, pctv usb 73e which works on recent linux kernel

Would looooove to see this working. Thanks
 

chrulri

Senior Member
Dec 7, 2010
895
275
@schaze thank YOU very much, I appreciate this!

@bkortleven great! I'm currently working on a first TV app so we can see for the very first time if it is really working. ;)
 

chrulri

Senior Member
Dec 7, 2010
895
275
omg.. I start loving sleepless nights :D

another little step for mankind but a big step for this project ;)

explanation:
after writing several bash scripts, I got an easy cross build environment for maybe any kind of source code.. so I managed to cross compile tzap (and szap / czap) for tuning and guess what...... IT'S WORKING!

here is a short recording (# cat /dev/dvb/adapter0/dvr0 > test2.ts) of swiss television. recorded using an A101IT and Hauppauge Nova-T stick :cool:
http://www.mediafire.com/?1artz78aarly34g

PS: a new package for testing will be released soon, v01 has a huge bug because of how it mounts /lib/firmware .. don't use it :)
 
  • Like
Reactions: LippiVan

TjaXanK

Senior Member
Mar 14, 2010
199
34
Amazing work man! Looking forward to this, do you think it might work on my Archos 70 Internet Tablet ? or does it need more power than the 70 can give out? (might be able to do it anyway with a powered hub)
 

chrulri

Senior Member
Dec 7, 2010
895
275
UPDATE:
v02 is available :)
Download

+ = new in this version
  • dvb-t usb driver kernel modules
  • setup: setup dvb_usb core driver and install dvb utils
  • + loadmod: shell script for easy firmware and kernel module load (only insmod -> no modprobe on this system)
  • + rmmods: shell script for unloading kernel modules
  • + ..zap: zapping utility
  • w_scan: scanning utility

HowTo use:

  1. install sde and permroot by dogmaphobia (read this)
  2. boot rooted android
  3. copy content of zip file to internal storage ( e.g. /mnt/storage/dvb )
  4. run terminal
    Code:
    # su
    # sh
    # cd /mnt/storage/dvb
    # sh setup
    # sh loadmod mod/<KERNEL_MODULE>.ko
    
    plug in dvb-t usb stick
    
    # w_scan -ft -c<COUNTRY_CODE> -X > channels.conf
    # tzap -c channels.conf -rSp "<CHANNEL_NAME>" &
    # cat /dev/dvb/adapter0/dvr0 > test.ts
    
    cancel with ctrl+c after some seconds or minutes
    
    # killall tzap
    [# sh rmmods] (optional)
    # exit
  5. now you should have some recording of your selected channel under /mnt/storage/dvb
  6. copy it to your computer and watch it with VLC or some other video player

Don't forget to report your issues or success here! Thanks in advance!
 
Last edited:

Top Liked Posts