Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Howto: Working Nebula Digitv USB DVB-T receiver in Ubuntu 6.06 LTS

  1. #1
    Join Date
    Apr 2006
    Beans
    Hidden!

    Lightbulb Howto: Working Nebula Digitv USB DVB-T receiver in Ubuntu 6.06 LTS

    This howto describes how you can get your Nebula uDigiTV USB working with Ubuntu 6.06 LTS. It is an updated version of the howto that I posted in the Dapper Drake development forums. The instructions below have been tested and confirmed working on Ubuntu 6.06 LTS on 17th June 2006 using the latest 2.6.15-25-686 kernel.

    Problem
    The new Ubuntu 2.6.15 kernel ships with support for the Nebula usb device. However, it does not come with a Nebula firmware so you can't get a Nebula that's in cold-state (no firmware loaded) working. After installing the firmware, the Nebula Digitv module will still crash . Even when you connect a Nebula with a firmware already loaded (it is in warm-state), the Ubuntu shipped driver does not attach a frontend to it, making the device pretty useless :

    Code:
    dvb-usb: found a 'Nebula Electronics uDigiTV DVB-T USB2.0)' in warm state.
    	dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
    	DVB: registering new adapter (Nebula Electronics uDigiTV DVB-T USB2.0)).
    	dvb-usb: no frontend was attached by 'Nebula Electronics uDigiTV DVB-T USB2.0)'
    	input: IR-receiver inside an USB DVB receiver as /class/input/input5
    	dvb-usb: schedule remote query interval to 1000 msecs.
    	dvb-usb: Nebula Electronics uDigiTV DVB-T USB2.0) successfully initialized and connected.
    	usbcore: registered new driver dvb_usb_digitv
    So how do we solve this problem without much effort? Well, continue reading below as I've managed to get my Nebula uDigiTV USB working perfectly on Ubuntu 6.06 LTS! The only thing it involves is recompiling the Nebula's kernel modules using the latest Video4Linux/DVB-T source.

    Resolution

    All commands below are assumed to be executed in a terminal from your home directory (unless otherwise stated).

    First, download the latest Nebula firmware for Linux. This is from Patrick Boettcher, the guy who was kind enough to write most of the Nebula's Linux drivers last year.
    Code:
    wget http://www.wi-bw.tfh-wildau.de/~pboettch/home/linux-dvb-firmware/dvb-usb-digitv-02.fw
    Copy the firmware to your kernel's firmware directory:
    Code:
    sudo cp dvb-usb-digitv-02.fw /lib/firmware/$(uname -r)/
    Install the Ubuntu build essentials (as we need to compile updated Nebula modules):
    Code:
    sudo apt-get install build-essential
    Install the kernel headers for your kernel:
    Code:
    sudo apt-get install linux-headers-$(uname -r)
    Install Mercurial (a version control tool to download the latest Video4Linux/DVB source):
    Code:
    sudo apt-get install mercurial
    Still in your home directory download the Video4Linux/DVB-T source:
    Code:
    hg clone http://linuxtv.org/hg/v4l-dvb
    Now go into the downloaded directory:
    Code:
    cd v4l-dvb
    And configure how the v4l-dvb source compiles:
    Code:
    make config
    Note: if it comes up with errors on 'make config', you most likely need to install some additional bits and pieces to get the kernel to compile. Have a look at the output of 'make config' to see what's missing.

    The 'make config' will ask you how to configure the Video4Linux/DVB-T source. Answer as follows:

    Code:
    #
    # using defaults found in .config
    #
    *
    * Linux Kernel Configuration
    *
    Enable drivers not supported by this kernel (VIDEO_KERNEL_VERSION) [N/y/?] (NEW)  n
    *
    * Multimedia devices
    *
    Video For Linux (VIDEO_DEV) [N/m/y/?] n
    *
    * Digital Video Broadcasting Devices
    *
    DVB For Linux (DVB) [Y/n/?] y
      DVB Core Support (DVB_CORE) [N/m/y/?] m
        *
        * Supported SAA7146 based PCI Adapters
        *
        *
        * Supported USB Adapters
        *
        Support for various USB DVB devices (DVB_USB) [N/m/?] (NEW) m
          Enable extended debug support for all DVB-USB devices (DVB_USB_DEBUG) [N/y/?] (NEW) n
          AVerMedia AverTV DVB-T USB 2.0 (A800) (DVB_USB_A800) [N/m/?] (NEW) n
          DiBcom USB DVB-T devices (based on the DiB3000M-B) (see help for device list) (DVB_USB_DIBUSB_MB) [N/m/?] (NEW) n
          DiBcom USB DVB-T devices (based on the DiB3000M-C/P) (see help for device list) (DVB_USB_DIBUSB_MC) [N/m/?] (NEW) n
          HanfTek UMT-010 DVB-T USB2.0 support (DVB_USB_UMT_010) [N/m/?] (NEW) n
          Conexant USB2.0 hybrid reference design support (DVB_USB_CXUSB) [N/m/?] (NEW) n
          Nebula Electronics uDigiTV DVB-T USB2.0 support (DVB_USB_DIGITV) [N/m/?] (NEW) m
          TwinhanDTV Alpha/MagicBoxII, DNTV tinyUSB2, Beetle USB2.0 support (DVB_USB_VP7045) [N/m/?] (NEW) n
          TwinhanDTV StarBox and clones DVB-S USB2.0 support (DVB_USB_VP702X) [N/m/?] (NEW) n
          GENPIX 8PSK->USB module support (DVB_USB_GP8PSK) [N/m/?] (NEW) n
          Hauppauge WinTV-NOVA-T usb2 DVB-T USB2.0 support (DVB_USB_NOVA_T_USB2) [N/m/?] (NEW) n
          WideView WT-200U and WT-220U (pen) DVB-T USB2.0 support (Yakumo/Hama/Typhoon/Yuan) (DVB_USB_DTT200U) [N/m/?] (NEW) n
        Technotrend/Hauppauge Nova-USB devices (DVB_TTUSB_BUDGET) [N/m/?] (NEW) n
        Technotrend/Hauppauge USB DEC devices (DVB_TTUSB_DEC) [N/m/?] (NEW) n
        Terratec CinergyT2/qanu USB2 DVB-T receiver (DVB_CINERGYT2) [N/m/?] (NEW) n
        *
        * Supported FlexCopII (B2C2) Adapters
        *
        Technisat/B2C2 FlexCopII(b) and FlexCopIII adapters (DVB_B2C2_FLEXCOP) [N/m/?] (NEW) n
        *
        * Supported BT878 Adapters
        *
        *
        * Supported Pluto2 Adapters
        *
        Pluto2 cards (DVB_PLUTO2) [N/m/?] (NEW) n
        *
        * Supported DVB Frontends
        *
        *
        * Customise DVB Frontends
        *
        *
        * DVB-S (satellite) frontends
        *
        ST STV0299 based (DVB_STV0299) [N/m/?] (NEW) n
        Conexant CX24110 based (DVB_CX24110) [N/m/?] (NEW) n
        Conexant CX24123 based (DVB_CX24123) [N/m/?] (NEW) n
        Philips TDA8083 based (DVB_TDA8083) [N/m/?] (NEW) n
        Zarlink VP310/MT312 based (DVB_MT312) [N/m/?] (NEW) n
        VLSI VES1893 or VES1993 based (DVB_VES1X93) [N/m/?] (NEW) n
        Samsung S5H1420 based (DVB_S5H1420) [N/m/?] (NEW) n
        *
        * DVB-T (terrestrial) frontends
        *
        Spase sp8870 based (DVB_SP8870) [N/m/?] (NEW) n
        Spase sp887x based (DVB_SP887X) [N/m/?] (NEW) n
        Conexant CX22700 based (DVB_CX22700) [N/m/?] (NEW) n
        Conexant cx22702 demodulator (OFDM) (DVB_CX22702) [N/m/?] (NEW) n
        LSI L64781 (DVB_L64781) [N/m/?] (NEW) n
        Philips TDA10045H/TDA10046H based (DVB_TDA1004X) [N/m/?] (NEW) n
        NxtWave Communications NXT6000 based (DVB_NXT6000) [M/?] (NEW) m
        Zarlink MT352 based (DVB_MT352) [M/?] (NEW) m
        Zarlink ZL10353 based (DVB_ZL10353) [N/m/?] (NEW) n
        DiBcom 3000M-B (DVB_DIB3000MB) [N/m/?] (NEW) n
        DiBcom 3000P/M-C (DVB_DIB3000MC) [N/m/?] (NEW) n
        *
        * DVB-C (cable) frontends
        *
        VLSI VES1820 based (DVB_VES1820) [N/m/?] (NEW) n
        Philips TDA10021 based (DVB_TDA10021) [N/m/?] (NEW) n
        ST STV0297 based (DVB_STV0297) [N/m/?] (NEW) n
        *
        * ATSC (North American/Korean Terrestrial/Cable DTV) frontends
        *
        NxtWave Communications NXT2002/NXT2004 based (DVB_NXT200X) [N/m/?] (NEW) n
        Oren OR51211 based (DVB_OR51211) [N/m/?] (NEW) n
        Oren OR51132 based (DVB_OR51132) [N/m/?] (NEW) n
        Broadcom BCM3510 (DVB_BCM3510) [N/m/?] (NEW) n
        LG Electronics LGDT3302/LGDT3303 based (DVB_LGDT330X) [N/m/?] (NEW) n
        *
        * Miscellaneous devices
        *
        LNBP21 SEC controller (DVB_LNBP21) [N/m/?] (NEW) n
        ISL6421 SEC controller (DVB_ISL6421) [N/m/?] (NEW) n
    DABUSB driver (USB_DABUSB) [N/m/?] n
    Now type the following to start the build process:
    Code:
    make
    When completed install the modules with the following command:
    Code:
    sudo make install
    Reboot your machine and plug-in your Nebula USB device. If you do a 'dmesg' in a terminal it should come up with something like:

    Code:
    	dvb-usb: found a 'Nebula Electronics uDigiTV DVB-T USB2.0)' in cold state, will try to load a firmware
    	dvb-usb: downloading firmware from file 'dvb-usb-digitv-02.fw'
    	usb 4-3.1: USB disconnect, address 6
    	dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
    	usb 4-3.1: new high speed USB device using ehci_hcd and address 7
    	usb 4-3.1: string descriptor 0 read error: -22
    	usb 4-3.1: string descriptor 0 read error: -22
    	dvb-usb: found a 'Nebula Electronics uDigiTV DVB-T USB2.0)' in warm state.
    	dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
    	DVB: registering new adapter (Nebula Electronics uDigiTV DVB-T USB2.0)).
    	DVB: registering frontend 0 (Zarlink MT352 DVB-T)...
    	input: IR-receiver inside an USB DVB receiver as /class/input/input6
    	dvb-usb: schedule remote query interval to 1000 msecs.
    	dvb-usb: Nebula Electronics uDigiTV DVB-T USB2.0) successfully initialized and connected.
    As you can see it now has a frontend attached and you're ready to start using your Nebula uDigiTV USB ! If your driver still does not register the frontend, try unplugging the Nebula for more than half a minute to get it into a cold state, then plug it back in again.

    Note: First see if you can get your Nebula working with the latest version of the Video4Linux/DVB-T source. If this does not work (new changesets might have broken Nebula support), you can try reverting to the version I used to write this howto by executing the following command in your v4l-dvb directory before 'make config':

    Code:
    hg revert -r 4103
    This will revert the repository to changeset 4103 that I used when writing this howto.

  2. #2
    Join Date
    Oct 2005
    Beans
    13

    Re: Howto: Working Nebula Digitv USB DVB-T receiver in Ubuntu 6.06 LTS

    When I try to obtain the firmware, i get:

    barny@barny-desktop:~$ wget http://www.wi-bw.tfh-wildau.de/~pboe...b-digitv-02.fw
    --10:02:35-- http://www.wi-bw.tfh-wildau.de/~pboe...b-digitv-02.fw
    => `dvb-usb-digitv-02.fw'
    Resolving www.wi-bw.tfh-wildau.de... 194.95.44.33
    Connecting to www.wi-bw.tfh-wildau.de|194.95.44.33|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    10:02:41 ERROR 404: Not Found.

    Has he moved or perhaps the server is just down?

    When I try the make, i get:

    barny@barny-desktop:~/v4l-dvb$ make
    make -C /home/barny/v4l-dvb/v4l
    make[1]: Entering directory `/home/barny/v4l-dvb/v4l'
    scripts/make_makefile.pl /lib/modules/2.6.15-26-386/build
    ./scripts/make_myconfig.pl
    make[1]: Leaving directory `/home/barny/v4l-dvb/v4l'
    make[1]: Entering directory `/home/barny/v4l-dvb/v4l'
    scripts/make_makefile.pl /lib/modules/2.6.15-26-386/build
    creating symbolic links...
    echo srcdir
    srcdir
    make -C /lib/modules/2.6.15-26-386/build SUBDIRS=/home/barny/v4l-dvb/v4l modules
    make[2]: Entering directory `/usr/src/linux-headers-2.6.15-26-386'
    CC [M] /home/barny/v4l-dvb/v4l/tvmixer.o
    /home/barny/v4l-dvb/v4l/tvmixer.c: In function 'tvmixer_ioctl':
    /home/barny/v4l-dvb/v4l/tvmixer.c:90: error: storage size of 'va' isn't known
    /home/barny/v4l-dvb/v4l/tvmixer.c:126: error: 'VIDIOCGAUDIO' undeclared (first use in this function)
    /home/barny/v4l-dvb/v4l/tvmixer.c:126: error: (Each undeclared identifier is reported only once
    /home/barny/v4l-dvb/v4l/tvmixer.c:126: error: for each function it appears in.)
    /home/barny/v4l-dvb/v4l/tvmixer.c:141: error: 'VIDEO_AUDIO_BASS' undeclared (first use in this function)
    /home/barny/v4l-dvb/v4l/tvmixer.c:143: error: 'VIDEO_AUDIO_TREBLE' undeclared (first use in this function)
    /home/barny/v4l-dvb/v4l/tvmixer.c:154: error: 'VIDEO_AUDIO_MUTE' undeclared (first use in this function)
    /home/barny/v4l-dvb/v4l/tvmixer.c:155: error: 'VIDIOCSAUDIO' undeclared (first use in this function)
    /home/barny/v4l-dvb/v4l/tvmixer.c:159: warning: type defaults to 'int' in declaration of '_x'
    /home/barny/v4l-dvb/v4l/tvmixer.c:161: warning: type defaults to 'int' in declaration of '_x'
    /home/barny/v4l-dvb/v4l/tvmixer.c:161: warning: comparison of distinct pointer types lacks a cast
    /home/barny/v4l-dvb/v4l/tvmixer.c:90: warning: unused variable 'va'
    /home/barny/v4l-dvb/v4l/tvmixer.c: In function 'tvmixer_clients':
    /home/barny/v4l-dvb/v4l/tvmixer.c:297: error: storage size of 'va' isn't known
    /home/barny/v4l-dvb/v4l/tvmixer.c:343: error: 'VIDIOCGAUDIO' undeclared (first use in this function)
    /home/barny/v4l-dvb/v4l/tvmixer.c:345: error: 'VIDEO_AUDIO_VOLUME' undeclared (first use in this function)
    /home/barny/v4l-dvb/v4l/tvmixer.c:297: warning: unused variable 'va'
    make[3]: *** [/home/barny/v4l-dvb/v4l/tvmixer.o] Error 1
    make[2]: *** [_module_/home/barny/v4l-dvb/v4l] Error 2
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-26-386'
    make[1]: *** [default] Error 2
    make[1]: Leaving directory `/home/barny/v4l-dvb/v4l'
    make: *** [all] Error 2

    Any ideas? I am assuming this stage is not dependent on the firmware, which as you see i did not get.

    Thanks.

  3. #3
    Join Date
    Oct 2005
    Beans
    13

    Re: Howto: Working Nebula Digitv USB DVB-T receiver in Ubuntu 6.06 LTS

    Can you or anyone explain why no distro ever seems to properly support DVB? There are always lots of bits missing. Wny should we have to recompile the kernel to obtain this support?

    DVB should be available to all user of Linux, not just kernel hackers and IT specialists.

    I dont have to recompile the kernel to run Open Office, so why to watch DVB?

    DVB has been around for years - i fear that by the time Linux gets support for it, it will be replaced by some other technology.

  4. #4
    Join Date
    Oct 2005
    Beans
    13

    Works in Debian Etch with NO INTERVENTION!!

    After trying to follow your instructions with Ubuntu and failing, I rebooted to my Debian Etch installation, which uses a 2.6.16 kernel. Dmesg showed not only the detection of the tuner in a warm state, but attached the drivers and all the other stuff.

    Fired up Synaptic and installed Kaffeine. Kaffeine detected the tuner, so I tried the channel scan. All the channels (in Australia) were detected.

    I am now watching digital TV under Linux for the first time.

    And didnt have to compile anything!

    If only there was a Gnome app instead of having to use KDE.

  5. #5
    Join Date
    Aug 2006
    Location
    London
    Beans
    11
    Distro
    Ubuntu 6.06

    Re: Works in Debian Etch with NO INTERVENTION!!

    I have been watching TV with my Nebula USB for a while now using Kaffine mostly, but also MPlayer.

    I can't get the remote control to work. Does anyone know it is possible, and if so how?

  6. #6
    Join Date
    Oct 2005
    Beans
    13

    Re: Howto: Working Nebula Digitv USB DVB-T receiver in Ubuntu 6.06 LTS

    Can I ask which version of the tuner you have? Is it the early version, the one with a curved front?

    If so, do you know what the name of the firmware file is that you use and where it is put?

    Many thanks,


  7. #7
    Join Date
    Aug 2006
    Location
    London
    Beans
    11
    Distro
    Ubuntu 6.06

    Re: Howto: Working Nebula Digitv USB DVB-T receiver in Ubuntu 6.06 LTS

    Hi,
    Slightly curved front, yes. There's no model number that I can see. Only the name: digiTV USB 2.0.
    I have the firmware under /lib/firmware/2.6.15-26-k7: dvb-usb-digitv-02.fw

    Since posting this I have managed to get the volum control and the direct channel selection (actual channel, not ch+ and -) to work in Kaffeine. Nothing else though.

    In order to delete my XP partition I need the EPG and the rest of the buttons too

    Would be great if that was possible...


    Mons

  8. #8
    Join Date
    Oct 2005
    Beans
    13

    Re: Howto: Working Nebula Digitv USB DVB-T receiver in Ubuntu 6.06 LTS

    Thanks for responding.

    You say "slightly curved" - well maybe that sounds like the newer one. I didnt realise that the front of the new one is also curved - i thought it was straight.

    Can you confirm if yours is the unit being displayed on the home page of the http://www.nebula-electronics.com/ web site? If so its the newer one.

    Also, my version has a plug pack mains power supply, whearas I believe the new version gets its power from the usb port, so there is no external mains supply.

    Thanks

  9. #9
    Join Date
    Aug 2006
    Location
    London
    Beans
    11
    Distro
    Ubuntu 6.06

    Re: Howto: Working Nebula Digitv USB DVB-T receiver in Ubuntu 6.06 LTS

    Hi,
    Yes, it's the one on the picture with no other power supply other then the usb port itself, so yes, don't think there is any newer one yet.

    How does the remote control for digiTV work anyway? I mean, is the configuration hardcoded in the v4l dvb driver or is there a configuration file somewhere?

    Mons
    Last edited by mons; October 5th, 2006 at 02:54 PM.

  10. #10
    Join Date
    Oct 2005
    Beans
    13

    Re: Howto: Working Nebula Digitv USB DVB-T receiver in Ubuntu 6.06 LTS

    Thanks.

    Looks like im the only person in the whole world who bought the first one. You always get shat on by the companies when you buy their prototype units. Three times the price and half as good.

    IT may not be bright yellow in colour but it sure is a lemon.

    Sorry but cant help about the remote. No idea.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •