Hi All
I'm playing with NewCS 1.67 on Linux - and not getting anywhere to quickly.
My setup is:
Operating System - CC5
Card Reader - Jaycar (Jumper set to Phoenix and 375Mhz, button pressed In)
Card - NZ4500 Blue in color
My Configuration file: borrowed from another post on here...
<?xml version="1.0"?>
<newCSconfig>
<readers name="Standard Phoenix on PC">
<device>
<name>Phoenix on Com1</name>
<type>phoenix</type>
<mhz>357</mhz>
<node>/dev/ttyS0</node>
<parity>odd</parity>
<reset>normal</reset>
<export>No</export>
<enabled>Yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<blockC0>Yes</blockC0>
<crypto-special>No</crypto-special>
<PTShandshake>No</PTShandshake>
<carddetect>No</carddetect>
<newcamd_port>15000</newcamd_port>
<autosid>Yes</autosid>
<pincode>0000</pincode>
<Seca-PPV>No</Seca-PPV>
<priority>round</priority>
</device>
</readers>
<radegastserver>
<enabled>No</enabled>
<port>10001</port>
<allow>
<hostname>localhost</hostname>
</allow>
</radegastserver>
<cache>
<emm>20</emm>
<ecm>-1</ecm>
</cache>
<httpd>
<server>
<port>8080</port>
<enabled>yes</enabled>
</server>
<user>
<name>newcs</name>
<password>newcs</password>
<accesslevel>admin</accesslevel>
</user>
</httpd>
<debug>
<password>NewCSpwd</password>
<mode>simple</mode>
<level>internal</level>
<type>all</type>
<output>console,tcp</output>
<tcp_port>1001</tcp_port>
<tcp_options>normal,init</tcp_options>
</debug>
<newcamdserver>
<enabled>Yes</enabled>
<name>newcs</name>
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<user>
<name>tuner1</name>
<password>b1teme</password>
<au>on</au>
<hostname>localhost</hostname>
<port>15000</port>
<sidoverride>off</sidoverride>
<spider>No</spider>
<cardlevel>1</cardlevel>
</user>
</newcamdserver>
<chameleon2>
<server>
<port>1234</port>
<enabled>no</enabled>
<realm>myShares</realm>
</server>
<peer>
<hostname>remote</hostname>
<port>1234</port>
<name>myname</name>
<password>mypassword</password>
<realm>myShares</realm>
</peer>
<user>
<name>myname</name>
<password>mypassword</password>
<realm>myShares</realm>
</user>
</chameleon2>
</newCSconfig>
With the above configuration, I get the following output upon running the program:
This is NewCS 1.67 RC1 [Build: 95] - the New CardServer by the Butter-team..
Compiled on Jul 14 2009 at 12:12:45
Reading Config file from /etc/newcs.xml
TCP-log password is enabled, set to: NewCSpwd
level: internal
type: all
output: console,tcp
logger config: level 16777215 type 255 output 5
Console log options: level 16777215 type 255
TCP log options: level 1 type 255
[ 16:57:09 ] [ Box detect ] Box type 1 (General Boxtype - Generic)
[ 16:57:09 ] [ Config ] Option <blockc0> for device 0 (Phoenix on Com1) not present, defaulting to NO
[ 16:57:09 ] [ Config ] Pincode for device 0 (Phoenix on Com1): 0000
[ 16:57:09 ] [ Config ] Option <sid> for device 0 (Phoenix on Com1) not present, no static sids added to filter
[ 16:57:09 ] [ Config ] Option <protectedsid> for device 0 (Phoenix on Com1) not present, no PIN Code will be sent
[ 16:57:09 ] [ Config ] /dev/ttyS0 ECM priority: round
[ 16:57:09 ] [ Chameleon2 ] Adding name myname on destination remote (Realm: myShares) on port 1234 - 0x9ffcf18 [ op ptr 0x9fff0c0 ]
[ 16:57:09 ] [ Newcamd ] Server name : newcs
[ 16:57:09 ] [ Newcamd ] Des key : 0102030405060708091011121314
[ 16:57:09 ] [ Config ] Option <readers> not present for User: tuner1, NO reader control enabled
[ 16:57:09 ] [ Newcamd ] User 2: tuner1, Pass: b1teme, Host localhost, Port: 15000, Au: On, Spider allowed: No, Sidoverride: No, level: 1
[ 16:57:09 ] [ httpd ] httpd-user: newcs, password: newcs, accesslevel: admin
[ 16:57:09 ] [ EMM Cache ] Initialising dynamic Cache
[ 16:57:09 ] [ ECM Cache ] Initialising dynamic Cache
[ NewCS ] Process ID is: 4944
[ 16:57:09 ] Calibrating delay loops
[ 16:57:09 ] usleep(5) takes: 0 s 7 us
[ 16:57:09 ] usleep(10) takes: 0 s 12 us
[ 16:57:09 ] usleep(100) takes: 0 s 102 us
[ 16:57:09 ] usleep(500) takes: 0 s 501 us
[ 16:57:09 ] Allocation memory for 200 regular users
[ 16:57:09 ] [ Loader ] Starting Telnet on port 1001
[ 16:57:09 ] [ SockSrv ] Server thread started
[ 16:57:09 ] [ Loader ] Started HTTP-server on port: 8080
[ 16:57:09 ] [ Loader ] Reader type 2 on node /dev/ttyS0
[ 16:57:09 ] [ CardMan ] Reseting reader parameters
[ 16:57:09 ] [ Phoenix ] Opening device /dev/ttyS0
[ 16:57:09 ] [ Phoenix ] Setting Parity to: ODD
[ 16:57:09 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyS0
[ 16:57:09 ] [ Phoenix ] Setting Baud to standard 9600
[ 16:57:10 ] [ Phoenix ] Normal RESET on node /dev/ttyS0
[ 16:57:11 ] [ Loader ] Reset failed ...
[ 16:57:11 ] [ Loader ] Starting Newcamd Server on port 15000
[ 16:57:11 ] [ NewCS ] Ready to GO! :)
[ 16:57:11 ] [ Card queue /dev/ttyS0 ] Starting...
[ 16:57:11 ] [ Newcamd ] Newcamd thread Server started on port 15000
However with card detect set to yes, I get the above, but with the following repeated a few times...
[ 17:03:50 ] [ Loader ] Reader type 2 on node /dev/ttyS0
[ 17:03:50 ] [ CardMan ] Reseting reader parameters
[ 17:03:50 ] [ Phoenix ] Opening device /dev/ttyS0
[ 17:03:50 ] [ Phoenix ] Setting Parity to: ODD
[ 17:03:50 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyS0
[ 17:03:50 ] [ Phoenix ] Setting Baud to standard 9600
[ 17:03:51 ] [ Phoenix ] Normal RESET on node /dev/ttyS0
[ 17:03:52 ] [ Loader ] Reset failed ...
[ 17:03:52 ] [ Loader ] Reader type 2 on node /dev/ttyS0
[ 17:03:52 ] [ CardMan ] Reseting reader parameters
[ 17:03:52 ] [ Phoenix ] Opening device /dev/ttyS0
[ 17:03:52 ] [ Phoenix ] Setting Parity to: ODD
[ 17:03:52 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyS0
[ 17:03:52 ] [ Phoenix ] Setting Baud to standard 9600
[ 17:03:53 ] [ Phoenix ] Normal RESET on node /dev/ttyS0
[ 17:03:54 ] [ Loader ] Reset failed ...
Now, I assume it cant talk to the card - any ideas to keep me going?
The reader is a Jaycar version.
Cheers
David