Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


SuaveBugger

6 posts

Wannabe Geek


#62118 30-May-2010 12:20
Send private message

Hi guys,

Thanks in advance for any help I get...

I purchased all the bits for my HTPC about a year ago and have still not managed to get Sky working through it.  I put a bunch of issues down to Windows 7 Release Candidate, so I put the project on hold and am picking it up again now that I have the full version of Windows 7 installed.

What I'm trying to achieve is basically the config that Argo has described in http://www.geekzone.co.nz/forums.asp?forumid=84&topicid=39124.

I have built & installed the Jaycard reader, installed NewCS, DVBViewer and ACamd - but can't get ACamd to connect to NewCS.

The error that is coming up in the ACamd monitor is:
    11:58:20.129: COM1: open serial port
    11:58:20.129: COM1: open failed: No error
    11:58:20.129: failed to open serial port COM1
    11:58:20.129: COM1: shutting down
    11:58:20.129: COM1: shutdown done
    11:58:20.129: no smartcard interface defined!


I have an onboard COM1 port, which ACamd only seems to have a problem accessing when NewCS is running, so what is the best option?

1.  Install a PCI Serial Card?
2.  Use a USB to Serial adaptor?  (if so, what settings do I need to change?)
3.  ... something else is at fault?





My cardclient.conf file is set to this:
    newcamd:127.0.0.1:15000:1/0100/ffff:viewer1:password1:0102030405060708091011121314

My NewCS config file is the same as RustyGonad's forum posting here: http://www.geekzone.co.nz/forums.asp?forumid=84&topicid=61786


Detailed output of ACamd:
-------------------------
11:58:15.071: structloaders: registering loader keys
11:58:15.071: cardclients: registering cardclient Camd35
11:58:15.071: systems: registering CA system Cardclient, pri -15, ident 1000
11:58:15.071: structloaders: registering loader cardclient config
11:58:15.071: cardclients: registering cardclient EmuBox03
11:58:15.071: cardclients: registering cardclient Gbox
11:58:15.071: cardclients: registering cardclient GboxN
11:58:15.071: cardclients: registering cardclient MboxN
11:58:15.071: cardclients: registering cardclient Newcamd
11:58:15.071: cardclients: registering cardclient Radegast
11:58:15.071: systems: registering CA system SC-Irdeto, pri -10, ident 1001
11:58:15.071: feature: using feature SMARTCARD
11:58:15.071: registering Irdeto smartcard (id 49726474)
11:58:15.071: systems: registering CA system SC-Seca, pri -10, ident 1002
11:58:15.071: registering Seca smartcard (id 53656361)
11:58:15.071: systems: registering CA system SC-Viaccess, pri -10, ident 1003
11:58:15.071: registering Viaccess smartcard (id 56696173)
11:58:15.071: systems: registering CA system SC-Conax, pri -10, ident 1004
11:58:15.072: registering Conax smartcard (id 436f6e78)
11:58:15.072: systems: registering CA system SC-Cryptoworks, pri -10, ident 1005
11:58:15.072: registering Cryptoworks smartcard (id 4372576f)
11:58:15.072: systems: registering CA system SC-Nagra, pri -10, ident 1006
11:58:15.072: registering Nagra smartcard (id 4e616772)
11:58:15.072: systems: registering CA system SC-NDS, pri -10, ident 1007
11:58:15.072: registering NDS smartcard (id 56694732)
11:58:15.075: ACamd v0.6.0.3
11:58:15.075: structloaders: registering loader smartcard data
11:58:20.125: Engine DVB Viewer Pro
11:58:20.128: loading smartcard data from C:\Program Files\DVBViewer1\Plugins\smartcard.conf
11:58:20.129: loaded 9 smartcard data from C:\Program Files\DVBViewer1\Plugins\smartcard.conf
11:58:20.129: loading cardclient config from C:\Program Files\DVBViewer1\Plugins\cardclient.conf
11:58:20.129: now using protocol version 525 (cdLen=8)
11:58:20.129: hostname=127.0.0.1 port=15000 emm=0 emmCaids 0100/ffff
11:58:20.129: Newcamd: username=xxxx password=xxxx key=0102030405060708091011121314 providers=none
11:58:20.129: client 'Newcamd' ready
11:58:20.129: ** registered systems:
11:58:20.129: ** SC-NDS            (pri -10)
11:58:20.129: ** SC-Nagra          (pri -10)
11:58:20.129: ** SC-Cryptoworks    (pri -10)
11:58:20.129: ** SC-Conax          (pri -10)
11:58:20.129: ** SC-Viaccess       (pri -10)
11:58:20.129: ** SC-Seca           (pri -10)
11:58:20.129: ** SC-Irdeto         (pri -10)
11:58:20.129: ** Cardclient        (pri -15)
11:58:20.129: COM1: open serial port
11:58:20.129: COM1: open failed: No error
11:58:20.129: failed to open serial port COM1
11:58:20.129: COM1: shutting down
11:58:20.129: COM1: shutdown done
11:58:20.129: no smartcard interface defined!
11:58:23.661:
11:58:23.689: Ch: 1059 - 63
11:58:23.689: Programm crc: 6C91EBA5
11:58:23.689: PMT: ACamd_PMT.txt, search, not found PMT=0423 (AND SID=03FB)
11:58:23.870: Incomming PackageSize [188]
11:58:24.034: Auto search..., not found...






