Quantcast
Aktuelles
Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

No ECM handled by dvbapi?

Masta-G

Newbie
Registriert
12. Juli 2013
Beiträge
23
Reaktionspunkte
1
Punkte
3
HI there,

I upgraded my MCA with the Samsung Xilinx firmware (MLC_Rev2a.jed).
I'm running XMAS 0.2.2 with default pre-installed oscam.

Only I updated the cam firmware with the caid from my cable provider 0604 andsome other caids I find useful.
I also bumped the version to 3267:
Code:
./mca_tool.pl -x mca_cam.upb 
Firmware name:    MNG
Firmware version: 3267
CAIDS:            1801,1802,1803,1810,1830,1833,1834,1835,1838,1843,1880,1702,0602,0603,0D00,0604,0606,09C4,09C7,098C,0963,09CD,0626,0B01,0500,0100

However oscam doesn't seem to receive ECM from my TV (Samsung UE55D8000).
Code:
>> OSCam <<  cardserver started at Fri Jul 26 16:17:40 2013
-------------------------------------------------------------------------------
2013/07/26 16:17:40        0 s >> OSCam <<  cardserver started, version 1.20-unstable_svn, build r8757 (arm-none-linux-gnueabi-mca)
2013/07/26 16:17:41        0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2013/07/26 16:17:41        0 s signal handling initialized
2013/07/26 16:17:41        0 s LED support is not active. Can't detect machine type.
2013/07/26 16:17:41        0 s monitor: initialized (fd=11, port=89)
2013/07/26 16:17:41        0 s mca [newcamd] creating thread for device xxxxx
2013/07/26 16:17:41   110D60 p proxy xxxxx:1234 newcamd525 (fd=0)
2013/07/26 16:17:41        0 s loadbalancer: can't read from file /tmp/.oscam/stat
2013/07/26 16:17:41   110D60 p mca [newcamd] proxy initialized, server xxxxx:1234
2013/07/26 16:17:41        0 s waiting for local card init
2013/07/26 16:17:42   10DF50 h webif: decompressed 77508 bytes back into 177664 bytes
2013/07/26 16:17:42   10DF50 h HTTP Server running. ip=0.0.0.0 port=90
2013/07/26 15:42:54        0 s init for all local cards done
2013/07/26 15:42:54        0 s anti cascading disabled
2013/07/26 15:42:54   1234A8 c plain dvbapi-client granted (dvbapi, au=on (1 reader))
2013/07/26 15:43:03   1234A8 c [DVBAPI] Tuner sends PMT command 3 for channel 00CF
2013/07/26 15:43:03   1234A8 c [ADD PID 0] CAID: 0604 ECM_PID: 0FA1 PROVID: 000000
2013/07/26 15:43:03   1234A8 c [ADD PID 1] CAID: 0602 ECM_PID: 1389 PROVID: 000000
2013/07/26 15:43:03   1234A8 c Found 2 ECMpids and 4 STREAMpids in PMT
2013/07/26 15:43:03   1234A8 c New program number: 00CF (0604:00CF unknown) [pmt_list_management 3]
2013/07/26 15:43:03   1234A8 c [DVBAPI] Demuxer #0 trying to descramble PID #0 CAID 0604 PROVID 000000 ECMPID 0FA1 ANY CHID

After this nothing happens.
I tried changing channels but still nothing happens, no logging.
 
AW: No ECM handled by dvbapi?

Moin (we say it so in Northern Germany),


please, can you tell us exactly what is your problem? In the Log I can see, that one service is requested. May be, that the configs on your Server are not ok and the protocol newcamd does not work correctly.

Please show us the important configs oscam.conf, oscam.user and oscam.server.

Lieben Gruß
Bombadil
 
Okay this is what I did:

Samsung 3D Led UE55D8000 (2011) running fw: 001027.1 (official non-rooted).

1. First I run Cas Studio -> Matrix Reloaded -> Erase all
2. Write mca-cam-v326-FlashWithCASonly.bin -> Success
3. Take out the MCA and insert 2GB sdcard programmed with: MCA_NG-0.2.2-XMAS-339-SD-FULL_1G
4. Insert into my TV and wait ~20minutes for it to install.
5. Take out MCA and remove sdcard.
6. Reinsert MCA into TV and setup Wifi.
7. Update /oscam with version 1.20-unstable_svn, build r8789 (arm-none-linux-gnueabi-mca) and chmod 755 it.
8. Replace /root/mca_cam.upb with version 3267 from downloads because it contains my cable caid: 0604
9. Reboot and wait another ~10 minutes for the cam to update because of new mca_cam.upb
10. Setup oscam config in /var/mca/d1 to connect with my CSP server (extended newcamd):
oscam.conf:
Code:
[global]
logfile                       = /var/log/oscam.log;stdout
cwlogdir                      = /var/log/oscam_CW.log
emmlogdir                     = /var/log/oscam_EMM.log
maxlogsize                    = 100
usrfileflag                   = 1
nice                          = -1

[monitor]
port                          = 89
nocrypt                       = 127.0.0.1,10.0.0.0-10.255.255.255,192.168.0.0-192.168.255.255
hideclient_to                 = 15

[dvbapi]
enabled                       = 1
au                            = 1
user                          = dvbapi

[webif]
httpport                      = 90
httphelplang                  = en
httpuser                      = oscam
httppwd                       = oscam
httprefresh                   = 30
httpallowed                   = 127.0.0.1,10.0.0.0-10.255.255.255,192.168.0.0-192.168.255.255

