hi im tryin to run sasc-ng with pcscd and gemalto smartcard reader

i've compiled sasc-ng under debian(sid) and install dvbloopback module
then i run:

Code:
root@[mss]:/etc/camfiles# sasc-ng -j 0:1 --sid-allpid --sid-nocache --cam-budget --cam-dir /etc/camfiles
Jan  5 08:28:38.796 : Version: 0.0.2-51c5add369d7+
Jan  5 08:28:38.796 CAM: initializing plugin: SoftCam (1.0.0pre-HG-51c5add369d7+): A software emulated CAM
Jan  5 08:28:38.796 CAM(general.info): SC version 1.0.0pre-HG-51c5add369d7+ initializing (VDR 1.6.0)
Jan  5 08:28:38.796 CAM: starting plugin:
Jan  5 08:28:38.796 CAM(general.info): SC version 1.0.0pre-HG-51c5add369d7+ starting (VDR 1.6.0)
Jan  5 08:28:38.797 CAM(core.load): ** Plugin config:
Jan  5 08:28:38.797 CAM(core.load): ** Key updates (AU) are enabled (active CAIDs) (no prestart)
Jan  5 08:28:38.797 CAM(core.load): ** Local systems DON'T take priority over cached remote
Jan  5 08:28:38.797 CAM(core.load): ** Concurrent FF recordings are NOT allowed
Jan  5 08:28:38.797 CAM(core.load): ** Force transfermode with digital audio
Jan  5 08:28:38.797 CAM(core.load): ** ECM cache is set to enabled
Jan  5 08:28:38.797 CAM(core.load): ** TsBufferSize is 4 MB
Jan  5 08:28:38.797 CAM(core.load): ** ScCaps are 1 2 0 0 0 0 0 0 0 0
Jan  5 08:28:38.797 CAM(general.info): loading overrides from /etc/camfiles/override.conf
Jan  5 08:28:38.815 CAM(core.load): loaded 0 overrides from /etc/camfiles/override.conf
Jan  5 08:28:38.816 CAM(general.info): loading smartcard data from /etc/camfiles/smartcard.conf
Jan  5 08:28:38.830 CAM(general.error): file /etc/camfiles/smartcard.conf has error in line #14
Jan  5 08:28:38.830 CAM(core.load): loaded 0 smartcard data from /etc/camfiles/smartcard.conf
Jan  5 08:28:38.830 CAM(general.info): loading cardslot config from /etc/camfiles/cardslot.conf
Jan  5 08:28:38.830 CAM(general.error): unknown cardslot type 'ccid'
Jan  5 08:28:38.831 CAM(general.error): file /etc/camfiles/cardslot.conf has error in line #15
Jan  5 08:28:38.831 CAM(general.info): loading keys from /etc/camfiles/SoftCam.Key
Jan  5 08:28:38.842 CAM(core.load): loaded 2 keys from /etc/camfiles/SoftCam.Key
Jan  5 08:28:38.842 CAM(general.info): loading Viaccess cards from /etc/camfiles/Viaccess.KID
Jan  5 08:28:38.856 CAM(core.load): loaded 1 Viaccess cards from /etc/camfiles/Viaccess.KID
Jan  5 08:28:38.856 CAM(general.info): loading Seca cards from /etc/camfiles/Seca.KID
Jan  5 08:28:38.869 CAM(core.load): loaded 1 Seca cards from /etc/camfiles/Seca.KID
Jan  5 08:28:38.869 CAM(general.info): loading Irdeto cards from /etc/camfiles/Ird-Beta.KID
Jan  5 08:28:38.877 CAM(core.load): loaded 1 Irdeto cards from /etc/camfiles/Ird-Beta.KID
Jan  5 08:28:38.877 CAM(general.error): failed open /etc/camfiles/cardclient.conf: No such file or directory
Jan  5 08:28:38.877 CAM(core.load): ** registered systems:
Jan  5 08:28:38.878 CAM(core.load): ** Viaccess          (pri -10)
Jan  5 08:28:38.878 CAM(core.load): ** Seca              (pri -10)
Jan  5 08:28:38.878 CAM(core.load): ** SC-VideoGuard2    (pri  -5)
Jan  5 08:28:38.878 CAM(core.load): ** SC-Viaccess       (pri  -5)
Jan  5 08:28:38.878 CAM(core.load): ** SC-Seca           (pri  -5)
Jan  5 08:28:38.878 CAM(core.load): ** SC-Nagra          (pri  -5)
Jan  5 08:28:38.878 CAM(core.load): ** SC-Irdeto         (pri  -5)
Jan  5 08:28:38.878 CAM(core.load): ** SC-Cryptoworks    (pri  -5)
Jan  5 08:28:38.878 CAM(core.load): ** SC-Conax          (pri  -5)
Jan  5 08:28:38.878 CAM(core.load): ** Fake-NDS          (pri -12)
Jan  5 08:28:38.878 CAM(core.load): ** Nagra2            (pri -10)
Jan  5 08:28:38.878 CAM(core.load): ** Nagra             (pri -10)
Jan  5 08:28:38.879 CAM(core.load): ** Irdeto2           (pri  -8)
Jan  5 08:28:38.879 CAM(core.load): ** Irdeto            (pri -10)
Jan  5 08:28:38.879 CAM(core.load): ** Cryptoworks       (pri -10)
Jan  5 08:28:38.879 CAM(core.load): ** ConstCW           (pri -20)
Jan  5 08:28:38.879 CAM(core.load): ** Conax             (pri -10)
Jan  5 08:28:38.879 CAM(core.load): ** Cardclient        (pri -15)
Jan  5 08:28:39.883 demux: Starting thread on /dev/dvb/adapter1/demux1
The thread scheduling parameters indicate:
policy = 0
priority = 0
Jan  5 08:28:39.883 dvr: Starting thread on /dev/dvb/adapter1/dvr1
The thread scheduling parameters indicate:
policy = 1
priority = 99
Jan  5 08:28:39.883 frontend: Starting thread on /dev/dvb/adapter1/frontend1
The thread scheduling parameters indicate:
policy = 0
priority = 0
Jan  5 08:28:39.884 : Listening on port 5456
as you can see i get those errors:

