Форум » Galaxy Innovations Gi S9895 HD Twin Open Linux Enigma2 » Эму/кардсервер NewCS » Ответить

Эму/кардсервер NewCS

rolex: Эму / кардсервер NewCS NewCS 1.67RC1 - первая версия ньюцс для Vu+ Общая информация по версии эму: [quote]v.1.67 RC1 Added support for the Synology devices on the Marvell ARM platform. Added support for the Coolstream STB. (PS! NO Sci support.. yet) Added support for the Azbox STB and devices on the Sigma MIPS platform. (PS! NO Sci support.. yet) ALOT of PC/SC fixes, prefer these devices with the ccid driver over phoenixes. Misc. phoenix fixes. HTB+ Viaccess fix. Added support for the new viasat cards (we think, no feedback on tests). PS! You _HAVE_ to use boxkey manually on certain NDS cards now.[/quote] [more]root@bm750:/usr/bin# ./newcs This is NewCS 1.67 RC1 [Build: 95] - the New CardServer by the Butter-t Compiled on Jul 14 2009 at 11:56:53 Reading Config file from /var/tuxbox/config/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 [ 20:52:19 ] [ Box detect ] Box type 7 (Dream Multimedia (MIPS) HD Box) [ 20:52:19 ] [ Config ] Option <blockc0> for device 0 (SCI Upper Slot) nt, defaulting to NO [ 20:52:19 ] [ Config ] Option <crypto-special> for device 0 (SCI Upper t present, defaulting to NO [ 20:52:19 ] [ Config ] Option <Seca-PPV> for device 0 (SCI Upper Slot) ent, defaulting to NO [ 20:52:19 ] [ Config ] Pincode for device 0 (SCI Upper Slot): 0000 [ 20:52:19 ] [ Config ] Option <sid> for device 0 (SCI Upper Slot) not no static sids added to filter [ 20:52:19 ] [ Config ] Option <protectedsid> for device 0 (SCI Upper S present, no PIN Code will be sent [ 20:52:19 ] [ Config ] /dev/sci1 ECM priority: fifo [ 20:52:19 ] [ Chameleon2 ] Adding name myname on destination remote (R hares) on port 1234 - 0x10014bc0 [ op ptr 0x10015b48 ] [ 20:52:19 ] [ Newcamd ] Server name : newcs [ 20:52:19 ] [ Newcamd ] Des key : 0102030405060708091011121314 [ 20:52:19 ] [ Config ] Option <hostname> or <port> not present for Use DISABLING reverse login [ 20:52:19 ] [ Config ] Option <readers> not present for User: dummy, N control enabled [ 20:52:19 ] [ Newcamd ] User 2: dummy, Pass: dummy, Host none, Port: 0 Spider allowed: No, Sidoverride: No, level: 1 [ 20:52:19 ] [ httpd ] httpd-user: newcs, password: newcs, accesslevel: [ 20:52:19 ] [ EMM Cache ] Initialising dynamic Cache [ 20:52:19 ] [ ECM Cache ] Initialising dynamic Cache [ NewCS ] Process ID is: 10222 [ 20:52:19 ] Calibrating delay loops [ 20:52:19 ] usleep(5) takes: 0 s 16 us [ 20:52:19 ] usleep(10) takes: 0 s 13 us [ 20:52:19 ] usleep(100) takes: 0 s 102 us [ 20:52:19 ] usleep(500) takes: 0 s 538 us [ 20:52:19 ] Allocation memory for 200 regular users [ 20:52:19 ] [ Loader ] Starting Telnet on port 1001 [ 20:52:19 ] [ SockSrv ] Server thread started [ 20:52:19 ] [ Loader ] Started HTTP-server on port: 8080 [ 20:52:19 ] [ Loader ] Reader type 5 on node /dev/sci1 [ 20:52:19 ] [ Sci ] Closing device /dev/sci1 [Handle=-1] [ 20:52:19 ] [ CardMan ] Reseting reader parameters [ 20:52:19 ] [ Sci ] Opening device /dev/sci1 [ 20:52:19 ] [ Sci ] Detected DM800 SCI SCI returned 0 on IOCTL IOCTL_SET_PARAMETERS [ 20:52:19 ] [ Sci ] resetting card now [ 20:52:19 ] [ Sci ] Reset [ 20:52:20 ] [ Sci ] Card reset [ 20:52:20 ] [ Sci ] Timeout is 3743808us [ 20:52:20 ] Sci_read: 0000: 3b ; [ 20:52:20 ] [ Sci ] Timeout is 1243968us [ 20:53:16 ] [ Sci ] Read Timeout (6 of 32) [ 20:53:16 ] Sci_read: 0000: 24 00 30 42 30 30 $.0B00 [ 20:53:16 ] [ CardMan ] Atr header is 3B 24 [NORMAL] [ 20:53:16 ] [ ATR ] Data: 0000: 3b 24 00 30 42 30 30 ;$.0B00 [ 20:53:16 ] [ ATR ] T=0 1etu=372.00us Guardtime:12etu WWT:9600etu [ 20:53:16 ] [ ATR ] Historical bytes: 0 B 0 0 [ 20:53:16 ] [ Loader ] Init Conax card [ 20:53:16 ] Card reader locked for reader SCI Upper Slot [/dev/sci1] [ 20:53:16 ] [ Sci ] Detected DM800 SCI [ 20:53:16 ] [ Sci ] Changing to: T=0 ETU=372 EGT=0 Freq=3680000.000M [ 20:53:16 ] [ Sci ] Changing to: WWT=719672704 BWT=2178 CWT=26851983 [ 20:53:16 ] [ Conax ] Sending to Card: DD26000003 [ 20:53:16 ] [ Sci ] Delay is 101us [ 20:53:16 ] Sci_write: 0000: dd 26 00 00 03 .&... [ 20:53:16 ] [ Sci ] Timeout is 1714176us [ 20:53:18 ] [ Sci ] Read Timeout (0 of 1) [ 20:53:18 ] Sci_read: [ 20:53:18 ] Card reader unlocked for reader SCI Upper Slot [/dev/sci1] [ 20:53:18 ] [ Loader ] Card 0B00 on port /dev/sci1 failed [ 20:53:18 ] [ Card queue /dev/sci1 ] Starting... [ 20:53:18 ] [ Loader ] Starting Newcamd Server on port 15050 [ 20:53:18 ] [ NewCS ] Ready to GO! [ 20:53:18 ] [ Newcamd ] Newcamd thread Server started on port 15050 newcamd: main loop root@bm750:/usr/bin# [ 20:53:18 ] [ Chameleon2 ] Server started on port realm myShares [ 20:53:18 ] [ Chameleon2 ] Failed to lookup remote [ 20:53:18 ] [ Chameleon2 ] Failed to connect to remote on port 1234 [N n 1 seconds] [ 20:53:19 ] [ Loader ] Reader type 5 on node /dev/sci1 [ 20:53:19 ] [ Sci ] Closing device /dev/sci1 [Handle=7] [ 20:53:19 ] [ CardMan ] Reseting reader parameters [ 20:53:19 ] [ Sci ] Opening device /dev/sci1 [ 20:53:19 ] [ Sci ] Detected DM800 SCI SCI returned 0 on IOCTL IOCTL_SET_PARAMETERS [ 20:53:19 ] [ Sci ] resetting card now [ 20:53:19 ] [ Sci ] Reset [ 20:53:19 ] [ Sci ] Card reset [ 20:53:19 ] [ Sci ] Timeout is 3743808us [ 20:53:19 ] Sci_read: 0000: 00 . [ 20:53:19 ] [ Sci ] Timeout is 1243968us [ 20:53:19 ] Sci_read: 0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ [ 20:53:19 ] [ Sci ] Forcing irdeto in Dream reader [ 20:53:19 ] [ Sci ] Kludging Irdeto and Beta Card reader [ 20:53:19 ] [ Sci ] Reset [ 20:53:20 ] [ Sci ] Timeout is 1243968us [ 20:53:20 ] Sci_read: 0000: 1b 80 03 00 00 00 05 00 00 00 01 01 01 04 04 00 ................ 0010: 00 00 80 25 00 00 00 00 00 00 82 08 00 00 00 00 ...%............ 0020: 00 00 01 00 00 00 00 00 00 00 16 00 00 00 00 00 ................ 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2c 01 ..............,. 0040: 00 00 02 00 00 00 00 00 00 00 01 00 00 00 00 07 ................ 0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 ................ 0060: 00 00 28 d0 65 c0 40 34 aa c0 00 00 00 00 10 d0 ..(.e.@4........ 0070: 65 c0 40 34 aa c0 00 00 00 00 02 03 00 00 3c 00 e.@4..........<. 0080: 00 00 e7 ff ff ff c0 b8 73 87 01 73 04 80 00 00 ........s..s.... 0090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00a0: 00 00 9a 49 01 10 84 95 0b 80 02 00 00 00 1c 00 ...I............ 00b0: 00 00 e8 98 3f 86 18 9f 5c 84 00 00 00 00 c0 b8 ....?...\....... 00c0: 73 87 07 00 00 00 c0 b8 73 87 08 96 0b 80 18 be s.......s....... 00d0: 09 80 50 df 00 80 00 00 00 00 00 00 00 00 00 00 ..P............. 00e0: 00 00 00 00 00 00 00 00 12 86 f7 ff ff ff 00 00 ................ 00f0: 00 00 01 73 04 80 c0 b8 73 87 b8 99 0b 80 00 00 ...s....s....... 0100: 00 00 a0 ff 00 80 00 00 00 00 9a 49 01 10 b4 b1 ...........I.... 0110: 03 80 01 00 00 00 a0 86 01 00 40 49 01 10 00 00 ..........@I.... 0120: 04 80 07 00 00 00 9a 49 01 10 38 33 .......I..83 [ 20:53:20 ] [ CardMan ] Atr header is 3B 9F [NORMAL] [ 20:53:20 ] [ ATR ] Data: 0000: 3b 9f 1b 80 03 00 00 00 05 00 00 00 01 01 01 04 ;............... 0010: 04 00 00 00 .... [ 20:53:20 ] [ ATR ] T=0 1etu=-infus Guardtime:12etu WWT:-9600etu [ 20:53:20 ] [ ATR ] Historical bytes: [00] [00] [00] [05] [00] [00] [0 01] [01] [04] [04] [00] [00] [00] [ 20:53:20 ] [ Loader ] Init Irdeto card [ 20:53:20 ] Card reader locked for reader SCI Upper Slot [/dev/sci1] WICHTIG! Es gilt das gleiche wie für alle Cardserver, wenn CCcam zuerst startet, wird newcs niemals starten Eingerichtet ist sci1, also der untere Cardreader.Die newcs.xml liegt in /etc/tuxbox/config und muss natürlich auf eure Bedürfnisse angepasst werden. [/more] ВАЖНО: Так же как и для всех картсерверов эму, если CCcam стартует первым, NewCS работать не будет. Используется интерфейс SCI1, т.е. нижний картслот. Файл конфига newcs.xml располагается по пути /etc/tuxbox/config и должен быть адаптирован под ваши потребности. Стандартный newcs.xml от DM800: [pre] <?xml version="1.0" ?> - <!-- For setup-issues, look in readme.txt! If there are other troubles, try different forums or irc channels around :o) The configfile are NOT case-sensitive, and shouldnt care about dos/unix cr/lf. ** This is the example file for Dreambox/TD etc. that use SCI interfaces. --> - <newCSconfig> - <readers name="Card Readers"> - <device> <name>lower</name> <type>sci</type> <mhz>357</mhz> <node>/dev/sci0</node> <parity>odd</parity> <reset>normal</reset> <export>Yes</export> <enabled>Yes</enabled> <blocksa>No</blocksa> <blockua>No</blockua> <blockga>No</blockga> - <!-- <boxkey>0000000000</boxkey> --> - <!-- <rsa>0000000000</rsa> --> <irdeto-camkey>0000000000000000</irdeto-camkey> <irdeto-camkey-data>0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</irdeto-camkey-data> <crypto-special>No</crypto-special> <ipk>0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</ipk> <ucpk>0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</ucpk> <PTShandshake>No</PTShandshake> <carddetect>yes</carddetect> <newcamd_port>34000</newcamd_port> <autosid>Yes</autosid> <Seca-PPV>no</Seca-PPV> <pincode>0000</pincode> <priority>round</priority> </device> - <!-- <device> --> <name>upper</name> <type>sci</type> <mhz>600</mhz> <node>/dev/sci1</node> <parity>odd</parity> <reset>normal</reset> <export>Yes</export> <enabled>Yes</enabled> <blocksa>No</blocksa> <blockua>No</blockua> <blockga>No</blockga> - <!-- <boxkey>0000000000</boxkey> --> - <!-- <rsa>0000000000</rsa> --> <irdeto-camkey>0000000000000000</irdeto-camkey> <irdeto-camkey-data>0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</irdeto-camkey-data> <crypto-special>No</crypto-special> <ipk>0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</ipk> <ucpk>0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</ucpk> <PTShandshake>No</PTShandshake> <carddetect>yes</carddetect> <newcamd_port>34001</newcamd_port> <autosid>Yes</autosid> <Seca-PPV>no</Seca-PPV> <pincode>0000</pincode> <priority>round</priority> - <!-- </device> --> - <device> <name>smargo</name> <type>phoenix</type> <mhz>600</mhz> <parity>none</parity> <node>/dev/usb/ttyUSB0</node> <export>Yes</export> <enabled>No</enabled> <blocksa>No</blocksa> <blockua>No</blockua> <blockga>Yes</blockga> <blockc0>No</blockc0> <boxkey>00000000</boxkey> <crypto-special>No</crypto-special> <PTShandshake>No</PTShandshake> <carddetect>yes</carddetect> <newcamd_port>34002</newcamd_port> <autosid>Yes</autosid> <Seca-PPV>no</Seca-PPV> <pincode>0000</pincode> <priority>round</priority> - <sid> <allow /> - <deny> <id /> </deny> </sid> </device> </readers> - <radegastserver> <enabled>No</enabled> <port>16000</port> - <allow> <hostname>localhost</hostname> </allow> </radegastserver> - <cache> <emm>20</emm> <ecm>-1</ecm> </cache> - <httpd> - <server> - <!-- Port to accept connections on --> <port>8080</port> <enabled>yes</enabled> </server> - <user> - <!-- valid value for userfile are: Any username you'd like - Used for browser to logon (its case sensitive). --> <name>newcs</name> - <!-- valid value for password are: Any password you'd like - Used for browser to logon (its case sensitive). --> <password>newcs</password> - <!-- valid value for accesslevel are: admin, stats - Define what rights the user has in the web-console --> <accesslevel>admin</accesslevel> </user> </httpd> - <debug> <password>NewCSpwd</password> <level>normal</level> <type>init</type> <output>console,tcp</output> <console_options>normal,init</console_options> <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>dummy</name> <password>dummy</password> <hostname>localhost</hostname> <port>12000</port> <au>on</au> <sidoverride>off</sidoverride> <spider>No</spider> <rate>2</rate> </user> - <user> <name>mpcs</name> <password>dummy</password> <au>No</au> <spider>No</spider> <sidoverride>No</sidoverride> - <readers> <allow>lower</allow> <allow>smargo</allow> </readers> <rate>0</rate> </user> </newcamdserver> </newCSconfig>[/pre] enigma2-plugin-cams-newcs_1.6.7rc1_mipsel.ipk скачать

Ответов - 27, стр: 1 2 All

paul07: А попробуй переименовать NewCS 1.67 в NewCS 1.65 (путь примерно /var/bin)и mgcamd поставь версию именно 1.31, перед этим удалив 1.35

paul07: paul07 пишет: А попробуй переименовать NewCS 1.67 в NewCS 1.65 (путь примерно /var/bin)и mgcamd поставь версию именно 1.31, перед этим удалив 1.35 0 Либо вот так Правим скрипт mgcamd_1.31_newcs_1.62_cam как показано ниже, иначе автоматом не будет запускаться сервер NewCS, изменения выделены красным цветом. Соответственно файл сервера тоже должен быть переименован как показано красным цветом !! CAMNAME="MgCamd 1.35/NewCS 1.67" USERNAME="" ZAPTIME=6 CAMID=4268 DVBSET=0 INFOFILE="ecm.info" INFOFILELINES= # end remove_tmp () { rm -rf /tmp/*.info* /tmp/*.tmp* /tmp/*mgcamd* } case "$1" in start) echo "[SCRIPT] $1: $CAMNAME" remove_tmp /var/bin/newcs_1.67 & sleep 15 /var/bin/mgcamd_1.35 & ;; stop) echo "[SCRIPT] $1: $CAMNAME" killall -9 mgcamd_1.35 newcs_1.67 2>/dev/null remove_tmp ;; *) $0 stop exit 0 ;; esac exit 0 По идеи с этим скриптом можно будет использовать NewCS 1.67 и mgcamd 1.35 Источник здесь