oscam.server:
Code:
label     = oscam_server
protocol  = newcamd
key       = 0102030405060708091011121314
device    = server,1234
user      = mca
password  = mca
group     = 1

oscam.user:
Code:
[account]
user                          = dvbapi
group                         = 1
au                            = oscam_server

oscam.dvbapi:
Code:
P: 0604
#P: 1838
#P: 1722
#P: 1835
#I: 0

#P: 0500:023800            # prioritize 0500 with provider 023800
#P: :::1BCD                # prioritize ecm stream with pid 1BCD on any channel
#P: 1722                # prioritize 1722
#P: 1830::EF75                # prioritize 1830 on channel EF75 only
#M: 1830        1830:003411    # map caid 1830 always to provider 003411
#D: 1702        200        # wait 200ms before writing cw on caid 1702
#I: :002000                # ignore provider 002000 on every channel
#I: 0                    # ignore every caid that was not handled before

10: Put MCA back in Cas+ programmer and write Xilinx firmware: Rev_MLC2a.jed for Samsung.
11: Put it back into TV and try to watch TV :P

Logging:
Code:
2013/08/03 02:51:45        0 s creating pidfile /tmp/.oscam/oscam.pid with pid 1042
2013/08/03 02:51:46        0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2013/08/03 02:51:46        0 s signal handling initialized
2013/08/03 02:51:46        0 s LED support is not active. Can't detect machine type.
2013/08/03 02:51:46        0 s monitor: initialized (fd=11, port=89)
2013/08/03 02:51:46        0 s oscam_server [newcamd] creating thread for device .server
2013/08/03 02:51:46   10CD48 p proxy server:1234 newcamd525 (fd=0)
2013/08/03 02:51:46        0 s loadbalancer: can't read from file /tmp/.oscam/stat
2013/08/03 02:51:46        0 s waiting for local card init
2013/08/03 02:51:46   10CD48 p oscam_server [newcamd] proxy initialized, server server:1234
2013/08/03 02:51:46   109F50 h webif: decompressed 58983 bytes back into 169472 bytes
2013/08/03 02:51:46   109F50 h HTTP Server running. ip=0.0.0.0 port=90
2013/08/09 22:42:41        0 s init for all local cards done
2013/08/09 22:42:41        0 s anti cascading disabled
2013/08/09 22:42:41   1187C8 c plain dvbapi-client granted (dvbapi, au=on (1 reader))
2013/08/09 22:44:45   1187C8 c [DVBAPI] Tuner sends PMT command 3 for channel 00CC
2013/08/09 22:44:45   1187C8 c [ADD PID 0] CAID: 0604 ECM_PID: 0FAA PROVID: 000000
2013/08/09 22:44:45   1187C8 c [ADD PID 1] CAID: 0602 ECM_PID: 1392 PROVID: 000000
2013/08/09 22:44:45   1187C8 c Found 2 ECMpids and 4 STREAMpids in PMT
2013/08/09 22:44:45   1187C8 c New program number: 00CC (0604:00CC unknown) [pmt_list_management 3]
2013/08/09 22:44:45   1187C8 c [DVBAPI] Demuxer #0 trying to descramble PID #0 CAID 0604 PROVID 000000 ECMPID 0FAA ANY CHID

It tries to descramble but doesn't work.
After a few minutes when I try to change channels my TV will display a message that it fails to communicate with CI+ module.
No more logging is displayed, just the first try to decode.

I guess my TV just isn't compatible :'(
 
Another try:

With MCA X-MAS 0.2.1 using default oscam 7963 that comes with it:
This time I didn't write Xilinx firmware after installing from SD, also I didn't mess with cam.upb so my CAID is not listed in this firmware.

oscam.conf
Code:
global]
logfile                       = /var/log/oscam.log;stdout
cwlogdir                      = /var/log/oscam_CW.log
emmlogdir                     = /var/log/oscam_EMM.log
maxlogsize                    = 100
usrfileflag                   = 1
nice                          = -1

[monitor]
port                          = 89
nocrypt                       = 127.0.0.1,10.0.0.0-10.255.255.255,192.168.0.0-192.168.255.255
hideclient_to                 = 15
appendchaninfo                = 1

[dvbapi]
enabled                       = 1
au                            = 1
boxtype                       = none
user                          = dvbapi
request_mode                  = 1

[webif]
httpport                      = 90
httphelplang                  = en
httpuser                      = oscam
httppwd                       = oscam
httprefresh                   = 30
httpallowed                   = 127.0.0.1,10.0.0.0-10.255.255.255,192.168.0.0-192.168.255.255

oscam.dvbapi
Code:
#
# dvbapi configuration
#
# types:
#    P - Priority
#        format:
#            P: <caid>:[<provider>]:[<srvid>]:[<ecmpid>]
#    I - Ignore
#        format:
#            I: <caid>:[<provider>]:[<srvid>]:[<ecmpid>]
#    M - Map
#        format:
#            M: <caid>:[<provider>]:[<srvid>]:[<ecmpid>] <target caid>:[<target provider>]
#    D - Delay
#        format:
#            D: <caid>:[<provider>]:[<srvid>]:[<ecmpid>] <delay (ms)>
#
#
P: 0604
I: 0602
#P: 1838
#P: 1722
#P: 1835
#I: 0

