Ga naar inhoud


NEWSC probleem: [ Loader ] Card 0100 on port COM2 failed


Aanbevolen berichten

Gast DevonClark
Geplaatst:

Hoi,

ik hoop dat jullie mij hier kunnen helpen want ik geraak er echt niet aan uit.

 

Ik maak gebruik van een smargo smartcard + reader

om mijn kaart uit te lezen.

 

Newsc lijkt vlot de kaart te decoderen, er worden namelijk een hele resem codes opgehaald. Op het voorlaatste lijntje loopt het fout. Dan geeft Newsc de volgende error:

 

[ Loader ] Card 0100 on port COM2 failed

 

mijn newsc.xml:

Citaat:
<?xml version="1.0"?>

<newCSconfig>

<readers name="Standard Phoenix on PC">

<device>

<name>Phoenix on Com1</name>

<type>phoenix</type>

<mhz>368</mhz>

<node>COM2</node>

<parity>even</parity>

<reset>normal</reset>

<export>Yes</export>

<enabled>Yes</enabled>

<blocksa>No</blocksa>

<blockua>No</blockua>

<blockga>No</blockga>

<blockC0>Yes</blockC0>

 

<carddetect>no</carddetect>

<newcamd_port>10001</newcamd_port>

<autosid>Yes</autosid>

<Seca-PPV>Yes</Seca-PPV>

<pincode>0000</pincode>

<priority>round</priority>

</device>

</readers>

 

<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>

<hostname>localhost</hostname>

<name>newcs</name>

<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>

<user>

<spider>off</spider>

<rate>0</rate>

<sidoverride>on</sidoverride>

<status>access</status>

<name>dummy</name>

<password>dummy</password>

<au>off</au>

 

 

 

 

</user>

</newcamdserver>

</newCSconfig>

 

de output van newsc.exe:

Citaat:
Reading Config file from 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

[ 15:19:50 ] [ Box detect ] Windows Vista

[ 15:19:50 ] [ Config ] Option <crypto-special> for device 0 (Phoenix on Com1) not present, defaul

ng to NO

[ 15:19:50 ] [ Config ] Option <PTShandshake> for device 0 (Phoenix on Com1) not present, defaulti

to NO

[ 15:19:50 ] [ Config ] Pincode for device 0 (Phoenix on Com1): 0000

[ 15:19:50 ] [ Config ] Option <sid> for device 0 (Phoenix on Com1) not present, no static sids ad

d to filter

[ 15:19:50 ] [ Config ] COM2 ECM priority: round

[ 15:19:50 ] [ Newcamd ] Server name : newcs

[ 15:19:50 ] [ Newcamd ] Des key : 0102030405060708091011121314

[ 15:19:50 ] [ Config ] Option <hostname> or <port> not present for User: dummy, DISABLING reverse

ogin

[ 15:19:50 ] [ Config ] Option <readers> not present for User: dummy, NO reader control enabled

[ 15:19:50 ] [ Newcamd ] User 2: dummy, Pass: dummy, Host none, Port: 0, Au: Off, Spider allowed:

, Sidoverride: Yes, level: 0

[ 15:19:50 ] [ EMM Cache ] Initialising Cache with 20 entries

[ 15:19:50 ] [ ECM Cache ] Initialising dynamic Cache

[ 15:19:50 ] Calibrating delay loops

[ 15:19:50 ] usleep(5) takes: 0 s 1000 us

[ 15:19:50 ] usleep(10) takes: 0 s 1000 us

[ 15:19:50 ] usleep(100) takes: 0 s 1000 us

[ 15:19:50 ] usleep(500) takes: 0 s 1000 us

[ 15:19:50 ] Allocation memory for 200 regular users

[ 15:19:50 ] [ Loader ] Starting Telnet on port 1001

[ 15:19:50 ] [ SockSrv ] Server thread started

[ 15:19:50 ] [ Loader ] Reader type 2 on node COM2

[ 15:19:50 ] [ Phoenix ] Opening device COM2

[ 15:19:50 ] [ Phoenix ] Setting parity to EVEN on node COM2

[ 15:19:50 ] [ Phoenix ] Setting 2 Stop bits on node COM2

[ 15:19:50 ] [ Phoenix ] Setting baud to 9600

[ 15:19:52 ] Phoenix_read: 3B F7..

[ 15:19:52 ] [ Loader ] Clearing all autosids on reader ...

[ 15:19:52 ] [ CardMan ] Atr header is 3B F7 [NORMAL]

