Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 1 of 2 12 LastLast
Results 1 to 15 of 26

Thread: Compile OSCAM with a patch i require

  1. #1

    Title
    Junior Member
    Join Date
    Feb 2016
    Location
    New Zealand
    Posts
    19
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Compile OSCAM with a patch i require

    Hi can someone help me compile oscam for use on a Gigablue UHD UE 4K

    I need to update reader-videoguard2.c to fix a issue i have with PIN requests on my caid

    thanks

  2. #2
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    22,055
    Thanks
    5,914
    Thanked 8,658 Times in 5,841 Posts
    Have you forked oscam and made your changes in a new branch?

  3. #3

    Title
    Junior Member
    Join Date
    Feb 2016
    Location
    New Zealand
    Posts
    19
    Thanks
    1
    Thanked 2 Times in 2 Posts
    i am not sure how i add the changes i want, i'm a bit new to it.

    this is what i need added
    Index: reader-videoguard2.c
    ================================================== =================
    --- reader-videoguard2.c (Revision 11693)
    +++ reader-videoguard2.c (Arbeitskopie)
    @@ -1216,7 +1216,7 @@
    new_len -= 2;
    }

    - if(reader->caid == 0x92F || reader->caid == 0x91F || reader->caid == 0x961)
    + if(reader->caid == 0x92F || reader->caid == 0x91F || reader->caid == 0x961 || reader->caid == 0x96A || reader->caid == 0x958)
    {
    ins40[2] = 0x60;
    }

  4. #4
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    22,055
    Thanks
    5,914
    Thanked 8,658 Times in 5,841 Posts
    I have committed your change here. Will try in next few days
    https://github.com/AbuBaniaz/oscam/c...13339ff3185b7a

  5. #5
    Huevos's Avatar
    Title
    Moderator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    10,257
    Thanks
    1,790
    Thanked 3,774 Times in 2,486 Posts
    Quote Originally Posted by haydos View Post
    i am not sure how i add the changes i want, i'm a bit new to it.

    this is what i need added
    Index: reader-videoguard2.c
    ================================================== =================
    --- reader-videoguard2.c (Revision 11693)
    +++ reader-videoguard2.c (Arbeitskopie)
    @@ -1216,7 +1216,7 @@
    new_len -= 2;
    }

    - if(reader->caid == 0x92F || reader->caid == 0x91F || reader->caid == 0x961)
    + if(reader->caid == 0x92F || reader->caid == 0x91F || reader->caid == 0x961 || reader->caid == 0x96A || reader->caid == 0x958)
    {
    ins40[2] = 0x60;
    }
    What are the changes for?

  6. #6
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    22,055
    Thanks
    5,914
    Thanked 8,658 Times in 5,841 Posts
    Please try this. I manually changed the downloaded files instead of messing around with bitbake files.

    Just for reference, there is a guide on ukcvs.net on how to build a development shell and also build autobouquets 28.2 reader. You can then build any package once done. We also have a guide on building images on forum.

  7. #7

    Title
    Junior Member
    Join Date
    Feb 2016
    Location
    New Zealand
    Posts
    19
    Thanks
    1
    Thanked 2 Times in 2 Posts
    It sends the PIN when required on my caid, during certain times of the day any show with a rating over R16 it requires you enter a pin, Very Annoying !

  8. #8

    Title
    Junior Member
    Join Date
    Feb 2016
    Location
    New Zealand
    Posts
    19
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by abu baniaz View Post
    Please try this. I manually changed the downloaded files instead of messing around with bitbake files.

    Just for reference, there is a guide on ukcvs.net on how to build a development shell and also build autobouquets 28.2 reader. You can then build any package once done. We also have a guide on building images on forum.
    I got this error

    IMG_3082.jpg

  9. #9
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    22,055
    Thanks
    5,914
    Thanked 8,658 Times in 5,841 Posts
    Which image are you on? Please don't say "latest". Give the full name including date/version where possible.

  10. #10

    Title
    Junior Member
    Join Date
    Feb 2016
    Location
    New Zealand
    Posts
    19
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by abu baniaz View Post
    Please try this. I manually changed the downloaded files instead of messing around with bitbake files.

    Just for reference, there is a guide on ukcvs.net on how to build a development shell and also build autobouquets 28.2 reader. You can then build any package once done. We also have a guide on building images on forum.
    Hi OK, i had to update my box to get the latest version etc

    i installed the version you sent and ran it on my box, but i still got a "classD3 ins54: no cw --> Card needs pin") error

    could i get you to change the code to this please, that way it will send the pin on any caid

    - if(reader->caid == 0x92F || reader->caid == 0x91F || reader->caid == 0x961)
    - {
    ins40[2] = 0x60;
    - }

  11. #11
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    22,055
    Thanks
    5,914
    Thanked 8,658 Times in 5,841 Posts
    Please attach the modified file and I will build it for you

  12. The Following 2 Users Say Thank You to abu baniaz For This Useful Post:

    Clabs (15-07-21),Willo3092 (09-07-21)

  13. #12

    Title
    Junior Member
    Join Date
    Feb 2016
    Location
    New Zealand
    Posts
    19
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by abu baniaz View Post
    Which image are you on? Please don't say "latest". Give the full name including date/version where possible.
    Brand & Model: GigaBlue UHD UE 4K
    Chipset: Broadcom 7252s
    Main Memory: 734792 kB free / 906184 kB total
    Box Uptime: 4:54
    Software
    System OE: OE-Alliance 4.4
    Firmware version: OpenViX 5.4.013 (2021-06-24)
    Kernel / Drivers: 4.1.20 / 20200723


    OSCam Webinterface developed by Streamboard Team
    Current Time: 09.07.21 | 16:09:08 Start Time: 09.07.21 | 11:13:15 OSCam Run Time: 04:55:53
    Process ID: 2879 Access from: 192.168.20.142 Run as: root gigablue Up Time: 04:56:18
    OSCam: 1.20_svn Build: r11693 Compiler: arm-oe-linux-gnueabi
    WebIf Style by

  14. The Following User Says Thank You to haydos For This Useful Post:

    abu baniaz (12-07-21)

  15. #13

    Title
    Junior Member
    Join Date
    Feb 2016
    Location
    New Zealand
    Posts
    19
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by abu baniaz View Post
    Please attach the modified file and I will build it for you
    here is the updated file

    thanks very much !

    reader-videoguard2.zip

  16. #14
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    22,055
    Thanks
    5,914
    Thanked 8,658 Times in 5,841 Posts
    As requested. If it doesn't work, upload the file with changes you want.

  17. #15

    Title
    Junior Member
    Join Date
    Feb 2016
    Location
    New Zealand
    Posts
    19
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by abu baniaz View Post
    As requested. If it doesn't work, upload the file with changes you want.
    Hiya,

    i have setup a test for a show in about 8 hours during the day here.

    i really appreciate, you doing this !

    Thanks, let you know soon if it works.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.