(deprecated) cross platform tuner sharing, friendly user test

  • Zitat

    Originally posted by pop_eye
    Joke aside, if crosscompiler is used , maybe I should be pointing locally following:



    You should avoid such constructions. All standard DVB API
    compatible code is using linux/dvb/ prefix, changing it
    you add more inconsistence and later, when you got
    in troubles will have much harder work to find what happens.



    MINOR = 2 is not interesting for you. It only says that DVB API
    version si 5.2. The only difference between 5.1 and 5.2
    are added japan and brazilian transmission strandards,
    nothing interesting for "real" DVB.


    /Honza

  • Do not understand what the problem is. :confused_face:


    I tooked the time changing some variables:


    e.g. cmdseq => dtv_cmd, dtv_property prop => dtv_property tvp etc.


    Same error showing:


    "FE_SET_PROPERTY is not available"


    Only explanation I have is the dvb-core patched for dvb api 5 is not acting properly :frowning_face:


    P.S. I checked all the headers and everything seems to be in place for dvb api 5. The linux machine compiling the mipsel binary is using 2.6.31 kernel with latest headers in place. So frustrating :zensiert:


    thx


  • Once more again:


    The only code where is such error is inside vtuner-dvb-3.c, at least only inside
    that file is exactl error you show us all time.


    Here is the code snippet:

    Code
    int hw_set_property(vtuner_hw_t* hw, struct dtv_property* prop) {
      int ret=0;
    #if DVB_API_VERSION < 5
      ret = -1;
      WARN("FE_SET_PROPERTY is not available\n");
    #else
      DEBUGHW("FE_SET_PROPERTY %d\n", prop->cmd);


    As you can see, preprocessor conditional statement show us
    that only if DVB_API_VERSION constant is < 5 then
    your error calling occurs.


    DVB_API_VERSION is the constant included from kernel
    source tree. You should double check that your gcc is
    including correct kernel headers. I think no, utherwise
    you not get such error. Additional check can be done
    very easy - remove first part from #if to #else
    (don't forget to remove corresponding #endif).


    When you compile such cripled version, compilation
    more likely ends up with unresolved symbols
    because ioctl FE_SET_PROPERTY is part of DVB API 5 or higher.


    Please check this way.


    /Honza


  • They say "the third time's a charm" :hurra:


    Off course messing around with different crosstool environments does not
    bring much relief either. So, rechecked and frontend.h was not using proper
    dvb api5. It's working now ! wow


    doing some testing and will post results.


    Thank you both for your BIG support. :winking_face:


    EDIT: I have tested and using following definition does not give buffer error , freezing or stutter on MPEG2 compressed HD streams.


    Code
    vtunerd-service.c
    
    
    #define RMAX (470*174)
  • Hi,


    you can find a new client package at: http://code.google.com/p/dreamtuner/downloads/list


    It contains a couple of new features:
    - instead of broadcast, server ip can be given on the command line
    - a plugin has been added to configure client settings


    Known limitation: no information if restart is needed, if in doubt, reboot you box, restarting enigma is not sufficient


    Roland

  • Hi Roland,


    danke für deine Arbeit bzw. Weiterführung. Werde den Cleint gleich checken...


    P.S:
    Ich löse grosses Staunen aus, wenn ich den meinen "remote" DVB-T Empfang aus Zagreb/Kroatien bei mir in München über vtuner vorführe.
    Wer kann schon sagen, dass er in Deutschland originales kroatisches und slowenisches DVB-T empfangen kann? Suchlauf geht natürlich auch einwandfrei.


    Server in Zagreb ist ein Ubuntu, Pinnacle 340e USB-DVB-T Stick.


    Upstream ca. 10 Mbit/s, Ping in mein LAN ca. 30ms-40ms.


    OpenVPN mit Nettodurchsatz von 10 Mbit/s reicht für DVB-T. Ach ja, ein Ping kleiner 50ms ist auchzwingend notwendig. Dann läufts über Stunden flüssig ohne ruckler...



    EDIT:
    Roland,
    mit der letzten Version funktioniert einwandfrei!
    Durch OpenVPN IPsec auf einen remote vtunerd server.

  • Hi everybody


    I have a problem with the configuration of Vtuner.
    I wand to share the secondly DVB-C tuner of my DM8000 to my DM500HD.
    But I dont find the good configuration for my sevrer (DM8000).


    I try : vtunerd 1 0 3 0 0 & but my two dream dont work together.


    the hardware configuration of my DM8000 is :
    TUNER A => DVB-S2 => I would like for the DM8000 only
    TUNER B => DVB-S2 => I would like for the DM8000 only
    TUNER C => DVB-C => I would like for the DM8000 only
    TUNER D => DVB-C => I would like for the DM500HD only


    Can you help me ?


    Thx


    PS : Sorry for my english !

  • Hi,


    thank you for your hard work. Today I tried to use my old DM600PVR-C as second DVB-C tuner for my DM800se, but vtunerd.ppc isn't starting at all. It neither shows any messages nor opens any TCP or UDP ports (at least netstat doesn't show any) on my DM600.


    Here is vtunerd.ppc's output:

    Code
    root@dm600pvr:~> init 4
    root@dm600pvr:~> ./vtunerd.ppc


    I also tried older versions of vtunerd.ppc which start fine but aren't able to tune, only the last transponder enigma was using, is being showed on my DM800se.


    So I wanted to know if it is possible to use a DM600PVR as server?


    Thank you.


    Max

  • Zitat

    Original von max90So I wanted to know if it is possible to use a DM600PVR as server?


    It should work, but I haven't tested it myself for a long time. I'll do this in the next couple of days. Maybe yo can give me more details about your image.


    EDIT: just found one of DM600's idle, as you described.


    EDIT2: hmm, either my tool chain is broken, or a way to new. Please test the attached binary (build with an very old tool chain).


    Roland

  • Hi Roland,


    thank you. I tried gemini 4.70 and pcd's enigma2 image 6.1 without success. Today I also tried to compile r90 myself using openembedded-1.5 and vtunderd.ppc is starting but unable to tune.


    Here are the outputs of vtunerd.ppc, vtunerc.mipsel and enigma2:
    Output


    Maybe those outputs help finding the problem.


    Max

  • I tried your binary, it's starting but unable to tune like mine I built today.


    Thank you.


    Max


    EDIT: If I tune to a channel using enigma on my 600, kill enigma and run vtunerd.ppc I am able to switch to this transponder on my 800se.

  • Zitat

    Original von max90
    I tried your binary, it's starting but unable to tune like mine I built today.
    EDIT: If I tune to a channel using enigma on my 600, kill enigma and run vtunerd.ppc I am able to switch to this transponder on my 800se.


    Ok, at least we know that my toll chain is buggy. I've broken vtunerd on the weekend, as I refactored the code. I've plans to do a full test on all platforms available to me for the next release, this includes the DM600. So stay tuned, I hope to finish the next milestone within two weeks.


    I know, waiting is frustrating, sorry for the delay.


    Zitat

    Original von max90
    EDIT: If I tune to a channel using enigma on my 600, kill enigma and run vtunerd.ppc I am able to switch to this transponder on my 800se.


    Hmm, could be either tuning, or IF (LNB) switching. Please try to tune to a different transponder on the same LNB.


    Roland

  • That's good to know, thank you. Waiting is no problem, I just wanted to recycle my old DM600.


    I use DVB-C so there should not be any problem regarding LNB, polarisation or high/low band.


    Max

  • Zitat

    Originally posted by max90
    That's good to know, thank you. Waiting is no problem, I just wanted to recycle my old DM600.


    I use DVB-C so there should not be any problem regarding LNB, polarisation or high/low band.


    Or you can check with revision 88. It was last before Roland's refactoring. It should work.


    /Honza

  • Zitat

    Original von max90
    IEDIT: If I tune to a channel using enigma on my 600, kill enigma and run vtunerd.ppc I am able to switch to this transponder on my 800se.


    Oh, interesting, you are the first person with the same problem as me with my UFS910 posted a few pages before.


    roland
    glad to read that you are still working on this project :)


    LG

  • Zitat

    Originally posted by cb00


    Oh, interesting, you are the first person with the same problem as me with my UFS910 posted a few pages before.


    ufs910? I have ipbox9900 what is very same hardware and more or less same software.


    Can you show me where is your bug report (I'm too lazy checking all pages myself :) ) ?


    /Honza

  • I've wrote everything in german, but you can check out the log at page 40.


    do you have a duckbox image on your box?