Author Topic: Usb Dvb-t Stick  (Read 12205 times)

malik

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Usb Dvb-t Stick
« on: March 20, 2006, 05:33:32 am »
hello,

i bought me a dvb-t stick, which runs very well with my linux desktop.
it needs a few kernel modules, see

http://www.linuxtv.org/wiki/index.php/DVB_..._Boxes_and_Pens

has anyone experiences with dvb and a zaurus? is it possible to get it run?

malik
borzoi, cacko 1.23 lite, 1gb kingston cf, 512mb toshiba sd.. suse 10.0

asti

  • Newbie
  • *
  • Posts: 23
    • View Profile
Usb Dvb-t Stick
« Reply #1 on: June 12, 2006, 03:23:44 pm »
Hi Malik,

did you get it run? I´d love to have DVB-T on my Z...  

Greetings

asti
* GPD Pocket 2 / Win10 & Linux Mate 18
* Gemini PDA / Android but waiting for official Sailfish
* Zaurus SL C-1000 / Cacko ROM

malik

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Usb Dvb-t Stick
« Reply #2 on: June 13, 2006, 09:19:33 am »
hello asti,

i would share my progress, but there is no progress, to be more precise:

the device is not recognized properly and looking at the lamp of the stick i guess
it doesn't get enough or no energy from the usb port of the zaurus. this was tested with the stock kernel 2.4.18 and with a 2.6 kernel.

maybe it would help to have the kernel modules described in the above link? maybe there is no chance to get it run, i dont know..

malik
borzoi, cacko 1.23 lite, 1gb kingston cf, 512mb toshiba sd.. suse 10.0

otprof

  • Newbie
  • *
  • Posts: 15
    • View Profile
Usb Dvb-t Stick
« Reply #3 on: June 13, 2006, 10:09:31 am »
Have you tried it in a powered hub?

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Usb Dvb-t Stick
« Reply #4 on: June 13, 2006, 10:26:29 am »
Very cool if it can work....
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Usb Dvb-t Stick
« Reply #5 on: June 13, 2006, 05:53:44 pm »
Quote
Very cool if it can work....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130980\"][{POST_SNAPBACK}][/a][/div]

I expect to get a DVB-T stick tomorrow and will give it a go when I get the chance  

Don't get too exicted tho, the framerates will most likely be unusable.
Webmaster of hentges.net & Embedded Linux Developer.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Usb Dvb-t Stick
« Reply #6 on: June 14, 2006, 11:15:11 am »
Do you have the relevant kernel modules built?

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

malik

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Usb Dvb-t Stick
« Reply #7 on: June 15, 2006, 05:06:43 am »
i am sure that coredump will be the first one to get it run;-) the general questions which arise seem to be:

-external power needed or not?
-availability of kernel modules
-software that supports dvb (kaffeine, mplayer?)
-speed issues

as adf said it would be really cool to get it run.
borzoi, cacko 1.23 lite, 1gb kingston cf, 512mb toshiba sd.. suse 10.0

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Usb Dvb-t Stick
« Reply #8 on: June 15, 2006, 06:06:44 am »
mplayer should do it hamever if i remember corectly you can only do SD on usb 1.1, not really a prob thogh. but if i can watch tv and record it to my Z's HD then i am picking one up tomorrow
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Usb Dvb-t Stick
« Reply #9 on: June 15, 2006, 02:57:10 pm »
Ok here goes:

I've got the modules for my DVB-T stick to build (Artec T1) and install.

However, the Z's USB port doesn't deliver enough power for the device.
The firmware loads but then the device goes dead.

I'll get myself a powered USB hub and see if it helps
Webmaster of hentges.net & Embedded Linux Developer.

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Usb Dvb-t Stick
« Reply #10 on: June 15, 2006, 03:01:18 pm »
Quote
i am sure that coredump will be the first one to get it run;-) the general questions which arise seem to be:

-external power needed or not?
Would depend on your DVB device but it is very likely.

Quote
-availability of kernel modules
As long as they do not contain any x86-only asm magic they can be provided

Quote
-software that supports dvb (kaffeine, mplayer?)

mplayer is alreay available

Quote
-speed issues

That's the main problem....I do not believe the Z is able to handle a DVB stream.

Quote
as adf said it would be really cool to get it run.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131223\"][{POST_SNAPBACK}][/a][/div]
Webmaster of hentges.net & Embedded Linux Developer.

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Usb Dvb-t Stick
« Reply #11 on: June 16, 2006, 04:41:40 am »
what you need to do is get a dvb-t tuner with mpeg2 acceleration, the cards come in two flavors those thot decode the content and those that require the host to do it, the compresion standard is MPEG2 so not that cpu intensive compared to mpeg4

as for the power issues this is becoming a problem for me as well so i am modding a usb cable to take power from my spare battires
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Usb Dvb-t Stick
« Reply #12 on: June 16, 2006, 04:58:54 am »
hmm, if the video is decoded by the stick, you will probably need a lot more bandwidth than what is provided by the usb.
SLC-860 cacko / senao wifi

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Usb Dvb-t Stick
« Reply #13 on: June 17, 2006, 09:00:29 am »
your right  i just checked it out and that seems to be the case, whoever most cards dont include hardware decoding anymore
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Usb Dvb-t Stick
« Reply #14 on: June 18, 2006, 10:15:57 am »
Ok, I got myself an external powered USB hub for the Z.

With this hub the DVB-T device turns on, the modules are loaded and the firmware is installed.

Code: [Select]
dvb-usb: found a 'KWorld/ADSTech Instant DVB-T USB2.0' in warm state.
dvb-usb: will use the device's hardware PID filter (table count: 16).
DVB: registering new adapter (KWorld/ADSTech Instant DVB-T USB2.0).
i2c_adapter i2c-1: SMBus Quick command not supported, can't probe for chips
i2c_adapter i2c-1: SMBus Quick command not supported, can't probe for chips
DVB: registering frontend 0 (DiBcom 3000M-B DVB-T)...
input: IR-receiver inside an USB DVB receiver as /class/input/input4
dvb-usb: schedule remote query interval to 150 msecs.
dvb-usb: KWorld/ADSTech Instant DVB-T USB2.0 successfully initialized and connec
ted.

Note the i2c error messages. No clue what this is all about.
Also please note that while the DVB device is USB 2.0, it works perfectly fine w/ USB 1.1
on my notebook so the USB 1.1 port on the Z should not be a problem.

We are not finished yet, however.

For one thing udev creates the device files in the wrong place (/dev/dvb0.frontend0 etc)
This can be fixed manually for the time beeing though.

Insert the following line into /etc/udev/rules.d/local.rules (taken from Debian SID):

Code: [Select]
KERNEL=="dvb*",      PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${K#*.}", \
NAME="%c"

Hurray, now we got a propperly configured DVB-T stick and the device files are in the right spot.

At this point I noticed that the DVB-T device was disconnecting randomly from USB. I believe is has something to to w/ power consumption...

So I used an Artec T1 which I borrowed from a friend. This one doesn't disconnect and everything looks like it should be. However, scanning doesn't find a single channel, mplayer can tune into a channel but doesn't get any data back  

For the time beeing I'm kinda clueless how to proceed any further.

A port of the dvb-apps can be found here: http://hentges.net/tmp/dvb/dvb-apps-zaurus/
The OE meta-data for it is here: http://hentges.net/tmp/dvb/dvb-apps-zaurus/dvb-apps/

EDIT:
The dvb kernel modules built for 2.6.16 are here: http://hentges.net/tmp/dvb/dvb-apps-zaurus/kernel-modules/
« Last Edit: June 18, 2006, 10:23:40 am by CoreDump »
Webmaster of hentges.net & Embedded Linux Developer.