Support for WRT350Nv2/OpenWRT+LED-Support+add new newcamd-IDs (patch added!)
|Reported by:||Madmaxx||Owned by:|
|Severity:||medium||Keywords:||WRT350NV2 ORION SUPPORT NEWCAMD CLIENT IDS|
Here is my Patch for supporting the WRT350Nv2 on Orion
with actual OpenWRT/Trunk. It works nice on Kernel 2.6.34 + Kernel 2.6.36 with actual checkouts.
First step is to CLEAN the TRUNK-CMakeLists.txt file with "dos2unix"
or similar Tool for removal of the Microsoft-Crap from the Line-End
Then the attached Patch can be clean added to the Trunk.
I used this Patch against Trunk 3957.
This Patch contains:
- CMakeLists.txt Definitions for WRT350Nv2
- added LED-Support for the oscam.c Mainfile
- Added Crosscompiler Basic-Definitions for OpenWRT
- added 2 new ID´s for newcamd-Client (older mpcs+kpcs ID´s)
Someone please check the compiler Switches:
add_definitions ("-O2 -Winline -Wall -finline-functions -fomit-frame-pointer")
against my Choice:
The resulting file with only -O2 is nearly 45 kb smaller final file-size!
Please test & commit my effort to the trunk. Thx.