Code:
loading smartcard data from /etc/camfiles/smartcard.conf
file /etc/camfiles/smartcard.conf has error in line #14
and

Code:
loading cardslot config from /etc/camfiles/cardslot.conf
unknown cardslot type 'ccid'
file /etc/camfiles/cardslot.conf has error in line #15
my cardslot.conf
Code:
; cardslot talking to PCSCd using CCID protocol for communication
;
; ccid:reader
;
; reader   - reader name e.g. as given by pcsc_scan
;
; For using this cardslot type, you must have installed pcsd-lite and ccid
; driver package. Before compiling you should add something like this to your
; Make.config file:
; WITH_PCSC = 1
; INCLUDES += -I/usr/include/PCSC
;
; ccid:SCR331 USB Smart Card Reader 00 00
ccid:Gemalto GemPC Twin 00 00
my smartcard.conf
Code:
;
; Comment lines can start with # or ;
;

; Conax
;
; serial - serial number identifying the card
; pin    - pin number to disable parental rating
;
; conax: PIN serial pin
conax: PIN xxxxxxxxxxx xxxx
and pscd_scan

Code:
root@[mss]:/etc/camfiles# pcsc_scan
PC/SC device scanner
V 1.4.18 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.1
Using reader plug'n play mechanism
Scanning present readers...
0: Gemalto GemPC Twin 00 00

Thu Jan  5 11:28:16 2012
Reader 0: Gemalto GemPC Twin 00 00
  Card state: Card inserted,
  ATR: 3B 34 94 00 30 42 30 30

ATR: 3B 34 94 00 30 42 30 30
+ TS = 3B --> Direct Convention
+ T0 = 34, Y(1): 0011, K: 4 (historical bytes)
  TA(1) = 94 --> Fi=512, Di=8, 64 cycles/ETU
    62500 bits/s at 4 MHz, fMax for Fi = 5 MHz => 78125 bits/s
  TB(1) = 00 --> VPP is not electrically connected
+ Historical bytes: 30 42 30 30
  Category indicator byte: 30 (proprietary format)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 34 94 00 30 42 30 30
        Conax card: ComHem sweden
my MakeFile
Code:
VERSION = 0.0.2
TOOL = sasc-ng
SCVER = sc-src

include config.mak

#DEFINES = -DNO_RINGBUF

CC       ?= gcc
CXX      ?= g++
#CXXFLAGS ?= -Wall -D__user= -Werror
CXXFLAGS ?= -Wall -D__user=
CFLAGS   ?= -Wall -D__user=

ifdef DVB_DIR
  INCLUDES = -I$(DVB_DIR)/include
  DVB_MOD_DIR = DVB_DIR=$(DVB_DIR)
endif

WITH_PCSC = 1
INCLUDES += -I/usr/include/PCSC

(...)
i've been using this tutorial:


could some please tell me whats wrong? maybe i've put
Code:
WITH_PCSC = 1
INCLUDES += -I/usr/include/PCSC
in wrong MakeFile ??