[ 15:19:52 ] [ ATR ] T=0 1etu=100.91us Guardtime:13etu WWT:144000etu

[ 15:19:52 ] [ ATR ] Historical bytes: p p [0A] [0E] l [b6] [D6]

[ 15:19:52 ] [ Loader ] Init Seca card

[ 15:19:52 ] [ Phoenix ] Setting parity to EVEN on node COM2

[ 15:19:52 ] [ Phoenix ] Setting 2 Stop bits on node COM2

[ 15:19:52 ] [ Phoenix ] Setting baud to 9600

[ 15:19:52 ] [ Seca ] Sending to Card: C10E00...

[ 15:19:52 ] Phoenix_write: C1 0E 00 0...

[ 15:19:52 ] Phoenix_read: 0E

[ 15:19:52 ] Phoenix_read: 00 23 00 00 21 BF ...

[ 15:19:52 ] Phoenix_read: 90

[ 15:19:52 ] Phoenix_read: 00

[ 15:19:52 ] [ Seca ] Status Word from Card: 9000

[ 15:19:52 ] [ Keyman ] Adding key 21BF... type 0 on Provider 000000 for caid 0100 ID=0

[ 15:19:52 ] [ Seca ] SerNo: 00 00 21 BF ...

[ 15:19:52 ] [ Seca ] Sending to Card: C11600...

[ 15:19:52 ] Phoenix_write: C1 16 ..

[ 15:19:52 ] Phoenix_read: 16

[ 15:19:52 ] Phoenix_read: FF FF ..

[ 15:19:52 ] Phoenix_read: 90

[ 15:19:52 ] Phoenix_read: 00

[ 15:19:52 ] [ Seca ] Status Word from Card: 9000

[ 15:19:52 ] [ Seca ] Sending to Card: C11200...

[ 15:19:52 ] Phoenix_write: C1 12 00 ...

[ 15:19:52 ] Phoenix_read: 12

[ 15:19:52 ] Phoenix_read: 00 00 ..

[ 15:19:52 ] Phoenix_read: 20 20 ..

[ 15:19:52 ] Phoenix_read: 90

[ 15:19:52 ] Phoenix_read: 00

[ 15:19:52 ] [ Seca ] Status Word from Card: 9000

[ 15:19:52 ] [ Keyman ] Adding key 10D.. type 1 on Provider 000000 for caid 0100 ID=0

[ 15:19:52 ] [ Seca ] Sending to Card: C112010...

[ 15:19:52 ] Phoenix_write: C1 12 ..

[ 15:19:52 ] Phoenix_read: 12

[ 15:19:52 ] Phoenix_read: A8 21 ..

[ 15:19:52 ] Phoenix_read: 20 20..

[ 15:19:52 ] Phoenix_read: 90

[ 15:19:52 ] Phoenix_read: 00

[ 15:19:52 ] [ Seca ] Status Word from Card: 9000

[ 15:19:52 ] [ Keyman ] Adding key 3CCAB type 1 on Provider 00A821 for caid 0100 ID=1

[ 15:19:52 ] [ Seca ] Sending to Card: C11202...

[ 15:19:52 ] Phoenix_write: C1 12 ..

[ 15:19:52 ] Phoenix_read: 12

[ 15:19:52 ] Phoenix_read: A8 25..

[ 15:19:52 ] Phoenix_read: 20 20 ..

[ 15:19:52 ] Phoenix_read: 90

[ 15:19:52 ] Phoenix_read: 00

[ 15:19:52 ] [ Seca ] Status Word from Card: 9000

[ 15:19:52 ] [ Keyman ] Adding key 8.. type 1 on Provider 00A825 for caid 0100 ID=2

[ 15:19:52 ] [ Seca ] Sending to Card: C1120..

[ 15:19:52 ] Phoenix_write: C1 12 ..

[ 15:19:52 ] Phoenix_read: 12

[ 15:19:52 ] Phoenix_read: A8 29 ..

[ 15:19:52 ] Phoenix_read: 20 20..

[ 15:19:52 ] Phoenix_read: 90

[ 15:19:52 ] Phoenix_read: 00

[ 15:19:52 ] [ Seca ] Status Word from Card: 9000

[ 15:19:52 ] [ Keyman ] Adding key 8.. type 1 on Provider 00A829 for caid 0100 ID=3

[ 15:19:52 ] [ Seca ] Sending to Card: C1120..

[ 15:19:52 ] Phoenix_write: C1 12 0..

[ 15:19:52 ] Phoenix_read: 12

