View Full Version : 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
abu baniaz
03-07-21, 19:15
Have you forked oscam and made your changes in a new branch?
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;
}
abu baniaz
05-07-21, 21:45
I have committed your change here. Will try in next few days
https://github.com/AbuBaniaz/oscam/commit/5abcbefb7ce5810ca2b3ca5a1b13339ff3185b7a
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?
abu baniaz
06-07-21, 17:35
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.
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 !
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 :(
62348
abu baniaz
09-07-21, 00:47
Which image are you on? Please don't say "latest". Give the full name including date/version where possible.
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;
- }
abu baniaz
09-07-21, 00:59
Please attach the modified file and I will build it for you
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
Please attach the modified file and I will build it for you
here is the updated file
thanks very much !
62349
abu baniaz
09-07-21, 10:57
As requested. If it doesn't work, upload the file with changes you want.
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.
As requested. If it doesn't work, upload the file with changes you want.
62353
Hi, still had a issue.
I have redone the reader-videoguard2.c file
can you try this one please
thanks
abu baniaz
10-07-21, 00:48
As requested.
As requested.
Hi,
really sorry for the hassle...
for some reason it seems to be sending incorrect data...
can you compile this one and i'll create a log file with debug 255 to see whats going on.
thanks
62361
As requested.
have got an updated on that they think may now work correctly...
can you please try this one.
62362
abu baniaz
11-07-21, 13:43
Latest file attached. I don't think there will be much change as the only difference I saw was two empty lines deleted.
Can you please add date and times to your zip filenames so that I don't get in a muddle with file versions. Thanks.
Latest file attached. I don't think there will be much change as the only difference I saw was two empty lines deleted.
Can you please add date and times to your zip filenames so that I don't get in a muddle with file versions. Thanks.
Hi, We have found the issue !
attached is the updated reader-videoguard2 file that will now finally work !! :)
could you please compile this one last time !
Thank you so much
62387
abu baniaz
16-07-21, 02:03
As requested. Lets me know if you need another build.
As requested. Lets me know if you need another build.
Ok ive adjusted this one slighty
i need to push D1 40 60 80 but it keeps sending D1 40 00 80
can you do this one please.
62391
abu baniaz
16-07-21, 11:20
r6 .
Hi, hey i added this line rdr_log(reader, "classD3 ins54: no cw --> Card needs pin 2021");
to see if the reader-videoguard2.c was updated in the build...
my latest log still only had [videoguard2] classD3 ins54: no cw --> Card needs pin
i dont think the reader-videoguard2.c was updated ?
abu baniaz
17-07-21, 14:29
I am pretty sure I did. I did the same as before.
Replace the file in the oscam source folder
Delete the oscam folder in the work directory
Increase PR version in bitbake file
I have done it again, hopefully this works. I have not been checking your files last few occasions, I have checked your latest file, it was in the old mac EOL. I have changed it to Linux before running this build. Maybe that was it, but I am not sure.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.