Opened 14 years ago

Closed 13 years ago

#716 closed defect (wontfix)

Azbox HD internal cardreader nor cccam client working?

Reported by: hfmls Owned by: cogsi
Priority: critical Component: Reader
Severity: high Keywords:
Cc: Sensitive: no

Description

Hi, i use oscam cccam client and it worked fine till now, i use now version 2927 and i am trying cccam client and internal card reader with this configs:
Can u please tell me what i am doing wrong?

2010/08/18 7:24:41 1114 s camd 3.3x: disabled
2010/08/18 7:24:41 1114 s camd 3.5x: disabled
2010/08/18 7:24:41 1114 s cs378x: disabled
2010/08/18 7:24:41 1114 s newcamd: initialized (fd=7, port=31000, crypted)
2010/08/18 7:24:41 1114 s CAID: 1802
2010/08/18 7:24:41 1114 s provid #0: 000000
2010/08/18 7:24:41 1114 s provid #1: 004901
2010/08/18 7:24:41 1114 s provid #2: 004801
2010/08/18 7:24:41 1114 s cccam: disabled
2010/08/18 7:24:41 1114 s radegast: disabled
2010/08/18 7:24:41 1114 s logger started (pid=1115)
2010/08/18 7:24:41 1114 s Resolver thread started
2010/08/18 7:24:41 1114 s http started (pid=1118)
2010/08/18 7:24:41 1114 s reader started (pid=1119, device=/dev/scard)
2010/08/18 7:24:41 1114 s proxy started (pid=1120, server=cccccccccc.servebeer.com)
2010/08/18 7:24:41 1114 s waiting for local card init
2010/08/18 7:24:41 1118 h HTTP Server listening on port 83
2010/08/18 7:24:41 1119 r02 card detected
2010/08/18 7:24:41 1120 p03 proxy reader: xxxxxx(xxxxxxx.servebeer.com:12000) cccam v2.1.3 build 3165, maxhop: 2, retry ecm: 1, auto block: 0
2010/08/18 7:24:42 1120 p03 connecting to xxxxxx.servebeer.com
2010/08/18 7:24:42 1120 p03 xxxxxxxx.servebeer.com: resolved ip=94.23.47.70
2010/08/18 7:24:42 1120 p03 cccam(r) xxxxxx: sending own version: 2.1.3, build: 3165
2010/08/18 7:24:42 1120 p03 cccam(r) xxxxx: MSG_SRV_DATA (payload=72, hex=48)
2010/08/18 7:24:42 1120 p03 cccam(r) xxxxxxx: srv 17BF07F97A8CCA8F running v2.0.11 (2892)
2010/08/18 7:24:48 1119 r02 ATR: 3F FF 95 00 FF 91 81 71 FE 47 00 44 4E 41 53 50 31 34 32 20 52 65 76 47 30 31 15
2010/08/18 7:24:48 1119 r02 Maximum frequency for this card is formally 5 Mhz, clocking it to 3.68 Mhz
2010/08/18 7:24:49 1119 r02 detect native nagra card

(then nothing happens)

AZBox[oscamCAS]$ ./oscam
[OPENXCAS_API:Wed Aug 18 07:24:41.131] load_xcas_control:98 ## loaded control
[OPENXCAS_API:Wed Aug 18 07:24:41.136] openxcas_open_with_smartcard:331 ## os
[OPENXCAS_API:Wed Aug 18 07:24:41.138] openxcas_create_channel:34 ## (oscamCA
[OPENXCAS_API:Wed Aug 18 07:24:41.138] openxcas_module_open_channel:86 ## (os
osdep_msq_server_open : key_request 0x62C4B094 key_response 0x62C4B095
osdep_msq_server_open : request msq is already created
osdep_msq_server_open : response msq is already created
[OPENXCAS_API:Wed Aug 18 07:24:41.143] openxcas_adaptor_open_channel:221 ## (
osdep_msq_client_connect : key_request 0x62C4B094 key_response 0x62C4B095

configs:
oscam.conf

[global]
Logfile = /tmp/oscam.log
Disablelog = 1
MaxLogSize = 1024
Usrfile = /tmp/usr.log
Disableuserfile = 1
Usrfileflag = 0
WaitForCards = 1
PreferLocalCards = 1
Nice = -1
Saveinithistory = 1
readerautoloadbalance = 1

[newcamd]
port = xxxxx@1802:000000,004901,4801
key = 0102030405060708091011121314
keepalive = 1
mgclient = 0

[dvbapi]
enabled = 1
au = 0
boxtype = none
user = user
pmt_mode = 1

oscam.server:

[reader]
label = cabo
enable = 1
protocol = internal
device = /dev/scard
services = m,sptv,playboy,tvc,hot
rsakey = xxxxxxxxxxxxxxxxxxxxxxxxxxx
boxkey = xxxxxxxxxxxxxxx
detect = cd
mhz = 368
cardmhz = 368
group = 1
ecmcache = 1
lb_weight = 100

[reader]
label = xxcccam
enable = 1
protocol = cccam
device = xxxxxxx.xxxxxbeer.com,12000
account = xxxx,xxxxx123
inactivitytimeout = 1
group = 1
ecmcache = 1
lb_weight = 100
cccversion = 2.1.3
cccmaxhops = 2
cccdisableautoblock = 1

oscam.user:

[account]
user = user
pwd = user
group = 1

[account]
user = xxxx
pwd = xxxx
group = 1
au = 0
services = m,sptv,playboy,hot,tvc
ident = 1802:000000

Change History (9)

comment:1 by .:foggy:., 14 years ago

Resolution: invalid
Status: newclosed

device = /dev/scard <-- config wrong the new config must be:

[reader]
label = cabo
enable = 1
protocol = internal
device = 0

Ciao.

comment:2 by hfmls, 14 years ago

Resolution: invalid
Status: closedreopened

device = /dev/scard <-- config wrong the new config must be:

[reader]
label = cabo
enable = 1
protocol = internal
device = 0

Ciao.

This didn't work

same stuff hapenns:

2010/08/18 10:57:26 1004 s camd 3.3x: disabled
2010/08/18 10:57:26 1004 s camd 3.5x: disabled
2010/08/18 10:57:26 1004 s cs378x: disabled
2010/08/18 10:57:26 1004 s newcamd: initialized (fd=12, port=31000, crypted)
2010/08/18 10:57:26 1004 s CAID: 1802
2010/08/18 10:57:26 1004 s provid #0: 000000
2010/08/18 10:57:26 1004 s provid #1: 004901
2010/08/18 10:57:26 1004 s provid #2: 004801
2010/08/18 10:57:26 1004 s cccam: disabled
2010/08/18 10:57:26 1004 s radegast: disabled
2010/08/18 10:57:26 1004 s logger started (pid=1042)
2010/08/18 10:57:26 1004 s Resolver thread started
2010/08/18 10:57:26 1004 s http started (pid=1045)
2010/08/18 10:57:26 1004 s reader started (pid=1046, device=0)
2010/08/18 10:57:26 1004 s proxy started (pid=1047, server=xxxx.servebeer.com)
2010/08/18 10:57:26 1004 s waiting for local card init
2010/08/18 10:57:26 1045 h HTTP Server listening on port 83
2010/08/18 10:57:26 1046 r02 card detected
2010/08/18 10:57:26 1047 p03 proxy reader: hcccam (xxxx.servebeer.com:12000) cccam v2.0.11 build 2892, maxhop: 2, retry ecm: 1, auto block: 0
2010/08/18 10:57:26 1047 p03 connecting to xxxx.servebeer.com
2010/08/18 10:57:27 1044 s xxx.servebeer.com: resolved ip=94.23.47.70
2010/08/18 10:57:31 1047 p03 cccam(r) hcccam: sending own version: 2.0.11, build: 2892
2010/08/18 10:57:31 1047 p03 cccam(r) xxx: MSG_SRV_DATA (payload=72, hex=48)
2010/08/18 10:57:31 1047 p03 cccam(r) xxx: srv 4C58E96DE4607DEA running v2.0.11 (2892)
2010/08/18 10:57:31 1046 r02 ATR: 3F FF 95 00 FF 91 81 71 FE 47 00 44 4E 41 53 50 31 34 32 20 52 65 76 47 30 31 15
2010/08/18 10:57:31 1046 r02 Maximum frequency for this card is formally 5 Mhz, clocking it to 3.68 Mhz
2010/08/18 10:57:32 1046 r02 detect native nagra card