[ 15:19:52 ] Phoenix_read: A8 2D ..

[ 15:19:52 ] Phoenix_read: 20 20 ..

[ 15:19:52 ] Phoenix_read: 90

[ 15:19:52 ] Phoenix_read: 00

[ 15:19:52 ] [ Seca ] Status Word from Card: 9000

[ 15:19:52 ] [ Keyman ] Adding key 0 type 1 on Provider 00A82D for caid 0100 ID=4

[ 15:19:52 ] [ Seca ] Sending to Card: C1480..

[ 15:19:52 ] Phoenix_write: C1 48 ..

[ 15:19:52 ] Phoenix_read: 6D

[ 15:19:52 ] Phoenix_write: 00

[ 15:19:52 ] Phoenix_read: 00

[ 15:19:53 ] [ Seca ] Read SW2 failed

[ 15:19:53 ] [ Phoenix ] Setting parity to EVEN on node COM2

[ 15:19:53 ] [ Phoenix ] Setting 2 Stop bits on node COM2

[ 15:19:53 ] [ Phoenix ] Setting baud to 9600

[ 15:19:53 ] [ Seca ] Sending to Card: C10E0..

[ 15:19:53 ] Phoenix_write: C1 0E ..

[ 15:19:53 ] Phoenix_read: 0E

[ 15:19:53 ] Phoenix_read: 00 23 ..

[ 15:19:53 ] Phoenix_read: 90

[ 15:19:53 ] Phoenix_read: 00

[ 15:19:53 ] [ Seca ] Status Word from Card: 9000

[ 15:19:53 ] [ Keyman ] Adding key 21BF2.. type 0 on Provider 000000 for caid 0100 ID=0

[ 15:19:53 ] [ Seca ] SerNo: 00 00 2..

[ 15:19:53 ] [ Seca ] Sending to Card: C11600..

[ 15:19:53 ] Phoenix_write: C1 16..

[ 15:19:53 ] Phoenix_read: 16

[ 15:19:53 ] Phoenix_read: FF FF ..

[ 15:19:53 ] Phoenix_read: 90

[ 15:19:53 ] Phoenix_read: 00

[ 15:19:53 ] [ Seca ] Status Word from Card: 9000

[ 15:19:53 ] [ Seca ] Sending to Card: C112000..

[ 15:19:53 ] Phoenix_write: C1 12 ..

[ 15:19:54 ] Phoenix_read: 12

[ 15:19:54 ] Phoenix_read: 00 00 ..

[ 15:19:54 ] Phoenix_read: 20 20 ..

[ 15:19:54 ] Phoenix_read: 90

[ 15:19:54 ] Phoenix_read: 00

[ 15:19:54 ] [ Seca ] Status Word from Card: 9000

[ 15:19:54 ] [ Keyman ] Adding key 10D.. type 1 on Provider 000000 for caid 0100 ID=0

[ 15:19:54 ] [ Seca ] Sending to Card: C11201..

[ 15:19:54 ] Phoenix_write: C1 12 ..

[ 15:19:54 ] Phoenix_read: 12

[ 15:19:54 ] Phoenix_read: A8 21..

[ 15:19:54 ] Phoenix_read: 20 20..

[ 15:19:54 ] Phoenix_read: 90

[ 15:19:54 ] Phoenix_read: 00

[ 15:19:54 ] [ Seca ] Status Word from Card: 9000

[ 15:19:54 ] [ Keyman ] Adding key 3C.. type 1 on Provider 00A821 for caid 0100 ID=1

[ 15:19:54 ] [ Seca ] Sending to Card: C11202..

[ 15:19:54 ] Phoenix_write: C1 12 ..

[ 15:19:54 ] Phoenix_read: 12

[ 15:19:54 ] Phoenix_read: A8 25 ..

[ 15:19:54 ] Phoenix_read: 20 20 ..

[ 15:19:54 ] Phoenix_read: 90

[ 15:19:54 ] Phoenix_read: 00

[ 15:19:54 ] [ Seca ] Status Word from Card: 9000

[ 15:19:54 ] [ Keyman ] Adding key 89.. type 1 on Provider 00A825 for caid 0100 ID=2

[ 15:19:54 ] [ Seca ] Sending to Card: C11203...

[ 15:19:54 ] Phoenix_write: C1 12 ..

[ 15:19:54 ] Phoenix_read: 12

[ 15:19:54 ] Phoenix_read: A8 29 ..

[ 15:19:54 ] Phoenix_read: 20 20 ..

[ 15:19:54 ] Phoenix_read: 90

[ 15:19:54 ] Phoenix_read: 00

[ 15:19:54 ] [ Seca ] Status Word from Card: 9000

[ 15:19:54 ] [ Keyman ] Adding key 89.. type 1 on Provider 00A829 for caid 0100 ID=3

[ 15:19:54 ] [ Seca ] Sending to Card: C11204..

[ 15:19:54 ] Phoenix_write: C1 12 ..

[ 15:19:54 ] Phoenix_read: 12

[ 15:19:54 ] Phoenix_read: A8 2D ..

[ 15:19:54 ] Phoenix_read: 20 20 ..

[ 15:19:54 ] Phoenix_read: 90

[ 15:19:54 ] Phoenix_read: 00

[ 15:19:54 ] [ Seca ] Status Word from Card: 9000

[ 15:19:54 ] [ Keyman ] Adding key 0 type 1 on Provider 00A82D for caid 0100 ID=4

[ 15:19:54 ] [ Seca ] Sending to Card: C148..

[ 15:19:54 ] Phoenix_write: C1 48 ..

[ 15:19:54 ] Phoenix_read: 6D

[ 15:19:54 ] Phoenix_write: 00

[ 15:19:54 ] Phoenix_read: 00

[ 15:19:55 ] [ Seca ] Read SW2 failed

[ 15:19:55 ] [ Loader ] Card 0100 on port COM2 failed

[ 15:19:55 ] [ Card queue COM2 ] Starting...

[ 15:19:55 ] [ Loader ] Starting Newcamd Server on port 10001

 

 

 

met dus duidelijk het probleem hier:

[ Loader ] Card 0100 on port COM2 failed

 

 

dit zorgt er ondere andere door dat acamd niet kan connecten met newsd. Hopelijk kan iemand van julli emij een stap verder helpen?

 

 


Geplaatst:

Hoe kom jij er bij om COM2 in te vullen?

 

<!-- valid value for node are full path to device, f.ex /dev/tts/0,

/dev/sciX (for dreambox), /dev/cardreaderX (for dragon),

/dev/tts/USBX (for a usb2serial device).

For PC/SC this is just 0, 1 ,2 and so on (reader number) -->

<node>/dev/tts/1</node>

SCHOTEL: 1,2 Mtr 50E-55W / 60cm Astra 19/23 / Airspy R2 SDR 24-1800 Mhz
RECEIVERS: Dreambox 920 UHD/DM8000/800SE / VU+ Ultimo 4K Sat & Kabel & T2 / Rpi2 ADS-B FlightFeeder

IPTV:  KPN Glas (AoN) 1 Gbit & IPTV KPN plus+ TV box  / Android 4K IPTV box / Kodi & Plex / 100+ TB Storage

Gast DevonClark
Geplaatst:

omdat mijn cardreader via usb verbonden is.

moest ik type veranderen (dus niet phoenix) dan vraagt hij inderdaad om een bus:dev in te vullen.

Maar volgens smargo (fabrikant) moest je via device manager de USB SERIAL PORT op com2 zetten. Sinds ik dat deed had ik allesinds die output van code. Maar ik zal is proberen om het via die dev/... klaar te krijgen

 

 

 

 

edit:

/dev/tts/USB1-10 geeft mij allesinds een 'could not find device fout' , aslook de serie /dev/ttyUSB1-10.

 

Het type caardlezer veranderen naar smargo/smartreader veranderd ook niets.

 

TOt hiertoe krijg ik enkel die codes als ik COM2 als node ingeef

Gast DevonClark
Geplaatst:

problem solved.

Heb een config file van iemand van op internet gebruikt,

met succes!

Geplaatst:

hoi

 

100% zeker het adres naar de compoort

bijv: /dev/tts/USB (is bij somige distro's anders ) i.p.v com2

 

beste is om je eigen config te maken en niet van iemand anders

daar kunnen ook fouten inzitten of dingen die je niet gebruikt.

 

 

kathrein ufs 910

picmod 1.51 on usb

aaf 1.5 on usb

Maak een account aan of log in om te reageren

Je moet een lid zijn om een reactie te kunnen achterlaten

Account aanmaken

Registreer voor een nieuwe account in onze community. Het is erg gemakkelijk!

Registreer een nieuwe account

Inloggen

Heb je reeds een account? Log hier in.

Nu inloggen
  • Wie is er online   0 leden

    • Er zijn geen geregistreerde gebruikers deze pagina aan het bekijken
×
×
  • Nieuwe aanmaken...