Opened 10 years ago

Closed 10 years ago

#1288 closed enhancement (fixed)

Support for WRT350Nv2/OpenWRT+LED-Support+add new newcamd-IDs (patch added!)

Reported by: Madmaxx Owned by:
Priority: minor Component: General
Cc: Sensitive: no


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
;-) (CR/LF-Problem!)

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:

add_definitions ("-O2")

The resulting file with only -O2 is nearly 45 kb smaller final file-size!

Please test & commit my effort to the trunk. Thx.

Attachments (1)

00-oscam-wrt350nv2-leds-new-newcamd-ids.patch (6.1 KB ) - added by Madmaxx 10 years ago.
WRT350Nv2 Support-Patch + 2 new newcamd client IDs

Download all attachments as: .zip

Change History (4)

by Madmaxx, 10 years ago

WRT350Nv2 Support-Patch + 2 new newcamd client IDs

comment:1 by Madmaxx, 10 years ago

Sorry one mistake:

static const int max_id_idx = 29;

must be manually changed to:

static const int max_id_idx = 31;

i forget to rise the number for newcamd client ID´s in my patch :(

comment:2 by Madmaxx, 10 years ago

can someone with CVS access PLEASE commit these Patches, so other peoples, that have some hardware, have a benefit from it ?

And please remove finaly the micro$oft CR/LF from the CMakeLists.txt from every line ;)

comment:3 by Admin, 10 years ago

Resolution: fixed
Status: newclosed

WRT350 added in [4464], newcamd client ids somewhere earlier.

Note: See TracTickets for help on using tickets.