usbTuner (multiple tuners on dm800) v0.7.3 ipk package (all new images) + GUI plugin

Wir haben aktuell ein Problem mit dem Board und arbeiten an der Lösung...
  • Thank you for the DVB-C reply as well as the one before for my old AF9005 (Silver chinese one with DVB-T printed on black sticker)... that I am still not able to get working (I tried the Kernel 7.3 and the 7.4 drivers/modules below but without success). - Naturally on different images, 7.3 or 7.4 depending of module installed -


    I preinstalled an image with channels preset, and it opens the Terrestrial channel when I turn the box on where it was in, but when I change channel then I get a black screen (also if from same frequency !).


    I attach drivers IPK I built and use for it on a DM800, DM500HD and DM800se.


    ToySoft

  • I found these models on ebay, which ones are supported (we have drivers) ?


    Thanks !


    Toysoft


    --------------------


    http://cgi.ebay.com/220839450156
    TerraTec Cinergy HTC USB XS HD TV-Karte DVB-T DVB-C H5


    http://cgi.ebay.com/380362996539
    Terratec H6 DVB-T/ DVB-C HDTV-Receiver /analoger TV USB


    http://cgi.ebay.com/320747566784
    Elgato Eye TV Hybrid USB-Stick (DVB-T, DVB-C)


    http://cgi.ebay.com/360388664759
    Hauppauge WinTV HVR-930C USB DVB-T/DVB-C Karte

  • @tonysoft
    Get a Sundtek DVB-T/C USB tuner.
    It works perfect as a DVB-C tuner for the HD Dreamboxes

  • Dear a.key,


    thank you very much for your work. I am following this thread for couple of weeks, although I havent had my dm800se then.


    Finaly I got it some days ago, flashed the current stable CVS + GP3 and tried to install.
    I tried with 0.5.3 first but failed. Today I wanted to troubleshoot when I saw the brandnew 0.6.2 package.


    I have a MSI DigiVox mini Trio (DVB-C/T/Analog)
    lsusb: Bus 001 Device 002: ID eb1a:2885 eMPIA Technology, Inc.


    Installed as mentioned, but script said, that 0 tuners were found by modprobe.
    So far so good.


    Code
    usbtnrsetup.sh enable_device eb1a:2885


    worked fine but


    Code
    usbtnrsetup.sh check_status


    gives me a <Driver error>


    I also downloaded the drivers as mentioned

    Code
    root@dm800se:~# /usr/script/usbtnrsetup.sh install_modules eb1a:2885
    This procedure will try to download and install module: eb1a:2885 and it's depen
    dent modules from your ipk/opk repositories.
    Do you want to continue? (y/n) y
    Installing [1/1]: v4l-dvb-module-eb1a:2885...Done.
    All v4l modules installed.
    root@dm800se:~# /usr/script/usbtnrsetup.sh check_status
    eb1a:2885: <Driver error>
    root@dm800se:~#


    Unfortunatelly the problem still exists.
    Of course I also looked with dmesg and in the messages log in var/messages but I could not find anything obvious that could belong to this problem.
    Maybe you can tell me which lines in the log could give me a hint.


    I am not sure, maybe I need another Firmware. I already usedinstructions from a german ubuntu forum to create my own FW especialy for this stick. My qestion: how to name it and where to put it?


    Any help appreciated :grinning_squinting_face:


    Thanks in advance!
    DaGrandmasta

  • You just found a bug.
    Your problem is basically caused by the missing drivers. The script told you that it downloaded:
    Installing [1/1]: v4l-dvb-module-eb1a:2885...Done.
    But this is actually wrong. There isn't such driver. I need to fix this so expect a new version soon. But this will probably not fix your problem.
    I don't know if your tuner is in v4l drivers available in the repos but you can try downloading all drivers.



  • Oh ok, as it has an em28XX (2885) Chipset, I thought that it should work.


    I tried it right now with downloading all.
    Thereafter standard procedure.

    Still no hints in the messages log resp. dmesg.


    Just another question: how exactly do i make a clean uninstall of everything, as you recommend to do so bevore upgrading to a newer version?


    I know where the firmware files are (removing them manually is a bit boring ;)) but then there are still other modifications left - as mentioned in the first post.


    Thanks

  • Older versions (0.5.x and below) use different scripts names and different config file. So you should really uninstall it before you install 0.6.x. The proper way of uninstalling packages on DM is:
    opkg remove usbtuner
    Upgrading 0.6.2 to 0.6.3 is as simple as installing the package again. Since only the bugs will be fixed you can leave the config file so no need to uninstall.


    As for your tuner.
    As you can notice on the first post - I added your device to a "known" devices but that doesn't mean it will work.
    In order to get it working you'd probably need to compile your self modules for it but I'd first check if it works on a PC/Laptop (eg ubuntu).
    Here you have some info about cards based on this chip: http://wiki.ubuntuusers.de/em28xx (in German I'm afraid). Even if you manage to get it working on ubuntu for PC it doesn't mean that you will be able to build those modules for DM800/DM800se cuz it's kernel is way older and those drivers may not want to compile on it.




  • Oh and...


    To install all drivers:

    Code
    /usr/script/usbtnrsetup download_drivers all


    You don't need to use enable_device option. If device is properly recognized it will be configured and enabled during auto_setup.

  • Zitat

    Originally posted by a.key
    You just found a bug.
    Your problem is basically caused by the missing drivers. The script told you that it downloaded:
    Installing [1/1]: v4l-dvb-module-eb1a:2885...Done.
    But this is actually wrong. There isn't such driver. I need to fix this so expect a new version soon. But this will probably not fix your problem.
    I don't know if your tuner is in v4l drivers available in the repos but you can try downloading all drivers.


    Problem is in the /usr/script/usbtnrsetup.sh - procedure enable_device() and disable_device()


    You have to change small part of code from print $1 to print $2 in the lines 755, 770 :


    MODULE2ADD=`findTuners ${MODULE2ADD}|awk '{print $2}'`


    MODULE2REMOVE=`findTuners $1|awk '{print $2}'`

  • Hi,
    is there any way to use those also on DM8000 ? Or, do you plan to support USB stick terrastical tuners on DM8000 ?

  • on dm800se, AverMedia AvetTV Volar Black HD seems not to create adapter1. Install script auto_setup seems to work great after loading all V4L drivers... The script selects dvb-usb-af9015 to use.


    Bus 001 Device 002: ID 07ca:850a AVerMedia Technologies, Inc. AverTV Volar Black HD (A850)


    Any suggestions, what to do?




    /usr/script/usbtnrsetup.sh auto_setup
    Checking for -b support in modprobe... OK.
    Checking for patched /etc/init.d/modutils.sh...OK.
    Searching for tuners...Done.
    Found: dvb-usb-af9015 !
    dvb-usb-af9015 already in the config (/etc/usbtuner.conf).
    dvb-usb-af9015 already blacklisted in /etc/modprobe.conf.
    Enigma already patched.
    All done. If new tuner has been found you'll need to restart Enigma2 for changes to take effect.


    # /usr/script/usbtnrsetup.sh check_status
    AverMedia AVerTV Volar Black HD (A850): <OK>


    root@dm800se:/tmp# cd /dev/dvb
    root@dm800se:/dev/dvb# ls
    adapter0

  • The other tuner I have, Elgato EyeTV DTT Deluxe, wants to use dvb-as102, but check will result with error:


    Elgato EyeTV DTT Deluxe: <Driver error>


    lsusb:
    Bus 001 Device 002: ID 0fd9:002c Elgato Systems GmbH EyeTV DTT Deluxe v2

  • @07ca:850a
    Did you install the firmware package too? Do you have file /lib/firmware/dvb-usb-af9015.fw ?
    Ocasionally I have same problem, then I switch off box and after a minute I switch back to on. No problems after it.


    @0fd9:002c
    You have to find v4l-dvb-module-dvb-as102 on the net. I know that SIFTeam has this module, but I can't find his repository now.

  • Yes, the file dvb-usb-af9015.fw is there.


    But, its user is root, but group is 2000 (not existing group?). Should it be root?
    File permissions are -rw-r--r--.


    Any more ideas?

  • I have:


    -rw-r--r-- 1 root root 15913 Sep 14 17:07 dvb-usb-af9015.fw


    Try:


    chown root:root dvb-usb-af9015.fw


    But I think, It doesn't matter.


    -------------------------------------------------


    Maybe information from the kernel.log can help you. Try:


    /etc/init.d/usbtuner.sh restart


    and look at output (usb relevant part) from:


    dmesg


    For example, here is my output:

  • R u checking it on image running from flash or pendrive/hdd through barry or meoboot ?
    It's pretty important to test it on an image running from FLASH with firmware files located on the FLASH.
    BarryAllen/Meoboot run your system in a chroot environment but kernel is not so when a firmware file is to be loaded by the kernel it needs to be located on a partition mounted as / (root) but the real root meaning not in chroot env.


    Check dmesg and post the result when running /etc/init.d/usbtuner.sh stop and then /etc/init.d/usbtuner.sh start
    .


    Zitat

    Originally posted by tastas
    Yes, the file dvb-usb-af9015.fw is there.


    But, its user is root, but group is 2000 (not existing group?). Should it be root?
    File permissions are -rw-r--r--.


    Any more ideas?

  • Running from FLASH.


    Removed power, after that new start. Booted up.


    root@dm800se:~# /etc/init.d/usbtuner.sh restart
    Stopping all usbtuner instances...Failed
    Unloading module: dvb-usb-af9015...Done.
    Loading module: dvb-usb-af9015...Done
    Starting usbtuner for /dev/dvb/adapter1...Done.


    dmesg output:
    [4294827.336000] af9015: command failed:1
    [4294827.337000] af9015: eeprom read failed:-1
    [4294827.337000] dvb_usb_af9015: probe of 1-2:1.0 failed with error -1
    [4294827.338000] usbcore: registered new driver dvb_usb_af9015
    [4294827.360000] signal_strength -41.22dbm
    [4294828.362000] signal_strength -41.13dbm
    [4294829.358000] total video delay: 44272 (491 ms)
    [4294829.359000] audio delay 44272 (491 ms)
    [4294829.360000] total video delay: 44272 (491 ms)


    once more, i.e. after new restart of service:
    ---
    [ 153.429000] usbcore: deregistering driver dvb_usb_af9015
    [ 153.597000] signal_strength -41.24dbm
    [ 154.619000] signal_strength -41.34dbm
    [ 155.484000] af9015: command failed:1
    [ 155.484000] af9015: eeprom read failed:-1
    [ 155.485000] dvb_usb_af9015: probe of 1-2:1.0 failed with error -1
    [ 155.486000] usbcore: registered new driver dvb_usb_af9015
    [ 155.639000] signal_strength -41.48dbm


    Also, I noticed following:
    root@dm800se:/dev/dvb# /etc/init.d/usbtuner.sh restart
    Stopping all usbtuner instances...Failed
    Unloading module: dvb-usb-af9015...Done.
    Loading module: dvb-usb-af9015...Done
    Starting usbtuner for /dev/dvb/adapter1...Done.
    root@dm800se:/dev/dvb# ls
    adapter0
    root@dm800se:/dev/dvb#


    That means, restart reports adapter1 "done", but nothing is showing up in particular directory...


    Start / stop separately:
    stop gives just unregistering line.


    Start again gives now af9015: command failed:4 (not any more 1, as previous log indicated):


    [ 425.798000] af9015: command failed:4
    [ 425.798000] af9015: eeprom read failed:-1
    [ 425.799000] dvb_usb_af9015: probe of 1-2:1.0 failed with error -1
    [ 425.799000] usbcore: registered new driver dvb_usb_af9015