Hi!
Sorry for my bad English
I got this setup for my server now:
-Ubuntu-Server 9.04
-NewCS 1.65
-COM-port Phoneix Programmer([Only Registered Users Can See LinksClick Here To Register])
Error detecting my Card
Code:
root@ubuntu:/## newcs.i686
This is NewCS 1.65 - the New CardServer by the Butter-team..
Compiled on Jan 19 2009 at 18:24:57
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
[ 22:10:03 ] [ Box detect ] Box type 1 (General Boxtype - PC compatible)
[ 22:10:03 ] [ Config ] Option <blockc0> for device 0 (Phoenix on Com1) not present, defaulting to NO
[ 22:10:03 ] [ Config ] Option <Seca-PPV> for device 0 (Phoenix on Com1) not present, defaulting to NO
[ 22:10:03 ] [ Config ] Pincode for device 0 (Phoenix on Com1): 0000
[ 22:10:03 ] [ Config ] Option <sid> for device 0 (Phoenix on Com1) not present, no static sids added to filter
[ 22:10:03 ] [ Config ] /dev/ttyS0 ECM priority: round
[ 22:10:03 ] [ Newcamd ] Server name : newcs
[ 22:10:03 ] [ Newcamd ] Des key : 0102030405060708091011121314
[ 22:10:03 ] [ Config ] Option <hostname> or <port> not present for User: dummy, DISABLING reverse login
[ 22:10:03 ] [ Config ] Option <readers> not present for User: dummy, NO reader control enabled
[ 22:10:03 ] [ Newcamd ] User 2: dummy, Pass: dummy, Host none, Port: 0, Au: On, Spider allowed: No, Sidoverride: No, level: 1
[ 22:10:03 ] [ httpd ] httpd-user: newcs, password: newcs, accesslevel: admin
[ 22:10:03 ] [ EMM Cache ] Initialising dynamic Cache
[ 22:10:03 ] [ ECM Cache ] Initialising dynamic Cache
[ NewCS ] Process ID is: 7320
[ 22:10:03 ] Calibrating delay loops
[ 22:10:03 ] usleep(5) takes: 0 s 5 us
[ 22:10:03 ] usleep(10) takes: 0 s 10 us
[ 22:10:03 ] usleep(100) takes: 0 s 101 us
[ 22:10:03 ] usleep(500) takes: 0 s 500 us
[ 22:10:03 ] Allocation memory for 200 regular users
[ 22:10:03 ] [ Loader ] Starting Telnet on port 1001
[ 22:10:03 ] [ SockSrv ] Server thread started
[ 22:10:03 ] [ Loader ] Started HTTP-server on port: 8080
[ 22:10:03 ] [ Loader ] Reader type 2 on node /dev/ttyS0
[ 22:10:03 ] [ CardMan ] Reseting reader parameters
[ 22:10:03 ] [ Phoenix ] Opening device /dev/ttyS0
[ 22:10:03 ] [ Phoenix ] Setting Parity to: ODD
[ 22:10:03 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyS0
[ 22:10:03 ] [ Phoenix ] Setting Baud to standard 9600
[ 22:10:04 ] [ Phoenix ] Normal RESET on node /dev/ttyS0
[ 22:10:06 ] [ Loader ] Reset failed ...
[ 22:10:06 ] [ Card queue /dev/ttyS0 ] Starting...
[ 22:10:06 ] [ Loader ] Starting Newcamd Server on port 15050
[ 22:10:06 ] [ Newcamd ] Newcamd thread Server started on port 15050
newcamd: main loop
[ 22:10:06 ] [ Loader ] Starting Radegast Server on port 10001
[ 22:10:06 ] [ SockSrv ] Server thread started
[ 22:10:06 ] [ NewCS ] Ready to GO! :)
root@ubuntu:/##
but this programmer detecting and working in my Windows desctop.
my config file
tghe ProgBee looks like a clone of the Infinity USB PHoenix and I suspect that, like the infinity, you need to switch it to phoenix mode using some software. If it is in fact a clone you need to use the nftytool to switch the reader to phoenix (the usb port is used for that as well as to power the reader).
This is my device
On the Windows OS all work! And I not use software fro activate mode phoenix in Windows...
But I need run newcs in my server (ubuntu)
The " [ Loader ] Reset failed ..." in the log means the card didn't reply to the ATR.
Are you connecting both the USB cable AND the serial cable ?
Are the LED on when you connect the reader (1 red and 1 green) ?
I found a description of the reader and it's supposed to be a simple reader running at 3.58 MHz (the usb is only use for power), so it looks like it's more of a connection issue than anything else if the reader works on windows.
If you have more than 1 serial port make sure it's on serial 0 (/dev/ttyS0).
Last edited by rorothetroll; 12-July-2009 at 08:18.
(12-July-2009 10:26)
I connecting the USB cable AND the serial cable.
Input card on my reader
1 red and 1 green - ok
My PC have 1 serial port (/dev/ttyS0, but I tried use in my config ttyS1,ttyS2,ttyS3)
windows - ok
Linux - output error " [ Loader ] Reset failed ..."
ATR - that this?
that can be not so in linux in contrast with windows os?
Last edited by msavio; 12-July-2009 at 10:26.
Reason: Automerged Doublepost