after this nothing happens

comment:3 by .:foggy:., 14 years ago

..try the last build #2929 setting mode= 4 ( or if don't work discover yourself) under reader config.

[reader]
label = reader
enable = 1

protocol = internal

device = 0
mode = 4

comment:4 by hfmls, 14 years ago

ok, some progress. card takes like 2...3 minutes to initiate, but this is the log:


OSCam << cardserver started at Wed Aug 18 14:12:32 2010


2010/08/18 14:12:32 1754 s version=0.99.4svn, build #2929, system=mips-azbox-linux, nice=-1
2010/08/18 14:12:32 1754 s max. clients=509, client max. idle=120 sec
2010/08/18 14:12:32 1754 s max. logsize=1024 Kb
2010/08/18 14:12:32 1754 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=0 ms
2010/08/18 14:12:32 1754 s shared memory initialized (size=4334566, id=262147)
2010/08/18 14:12:32 1754 s auth size=4772
2010/08/18 14:12:32 1754 s services reloaded: 0 services freed, 10 services loaded
2010/08/18 14:12:32 1754 s userdb reloaded: 0 accounts freed, 2 accounts loaded, 0 expired, 0 disabled
2010/08/18 14:12:32 1754 s signal handling initialized (type=sysv)
2010/08/18 14:12:32 1754 s 121 service-id's loaded
2010/08/18 14:12:32 1754 s can't open file "/PLUGINS/OpenXCAS/oscamCAS/oscam.provid" (err=2), no provids's loaded
2010/08/18 14:12:32 1754 s monitor: disabled
2010/08/18 14:12:32 1754 s camd 3.3x: disabled
2010/08/18 14:12:32 1754 s camd 3.5x: disabled
2010/08/18 14:12:32 1754 s cs378x: disabled
2010/08/18 14:12:32 1754 s newcamd: initialized (fd=7, port=31000, crypted)
2010/08/18 14:12:32 1754 s CAID: 1802
2010/08/18 14:12:32 1754 s provid #0: 000000
2010/08/18 14:12:32 1754 s provid #1: 004901
2010/08/18 14:12:32 1754 s provid #2: 004801
2010/08/18 14:12:32 1754 s cccam: disabled
2010/08/18 14:12:32 1754 s radegast: disabled
2010/08/18 14:12:32 1754 s logger started (pid=1755)
2010/08/18 14:12:32 1754 s Resolver thread started
2010/08/18 14:12:32 1754 s http started (pid=1758)
2010/08/18 14:12:32 1754 s reader started (pid=1759, device=0)
2010/08/18 14:12:32 1754 s waiting for local card init
2010/08/18 14:12:32 1758 h HTTP Server listening on port 83
2010/08/18 14:12:32 1759 r02 card detected
2010/08/18 14:12:32 1759 r02 openxcas sc: set mode 4
2010/08/18 14:12:37 1759 r02 ATR: 3F FF 95 00 FF 91 81 71 FE 47 00 44 4E 41 53 50 31 34 32 20 52 65 76 47 30 31 15
2010/08/18 14:12:37 1759 r02 Maximum frequency for this card is formally 5 Mhz, clocking it to 3.68 Mhz
2010/08/18 14:12:38 1759 r02 detect native nagra card
2010/08/18 14:14:44 1759 r02 -----------------------------------------
2010/08/18 14:14:44 1759 r02 |id |tier |valid from |valid to |
2010/08/18 14:14:44 1759 r02 +----+--------+------------+------------+
2010/08/18 14:14:45 1759 r02 |4901|3D48 |2010/04/13 |2010/06/21 |
2010/08/18 14:14:45 1759 r02 |4901|01E2 |2010/07/09 |2010/09/13 |
2010/08/18 14:14:45 1759 r02 |4901|0008 |2009/12/14 |2010/09/13 |
2010/08/18 14:14:45 1759 r02 |4901|5976 |2010/05/06 |2010/09/13 |
2010/08/18 14:14:45 1759 r02 |4901|3D47 |2010/04/13 |2010/06/21 |
2010/08/18 14:14:45 1759 r02 |4901|4C4B |2009/12/14 |2010/09/13 |
2010/08/18 14:14:45 1759 r02 |4901|270C |2010/07/09 |2010/09/13 |
2010/08/18 14:14:45 1759 r02 |4901|012E |2010/07/09 |2010/09/13 |
2010/08/18 14:14:45 1759 r02 |4901|2B2C |2008/05/19 |2010/09/13 |
2010/08/18 14:14:45 1759 r02 |4901|A397 |2010/05/06 |2010/09/13 |
2010/08/18 14:14:45 1759 r02 |4901|0270 |2010/05/06 |2010/09/13 |
2010/08/18 14:14:45 1759 r02 -----------------------------------------
2010/08/18 14:15:55 1759 r02 Negotiate sessionkey was not successfull! Please check rsa key and boxkey
2010/08/18 14:15:55 1759 r02 card system not supported
2010/08/18 14:15:55 1759 r02 card initializing error
2010/08/18 14:15:55 1754 s init for all local cards done