Detailed output of NewCS:
-------------------------
This is NewCS 1.65 - the New CardServer by the Butter-team..
Compiled on Jan 19 2009 at 17:54:08
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
[ 11:56:35 ] [ Box detect ] Windows Vista Build 7600
[ 11:56:35 ] [ Config ] Option <blockc0> for device 0 (Phoenix on Com1) not present, defaulting to N
O
[ 11:56:35 ] [ Config ] Option <crypto-special> for device 0 (Phoenix on Com1) not present, defaulti
ng to NO
[ 11:56:35 ] [ Config ] Option <PTShandshake> for device 0 (Phoenix on Com1) not present, defaulting
 to NO
[ 11:56:35 ] [ Config ] Option <Seca-PPV> for device 0 (Phoenix on Com1) not present, defaulting to
NO
[ 11:56:35 ] [ Config ] Pincode for device 0 (Phoenix on Com1): 0000
[ 11:56:35 ] [ Config ] Option <sid> for device 0 (Phoenix on Com1) not present, no static sids adde
d to filter
[ 11:56:35 ] [ Config ] com1 ECM priority: round
[ 11:56:36 ] [ Chameleon2 ] Adding name myname on destination remote (Realm: myShares) on port 1234
- 0x3ff8e8 [ op ptr  0x12c3e30 ]
[ 11:56:36 ] [ Newcamd ] Server name : newcs
[ 11:56:36 ] [ Newcamd ] Des key     : 0102030405060708091011121314
[ 11:56:36 ] [ Config ] Option <hostname> or <port> not present for User: xxxx, DISABLING reverse lo
gin
[ 11:56:36 ] [ Config ] Option <readers> not present for User: xxxx, NO reader control enabled
[ 11:56:36 ] [ Newcamd ] User 2: xxxx, Pass: xxxx, Host none, Port: 0, Au: On, Spider allowed: No, S
idoverride: No, level: 1
[ 11:56:36 ] [ EMM Cache ] Initialising dynamic Cache
[ 11:56:36 ] [ ECM Cache ] Initialising dynamic Cache
[ 11:56:36 ] Calibrating delay loops
[ 11:56:36 ] usleep(5) takes: 0 s 1000 us
[ 11:56:36 ] usleep(10) takes: 0 s 1000 us
[ 11:56:36 ] usleep(100) takes: 0 s 1000 us
[ 11:56:36 ] usleep(500) takes: 0 s 1000 us
[ 11:56:36 ] Allocation memory for 200 regular users
[ 11:56:36 ] [ Loader ] Starting Telnet on port 1001
[ 11:56:36 ] [ SockSrv ] Server thread started
[ 11:56:36 ] [ Loader ] Reader type 2 on node com1
[ 11:56:36 ] [ CardMan ] Reseting reader parameters
[ 11:56:36 ] [ Phoenix ] Opening device com1
[ 11:56:36 ] [ Phoenix ] Setting parity to NONE on node com1
[ 11:56:36 ] [ Phoenix ] Setting 2 Stop bits on node com1
[ 11:56:36 ] [ Phoenix ] Setting baud to 9600
[ 11:56:37 ] Phoenix_read:
0000: 03 00 37 5b 3f f7 fe 33 f2 f7 69 00 ad f5 f1 ff  ..7[?..3..i.....
0010: ff 8d a5 7f ff ff                                ......

[ 11:56:37 ] [ CardMan ] Atr header is 3F FF [INVERSE]
[ 11:56:37 ] [ ATR ] Data:
0000: 3f ff 13 25 03 10 80 33 b0 10 69 ff 4a 50 70 00  ?..%...3..i.JPp.
0010: 00 4e 5a 01 00 00 00 00 00 00 00                 .NZ........

[ 11:56:37 ] [ ATR ] T=0  1etu=25.23us  Guardtime:15etu  WWT:38400etu
[ 11:56:37 ] [ ATR ] Historical bytes: 3 [B0] [10] i [FF] J P p [00] [00] N Z [01] [00] [00]
[ 11:56:37 ] [ Loader ] Init NDS card
[ 11:56:37 ] Card reader locked for reader Phoenix on Com1 [com1]
[ 11:56:37 ] [ Phoenix ] Setting parity to ODD on node com1
[ 11:56:37 ] [ Phoenix ] Setting 2 Stop bits on node com1
[ 11:56:37 ] [ Phoenix ] Setting baud to 38400
[ 11:56:38 ] [ NDS ] Sending to Card: D074018001
[ 11:56:38 ] Phoenix_write:
0000: d0 74 01 80 01                                   .t...

[ 11:56:38 ] Phoenix_read:
0000: 74                                               t

[ 11:56:38 ] Phoenix_read:
0000: 84                                               .

[ 11:56:38 ] Phoenix_read:
0000: 90 00                                            ..

[ 11:56:38 ] [ NDS ] Status Word from Card: 9000
[ 11:56:38 ] [ NDS ] Sending to Card: D074010084
[ 11:56:38 ] Phoenix_write:
0000: d0 74 01 00 84                                   .t...

[ 11:56:38 ] Phoenix_read:
0000: 74                                               t

[ 11:56:38 ] Phoenix_read:
0000: 01 82 20 01 d0 0e ff 02 d0 18 0c 01 d0 1a 08 03  .. .............
0010: d0 1e 09 03 d0 2e ff 00 d0 32 01 01 d0 36 ff 02  .........2...6..
0020: d0 38 02 03 d0 40 ff 00 d0 42 ff 00 d0 44 35 01  .8...@...B...D5.
0030: d0 46 ff 00 d0 4a ff 00 d0 4c 09 01 d0 4e 05 03  .F...J...L...N..
0040: d0 50 ff 02 d0 54 2c 03 d0 56 ff 02 d0 58 4a 03  .P...T,..V...XJ.
0050: d0 5a ff 02 d0 5c 04 03 d0 5e ff 02 d0 70 25 03  .Z...\...^...p%.
0060: d0 72 23 03 d0 74 ff 02 d0 76 0a 03 d0 78 18 03  .r#..t...v...x..
0070: d0 7a ff 00 d0 7c ff 02 d0 b4 40 01 d0 bc 50 03  .z...|....@...P.
0080: d0 be 10 03                                      ....

[ 11:56:38 ] Phoenix_read:
0000: 90 00                                            ..

[ 11:56:38 ] [ NDS ] Status Word from Card: 9000
[ 11:56:38 ] [ NDS ] Sending to Card: D074168001
[ 11:56:38 ] Phoenix_write:
0000: d0 74 16 80 01                                   .t...

[ 11:56:38 ] Phoenix_read:
0000: 74                                               t

[ 11:56:38 ] Phoenix_read:
0000: 04                                               .

[ 11:56:38 ] Phoenix_read:
0000: 90 00                                            ..

[ 11:56:38 ] [ NDS ] Status Word from Card: 9000
[ 11:56:38 ] [ NDS ] Sending to Card: D074160004
[ 11:56:38 ] Phoenix_write:
0000: d0 74 16 00 04                                   .t...

[ 11:56:38 ] Phoenix_read:
0000: 74                                               t

[ 11:56:38 ] Phoenix_read:
0000: 26 02 3f 00                                      &.?.

[ 11:56:38 ] Phoenix_read:
0000: 90 00                                            ..

[ 11:56:38 ] [ NDS ] Status Word from Card: 9000
[ 11:56:38 ] [ NDS ] Sending to Card: D036008001
[ 11:56:38 ] Phoenix_write:
0000: d0 36 00 80 01                                   .6...

[ 11:56:38 ] Phoenix_read:
0000: 36                                               6

[ 11:56:38 ] Phoenix_read:
0000: 90                                               .

[ 11:56:38 ] Phoenix_read:
0000: 90 00                                            ..

[ 11:56:38 ] [ NDS ] Status Word from Card: 9000
[ 11:56:38 ] [ NDS ] Sending to Card: D036000090
[ 11:56:38 ] Phoenix_write:
0000: d0 36 00 00 90                                   .6...

[ 11:56:38 ] Phoenix_read:
0000: 36                                               6

[ 11:56:38 ] Phoenix_read:
0000: 90 00 04 02 00 1f 97 e1 01 00 00 dc 1d 16 10 de  ................
0010: 3a 03 f4 00 00 00 00 00 00 00 00 00 00 00 00 00  :...............
0020: 00 00 00 00 00 00 00 00 00 46 55 39 61 32 53 42  .........FU9a2SB
0030: 07 0c 9a f4 20 28 ae fa 08 00 00 e1 15 b7 d8 73  .... (.........s
0040: ae f6 af 31 8b 17 ac e9 53 bc da e9 06 01 80 de  ...1....S.......
0050: 0f de 0f fd 12 00 00 01 00 0b 00 01 17 71 0f 79  .............q.y
0060: 00 00 00 00 00 00 00 f3 b6 03 75 de df dd 0f 00  ..........u.....
0070: 00 ef 02 20 e2 13 80 00 00 00 ff 7f 00 00 00 00  ... ............
0080: 00 ff ff ff ff 00 00 00 00 fa 75 10 e4 14 73 44  ..........u...sD

[ 11:56:38 ] Phoenix_read:
0000: 90 00                                            ..

[ 11:56:38 ] [ NDS ] Status Word from Card: 9000
[ 11:56:38 ] [ NDS ] BOXID: B60375DE
[ 11:56:38 ] [ NDS ] Sending to Card: D04C000009
[ 11:56:38 ] Phoenix_write:
0000: d0 4c 00 00 09                                   .L...

[ 11:56:38 ] Phoenix_read:
0000: 4c                                               L

[ 11:56:38 ] Phoenix_write:
0000: b6 03 75 de 03 00 00 02 04                       ..u......

[ 11:56:38 ] Phoenix_read:
0000: 90 20                                            .

[ 11:56:38 ] [ NDS ] Status Word from Card: 9020
[ 11:56:38 ] [ NDS ] Sending to Card: D05800004A
[ 11:56:38 ] Phoenix_write:
0000: d0 58 00 00 4a                                   .X..J

[ 11:56:38 ] Phoenix_read:
0000: 58                                               X

[ 11:56:38 ] Phoenix_read:
0000: 15 48 05 00 1f 97 e1 00 bd 40 b9 73 00 82 01 00  .H.......@.s....
0010: 00 00 00 00 4f c8 29 00 09 6a 00 1f 97 e1 ff ff  ....O.)..j......
0020: ff ff 00 1f 97 00 ff ff ff 00 00 00 00 00 00 00  ................
0030: 00 00 08 00 00 00 01 4e 5a 4c 02 20 30 31 34 30  .......NZL. 0140
0040: 31 20 20 20 dd 0f 85 cb 00 00                    1   ......

[ 11:56:38 ] Phoenix_read:
0000: 90 20                                            .

[ 11:56:38 ] [ NDS ] Status Word from Card: 9020
[ 11:56:38 ] [ NDS ] CAID: 096A
[ 11:56:38 ] [ KeymaN ] Adding key 1F97E1 type 0 on Provider 000000 for caid 096A ID=0
[ 11:56:38 ] [ KeymaN ] Adding key 1F9700 type 1 on Provider 000000 for caid 096A ID=0
[ 11:56:38 ] [ NDS ] Sending to Card: D0B4000040
[ 11:56:38 ] Phoenix_write:
0000: d0 b4 00 00 40                                   ....@

[ 11:56:38 ] Phoenix_read:
0000: b4                                               .

[ 11:56:38 ] Phoenix_write:
0000: 23 e4 b9 5b 52 88 48 38 d4 d5 49 14 79 68 a6 13  #..[R.H8..I.yh..
0010: 07 1c 4e d4 bf 16 22 06 57 86 57 e2 2e f7 51 ca  ..N...".W.W...Q.
0020: c4 a1 55 29 23 06 23 2e 31 4f f6 fe 8a 5c e6 79  ..U)#.#.1O...\.y
0030: 42 27 a5 19 f7 a6 c4 e7 97 b8 ec 82 ea 01 00 01  B'..............

