Salut,
Ma tot chinui sa bag cardul de la tvr prin newcs1.67/cccam2.1.1 pe Kamikaze si nu reusesc deloc....
Code:
This is NewCS 1.67 RC1 [Build: 95] - the New CardServer by the Butter-team..
Compiled on Jul 14 2009 at 11:58:28
Reading Config file from /opt/var/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
[ 14:17:15 ] [ Box detect ] Box type 12 (OpenWRT Router)
[ 14:17:15 ] [ Config ] Pincode for device 0 (phoenix): 0000
[ 14:17:15 ] [ SID ] Adding SID FFF720 on Reader 0 (phoenix) - SO is: 0 [Allow]
[ 14:17:15 ] [ SID ] Adding SID 25900 on Reader 0 (phoenix) - SO is: 0 [Allow]
[ 14:17:15 ] [ SID ] Adding SID 25910 on Reader 0 (phoenix) - SO is: 0 [Allow]
[ 14:17:15 ] [ SID ] Adding SID 0000 on Reader 0 (phoenix) - SO is: 0 [Allow]
[ 14:17:15 ] [ Config ] /dev/usb/tts/0 ECM priority: round
[ 14:17:15 ] [ Newcamd ] Server name : newcs
[ 14:17:15 ] [ Newcamd ] Des key : 0102030405060708091011121314
[ 14:17:15 ] [ Config ] Option <readers> not present for User: topex, NO reader control enabled
[ 14:17:15 ] [ Newcamd ] User 2: topex, Pass: topex, Host 192.168.2.5, Port: 34000, Au: On, Spider allowed: No, Sidoverride: No, level: 0
[ 14:17:15 ] [ httpd ] httpd-user: newcs, password: newcs, accesslevel: admin
[ 14:17:15 ] [ EMM Cache ] Initialising dynamic Cache
[ 14:17:15 ] [ ECM Cache ] Initialising dynamic Cache
[ NewCS ] Process ID is: 2128
[ 14:17:15 ] Calibrating delay loops
[ 14:17:15 ] usleep(5) takes: 0 s 25 us
[ 14:17:15 ] usleep(10) takes: 0 s 29 us
[ 14:17:15 ] usleep(100) takes: 0 s 117 us
[ 14:17:15 ] usleep(500) takes: 0 s 516 us
[ 14:17:15 ] Allocation memory for 200 regular users
[ 14:17:15 ] [ Loader ] Starting Telnet on port 1001
[ 14:17:15 ] [ SockSrv ] Server thread started
[ 14:17:15 ] [ Loader ] Started HTTP-server on port: 8080
[ 14:17:15 ] [ Loader ] Reader type 2 on node /dev/usb/tts/0
[ 14:17:15 ] [ CardMan ] Reseting reader parameters
[ 14:17:15 ] [ Phoenix ] Opening device /dev/usb/tts/0
[ 14:17:16 ] [ Phoenix ] Setting Parity to: ODD
[ 14:17:16 ] [ Phoenix ] Setting 2 Stop bits on node /dev/usb/tts/0
[ 14:17:16 ] [ Phoenix ] Setting Baud to standard 9600
[ 14:17:16 ] [ Phoenix ] Normal RESET on node /dev/usb/tts/0
[ 14:17:18 ] [ Serial ] Read on fd 8 (len=12 timeout=5300ms)
[ 14:17:18 ] Phoenix_read:
0000: 03 11 e7 ff ff bc d7 ff 7c e9 f6 ff ........|...
[ 14:17:18 ] [ CardMan ] Atr header is 3F 77 [INVERSE]
[ 14:17:18 ] [ ATR ] Data:
0000: 3f 77 18 00 00 c2 14 00 c1 68 90 00 00 00 00 00 ?w.......h......
0010: 00 .
[ 14:17:18 ] [ ATR ] T=0 1etu=8.68us Guardtime:12etu WWT:115200etu
[ 14:17:18 ] [ ATR ] Historical bytes: [C2] [14] [00] [C1] h [90] [00]
[ 14:17:18 ] [ Loader ] Init Viaccess card
[ 14:17:18 ] Card reader locked for reader phoenix [/dev/usb/tts/0]
[ 14:17:18 ] [ Phoenix ] Setting Parity to: ODD
[ 14:17:18 ] [ Phoenix ] Setting 2 Stop bits on node /dev/usb/tts/0
[ 14:17:18 ] [ Phoenix ] Setting Baud to standard 9600
[ 14:17:18 ] [ Viaccess ] Sending to Card: CAA4000000
[ 14:17:18 ] Phoenix_write:
0000: ca a4 00 00 00 .....
[ 14:17:18 ] [ Serial ] Write on fd 8 (len=5)
[ 14:17:18 ] [ Serial ] Read on fd 8 (len=5 timeout=1500ms)
[ 14:17:18 ] [ Serial ] Read on fd 8 (len=1 timeout=1300ms)
[ 14:17:18 ] Phoenix_read:
0000: 14 .
[ 14:17:18 ] [ Serial ] Read on fd 8 (len=2 timeout=1300ms)
[ 14:17:18 ] Phoenix_read:
0000: 00 c1 ..
[ 14:17:18 ] [ Viaccess ] Status Word from Card: 00C1
[ 14:17:18 ] Card reader unlocked for reader phoenix [/dev/usb/tts/0]
[ 14:17:18 ] [ Loader ] Card 0500 on port /dev/usb/tts/0 failed
[ 14:17:18 ] [ Card queue /dev/usb/tts/0 ] Starting...
[ 14:17:18 ] [ Loader ] Starting Newcamd Server on port 34000
[ 14:17:18 ] [ Newcamd ] Newcamd thread Server started on port 34000
newcamd: main loop
[ 14:17:18 ] [ NewCS ] Ready to GO! :)
root@OpenWrt:~# [ 14:17:22 ] [ Newcamd ] new connection from 192.168.2.5 on socket 10
[ 14:17:22 ] [ Newcamd:34000 ] Connection from 192.168.2.5
[ 14:17:22 ] [ Newcamd:34000 ] User topex logged in, client: CCcam
[ 14:17:22 ] [ Newcamd:34000 ] Connection topex to not-ready server!
si aici newcs.xml:
Code:
<newcsconfig>
<readers name="Standard Phoenix on PC">
<globals>
<listening-ip>127.0.0.1</listening-ip>
</globals>
<device>
<name>phoenix</name>
<type>phoenix</type>
<mhz>357</mhz>
<baud>9600</baud>
<node>/dev/usb/tts/0</node>
<parity>odd</parity>
<reset>normal</reset>
<export>yes</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>yes</carddetect>
<newcamd_port>34000</newcamd_port>
<Seca-PPV>no</Seca-PPV>
<pincode>0000</pincode>
<protectedsid>
<id></id>
</protectedsid>
<priority>round</priority>
<autosid>yes</autosid>
<sid>
<allow>
<id>fff720</id>
<id>25900</id>
<id>25910</id>
</allow>
</sid>
</device>
</readers>
<radegastserver>
<enabled>No</enabled>
<port>0</port>
<allow>all</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_host>192.168.2.5</tcp_host>
<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>
<status>access</status>
<name>topex</name>
<password>topex</password>
<hostname>127.0.0.1</hostname>
<port>34000</port>
<au>on</au>
<spider>off</spider>
<sidoverride>off</sidoverride>
<rate>3</rate>
</user>
</newcamdserver>
</newcsconfig>
cu parity EVEN imi da cu unknow card, pe ODD imi vede cardul ca fiind Viacces dar doar atat, nu reusesc sa ma conectez cu cccam din router; mgcamd, multicas din receiver la newcs.
am schimbat aproape toti parametrii, dar nimic....sa inteleg ca newcs nu citeste bine cart.tvr pe acest kernel?
pentru cartela tvr am mai multe sanse cu oscam?
Merci,