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

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

  1. sideways

    franzois

    Joined:
    Aug 4, 2008
    Messages:
    16
    Likes Received:
    0
    Joans,
    I have found that I have the same ID : 2040-7070
    Like you, I can't use my WinTV on AspireOne.

    Have you found a solution ? I think I will send back this key to the vendor... sad :?
     
    franzois, Aug 28, 2008
    #21
  2. sideways

    Joans

    Joined:
    Aug 24, 2008
    Messages:
    22
    Likes Received:
    0
    Nothing yet franzois. I'm not very experienced with linux, so I don't know if I'll be able to work it out myself.
    I'll post back here if I find anything though.

    Edit: Ok I think I've found something
    http://www.linuxtv.org/pipermail/linux-dvb/2007-December/022177.html

    I think this involves editing the files before compiling the modules. I've had a go, but I couldn't get it to work. Perhaps someone else could try and post the compiled modules?
     
    Joans, Aug 28, 2008
    #22
  3. sideways

    fuzzi99

    Joined:
    Aug 29, 2008
    Messages:
    2
    Likes Received:
    0
    Hi all,
    I've got exactly the same problems as you with my USB Stick ID : 2040-7070.

    Joans,
    I've took a look at your link and also took a look at the sources of
    http://linuxtv.org/hg/v4l-dvb
    and saw that the described changes are already checked in.

    Isn't it enough to recompile the whole v4l-dvb package and replace the necessary files?

    @sideways:
    how did you get your kernel modules you provide in dvb.tar.bz2?
    did you recompile the whole kernel source or
    do you also compile the v4l-dvb package?
     
    fuzzi99, Aug 29, 2008
    #23
  4. sideways

    sideways

    Joined:
    Aug 21, 2008
    Messages:
    172
    Likes Received:
    0
    I compiled the dvb kernel modules from the kernel source code by following these instructions:

    viewtopic.php?f=39&t=1993

    For v4l-dvb you just need to complete steps 2,3,4 and 5 and then type 'sudo make' (takes about 20 minutes) to get the minimal kernel build tree.

    Now download the v4l-dvb sourcecode http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.bz2, then open a new terminal ('alt+f2, 'terminal') and type this
    Code:
    tar xvf Downloads/v4l*.bz2
    cd v4l*
    make all
    This will compile all the v4l modules, there are loads so it takes quite a while (~10 minutes)

    Now, either try to locate the relevant modules for your adapter or install everything with
    Code:
    sudo make install
    You can also experiment with a custom compile by typing 'make menuconfig'
     
    sideways, Aug 29, 2008
    #24
  5. sideways

    fuzzi99

    Joined:
    Aug 29, 2008
    Messages:
    2
    Likes Received:
    0
    thank you sideways for your answer.

    In between I compiled the kernelmodules I need and patched the sourcefiles as described in http://www.linuxtv.org/pipermail/linux- ... 22177.html .
    unfortunately that didn't work. I think I'll have to use the code from v4l-dvb (I think, the special driver code is missing in the kernel).

    But I've got a second dvb-t usb box. A terratec T2.
    And whille playing around with "make menuconfig" Ive found the drivers for this box - fine.
    Compiled it and copy it to the kernelfolders - and it's up and running.

    Perhaps I will playing with the v4l modules for the hauppauge device. But for the moment it's fine - that doesn't mean I give up :D

    Thanks so far

    greetings
     
    fuzzi99, Aug 29, 2008
    #25
  6. sideways

    Joans

    Joined:
    Aug 24, 2008
    Messages:
    22
    Likes Received:
    0
    Edit: Don't follow this procedure unless you know what you're doing. At the moment it compiles all the modules from the vanilla kernel which will break your sound (everything else seems to be ok). I'll update this post once I've fixed things.

    Further edit: I've now put up a post on page 4 with the compiled dvb modules to save everyone messing around.


    Ok, I have successfully blundered through with the assistance of my brother. Here's how to install it if you have a stick with ID : 2040-7070:

    First things first, I did this on a fresh install, so install these packages if you need to:

    Code:
    sudo yum install make
    sudo yum install gcc
    Then, we shall borrow from sideways first post:
    Next, we shall borrow from the thread linked in sideways post (note that you are doing this all on your AAO rather than a different linux machine as is suggested in that thread)- http://www.aspireoneuser.com/forum/viewtopic.php?f=13&t=608

    Download the vanilla kernel source from here - http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.9.tar.bz2
    and extract it
    Code:
    sudo tar xjvf Downloads/linux-2.6.23.9.tar.bz2 -C /usr/src
    rename the source tree to match the kernel's name on the Aspire (otherwise the modules wont load):
    Code:
    cd /usr/src
    sudo mv linux-2.6.23.9 linux-2.6.23.9lw
    Copy your AAO boot config into this source tree
    Code:
    sudo cp /boot/config_080627 /usr/src/linux-2.6.23.9lw/.config
    Now edit the .config file (don't edit your original source file - the one in /boot)

    Code:
    cd linux-2.6.23.9lw
    sudo mousepad .config
    Find the line:
    Code:
    # CONFIG_DVB_USB is not set
    and change it to
    Code:
    CONFIG_DVB_USB=m
    Download the attached files in this post (they are the edited source files with support for this stick) and extract them to the source tree you downloaded earlier.

    Code:
    sudo tar zxvf Downloads/patched-dvb-usb.tar.gz -C /usr/src/linux-2.6.23.9lw/drivers/media/dvb/dvb-usb
    Now make the kernel and modules

    ****Don't do this - you will apply the downloaded kernel to your machine and it will break your sound - you have been warned****

    Code:
    cd /usr/src/linux-2.6.23.9lw
    sudo make            (Answer y or m to all prompts)
    sudo make modules
    sudo make modules_install
    Now
    Code:
    sudo modprobe -a dvb-usb dvb_core dvb_usb_dib0700
    and insert your stick, check dmesg and the last line should tell you your stick has been successfully initialized and connected.
     
    Joans, Aug 29, 2008
    #26
  7. sideways

    fw1962

    Joined:
    Aug 3, 2008
    Messages:
    37
    Likes Received:
    0
    Merci :)
     
    fw1962, Aug 29, 2008
    #27
  8. sideways

    pumo

    Joined:
    Aug 9, 2008
    Messages:
    16
    Likes Received:
    0
    Joans, do suspend still work after compiling modules ?
     
    pumo, Aug 30, 2008
    #28
  9. sideways

    Joans

    Joined:
    Aug 24, 2008
    Messages:
    22
    Likes Received:
    0
    pumo, yes suspend still works, but I have realised this morning that I have compiled all the modules and not just the dvb ones and appear to have broken my sound.

    I'm just taking another look at it now and will confirm that suspend still works once I've got it back up and running.
     
    Joans, Aug 30, 2008
    #29
  10. sideways

    franzois

    Joined:
    Aug 4, 2008
    Messages:
    16
    Likes Received:
    0
    SO happy to find the procedure !! :D Thank you Joans !


    But at step :
    sudo tar zxvf Downloads/patched-dvb-usb.tar.gz /usr/src/linux-2.6.23.9lw/drivers/media/dvb/dvb-usb
    (after Download the attached files), Terminal say "
    [user@localhost linux-2.6.23.9lw]$ sudo tar zxvf Downloads/patched-dvb-usb.tar.gz /usr/src/linux-2.6.23.9lw/drivers/media/dvb/dvb-usb
    audit_log_user_command(): Connection refused
    tar: Downloads/patched-dvb-usb.tar.gz: Cannot open: No such file or directory "


    Maybe a slash missing after dvb-usb ?

    Hope your advice...
    And how to avoid to compile all the modules ?

    Once again : many thanks for your work !
    a new one on linux system, but still convinced to progress on.
    fran
     
    franzois, Aug 30, 2008
    #30
  11. sideways

    franzois

    Joined:
    Aug 4, 2008
    Messages:
    16
    Likes Received:
    0
    auto answer for the tar : I have forgot the -C in the middle of the line (don't know what for).

    But I wait for the end of the procedure the answer to the question :
    And how to avoid to compile all the modules ?

    read you soon ;)
     
    franzois, Aug 30, 2008
    #31
  12. sideways

    Joans

    Joined:
    Aug 24, 2008
    Messages:
    22
    Likes Received:
    0
    Right, I'm not very good at this Linux stuff and I haven't managed to work out how to only compile the dvb modules, which means that if you follow my guide on the last page you break your sound drivers.

    Rather than wasting any more time, I'm just going to compile the whole kernel, package up the new dvd modules (already compiled) and post them on here. Then everyone should be able to follow sideways guide in the first post to get everything working.

    Ok, here they are. Just follow the guide in the first post, but use the file in this post, rather than the one sideways posted.
    Reboot, plug your stick in and it should work.
     
    Joans, Aug 30, 2008
    #32
  13. sideways

    sideways

    Joined:
    Aug 21, 2008
    Messages:
    172
    Likes Received:
    0
    Great work Joans, I edited the first post to add a link to your updated drivers. Thanks for perservering! :)
     
    sideways, Aug 30, 2008
    #33
  14. sideways

    Joans

    Joined:
    Aug 24, 2008
    Messages:
    22
    Likes Received:
    0
    It might not be over yet.
    I tried scanning for channels in kaffeine, but I keep getting this:

    Code:
    Using DVB device 0:0 "DiBcom 7000PC"
    tuning DVB-T to <some frequency>
    inv:2 bw:0 fecH:2 fecL:9 mod:3 tm:0 gi:0 hier:0
    ........................
    
    Not able to lock to the signal on the given frequency
    Frontend closed
    dvbsi: Cant tune DVB
    After it's been through all the frequencies it hasn't found any channels.

    Do I just not have a good enough signal, or is there another problem?
     
    Joans, Aug 30, 2008
    #34
  15. sideways

    sideways

    Joined:
    Aug 21, 2008
    Messages:
    172
    Likes Received:
    0
    That doesn't look good, have you tried a different aerial or repositioning? If you search for 'v4l-dvb "Not able to lock to the signal on the given frequency"' in google lots of results return and it seems confusing.

    Have you tried compiling and installing all the modules from v4l-dvb latest snapshot?
     
    sideways, Aug 30, 2008
    #35
  16. sideways

    pumo

    Joined:
    Aug 9, 2008
    Messages:
    16
    Likes Received:
    0
    I have exactly same kind of locking problem after I just copied modules which I compile before recoveryng AA1..
    when I copied my compiled /lib/modules/2.6... direcrtory channels did lock and kaffeine shows picture, but after that I lost suspend.
    Now I thing that I put ubuntu again, I now it better than fedora.
     
    pumo, Aug 30, 2008
    #36
  17. sideways

    Joans

    Joined:
    Aug 24, 2008
    Messages:
    22
    Likes Received:
    0
    sideways, I tried compiling the v4l-dvb modules following your post on the last page, but when I got to the make all command, this is what I got back.

    Code:
    [user@localhost v4l-dvb-6032ecd6ad7e]$ make all
    make -C /home/user/v4l-dvb-6032ecd6ad7e/v4l all
    make[1]: Entering directory `/home/user/v4l-dvb-6032ecd6ad7e/v4l'
    No version yet, using 2.6.23.9lw
    make[1]: Leaving directory `/home/user/v4l-dvb-6032ecd6ad7e/v4l'
    make[1]: Entering directory `/home/user/v4l-dvb-6032ecd6ad7e/v4l'
    scripts/make_makefile.pl
    Updating/Creating .config
    Preparing to compile for kernel version 2.6.23
    File not found: /lib/modules/2.6.23.9lw/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
    make[1]: Leaving directory `/home/user/v4l-dvb-6032ecd6ad7e/v4l'
    make[1]: Entering directory `/home/user/v4l-dvb-6032ecd6ad7e/v4l'
    Updating/Creating .config
    Preparing to compile for kernel version 2.6.23
    File not found: /lib/modules/2.6.23.9lw/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
    make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'.  Stop.
    make[1]: Leaving directory `/home/user/v4l-dvb-6032ecd6ad7e/v4l'
    make: *** [all] Error 2
    Any ideas?
     
    Joans, Aug 30, 2008
    #37
  18. sideways

    pumo

    Joined:
    Aug 9, 2008
    Messages:
    16
    Likes Received:
    0
    pumo, Aug 30, 2008
    #38
  19. sideways

    sideways

    Joined:
    Aug 21, 2008
    Messages:
    172
    Likes Received:
    0
    Ah, Ok, you need to do step 5 in the Kernel customisation thread (copy the .config file and run 'sudo make oldconfig'), then you may also need to run an initial kernel compile by typing 'sudo make'
     
    sideways, Aug 30, 2008
    #39
  20. sideways

    sideways

    Joined:
    Aug 21, 2008
    Messages:
    172
    Likes Received:
    0
    That's bizzarre, I use the desktop switcher rpm posted by NaNo in the HowTo forum and don't have problems in either desktop.
     
    sideways, Aug 30, 2008
    #40
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.