Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP chrulri

21st December 2010, 10:26 PM   |  #11  
chrulri's Avatar
OP Senior Member
Thanks Meter: 275
 
896 posts
Join Date:Joined: Dec 2010
Donate to Me
got my dvb-t (hauppauge nova-t) stick yesterday, works great with windows AND linux (ubuntu 10.10). looking forward to next steps in a few days.

btw: great solution for (possible) perm root: http://forum.xda-developers.com/showthread.php?t=880321
22nd December 2010, 01:54 AM   |  #12  
chrulri's Avatar
OP Senior Member
Thanks Meter: 275
 
896 posts
Join Date:Joined: Dec 2010
Donate to Me
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!
22nd December 2010, 03:55 AM   |  #13  
chrulri's Avatar
OP Senior Member
Thanks Meter: 275
 
896 posts
Join Date:Joined: Dec 2010
Donate to Me
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://forum.xda-developers.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 by chrulri; 27th December 2010 at 05:23 AM.
24th December 2010, 07:47 AM   |  #14  
Senior Member
Thanks Meter: 4
 
140 posts
Join Date:Joined: Jan 2009
More
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
The Following User Says Thank You to schaze For This Useful Post: [ View ]
26th December 2010, 11:20 PM   |  #15  
Member
Flag Antwerpen
Thanks Meter: 0
 
52 posts
Join Date:Joined: Apr 2006
More
Volunteering too.
Archos 101, latest froyo updates, pctv usb 73e which works on recent linux kernel

Would looooove to see this working. Thanks
27th December 2010, 02:37 AM   |  #16  
chrulri's Avatar
OP Senior Member
Thanks Meter: 275
 
896 posts
Join Date:Joined: Dec 2010
Donate to Me
@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.
27th December 2010, 05:20 AM   |  #17  
chrulri's Avatar
OP Senior Member
Thanks Meter: 275
 
896 posts
Join Date:Joined: Dec 2010
Donate to Me
omg.. I start loving sleepless nights

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
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
The Following User Says Thank You to chrulri For This Useful Post: [ View ]
28th December 2010, 09:57 PM   |  #18  
Senior Member
Thanks Meter: 34
 
199 posts
Join Date:Joined: Mar 2010
More
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)
28th December 2010, 10:51 PM   |  #19  
chrulri's Avatar
OP Senior Member
Thanks Meter: 275
 
896 posts
Join Date:Joined: Dec 2010
Donate to Me
Thanks. I don't know, are there any hardware differences between A101IT and A70IT?
29th December 2010, 08:33 AM   |  #20  
chrulri's Avatar
OP Senior Member
Thanks Meter: 275
 
896 posts
Join Date:Joined: Dec 2010
Donate to Me
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 by chrulri; 29th December 2010 at 10:08 PM.

Post Reply Subscribe to Thread

Tags
android, archos, dvb, live tv
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes