Joex
10-09-2009, 10:07 AM
Hi,
I bought my azbox without checking if it could read my card.
That was a very bad idea - I have tried ever since to get it to work and getting very frustrated by now. The card i believe is similar to Sky italia.
The latest i read that newcs + mgcamd should work with the internal card reader for some cards. I'm not sure it works with mine but i tried and this what i get from telnet:
MMP[newcs]$ ./newcs
Reading Config file from /var/tuxbox/config/newcs.xml
Reading Config file from /EMU/OpenXCAS/newcs/newcs.xml
****** INTERNAL enabled
TCP-log password is disabled!
level: internal
type: all
output: console, tcp
logger config: level 16777215 type 255 output 5
Console log options: level 16777215 type 255
tcp port: 1001
TCP log options: level 16777215 type 255
[ 08:55:37 ] [ Box detect ] Box type 9
[ 08:55:37 ] [ Config ] hwkey not found !
[ 08:55:37 ] [ Config ] ekpair not found !
[ 08:55:37 ] [ Config ] /dev/scard ECM priority: hard
[ 08:55:37 ] [ Config ] No SIDFILTER is configured, disabling SidOverride for device 0 (upper)!
[ 08:55:37 ] [ Newcamd ] Server name : local
[ 08:55:37 ] [ Newcamd ] Des key : 0102030405060708091011121314
[ 08:55:37 ] [ Newcamd ] User 2: dummy, Pass: dummy, Host 127.0.0.1, Port: 12000, Au: Off, Spider allowed: No, Sidoverride: No, reader control: No, level: 0
[ 08:55:37 ] [ EMM Cache ] Initialising Cache with 10 entries
[ 08:55:37 ] [ ECM Cache ] Initialising dynamic Cache
[ NewCS ] Process ID is: 1076
[ 08:55:37 ] Calibrating delay loops
[ 08:55:37 ] usleep(5) takes: 0 s 14 us
[ 08:55:37 ] usleep(10) takes: 0 s 18 us
[ 08:55:37 ] usleep(100) takes: 0 s 107 us
[ 08:55:37 ] usleep(500) takes: 0 s 1020 us
[ 08:55:37 ] [ Loader ] Reader type 11 on node /dev/scard
[ 08:55:37 ] [ azbox ] Opening device /dev/scard
[ 08:55:39 ] ATR: 3F 7D 11 25 02 41 B0 03 69 FF 4A 50 F0 80 00 56
[ 08:55:39 ] ATR: 54 03
[ 08:55:39 ] [ ******* ] Atr header is 3F 7D [INVERSE]
[ 08:55:39 ] [ Loader ] Unknown card
[ 08:55:39 ] [ Loader ] Trying Irdeto (T=14)
[ 08:55:39 ] [ Loader ] Reader type 11 on node /dev/scard
[ 08:55:39 ] [ azbox ] Closing device /dev/scard
[ 08:55:39 ] [ azbox ] Opening device /dev/scard
[ 08:55:42 ] ATR: 3F 7D 11 25 02 41 B0 03 69 FF 4A 50 F0 80 00 56
[ 08:55:42 ] ATR: 54 03
[ 08:55:42 ] [ ******* ] Atr header is 3F 7D [INVERSE]
[ 08:55:42 ] [ Loader ] Unknown card
[ 08:55:42 ] [ NewCS ] Ready to GO! :)
MMP[newcs]$ My sign: CC 13 72 1B AF 96 C5
&
MMP[mgcamd]$ ./mgcamd
tuxbox mgcamd v1.33 by mixvt (compiled Mar 23 2009 15:02:24)
[mg] Net:9:7:2:5s Show ecm:1, emm:1 Up:1 Au:0 Dir:0 Osd:no:80:0 Cache:6 Log:3:172.16.1.1:8028 Reread:4
[mg] Ecm cache time: 15
Box type: azbox
Conax.Key error 2: No such file or directory
Keys readed
AutoRoll.Key error 2: No such file or directory
Conax.Key error 2: No such file or directory
[config] newcamd route = dummy:127.0.0.1:20000 server local
newcamd keep alive: 0, incoming port: 12000
Me: host id 0000 port 0 max send 10 max dist 10
Resend time: normal 3000 5000, nds 700 1500
Ports to monitor:
network port 12000 open: bind error 125: Address already in use
[OPENXCAS_API:Thu Sep 10 08:55:51.389] openxcas_open:285 ## mgcamd
[OPENXCAS_API:Thu Sep 10 08:55:51.394] load_xcas_control:98 ## loaded controller ID = 0x19760507
osdep_msq_server_open : key_request 0x54C4D100 key_response 0x54C4D101
osdep_msq_server_open : request msq is already created
osdep_msq_server_open : response msq is already created
osdep_msq_client_connect : key_request 0x54C4D100 key_response 0x54C4D101
[mgcam] emm thread started
[mgcamd] tps update started.
/EMU/OpenXCAS/mgcamd/tps.bin error 2: No such file or directory
[newcamd] Connecting to 127.0.0.1:20000...
[newcamd] Connection to 127.0.0.1:20000 failed (3ms)
newcs.xml:
<?xml version="1.0"?>
<newCSconfig>
<readers name="Card Readers">
<device>
<name>upper</name>
<type>azbox</type>
<node>/dev/scard</node>
<export>yes</export>
<enabled>yes</enabled>
<blocksa>no</blocksa>
<blockua>no</blockua>
<blockga>No</blockga>
<newcamd_port>20000</newcamd_port>
<autosid>no</autosid>
<carddetect>yes</carddetect>
<priority>hard</priority>
<PTShandshake>no</PTShandshake>
<mhz>500</mhz>
<boxkey>79FDC0E18D278138</boxkey>
<rsa>9ED52515321F04BCF7772151149D68951 54B559A8D825A4E7D711A9FAFD5C66BF6 4689501B254DF1832F754C21095379CF9 7B4E5BE6E0F1C9CEBF0A0E91D5ACD</rsa>
</device>
</readers>
<xmlserver>
<enabled>0</enabled>
</xmlserver>
<radegastserver>
<enabled>0</enabled>
</radegastserver>
<cache>
<emm>10</emm>
<ecm>-1</ecm>
</cache>
<debug>
<darint39>sintoi51</darint39>
<level>internal</level>
<type>all</type>
<output>console, tcp</output>
<logfile>/tmp/newcs.txt</logfile>
<console_options></console_options>
<file_options></file_options>
<udp_host>172.16.1.1</udp_host>
<udp_port>9000</udp_port>
<udp_options></udp_options>
<tcp_port>1001</tcp_port>
<tcp_options></tcp_options>
</debug>
<newcamdserver>
<enabled>yes</enabled>
<name>local</name>
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<user>
<name>dummy</name>
<password>dummy</password>
<hostname>127.0.0.1</hostname>
<port>12000</port>
</user>
</newcamd_server>
</newCSconfig>
Azbox Firmware 0.9.2880 TD210
MMP[newcs]$ ./newcs -ver
This is NewCS 1.20 Release Candidate 13 - the New CardServer by Butter-team..
Compiled on Mar 23 2009 at 14:46:00
Any help will be much appreciated.
I bought my azbox without checking if it could read my card.
That was a very bad idea - I have tried ever since to get it to work and getting very frustrated by now. The card i believe is similar to Sky italia.
The latest i read that newcs + mgcamd should work with the internal card reader for some cards. I'm not sure it works with mine but i tried and this what i get from telnet:
MMP[newcs]$ ./newcs
Reading Config file from /var/tuxbox/config/newcs.xml
Reading Config file from /EMU/OpenXCAS/newcs/newcs.xml
****** INTERNAL enabled
TCP-log password is disabled!
level: internal
type: all
output: console, tcp
logger config: level 16777215 type 255 output 5
Console log options: level 16777215 type 255
tcp port: 1001
TCP log options: level 16777215 type 255
[ 08:55:37 ] [ Box detect ] Box type 9
[ 08:55:37 ] [ Config ] hwkey not found !
[ 08:55:37 ] [ Config ] ekpair not found !
[ 08:55:37 ] [ Config ] /dev/scard ECM priority: hard
[ 08:55:37 ] [ Config ] No SIDFILTER is configured, disabling SidOverride for device 0 (upper)!
[ 08:55:37 ] [ Newcamd ] Server name : local
[ 08:55:37 ] [ Newcamd ] Des key : 0102030405060708091011121314
[ 08:55:37 ] [ Newcamd ] User 2: dummy, Pass: dummy, Host 127.0.0.1, Port: 12000, Au: Off, Spider allowed: No, Sidoverride: No, reader control: No, level: 0
[ 08:55:37 ] [ EMM Cache ] Initialising Cache with 10 entries
[ 08:55:37 ] [ ECM Cache ] Initialising dynamic Cache
[ NewCS ] Process ID is: 1076
[ 08:55:37 ] Calibrating delay loops
[ 08:55:37 ] usleep(5) takes: 0 s 14 us
[ 08:55:37 ] usleep(10) takes: 0 s 18 us
[ 08:55:37 ] usleep(100) takes: 0 s 107 us
[ 08:55:37 ] usleep(500) takes: 0 s 1020 us
[ 08:55:37 ] [ Loader ] Reader type 11 on node /dev/scard
[ 08:55:37 ] [ azbox ] Opening device /dev/scard
[ 08:55:39 ] ATR: 3F 7D 11 25 02 41 B0 03 69 FF 4A 50 F0 80 00 56
[ 08:55:39 ] ATR: 54 03
[ 08:55:39 ] [ ******* ] Atr header is 3F 7D [INVERSE]
[ 08:55:39 ] [ Loader ] Unknown card
[ 08:55:39 ] [ Loader ] Trying Irdeto (T=14)
[ 08:55:39 ] [ Loader ] Reader type 11 on node /dev/scard
[ 08:55:39 ] [ azbox ] Closing device /dev/scard
[ 08:55:39 ] [ azbox ] Opening device /dev/scard
[ 08:55:42 ] ATR: 3F 7D 11 25 02 41 B0 03 69 FF 4A 50 F0 80 00 56
[ 08:55:42 ] ATR: 54 03
[ 08:55:42 ] [ ******* ] Atr header is 3F 7D [INVERSE]
[ 08:55:42 ] [ Loader ] Unknown card
[ 08:55:42 ] [ NewCS ] Ready to GO! :)
MMP[newcs]$ My sign: CC 13 72 1B AF 96 C5
&
MMP[mgcamd]$ ./mgcamd
tuxbox mgcamd v1.33 by mixvt (compiled Mar 23 2009 15:02:24)
[mg] Net:9:7:2:5s Show ecm:1, emm:1 Up:1 Au:0 Dir:0 Osd:no:80:0 Cache:6 Log:3:172.16.1.1:8028 Reread:4
[mg] Ecm cache time: 15
Box type: azbox
Conax.Key error 2: No such file or directory
Keys readed
AutoRoll.Key error 2: No such file or directory
Conax.Key error 2: No such file or directory
[config] newcamd route = dummy:127.0.0.1:20000 server local
newcamd keep alive: 0, incoming port: 12000
Me: host id 0000 port 0 max send 10 max dist 10
Resend time: normal 3000 5000, nds 700 1500
Ports to monitor:
network port 12000 open: bind error 125: Address already in use
[OPENXCAS_API:Thu Sep 10 08:55:51.389] openxcas_open:285 ## mgcamd
[OPENXCAS_API:Thu Sep 10 08:55:51.394] load_xcas_control:98 ## loaded controller ID = 0x19760507
osdep_msq_server_open : key_request 0x54C4D100 key_response 0x54C4D101
osdep_msq_server_open : request msq is already created
osdep_msq_server_open : response msq is already created
osdep_msq_client_connect : key_request 0x54C4D100 key_response 0x54C4D101
[mgcam] emm thread started
[mgcamd] tps update started.
/EMU/OpenXCAS/mgcamd/tps.bin error 2: No such file or directory
[newcamd] Connecting to 127.0.0.1:20000...
[newcamd] Connection to 127.0.0.1:20000 failed (3ms)
newcs.xml:
<?xml version="1.0"?>
<newCSconfig>
<readers name="Card Readers">
<device>
<name>upper</name>
<type>azbox</type>
<node>/dev/scard</node>
<export>yes</export>
<enabled>yes</enabled>
<blocksa>no</blocksa>
<blockua>no</blockua>
<blockga>No</blockga>
<newcamd_port>20000</newcamd_port>
<autosid>no</autosid>
<carddetect>yes</carddetect>
<priority>hard</priority>
<PTShandshake>no</PTShandshake>
<mhz>500</mhz>
<boxkey>79FDC0E18D278138</boxkey>
<rsa>9ED52515321F04BCF7772151149D68951 54B559A8D825A4E7D711A9FAFD5C66BF6 4689501B254DF1832F754C21095379CF9 7B4E5BE6E0F1C9CEBF0A0E91D5ACD</rsa>
</device>
</readers>
<xmlserver>
<enabled>0</enabled>
</xmlserver>
<radegastserver>
<enabled>0</enabled>
</radegastserver>
<cache>
<emm>10</emm>
<ecm>-1</ecm>
</cache>
<debug>
<darint39>sintoi51</darint39>
<level>internal</level>
<type>all</type>
<output>console, tcp</output>
<logfile>/tmp/newcs.txt</logfile>
<console_options></console_options>
<file_options></file_options>
<udp_host>172.16.1.1</udp_host>
<udp_port>9000</udp_port>
<udp_options></udp_options>
<tcp_port>1001</tcp_port>
<tcp_options></tcp_options>
</debug>
<newcamdserver>
<enabled>yes</enabled>
<name>local</name>
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<user>
<name>dummy</name>
<password>dummy</password>
<hostname>127.0.0.1</hostname>
<port>12000</port>
</user>
</newcamd_server>
</newCSconfig>
Azbox Firmware 0.9.2880 TD210
MMP[newcs]$ ./newcs -ver
This is NewCS 1.20 Release Candidate 13 - the New CardServer by Butter-team..
Compiled on Mar 23 2009 at 14:46:00
Any help will be much appreciated.