#P: 0500:023800            # prioritize 0500 with provider 023800
#P: :::1BCD                # prioritize ecm stream with pid 1BCD on any channel
#P: 1722                # prioritize 1722
#P: 1830::EF75                # prioritize 1830 on channel EF75 only
#M: 1830        1830:003411    # map caid 1830 always to provider 003411
#D: 1702        200        # wait 200ms before writing cw on caid 1702
#I: :002000                # ignore provider 002000 on every channel
I: 0                    # ignore every caid that was not handled before

oscam.server
Code:
[reader]
label     = oscam_server
protocol  = newcamd
key       = 0102030405060708091011121314
device    = server,1234
user      = mca
password  = mca
group     = 1
chid = 0604:000000,00FFE0,000003,000384,000004,00000A,00001C,00000B,0000D1,0001F4,0001FE,0003E7,000053,000054,000006,000001,0000D0
ecmwhitelist = 0604@000000:44,3C;0100@00006A:64;0100@00006C:64;0100@004106:64
ecmheaderwhitelist = 0604:817041,807041;0100@00006A:813061006A00075C00,803061006A00075C00;0100@00006C:813061006C00075C00,803061006C00075C00
connectoninit = 1

oscam.user
Code:
[account]
user                          = dvbapi
pwd                           = 
group                         = 1
au                            = oscam_server



Code:
2012/12/12 04:28:01        0 s waiting for local card init 		
		2013/08/11 18:25:54        0 s init for all local cards done 		
		2013/08/11 18:25:54        0 s anti cascading disabled 		
		2013/08/11 18:25:54   187E98 c plain dvbapi-client granted (dvbapi, au=on (1 reader)) 		
		2013/08/11 18:45:17   187E98 c dvbapi: Found 0 ECMpids and 3 STREAMpids in PMT 		
		2013/08/11 18:45:17   187E98 c dvbapi: New program number: 2329 (0000:2329 unknown) [pmt_list_management 3] 		
		2013/08/11 18:45:22   187E98 c dvbapi: [ADD PID 0] CAID: 0604 ECM_PID: 0FA2 PROVID: 000000 		
		2013/08/11 18:45:22   187E98 c dvbapi: [ADD PID 1] CAID: 0602 ECM_PID: 138A PROVID: 000000 		
		2013/08/11 18:45:22   187E98 c dvbapi: Found 2 ECMpids and 2 STREAMpids in PMT 		
		2013/08/11 18:45:22   187E98 c dvbapi: New program number: 6979 (0604:6979 unknown) [pmt_list_management 3]

Again.. no ECM and no decoding...
I also tried another Samsung TV (plamsa) and a new LG TV.
They all have the same problem...
No decoding and no ECM requests.

Either the MCA is broken or it can't handle irdeto?
 
AW: No ECM handled by dvbapi?

Hi,

are you sure, that the entry is right (in the section dvbapi)?
Code:
boxtype = none

Maybe you try another.

Kind regards
Bombadil
 
It's set to none by default...
I tried the unofficial f0339 firmware a while ago (which also refused to decode...) but it had some other value for boxtype.
Can't remember though.. maybe somone already running X-MAS can post his config.

EDIT:
the /root/mca_cam.upd is set to:
Code:
./mca_tool.pl -x mca_cam.upb 
Firmware name:    MNG
Firmware version: 3265
CAIDS:            1803,0D05,1835,1838,1722,09C4,1702,1801,1802,098C,0500,0648,0963,09C7,0B01,0626,0D95,0D03,0D96,1830,1833,1834,1843,1880,1810,0627
by default.

I changed it to:
Code:
Firmware name:    MNG
Firmware version: 3268
CAIDS:            0604,0602,1801,0606,0100,0500,1702,0963,09CD,1810,0603,0B01,1803,09C4,1722,0D00,0B00,1830,1833,0626,0627,09C7,0D03,1817,1818,1850
bumped the version to 3268 and made sure boh caids my cable provides uses (0604 and 0602) are listed first :)

Then I replaced /root/mca_cam.upd with the altered version and reboot...

Going to give it a shot :D
 
Zuletzt bearbeitet:
Re: AW: No ECM handled by dvbapi?

Thanks bombadil :)

Unfortunately still no dice.

Code:
2012/12/12 04:28:00        0 s oscam_server [newcamd] creating thread for device server
		2012/12/12 04:28:00   17EEA0 p proxy server:1234 newcamd525 (fd=0) 		
		2012/12/12 04:28:00   17EEA0 p oscam_server [newcamd] proxy initialized, server server:1234
		2012/12/12 04:28:00        0 s loadbalancer: can't read from file /tmp/.oscam/stat 		
		2012/12/12 04:28:00        0 s waiting for local card init 		
		2013/08/12 00:56:07        0 s init for all local cards done 		
		2013/08/12 00:56:07        0 s anti cascading disabled 		
		2013/08/12 00:56:07   187C78 c plain dvbapi-client granted (dvbapi, au=on (1 reader)) 		
		2013/08/12 00:56:10   187C78 c dvbapi: [ADD PID 0] CAID: 0604 ECM_PID: 0FA0 PROVID: 000000 		
		2013/08/12 00:56:10   187C78 c dvbapi: [ADD PID 1] CAID: 0602 ECM_PID: 1388 PROVID: 000000 		
		2013/08/12 00:56:10   187C78 c dvbapi: Found 2 ECMpids and 4 STREAMpids in PMT 		
		2013/08/12 00:56:10   187C78 c dvbapi: New program number: 00CB (0604:00CB unknown) [pmt_list_management 3]

It only tried to decode once, then it fails and dvbapi freezes.
There is no more information displayed in the log for other channels...

On my Samsung UE55D8000 3D LED with firmware 1027.1

This is with default oscam 7963 that ships with MCA XMAS 0.2.1

oscam.conf
Code:
[global]
logfile                       = /var/log/oscam.log;stdout
cwlogdir                      = /var/log/oscam_CW.log
emmlogdir                     = /var/log/oscam_EMM.log
maxlogsize                    = 100
usrfileflag                   = 1
nice                          = -1

[monitor]
port                          = 89
nocrypt                       = 127.0.0.1,10.0.0.0-10.255.255.255,192.168.0.0-192.168.255.255
hideclient_to                 = 15
appendchaninfo                = 1

[dvbapi]
enabled                       = 1
au                            = 1
boxtype                       = dreambox
user                          = dvbapi
request_mode                  = 1

[webif]
httpport                      = 90
httphelplang                  = en
httpuser                      = oscam
httppwd                       = oscam
httprefresh                   = 30
httpallowed                   = 127.0.0.1,10.0.0.0-10.255.255.255,192.168.0.0-192.168.255.255

oscam.server:
Code:
[reader]
label     = oscam_server
protocol  = newcamd
key       = 0102030405060708091011121314
device    = server,1234
user      = mca
password  = mca
group     = 1
chid = 0604:000000,00FFE0,000003,000384,000004,00000A,00001C,00000B,0000D1,0001F4,0001FE,0003E7,000053,000054,000006,000001,0000D0
ecmwhitelist = 0604@000000:44,3C;0100@00006A:64;0100@00006C:64;0100@004106:64
ecmheaderwhitelist = 0604:817041,807041;0100@00006A:813061006A00075C00,803061006A00075C00;0100@00006C:813061006C00075C00,803061006C00075C00
connectoninit = 1

oscam.user
Code:
[account]
user                          = dvbapi
group                         = 1
au                            = oscam_server

oscam.dvbapi
Code:
P: 0604
I: 0602
#P: 1838
#P: 1722
#P: 1835
#I: 0

#P: 0500:023800            # prioritize 0500 with provider 023800
#P: :::1BCD                # prioritize ecm stream with pid 1BCD on any channel
#P: 1722                # prioritize 1722
#P: 1830::EF75                # prioritize 1830 on channel EF75 only
#M: 1830        1830:003411    # map caid 1830 always to provider 003411
#D: 1702        200        # wait 200ms before writing cw on caid 1702
#I: :002000                # ignore provider 002000 on every channel
I: 0                    # ignore every caid that was not handled before

mca_cam.upb
Code:
Firmware name:    MNG
Firmware version: 3268
CAIDS:            0604,0602,1801,0606,0100,0500,1702,0963,09CD,1810,0603,0B01,1803,09C4,1722,0D00,0B00,1830,1833,0626,0627,09C7,0D03,1817,1818,1850
 
AW: No ECM handled by dvbapi?

Hi,

for testing you should try with the minimal Configuration.

No ecmwhitelist, no ecmheaderwhitelist and no services. Also first without oscam.dvbapi. Later you can these parameters add again.

Regards
Bombadil
 
Well this time with minimal configuration and some debugging.

I also upgraded oscam to build=8691 by dirtyharry123.

For some reason, MCA doesn't communicate the correct caid?
Look at the last few lines...

Code:
Monitor: Try to connect oscam (192.168.0.183)
oscam: [AS0000]1|mon logged in
oscam: [VS1000]version=1.20-unstable_svn, build=8691, system=arm-linux-gnueabi-mca
oscam: [AS2000]1|mon logged in
oscam: [VS4000]version=1.20-unstable_svn, build=8691, system=arm-linux-gnueabi-mca
oscam: [LOG000]2013/06/08 20:38:29        0 s >> OSCam <<  cardserver started, version 1.20-unstable_svn, build r8691 (arm-linux-gnueabi-mca)
oscam: [LOG001]2013/06/08 20:38:29        0 s creating pidfile /tmp/.oscam/oscam.pid with pid 1042
oscam: [LOG002]2013/06/08 20:38:30        0 s userdb reloaded: 2 accounts loaded, 0 expired, 0 disabled
oscam: [LOG003]2013/06/08 20:38:30        0 s signal handling initialized
oscam: [LOG004]2013/06/08 20:38:30        0 s monitor: initialized (fd=11, port=89)
oscam: [LOG005]2013/06/08 20:38:30        0 s oscam_server [newcamd] creating thread for device server
oscam: [LOG006]2013/06/08 20:38:30    F4600 p proxy server:1234 newcamd525 (fd=0)
oscam: [LOG007]2013/06/08 20:38:30        0 s loadbalancer: can't read from file /tmp/.oscam/stat
oscam: [LOG008]2013/06/08 20:38:30        0 s waiting for local card init
oscam: [LOG009]2013/06/08 20:38:30    EEF50 h webif: decompressed 52419 bytes back into 151576 bytes
oscam: [LOG010]2013/06/08 20:38:30    EEF50 h HTTP Server listening on port 90
oscam: [LOG011]2013/06/08 20:38:30    F4600 p server: resolved ip=xxxx
oscam: [LOG012]2013/06/08 20:38:30    F4600 p oscam_server [newcamd] connecting to server:1234
oscam: [LOG013]2013/08/12 22:01:44        0 s init for all local cards done
oscam: [LOG014]2013/08/12 22:01:44        0 s anti cascading disabled
oscam: [LOG015]2013/08/12 22:01:44    F8418 c plain dvbapi-client granted (local, au=on (1 reader))
oscam: [LOG016]2013/08/12 22:01:45    FF300 m plain monitor-client 192.168.0.115 granted (mon, lvl=4)
oscam: [LOG017]2013/08/12 22:01:47    F4600 p oscam_server [newcamd] connect failed: Connection timed out
oscam: [LOG018]2013/08/12 22:01:47    F4600 p oscam_server [newcamd] proxy initialized, server server:1234
When I turn on TV, it opens a FTA channel...
oscam: [LOG019]2013/08/12 22:01:49    F8418 c Found 0 ECMpids and 4 STREAMpids in PMT
oscam: [LOG020]2013/08/12 22:01:49    F8418 c New program number: 00C9 (0000:00C9 unknown) [pmt_list_management 3]
Now lets zap to a crypted channel...
oscam: [LOG166]2013/08/12 22:02:27    F8418 c dvbapi: mcamsg: OPENXCAS_STOP_PMT_ECM
oscam: [LOG167]2013/08/12 22:02:27    F8418 c dvbapi: mcamsg: OPENXCAS_START_PMT_ECM
oscam: [LOG168]2013/08/12 22:02:27    F8418 c mca: capmt:
oscam: [LOG169]2013/08/12 22:02:27    F8418    03 00 CA 0D 00 1F 01 81 08 00 00 00 00 00 00 00
oscam: [LOG170]2013/08/12 22:02:27    F8418    00 82 02 03 01 84 02 00 00 09 04 06 04 EF A1 09
oscam: [LOG171]2013/08/12 22:02:27    F8418    04 06 02 F3 89 06 00 32 00 00 1B 00 79 00 00 06
oscam: [LOG172]2013/08/12 22:02:27    F8418    00 7B 00 00 06 00 86 00 00
oscam: [LOG173]2013/08/12 22:02:27    F8418 c capmt:
oscam: [LOG174]2013/08/12 22:02:27    F8418    03 00 CA 0D 00 1F 01 81 08 00 00 00 00 00 00 00
oscam: [LOG175]2013/08/12 22:02:27    F8418    00 82 02 03 01 84 02 00 00 09 04 06 04 EF A1 09
oscam: [LOG176]2013/08/12 22:02:27    F8418    04 06 02 F3 89 06 00 32 00 00 1B 00 79 00 00 06
oscam: [LOG177]2013/08/12 22:02:27    F8418    00 7B 00 00 06 00 86 00 00
oscam: [LOG178]2013/08/12 22:02:27    F8418 c PMT Management Command = 3
oscam: [LOG179]2013/08/12 22:02:27    F8418 c [pmt] type: 81 length: 8
oscam: [LOG180]2013/08/12 22:02:27    F8418 c [pmt] type: 82 length: 2
oscam: [LOG181]2013/08/12 22:02:27    F8418 c [pmt] type: 84 length: 2
oscam: [LOG182]2013/08/12 22:02:27    F8418 c [pmt] type: 09 length: 4
oscam: [LOG183]2013/08/12 22:02:27    F8418 c [ADD PID 0] CAID: 0604 ECM_PID: 0FA1 PROVID: 000000
oscam: [LOG184]2013/08/12 22:02:27    F8418 c [pmt] type: 09 length: 4
oscam: [LOG185]2013/08/12 22:02:27    F8418 c [ADD PID 1] CAID: 0602 ECM_PID: 1389 PROVID: 000000
oscam: [LOG186]2013/08/12 22:02:27    F8418 c [pmt] stream_type: 06 pid: 0032 length: 0
oscam: [LOG187]2013/08/12 22:02:27    F8418 c [pmt] stream_type: 1b pid: 0079 length: 0
oscam: [LOG188]2013/08/12 22:02:27    F8418 c [pmt] stream_type: 06 pid: 007b length: 0
oscam: [LOG189]2013/08/12 22:02:27    F8418 c [pmt] stream_type: 06 pid: 0086 length: 0
oscam: [LOG190]2013/08/12 22:02:27    F8418 c Found 2 ECMpids and 4 STREAMpids in PMT
oscam: [LOG191]2013/08/12 22:02:27    F8418 c New program number: 00CA (0604:00CA unknown) [pmt_list_management 3]
oscam: [LOG192]2013/08/12 22:02:27    F8418 c [DVBAPI] Demuxer #0 demux_index:  1 ca_mask: 03 program_info_length:  31 ca_pmt_list_management 03
oscam: [LOG193]2013/08/12 22:02:27    F8418 c [DVBAPI] Start filter for demuxindex: 0 caid: 0001, provid: 000001, ecmpid: 0001
oscam: [LOG194]2013/08/12 22:02:27    F8418 c [DVBAPI] No oscam.dvbapi found or no valid rules are parsed!
oscam: [LOG195]2013/08/12 22:02:27    F8418 c matching_reader became slot attribute of 0
oscam: [LOG196]2013/08/12 22:02:27    F8418 c [PRIORITIZE PID 0] 0604:000000:0FA1 (rdr: oscam_server weight: 1)
oscam: [LOG203]2013/08/12 22:02:27    F8418 c matching_reader became slot attribute of 0
oscam: [LOG204]2013/08/12 22:02:27    F8418 c [PRIORITIZE PID 1] 0602:000000:1389 (rdr: oscam_server weight: 1)
oscam: [LOG205]2013/08/12 22:02:27    F8418 c [DVBAPI] Demuxer #0 PID #0 checked = 0 status = 1 (searching for pid with status = 1)
oscam: [LOG206]2013/08/12 22:02:27    F8418 c matching_reader became slot attribute of 0
oscam: [LOG207]2013/08/12 22:02:27    F8418 c [DVBAPI] Demuxer #0 trying to descramble PID #0 CAID 0604 PROVID 000000 ECMPID 0FA1
oscam: [LOG208]2013/08/12 22:02:27    F8418 c [DVBAPI] Start filter for demuxindex: 0 caid: 0604, provid: 000000, ecmpid: 0FA1
oscam: [LOG209]2013/08/12 22:02:27    F8418 c dvbapi: mca: ecm filter added, pid = fa1, caid = 0
oscam: [LOG210]2013/08/12 22:02:27    F8418 c dvbapi: mca: ecm filter started
oscam: [LOG211]2013/08/12 22:02:27    F8418 c dvbapi: mca: cipher created
Then it stops and no more decoding is happening anymore.

oscam.conf
Code:
[global]
logfile                       = /var/log/oscam.log;stdout
cwlogdir                      = /var/log/oscam_CW.log
emmlogdir                     = /var/log/oscam_EMM.log
maxlogsize                    = 100
usrfileflag                   = 1
nice                          = -1

[monitor]
port                          = 89
nocrypt                       = 127.0.0.1,10.0.0.0-10.255.255.255,192.168.0.0-192.168.255.255
hideclient_to                 = 15
appendchaninfo                = 1
debug                         = 128

[dvbapi]
enabled                       = 1
au                            = 1
boxtype                       = dreambox
user                          = local
request_mode                  = 0
decodeforever                 = 1

[webif]
httpport                      = 90
httphelplang                  = en
httpuser                      = oscam
httppwd                       = oscam
httprefresh                   = 30
httpallowed                   = 127.0.0.1,10.0.0.0-10.255.255.255,192.168.0.0-192.168.255.255

oscam.server (I've added both caids that are supported by my cable provider since I have both cards available)
Code:
[reader]
label     = oscam_server
protocol  = newcamd
key       = 0102030405060708091011121314
device    = server,1234
user      = mca
password  = mca
group     = 1
connectoninit = 1
caid = 0604,0602
ident = 0604:000000,000001,000003,000002,000004;0602:000000,000001,000002,000003,000004

oscam.user
Code:
[account]
user                          = local
group                         = 1
au                            = oscam_server

[account]
user = mon
pwd = mon
monlevel = 4

oscam.dvbapi is empty :)

I think the problem is either happing because of too many caids in mca_cam.upb, maybe my TV dislikes them.
mca_tool.pl only allows to replace them, I cannot remove them, I'd like to try with only 0604 and/or 0602.

Or maybe I did something else wrong...
Or maybe it's because my provider has two caids active 0602 and 0604?

I tried on two Samsung TV's and one LG TV and they all have the same problem, it tries to decode only once, then nothing happens and then dvbapi freezes.
 
AW: No ECM handled by dvbapi?

Here may be due to the:
oscam: [LOG017]2013/08/12 22:01:47 F4600 p oscam_server [newcamd] connect failed: Connection timed out
 
Re: AW: No ECM handled by dvbapi?

Here may be due to the:
oscam: [LOG017]2013/08/12 22:01:47 F4600 p oscam_server [newcamd] connect failed: Connection timed out

It does that sometimes because it connectes to a extended newcamd server.
My CSP serves multiple caids:providers using ext-newcamd, so oscam does not get a single card like it expects from regular newcamd servers such as newcs.

But it's not the reason for the freeze after first try on decoding.
Because even it fails to connect it should say something like: failed to decode (no matching reader) or not found by oscam_server.

There is something that causes communication between my CI+ interface and oscam dvbapi to get lost.
And it happens after the first try to descramble.My TV communicates two active caids.
See my previous post:
0604:000000:0FA1 and 0602:000000:1389

And oscam selects the first caid 0604 and then these are the last 3 lines of debug:

oscam: [LOG207]2013/08/12 22:02:27 F8418 c [DVBAPI] Demuxer #0 trying to descramble PID #0 CAID 0604 PROVID 000000 ECMPID 0FA1
oscam: [LOG208]2013/08/12 22:02:27 F8418 c [DVBAPI] Start filter for demuxindex: 0 caid: 0604, provid: 000000, ecmpid: 0FA1
oscam: [LOG209]2013/08/12 22:02:27 F8418 c dvbapi: mca: ecm filter added, pid = fa1, caid = 0
oscam: [LOG210]2013/08/12 22:02:27 F8418 c dvbapi: mca: ecm filter started
oscam: [LOG211]2013/08/12 22:02:27 F8418 c dvbapi: mca: cipher created

caid = 0 is probably the cause.

I wonder if there are users running the Samsung Xilinx firmware MLC_Rev2a.jed could share their oscam binary, mca_cam.upb and oscam configs :)
That would help alot.
 
Zuletzt bearbeitet:
AW: No ECM handled by dvbapi?

Hi,

add on Server
Code:
keepalive = 1
in oscam.conf, section newcamd

Reagards
Bombadil
 
I spend some time building a working toolchain so I can produce my own oscam binaries and properly debug my problem.

Some off-topic info for anyone who wants to build a toolchain for the Matrix Cam Air:
My toolchain has been built with crosstool-ng 1.18.0:
gcc 4.7.2
glibc 2.17
binutils 2.22
linux headers 3.7.3
Bitness: 32-bit
Endianness: Little-Endian
Architecture level (march): armv5te
Emit assembly for CPU (with-cpu and mcpu): arm926ej-s
Tune for CPU (with-tune and mtune): arm926ej-s
Floating point: software (no FPU)
Oldest supported glibc ABI: 2.5 (glibc on MCA XMAS is very old)
Minimum kernel version to support: 2.6.28 (kernel version on MCA XMAS)

I posted the binaries in the download section: Link ist nicht mehr aktiv.

I have added the suggestions from bombadll and /bin/false to my oscam configuration:

So far so good :)
I also added a second connection with a working CCcam server just to be sure!

Fresh MCA 0.2.2 with updated mca_cam.upb
Code:
Firmware name:    MNG
Firmware version: 3267
CAIDS:            [B]0602,0604[/B],1801,0606,0100,0500,1702,0963,09CD,1810,0603,0B01,1803,09C4,1722,0D00,0B00,1830,1833,0626,0627,09C7,0D03,1817,1818,1850
CRC matched (15793CBA = 15793CBA)

My own compiled: oscam-1.20-unstable_svn8833-arm-unknown-linux-gnueabi-mca-ssl-static

oscam.conf
Code:
[global]
logfile                       = /var/log/oscam.log;stdout
cwlogdir                      = /var/log/oscam_CW.log
emmlogdir                     = /var/log/oscam_EMM.log
maxlogsize                    = 100
usrfileflag                   = 1
nice                          = -1

[monitor]
port                          = 89
nocrypt                       = 127.0.0.1,10.0.0.0-10.255.255.255,192.168.0.0-192.168.255.255
hideclient_to                 = 15

[dvbapi]
enabled                       = 1
au                            = 1
[B]boxtype                       = dreambox[/B]
user                          = dvbapi
request_mode                  = 0
reopenonzap                   = 0

[B][newcamd]
mgclient                      = 1
keepalive                     = 1[/B]

[webif]
httpport                      = 90
httphelplang                  = en
httpuser                      = oscam
httppwd                       = oscam
httprefresh                   = 30
httpallowed                   = 127.0.0.1,10.0.0.0-10.255.255.255,192.168.0.0-192.168.255.255

oscam.server
Code:
reader]
label                         = cspserver
protocol                      = newcamd
device                        = server,1234
key                           = 0102030405060708091011121314
user                          = mca
password                      = mca
group                         = 1
[B]connectoninit                 = 1[/B]

[reader]
label = cccamserver
protocol = cccam
device = server,1235
user = mca
password = mca
group = 2
[B]connectoninit = 1[/B]
cccversion = 2.1.1

oscam.user
Code:
[account]
user                          = dvbapi
group                         = 1,2
au                            = 1

Empty oscam.dvbapi


-d128 log:
Code:
18:01:56        0 s >> OSCam <<  cardserver started, version 1.20-unstable_svn, build r8833 (arm-unknown-linux-gnueabi-mca-ssl-static)
18:01:56        0 s creating pidfile /tmp/.oscam/oscam.pid with pid 1048
18:01:59        0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
18:01:59        0 s signal handling initialized
18:01:59        0 s monitor: initialized (fd=11, port=89)
18:01:59        0 s cspserver [newcamd] creating thread for device server
18:01:59   223E70 p proxy server:1234 newcamd525 (fd=0)
18:01:59        0 s cccamserver [cccam] creating thread for device server
18:01:59   21A860 h webif: decompressed 53538 bytes back into 153584 bytes
18:01:59        0 s loadbalancer: can't read from file /tmp/.oscam/stat
18:01:59        0 s waiting for local card init
18:01:59   21A860 h HTTP Server running. ip=0.0.0.0 port=90
18:01:59   225A38 p server: resolved ip=xxx.xxx.xxx.xxx
18:01:59   225A38 p cccamserver [cccam] connecting to server:1235
18:01:59   223E70 p server: resolved ip=xxx.xxx.xxx.xxx
18:01:59   223E70 p cspserver [newcamd] connecting to server:1234
18:01:59   225A38 p cccamserver [cccam] proxy initialized, server server:1235
18:02:00        0 s init for all local cards done
18:02:00        0 s anti cascading disabled
18:02:00   233AB0 c plain dvbapi-client granted (dvbapi, au=auto (2 reader))
18:02:00   223E70 p Newcamd Server: server:1234 - UserID: 2
18:02:00   223E70 p CAID: 0000 - UA: 0000000000000000 - Provider # 1
18:02:00   223E70 p Provider ID: 000000 - SA: 00000000
18:02:00   223E70 p cspserver [newcamd] proxy initialized, server server,1234
18:02:00   233AB0 c [DVBAPI] Read 0 entries from oscam.dvbapi
18:02:00   233AB0 c dvbapi: mcamsg: OPENXCAS_UKNOWN_MSG (0)
18:02:06   233AB0 c dvbapi: mcamsg: OPENXCAS_STOP_PMT_ECM
18:02:06   233AB0 c dvbapi: mcamsg: OPENXCAS_START_PMT_ECM
18:02:06   233AB0 c mca: capmt:
18:02:06   233AB0    03 00 CB 0B 00 1F 01 81 08 00 00 00 00 00 00 00 
18:02:06   233AB0    00 82 02 03 01 84 02 00 00 09 04 06 04 EF A0 09 
18:02:06   233AB0    04 06 02 F3 88 06 00 75 00 00 1B 00 A1 00 00 06 
18:02:06   233AB0    00 A3 00 00 06 00 AE 00 00 
18:02:06   233AB0 c capmt:
18:02:06   233AB0    03 00 CB 0B 00 1F 01 81 08 00 00 00 00 00 00 00 
18:02:06   233AB0    00 82 02 03 01 84 02 00 00 09 04 06 04 EF A0 09 
18:02:06   233AB0    04 06 02 F3 88 06 00 75 00 00 1B 00 A1 00 00 06 
18:02:06   233AB0    00 A3 00 00 06 00 AE 00 00 
18:02:06   233AB0 c [DVBAPI] Tuner sends PMT command 3 for channel 00CB
18:02:06   233AB0 c [pmt] type: 81 length: 8 (assuming enigma private descriptor: namespace 0000 tsid 00 onid 00)
18:02:06   233AB0 c [pmt] type: 82 length: 2
18:02:06   233AB0 c [pmt] type: 84 length: 2
18:02:06   233AB0 c [pmt] type: 09 length: 4
18:02:06   233AB0 c [ADD PID 0] CAID: 0604 ECM_PID: 0FA0 PROVID: 000000
18:02:06   233AB0 c [pmt] type: 09 length: 4
18:02:06   233AB0 c [ADD PID 1] CAID: 0602 ECM_PID: 1388 PROVID: 000000
18:02:06   233AB0 c [pmt] stream_type: 06 pid: 0075 length: 0
18:02:06   233AB0 c [pmt] stream_type: 1b pid: 00a1 length: 0
18:02:06   233AB0 c [pmt] stream_type: 06 pid: 00a3 length: 0
18:02:06   233AB0 c [pmt] stream_type: 06 pid: 00ae length: 0
18:02:06   233AB0 c Found 2 ECMpids and 4 STREAMpids in PMT
18:02:06   233AB0 c New program number: 00CB (0604:00CB unknown) [pmt_list_management 3]
18:02:06   233AB0 c [DVBAPI] Demuxer #0 demux_index:  1 ca_mask: 03 program_info_length:  31 ca_pmt_list_management 03
18:02:06   233AB0 c [DVBAPI] Start filter for demuxindex: 0 caid: 0001, provid: 000001, ecmpid: 0001
18:02:06   233AB0 c [DVBAPI] No oscam.dvbapi found or no valid rules are parsed!
18:02:06   233AB0 c [PRIORITIZE PID 0] 0604:000000:0FA0 (rdr: cspserver weight: 1)
18:02:06   233AB0 c [PRIORITIZE PID 1] 0602:000000:1388 (rdr: cspserver weight: 1)
18:02:06   233AB0 c [DVBAPI] Demuxer #0 trying to descramble PID #0 CAID 0604 PROVID 000000 ECMPID 0FA0 ANY CHID
18:02:06   233AB0 c [DVBAPI] Start filter for demuxindex: 0 caid: 0604, provid: 000000, ecmpid: 0FA0
18:02:06   233AB0 c dvbapi: mca: ecm filter added, pid = fa0, caid = 0
18:02:06   233AB0 c dvbapi: mca: ecm filter started
18:02:06   233AB0 c dvbapi: mca: cipher created
18:02:32   225A38 p cccamserver [cccam] disconnected: reason inactivity

Again after dvbapi: mca: cipher created my TV loses communication with the MCA.
Oscam still functions fine, I can access the webif etc.. but my TV will display: Cannot display CI-Services (Unavailable)
Also from this point nothing works anymore, also FTA channels will fail to display.
Until I reboot the MCA or turn off/on my TV, then it works again until the first try to decode and everything gets stuck.

So either:
1. My MCA is broken
2. TV doesn't like the caids stored in mca_cam.upb
3. I did something wrong programming the MCA
I used CAS Studio 9.8.2 on Windows 7 x64:
Code:
1. Magic Cams -> Matrix Reloaded -> Erase All
2. Write mca-cam-v326-FlashWithCASonly.bin (from Downloads section)
3. Wait a bit
4. Press "Write Xilinx firmware" -> MLC_Rev2a.jed (for Samsung TVs)
5. Remove MCA from CAS Programmer
6. Insert SDcard programmed with MCA XMAS 0.2.2
7. Insert MCA into TV, wait ~12 minutes until I can access the CI Menu
8. Remove MCA from TV, remove SDcard.
9. Insert MCA into TV (again:P)
10. Setup Wifi and all of the above steps/configs...
5. MCA is not compatible with Ziggo dutch cable provider and/or Irdeto

I tried the MCA on 2 Samsung TVs (led and plasma) and one LG TV all fail to receive/process ECM.

Well I did my best :D
Unless a real expert kicks in... its time to give up I guess...
 
Zuletzt bearbeitet:
AW: No ECM handled by dvbapi?

Just to clear this up:
the MLC_Rev2a.jed is not made for Samsung TVs, it's just better working on some (not only) Samsung TVs.
 
Zurück
Oben