Wolf: [ 13:18:26 ] [ Sci ] Closing device /dev/sci0 [Handle=-1] [ 13:18:26 ] [ Sci ] Opening device /dev/sci0 [ 13:18:26 ] [ Sci ] No card present in reader Пишет, что карта не вставлена.


BigRiver: Спасибо за ответы. А если неработающие картаприёмники, как это можно узнать? С уважением Сергей.

BigRiver: paul07 по поводу скрипта, его вообще нет в var/script скачал mgcamd_1.31_newcs_1.62_cam , правил по Вашему примеру, а больше никакого не должно быть скрипта? С уважением Сергей.

paul07: BigRiver пишет: paul07 по поводу скрипта, его вообще нет в var/script скачал mgcamd_1.31_newcs_1.62_cam , правил по Вашему примеру, а больше никакого не должно быть скрипта? По идеи нет. К сожалению карты под рукой нету, по этому пытаюсь банально адаптировать советы взятые отсюда. Если картинка не пошла, попробуй еще раз внимательно прочесть инструкцию по этой ссылке... больше помочь мне к сожалению нечем пока.

paul07: BigRiver пишет: paul07 по поводу скрипта, его вообще нет в var/script скачал mgcamd_1.31_newcs_1.62_cam , правил по Вашему примеру, а больше никакого не должно быть скрипта? С уважением Сергей. Ставьте имидж dream elite, там из панели эмулятор Hypercam 2.0.4 карточка заработала сразу, на стандартных настройках!!!



полная версия страницы