Hauppauge WinTV Nova usb stick (Digital TV) (Linpus Linux)

Discussion in 'Linux' started by sideways, Aug 24, 2008.

  1. sideways

    Joans

    Joined:
    Aug 24, 2008
    Messages:
    22
    Likes Received:
    0

    My problem was that /lib/modules/2.6.23.9lw/build wasn't pointing anywhere. After a bit of googling I linked it to /usr/src/linux-2.6.23.9lw and the v4l modules are compiling ok now. I can't believe I've spent so much time trying to install a tv card.

    Edit - I think it's actually going to work!
    I'm getting (a very low) signal - no channels yet though.

    Edit again - I've got channels!
    I followed the instructions in sideways post on page 3 - here
    Thanks sideways, now I can finally go and do something more productive.

    Just to confirm, I don't have a screen full of lines, I still have sound and suspend still works.
     
    Joans, Aug 30, 2008
    #41
  2. sideways

    sideways

    Joined:
    Aug 21, 2008
    Messages:
    172
    Likes Received:
    0
    yeah, my mistake, /lib/modules/2.6.23.9lw/build is a symbolic link to /usr/src/linux-2.6.23.9 which doesn't exist (acer sloppiness there) it should link to /usr/src/linux-2.6.23.9lw. I'd forgotten that I corrected this symlink earlier. Luckily you discovered this yourself :)

    Now you just need to get better reception ....
     
    sideways, Aug 30, 2008
    #42
  3. sideways

    franzois

    Joined:
    Aug 4, 2008
    Messages:
    16
    Likes Received:
    0
    Hi guys

    I've tried to understand the processus and the mistake, but in final, I don't know what to do now. I've done the procedure of Joans ( Sat Aug 30, 2008 5:05 pm) and like him, no channels detection.
    Is it the update module of Joans which is wrong ? I have to delete it ?
    Joans, before you go to something more productive, an ultimate advice for a newbie :| !

    franzois
     
    franzois, Aug 30, 2008
    #43
  4. sideways

    Joans

    Joined:
    Aug 24, 2008
    Messages:
    22
    Likes Received:
    0
    Ok, here's what I did, by this point I've already installed the modules I posted earlier, so there's no need to delete them, they should be overwritten during this process.

    Basically, I just followed sideways post from page 3, but I'll put it all together here and hope it makes it a bit easier (hopefully I can remember what I did)

    Install minimal development packages: (this is all one line, with a space between patch and ncurses-devel)
    Code:
    sudo yum install binutils gcc glibc-devel glibc-headers kernel-headers libgomp make patch ncurses-devel
    Download the kernel source from here:
    http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.9.tar.bz2

    Prepare the kernel source tree:
    Code:
    cd /usr/src
    sudo tar xvf /home/user/Downloads/linux-2.6.23.9.tar.bz2
    sudo mv linux-2.6.23.9 linux-2.6.23.9lw
    cd linux-2.6.23.9lw
    Copy the current kernel config file: EDIT - I am really stupid and forgot the sudo make
    Code:
    sudo cp /boot/config_080627 .config
    sudo make oldconfig
    sudo make
    download the v4l-dvb sourcecode from http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.bz2
    (that link wasn't working for me, so I grabbed the gz file from http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.gz

    Open a new terminal here

    If you download the gz file, you'll need to replace this first line with tar xvf Downloads /v4l*.gz
    Code:
    tar xvf Downloads/v4l*.bz2
    cd v4l*
    
    Before I could run the make all I needed to correct the symlink
    Code:
    sudo rm -rf /lib/modules/2.6.23.9lw/build
    sudo ln -s /usr/src/linux-2.6.23.9lw /lib/modules/2.6.23.9lw/build
    Now compile and install the v4l-dvb modules
    Code:
    make all
    sudo make install
    I'm pretty sure that's what I did and then got kaffeine to rescan for channels.
     
    Joans, Aug 30, 2008
    #44
  5. sideways

    franzois

    Joined:
    Aug 4, 2008
    Messages:
    16
    Likes Received:
    0
    I've tried, but too many errors :
    Some I' ve found to pass :
    - sudo ln -s /usr/src/linux-2.6.23.9lw /libs/modules/2.6.23.9lw/build --> it's lib and not libs
    - some command must be done in the good folder (with a new terminal)

    The ultimate 'make all' say errors with a config file and other things, I don't understand, too complicate for me. I think I have to reinstall all the system, sure I've done bad things.

    May be a request again : a link to the v4l compiled for the ID : 2040-7070, to avoid the procedure I can't finalize with too many errors.

    I thinkn the road is hard to understand linux
    fran
     
    franzois, Aug 31, 2008
    #45
  6. sideways

    Joans

    Joined:
    Aug 24, 2008
    Messages:
    22
    Likes Received:
    0
    Morning Franzois.

    Sorry for the quality of my guide, I've been back and corrected a few things, but if you made it to the make all stage then it looks like you managed to sort them out anyway.

    What config errors do you get when trying to make all?

    I'll post the compiled modules in a few minutes anyway, hopefully they will work for you.

    Edit - ok try these. Fingers crossed.

    Edit again - don't know why this didn't happen yesterday, but the firmware now needs to be called dvb-usb-dib0700-1.10.fw

    Just type this if you already have the firmware with the wrong name
    Code:
    sudo mv /lib/firmware/dvb-usb-dib0700-01.fw /lib/firmware/dvb-usb-dib0700-1.10.fw
    Another edit - looks like suspend doesn't work properly if you've got the stick in?
    So far I've tried suspend without the stick - ok, suspend while watching tv (kaffeine 0.8.6) - black screen, power light stays green, suspend without the stick after watching tv - ok, suspend with the stick in, but not running kaffeine - suspends ok, but didn't want to come back on?


    Download removed - doesn't look like anyone can get these working, you should be able to follow the instructions later on and compile your own.
     
    Joans, Aug 31, 2008
    #46
  7. sideways

    Xelor

    Joined:
    Aug 31, 2008
    Messages:
    4
    Likes Received:
    0
    Joans,

    I did follow your work and tried it on my AA1 without success. With the your "dvb.tar.gz2" my Nova-T is not loaded -> I don't have the stick when I make "dmesg".

    With the "old" "dvb.tar.gz2" you posted on page 3 the stick is loaded and I can see everything right when I make "dmesg" -> but I have the same problem like others, that Kaffeine does not find any channel.

    I also have renamed the frimware without having success.

    Any idea? What is the difference on the both "dvb.tar.gz2" files you have uploded?

    Thanks for help.

    By the way I do have a ID:2040-7070 stick.

    Xelor
     
    Xelor, Aug 31, 2008
    #47
  8. sideways

    Joans

    Joined:
    Aug 24, 2008
    Messages:
    22
    Likes Received:
    0
    Xelor,

    I'm not the best person to help you as I don't have much linux experience myself, but I'll see what I can do.

    The dvb.tar.gz2 file I posted on page 3 contained the dvb modules from the 2.6.23.9 kernel, edited to support this model of stick, but as you noticed, while dmesg suggests the stick is installed properly, kaffeine doesn't find any channels.

    The file I posted above contains the compiled v4l-dvb modules which I currently have running and should work.
    I haven't tried restoring my machine and then copying over the modules, so maybe there's some other files missing. I'm not familiar with linux, so I don't know what I should be looking for.

    Your best bet is to follow this post from further up the page.

    If you have any problems then post back what stage you were at and what error you get and hopefully I'll be able to help you out.
     
    Joans, Aug 31, 2008
    #48
  9. sideways

    Xelor

    Joined:
    Aug 31, 2008
    Messages:
    4
    Likes Received:
    0
    Joans,

    thank you for your help.

    I did also try the steps for the post you are referring.

    My problems with your steps are starting at compling:


    "Now compile and install the v4l-dvb modules

    Code: Select all
    make all
    sudo make install"

    I got error messages:
    after "make all" I got following:

    "
    make -C /mnt/home/v4l-dvb-6032ecd6ad7e/v4l all
    make[1]: Entering directory `/mnt/home/v4l-dvb-6032ecd6ad7e/v4l'
    creating symbolic links...
    Kernel build directory is /lib/modules/2.6.23.9lw/build
    make -C /lib/modules/2.6.23.9lw/build SUBDIRS=/mnt/home/v4l-dvb-6032ecd6ad7e/v4l modules
    make[2]: Entering directory `/usr/src/linux-2.6.23.9lw'

    WARNING: Symbol version dump /usr/src/linux-2.6.23.9lw/Module.symvers
    is missing; modules will have no dependencies and modversions.

    Building modules, stage 2.
    MODPOST 0 modules
    /bin/sh: scripts/mod/modpost: No such file or directory
    make[3]: *** [__modpost] Error 127
    make[2]: *** [modules] Error 2
    make[2]: Leaving directory `/usr/src/linux-2.6.23.9lw'
    make[1]: *** [default] Fehler 2
    make[1]: Leaving directory `/mnt/home/v4l-dvb-6032ecd6ad7e/v4l'
    make: *** [all] Fehler 2
    "

    Here is something missing I think.

    and after the command "sudo make install" I got following:

    "
    make -C /mnt/home/v4l-dvb-6032ecd6ad7e/v4l install
    make[1]: Entering directory `/mnt/home/v4l-dvb-6032ecd6ad7e/v4l'
    Stripping debug info from files
    Usage: strip <option(s)> in-file(s)
    Removes symbols and sections from files
    The options are:
    -I --input-target=<bfdname> Assume input file is in format <bfdname>
    -O --output-target=<bfdname> Create an output file in format <bfdname>
    -F --target=<bfdname> Set both input and output format to <bfdname>
    -p --preserve-dates Copy modified/access timestamps to the output
    -R --remove-section=<name> Remove section <name> from the output
    -s --strip-all Remove all symbol and relocation information
    -g -S -d --strip-debug Remove all debugging symbols & sections
    --strip-unneeded Remove all symbols not needed by relocations
    --only-keep-debug Strip everything but the debug information
    -N --strip-symbol=<name> Do not copy symbol <name>
    -K --keep-symbol=<name> Do not strip symbol <name>
    --keep-file-symbols Do not strip file symbol(s)
    -w --wildcard Permit wildcard in symbol comparison
    -x --discard-all Remove all non-global symbols
    -X --discard-locals Remove any compiler-generated symbols
    -v --verbose List all object files modified
    -V --version Display this program's version number
    -h --help Display this output
    --info List object formats & architectures supported
    -o <file> Place stripped output into <file>
    strip: supported targets: elf32-i386 a.out-i386-linux efi-app-ia32 elf32-little elf32-big srec symbolsrec tekhex binary ihex trad-core
    make[1]: *** [media-install] Fehler 1
    make[1]: Leaving directory `/mnt/home/v4l-dvb-6032ecd6ad7e/v4l'
    make: *** [install] Fehler 2
    "

    What to do next?

    Xelor
     
    Xelor, Aug 31, 2008
    #49
  10. sideways

    Joans

    Joined:
    Aug 24, 2008
    Messages:
    22
    Likes Received:
    0
    We'll take it one step at a time, but I'm going to hope that someone else can help you as I'm not sure of the solution to this.
    From what I can gather, Module.symvers isn't part of the kernel that you've downloaded, so I guess it should have been created as part of the make oldconfig?

    If you type this what do you get?
    Code:
    cd /
    sudo find | grep Module.symvers
    Sorry, but I don't really know how to fix this, and I don't want to suggest anything that might break your install.
     
    Joans, Aug 31, 2008
    #50
  11. sideways

    Xelor

    Joined:
    Aug 31, 2008
    Messages:
    4
    Likes Received:
    0
    Joans,

    I downloaded the kernel from your link - I have done it twice (deleted the old one and downloaded new).

    When I put in the command you have posted I get nothing back.

    It seems, that some files are missing in my kernel.

    At the new try I got the errormessage at make all:

    ERROR: Kernel configuration is invalid.
    include/linux/autoconf.h or include/config/auto.conf are missing.
    Run 'make oldconfig && make prepare' on kernel src to fix it.


    WARNING: Symbol version dump /usr/src/linux-2.6.23.9lw/Module.symvers
    is missing; modules will have no dependencies and modversions.

    Xelor
     
    Xelor, Aug 31, 2008
    #51
  12. sideways

    Joans

    Joined:
    Aug 24, 2008
    Messages:
    22
    Likes Received:
    0
    Xelor (and probably franzois),

    I'm so sorry, I missed a line out in my post.
    I had followed sideways post on page 3, and just put it all together in one convenient place, but I missed out a sudo make command after the sudo make oldconfig.

    I've edited my post on page 5 now, hopefully this will stop you getting errors when you do make all.
     
    Joans, Aug 31, 2008
    #52
  13. sideways

    Xelor

    Joined:
    Aug 31, 2008
    Messages:
    4
    Likes Received:
    0
    Joans,

    that`s it. It is working now!

    Thank you very much!

    Xelor
     
    Xelor, Aug 31, 2008
    #53
  14. sideways

    Joans

    Joined:
    Aug 24, 2008
    Messages:
    22
    Likes Received:
    0
    Hurrah!

    Although it's sideways you should be thanking, I just took his guide for compiling the v4l-dvb modules and put it into one post (wrongly).
     
    Joans, Aug 31, 2008
    #54
  15. sideways

    franzois

    Joined:
    Aug 4, 2008
    Messages:
    16
    Likes Received:
    0
    oh oh ! I'm in late to the party ! Hope to enter...

    Joans, using your last attachment ( dvb.tar.bz2 (68.78 KiB) Downloaded 12 times) it still doing an error :
    dvb_usb_dib0700: Unknown symbol dib0070_wbd_offset
    wlan: mac acl policy registered


    So, now, I 'll try the rectified method to compil dvb on my PC.

    :| :|

    see you soon
     
    franzois, Sep 1, 2008
    #55
  16. sideways

    franzois

    Joined:
    Aug 4, 2008
    Messages:
    16
    Likes Received:
    0
    That's work ! all these manipulations...

    There is somtething to clear now, to gain space on SSD ?


    many thanks to Sideways to initiate the tread and Joans for the adaptation.
     
    franzois, Sep 3, 2008
    #56
  17. sideways

    Joans

    Joined:
    Aug 24, 2008
    Messages:
    22
    Likes Received:
    0
    Hi franzois,

    You should be able to delete /usr/src/linux-2.6.23.9lw and any of the files you downloaded during the process. That should clear you about 350mb of space.
     
    Joans, Sep 5, 2008
    #57
  18. sideways

    Normal

    Joined:
    Sep 1, 2008
    Messages:
    5
    Likes Received:
    0
    I've tried with joans dvb.tar.bz2 and the kaffeine wizard doesn't find any DVB-Devices

    dmesg comes out with:
    dib0700: loaded with support for 2 different device-types
    dvb-usb: found a 'Hauppauge Nova-T Stick' in cold state, will try to load a firmware
    dvb-usb: downloading firmware from file 'dvb-usb-dib0700-01.fw'
    usbcore: registered new interface driver dvb_usb_dib0700

    And:

    [user@localhost ~]$ lsmod | grep dvb
    dvb_usb_dib0700 7944 0
    dib7000m 10308 1 dvb_usb_dib0700
    dib7000p 9156 1 dvb_usb_dib0700
    dvb_usb 11916 1 dvb_usb_dib0700
    dvb_core 47464 1 dvb_usb
    dib3000mc 7492 1 dvb_usb_dib0700
    mt2060 2948 1 dvb_usb_dib0700

    Is this correct or am I missing something somewhere?

    edit: I should have used this firmware for the nova t here: http://ge.ubuntuforums.com/showthread.p ... c&t=533528
     
    Normal, Sep 13, 2008
    #58
  19. sideways

    fw1962

    Joined:
    Aug 3, 2008
    Messages:
    37
    Likes Received:
    0
    Thanks :)
     
    fw1962, Sep 14, 2008
    #59
  20. sideways

    m4r35n357

    Joined:
    Jun 25, 2008
    Messages:
    9
    Likes Received:
    0
    Hmm, I've just bought one of the 2040:7070 models, and am still getting:

    Code:
    usb 1-2: new high speed USB device using ehci_hcd and address 4
    usb 1-2: configuration #1 chosen from 1 choice
    dvb-usb: found a 'Hauppauge Nova-T Stick' in cold state, will try to load a firmware
    dvb-usb: downloading firmware from file 'dvb-usb-dib0700-01.fw'
    dib0700: firmware started successfully.
    dvb-usb: found a 'Hauppauge Nova-T Stick' in warm state.
    dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
    DVB: registering new adapter (Hauppauge Nova-T Stick)
    DVB: registering frontend 0 (DiBcom 7000PC)...
    mt2060 I2C read failed
    dvb-usb: Hauppauge Nova-T Stick successfully initialized and connected.
    
    with the joans drivers from page 4 and three different firmwares. After reading this thread several times, I thought this issue was solved, but it would seem not . . . here are the firmware files I am using:

    Code:
    -rw-r--r-- 1 root root 33277 2008-10-04 16:09 dvb-usb-dib0700-01.fw
    -rw-r--r-- 1 root root 33277 2008-10-04 12:41 dvb-usb-dib0700-03-pre1.fw
    -rw-r--r-- 1 root root 34306 2008-10-04 12:21 dvb-usb-dib0700-1.10.fw
    -rw-r--r-- 1 root root 33768 2008-10-04 12:22 dvb-usb-dib0700-1.20.fw
    So basically I seem to have no tuner - any comments/ideas?
     
    m4r35n357, Oct 4, 2008
    #60
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.