Hi All,

VDR-plugin-sc now runs on a DNS-323 NAS without any problems.
Below are the steps I've taken. It's not as nice as I would like, because in the current state it's not possible to switch between FFdecsa and dvbcsa. But it works for me :-)

1)obtain the original source
$ hg clone http://85.17.209.13:6100/sc
2)apply the debian patch
$ wget http://vdrbox.lautre.net/fichiers/VDR/debianize-sc/sc-debian-package-03062011.diff
$ cd sc
$ patch -p1 <../sc-debian-package-03062011.diff
3) Modify the sourcefiles (resulting files attached)
$ nano cam.c
$ nano cam.h
$ nano device.c
$ nano Makefile
$ nano debian/rules
4) Enter the compile command (this will take about an hour to complete)
$ dpkg-buildpackage -us -uc -b  (This step errors out.)
$ nano Makefile (copy the attached Makefile again)
$ dpkg-buildpackage -us -uc -b (now the build goes OK)
5)install the resulting .deb files:
$ su
# cd ..
# dpkg -i vdr-plugin-sc_*.deb libvdr-sc-cardclient_*.deb
6)try to run it:
# invoke-rc.d vdr restart

Best regards, and thanks for the help,
Cedric