Hi
I am trying to setup an external phoenix card reader via usb to rs232 converter with pl2303 chipset. The card that I use is Irdeto2.
The image is SIFteam DGS based. Everything is installed and setup properly, but newcs 1.65 cant recognize my card.
Here what I do:
lsmod shows that modules are loaded OK:
External usb-rs232 detected OK:
My newcs.xml readers config: (I tried inverse reset, changing parity - no luck)
And newcs start log:
Where I am going wrong?
I am trying to setup an external phoenix card reader via usb to rs232 converter with pl2303 chipset. The card that I use is Irdeto2.
The image is SIFteam DGS based. Everything is installed and setup properly, but newcs 1.65 cant recognize my card.
Here what I do:
Code:
mknod /dev/ttyUSB0 c 188 0
chmod 666 /dev/ttyUSB0
insmod /modules/usbserial.ko
insmod /modules/pl2303.ko
lsmod shows that modules are loaded OK:
Code:
-sh-3.00# lsmod
Module Size Used by Tainted: P
whiteheat 46564 0 - Live 0xc026e000
safe_serial 7308 0 - Live 0xc01f8000
pl2303 19396 0 - Live 0xc01c2000
ir_usb 9740 0 - Live 0xc01f1000
usbserial 27496 29 whiteheat,visor,ti_usb_3410_5052,safe_serial,pl2303,omninet,n
External usb-rs232 detected OK:
Code:
-sh-3.00# dmesg | grep ttyUSB
usb 2-1: pl2303 converter now attached to ttyUSB0
My newcs.xml readers config: (I tried inverse reset, changing parity - no luck)
Code:
<newCSconfig>
<globals>
<listening-ip>127.0.0.1</listening-ip>
</globals>
<readers name="Card Readers">
<device>
<name>Phoenix Interface</name>
<type>phoenix</type>
<mhz>357</mhz>
<node>/dev/ttyUSB0</node>
<parity>odd</parity>
<reset>normal</reset>
<export>yes</export>
<enabled>yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<!-- <boxkey>0000000000</boxkey> -->
<PTShandshake>no</PTShandshake>
<crypto-special>no</crypto-special>
<carddetect>yes</carddetect>
<newcamd_port>10110</newcamd_port>
<priority>round</priority>
<sid>
<allow>
<!-- valid value for id are:
4 numbers, if the service id is 3 numbers, add a 0 infront of it. -->
<id></id>
</allow>
<deny>
<!-- valid value for id are:
4 numbers, if the service id is 3 numbers, add a 0 infront of it. -->
<id></id>
</deny>
</sid>
</device>
</readers>
And newcs start log:
Code:
-sh-3.00# ./newcs-1.65
This is NewCS 1.65 - the New CardServer by the Butter-team..
Compiled on Jan 19 2009 at 17:58:37
Reading Config file from /var/tuxbox/config/newcs.xml
NewCS is trying to bind to IP: 127.0.0.1
TCP-log password is disabled!
TCP-log set to simple mode
level: verbose
type: init
output: all
logger config: level 2 type 3 output 255
Console log options: level 2 type 3
log file:
logger: cant open file , file log disabled
udp log: host 192.168.1.10 port 1000
UDP log options: level 2 type 3
TCP log options: level 2 type 3
[ 00:13:34 ] [ Box detect ] Box type 1 (General Boxtype - PC compatible)
[ 00:13:34 ] [ Config ] Option <blockc0> for device 0 (Phoenix Interface) not present, defaulting to NO
[ 00:13:34 ] [ Config ] Option <Seca-PPV> for device 0 (Phoenix Interface) not present, defaulting to NO
[ 00:13:34 ] [ Config ] /dev/ttyUSB0 ECM priority: round
[ 00:13:34 ] [ Config ] Option <spider> not present for User: dummy, defaulting to NO
[ 00:13:34 ] [ Config ] Option <spider> not present for User: dummy, defaulting to NO
[ 00:13:34 ] [ EMM Cache ] Initialising dynamic Cache
[ 00:13:34 ] [ ECM Cache ] Initialising dynamic Cache
[ NewCS ] Process ID is: 621
[ 00:13:34 ] Calibrating delay loops
[ 00:13:34 ] usleep(5) takes: 0 s 17 us
[ 00:13:34 ] usleep(10) takes: 0 s 23 us
[ 00:13:34 ] usleep(100) takes: 0 s 113 us
[ 00:13:34 ] usleep(500) takes: 0 s 511 us
[ 00:13:34 ] Allocation memory for 200 regular users
[ 00:13:34 ] [ Loader ] Starting Telnet on port 3001
[ 00:13:34 ] [ Loader ] Reader type 2 on node /dev/ttyUSB0
[ 00:13:34 ] [ Phoenix ] Opening device /dev/ttyUSB0
[ 00:13:34 ] [ Phoenix ] Setting Parity to: ODD
[ 00:13:34 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0
[ 00:13:34 ] [ Phoenix ] Setting Baud to standard 9600
[ 00:13:35 ] [ Phoenix ] Normal RESET on node /dev/ttyUSB0
[ 00:13:36 ] [ Loader ] Unknown card
[ 00:13:36 ] [ Loader ] Trying Irdeto (T=14)
[ 00:13:36 ] [ Loader ] Reader type 2 on node /dev/ttyUSB0
[ 00:13:37 ] [ Phoenix ] Opening device /dev/ttyUSB0
[ 00:13:37 ] [ Phoenix ] Setting Parity to: ODD
[ 00:13:37 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0
[ 00:13:37 ] [ Phoenix ] Setting Baud to custom 5713
[ 00:13:37 ] [ Phoenix ] Normal RESET on node /dev/ttyUSB0
[ 00:13:39 ] [ Loader ] Unknown card
[ 00:13:39 ] [ NewCS ] Ready to GO! :)
Where I am going wrong?
Last edited: