Send CW to the firmware

  • Hi,


    I am making my own little emu and I can obtain the correct CWs but when I send the CWs to the firmware, only shows the image when I previously seen this channel with other emu like mgcamd.


    I'm using the funcion:


    Code
    static void write_control_words(int ca,byte *buffer,int index)


    Any ideas whats happening?


    Thanks!

  • I think you can write the CWs directly to /dev/ca0, but i'm not sure :face_with_rolling_eyes:

    SEHITLER ÖLMEZ, VATAN BÖLÜNMEZ !!!
    - - - -
    Märtyrer sterben nicht, das Vaterland teilt sich nicht !!!

  • Hi,


    I previously open the ca device:


    Code
    #define CA_DEVICE    "/dev/ca0"
    if ((ca = open(CA_DEVICE, O_RDWR|O_NONBLOCK)) < 0)


    and all works fine if I previously I have seen that channel before with other emu but if for example I reset the dream, then it doesn't work.


    Next I run mgcamd for example in a specific channel.
    I Close mgcamd.
    Then start my own emu and then IT WORKS IN THAT CHANNEL UNTIL I RESET THE DREAM!!!


    It's very very very strange.


    hope anybody can help me...


    Thanks!!