2010/08/18 14:15:55 1754 s anti cascading disabled
2010/08/18 14:15:55 1754 s dvbapi: initialized (pid=2208)

1802 (zon tvcabo) nagra3.
works ok in dm500

comment:5 by hfmls, 14 years ago

i have same problem, can somebody help azbox users out please? :)
almost perfect now, only cardreader to finish.

we still have 2 minute delay for card to start and show tiers, and another 2 minutes to give sessionkey error (why is that? )
and this happens:

2010/09/07 16:13:10 1209 r02 Negotiate sessionkey was not successfull! Please check rsa key and boxkey
2010/09/07 16:13:10 1209 r02 card system not supported
2010/09/07 16:13:10 1209 r02 card initializing error

comment:6 by hfmls, 14 years ago

Component: GeneralReader
Priority: majorcritical
Severity: mediumhigh

guys this still doesn't work :)
can u guys take a look at this please?

cccam client appears "reject group" when asking for ECM.

and internal card reader says:

2010/09/07 16:13:10 1209 r02 Negotiate sessionkey was not successfull! Please check rsa key and boxkey
2010/09/07 16:13:10 1209 r02 card system not supported
2010/09/07 16:13:10 1209 r02 card initializing error

but with same configs in dm500 all works.

comment:7 by cogsi, 13 years ago

Owner: set to cogsi
Status: reopenednew

Known issue I'm afraid - NO idea what causes it yet...

comment:8 by hfmls, 13 years ago

thank you for your feedback.
hope u can find the problem soon :) you're doing a great job. now we only need this to be fixed to be NOT dm500 dependent :)

comment:9 by docmarius, 13 years ago

Resolution: wontfix
Status: newclosed

This issue is EXTREMELY old.
We have a new stable version and a new trunk, some 3000 releases away.
Check on current versions and create new ticket if needed.

Note: See TracTickets for help on using tickets.