[ 11:56:38 ] Phoenix_read:
0000: 91 20                                            .

[ 11:56:38 ] [ NDS ] Status Word from Card: 9120
[ 11:56:38 ] [ NDS ] Sending to Card: D0BC000050
[ 11:56:38 ] Phoenix_write:
0000: d0 bc 00 00 50                                   ....P

[ 11:56:38 ] Phoenix_read:
0000: bc                                               .

[ 11:56:39 ] Phoenix_read:
0000: 28 93 ff 16 ed d4 45 05 5f 84 bc 06 f1 19 92 40  (.....E._......@
0010: bd 91 0f 75 d2 57 90 cb df a5 0e 5c 9e bb b3 3b  ...u.W.....\...;
0020: 61 4f c9 26 4a cd 00 c5 59 b7 b5 f7 fc f1 3c 64  aO.&J...Y.....<d
0030: e2 ee 6c e6 87 99 3c c0 19 10 1d 91 0e 7f 61 00  ..l...<.......a.
0040: 9b 5c 6a a8 b9 41 8e a4 8e 60 39 ba 45 04 1f f3  .\j..A...`9.E...

[ 11:56:39 ] Phoenix_read:
0000: 91 20                                            .

[ 11:56:39 ] [ NDS ] Status Word from Card: 9120
[ 11:56:39 ] [ NDS ] Sending to Card: D3BE000020
[ 11:56:39 ] Phoenix_write:
0000: d3 be 00 00 20                                   ....

[ 11:56:39 ] Phoenix_read:
0000: be                                               .

[ 11:56:39 ] Phoenix_read:
0000: 25 99 e3 4b 6a bb 74 3b 07 fa e8 17 52 a7 12 ad  %..Kj.t;....R...
0010: 2b 0a 33 0e 1b 3f 40 32 a7 d6 ff f4 50 18 de 9c  +.3..?@2....P...

[ 11:56:39 ] Phoenix_read:
0000: 91 20                                            .

[ 11:56:39 ] [ NDS ] Status Word from Card: 9120
[ 11:56:39 ] [ NDS ] Sending to Card: D14C000009
[ 11:56:39 ] Phoenix_write:
0000: d1 4c 00 00 09                                   .L...

[ 11:56:39 ] Phoenix_read:
0000: 4c                                               L

[ 11:56:39 ] Phoenix_write:
0000: b6 03 75 de 03 00 00 02 04                       ..u......

[ 11:56:39 ] Phoenix_read:
0000: 90 20                                            .

[ 11:56:39 ] [ NDS ] Status Word from Card: 9020
[ 11:56:39 ] Card reader unlocked for reader Phoenix on Com1 [com1]
[ 11:56:39 ] [ 096A ] Init took: 1.548000
[ 11:56:39 ] [ Loader ] Card 096A on port com1 ready
[ 11:56:39 ] [ Card queue com1 ] Starting...
[ 11:56:39 ] [ Loader ] Starting Newcamd Server on port 15000
[ 11:56:39 ] [ Newcamd ] Newcamd thread Server started on port 15000
newcamd: main loop

Create new topic
RustyGonad
495 posts

Ultimate Geek

Trusted

  #336316 30-May-2010 16:54
Send private message

Your cards not being registered.

I take it you using NewCS 1.65 - if so try pulling the card out literally about 1mm, you just hear it go click. What your trying to do is put it out just enough to trigger the "card inserted" switch.

NewCS prior to 1.67 has a bug/feature which reverses the polarity of the card insert detection switch. You can either modify your reader using the "Inverter Mod", use the trick above, or run 1.67 using linux.

BTW - NewCS also tends to lock the serial port. The safe bet is to reboot first before trying the above.

Another minor mod to your cardclient.conf - note the changes "0000" "0000", you could use "096A" "FFFF" in place of the stuff you have as well.

newcamd:127.0.0.1:15000:1/0000/0000:viewer1:password1:0102030405060708091011121314

Get that working and you should be good to go...

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.