Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,583 Members 37,351 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
chrulri
Old
#11  
chrulri's Avatar
Senior Member - OP
Thanks Meter 275
Posts: 896
Join Date: 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
 
chrulri
Old
#12  
chrulri's Avatar
Senior Member - OP
Thanks Meter 275
Posts: 896
Join Date: 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!
 
chrulri
Old
(Last edited by chrulri; 27th December 2010 at 04:23 AM.)
#13  
chrulri's Avatar
Senior Member - OP
Thanks Meter 275
Posts: 896
Join Date: 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--
 
schaze
Old
#14  
Senior Member
Thanks Meter 4
Posts: 140
Join Date: Jan 2009
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: [ Click to Expand ]
 
bkortleven
Old
#15  
Member
Thanks Meter 0
Posts: 51
Join Date: Apr 2006
Location: Antwerpen
Volunteering too.
Archos 101, latest froyo updates, pctv usb 73e which works on recent linux kernel

Would looooove to see this working. Thanks
www.bramkortleven.be

Main device: HTC One S (Stock Rom)
Network: Base (Belgium)
Tablet device: HTC Flyer Wifi (Stock Rom - bricked)

Old devices: T-Mobile USA G1 (Stock Rom) - HTC Trinity (udK 6.1 Lizard)

Linux Test device: Universal (2.07.01 RAN)
Linux ver: OPIE-II dd 20 jan 2008
 
chrulri
Old
#16  
chrulri's Avatar
Senior Member - OP
Thanks Meter 275
Posts: 896
Join Date: 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.
 
chrulri
Old
#17  
chrulri's Avatar
Senior Member - OP
Thanks Meter 275
Posts: 896
Join Date: 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: [ Click to Expand ]
 
TjaXanK
Old
#18  
Senior Member
Thanks Meter 34
Posts: 199
Join Date: Mar 2010
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
Old
#19  
chrulri's Avatar
Senior Member - OP
Thanks Meter 275
Posts: 896
Join Date: Dec 2010

 
DONATE TO ME
Thanks. I don't know, are there any hardware differences between A101IT and A70IT?
 
chrulri
Old
(Last edited by chrulri; 29th December 2010 at 09:08 PM.)
#20  
chrulri's Avatar
Senior Member - OP
Thanks Meter 275
Posts: 896
Join Date: 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!

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

Advanced Search
Display Modes