Thank you and everyone who helped 🥳
Posts by Mickey75
-
-
samur Oscam-1.0.2 starts and the card receiver works, but oscam-1.1.1 does not want to start
-
samur Now, it has started and is working with the map. Thank you
-
samur He can't start either
-
Who knows how to stop the reader, after starting, in 25-50msec?
-
samur Does not want to start
-
samur Hello, Thanks l can't do it now, but I will definitely check it tomorrow.
-
fegol Thank you, dear ones, for the work done, I'm happy as an elephant, the map works perfectly, I just need to configure the configuration well. Of course, it is a pity that it is impossible to configure the card reader using liboscam v 0.05
- 21/06/24 19:03:38 00000000 s (main) System name = Linux
- 2021/06/24 19:03:38 00000000 s (main) Host name = pdk7105
- 2021/06/24 19:03:38 00000000 s (main) Release = 2.6.32.42stlinux_208_stapi_V.4.1-SDK7105_7105-STSDK
- 2021/06/24 19:03:38 00000000 s (main) Version = #176 PREEMPT Mon Jun 2 15:46:22 KST 2014
- 2021/06/24 19:03:38 00000000 s (main) Machine = sh4
- 2021/06/24 19:03:38 00000000 s (main) creating pidfile /tmp/.oscam/oscam.pid with pid 1224
- 2021/06/24 19:03:38 00000000 s (config) services reloaded: 0 services freed, 57 services loaded, rejected 0
- 2021/06/24 19:03:38 00000000 s (emu) OSCam-Emu version 798
- 2021/06/24 19:03:38 00000000 s (config) userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
- 2021/06/24 19:03:38 00000000 s (main) signal handling initialized
- 2021/06/24 19:03:38 00000000 s (config) 109 provid's loaded
- 2021/06/24 19:03:38 00000000 s (config) 876 service-id's loaded in 32 ms
- 2021/06/24 19:03:38 00000000 s (reader) SmartCard [stapi] creating thread for device SC0
- 2021/06/24 19:03:38 00000000 s (reader) MyCcCam [cccam] creating thread for device server
- 2021/06/24 19:03:38 00000000 s (reader) emulator [emu] creating thread for device emulator
- 2021/06/24 19:03:38 00000000 s (main) waiting for local card init
- 2021/06/24 19:03:38 5D63E84B r (emu) Stream key delayer initialized
- 2021/06/24 19:03:38 5D63E84B r (emu) Stream relay server initialized
- 2021/06/24 19:03:38 5D63E84B r (reader) emulator [emu] Reader initialized (device=emulator, detect=cd, mhz=357, cardmhz=357)
- 2021/06/24 19:03:38 1E7436D3 r (reader) SmartCard [stapi] Reader initialized (device=SC0, detect=cd, mhz=357, cardmhz=357)
- 2021/06/24 19:03:38 1E7436D3 r (reader) SmartCard [stapi] Reader sci internal, detected box type: generic
- 2021/06/24 19:03:38 00000000 (emu) INFO: FFDecsa parallel mode = 32
- 2021/06/24 19:03:38 19897EF6 h (webif) webif: decompressed 165847 bytes back into 405480 bytes
- 2021/06/24 19:03:38 19897EF6 h (webif) HTTP Server running. ip=0.0.0.0 port=8888
- 2021/06/24 19:03:38 56153191 p (net) can't resolve server, error: Name or service not known
- 2021/06/24 19:03:38 56153191 p (reader) MyCcCam [cccam] proxy initialized, server server:1003
- 2021/06/24 19:03:38 56153191 p (net) can't resolve server, error: Name or service not known
- 2021/06/24 19:03:39 5D63E84B r (reader) emulator [emu] card detected
- 2021/06/24 19:03:39 1E7436D3 r (reader) SmartCard [stapi] card detected
- 2021/06/24 19:03:39 1E7436D3 r (reader) SmartCard [stapi] ATR: 3B 34 94 00 30 42 30 30
- 2021/06/24 19:03:40 5D63E84B r (reader) emulator [emu] found card system emu
- 2021/06/24 19:03:40 5D63E84B r (reader) emulator [emu] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max allotted of 1
- 2021/06/24 19:03:40 5D63E84B r (emu) Reading key file: /var/keys/SoftCam.Key
- 2021/06/24 19:03:40 5D63E84B r (emu) Total keys in memory: W:0 V:27 N:9 I:7 F:211 G:0 P:373 T:10 A:0
- 2021/06/24 19:03:40 1E7436D3 r (reader) SmartCard [stapi] type: Conax, caid: 0B00, serial: ##########, hex serial: ########, card: v64
- 2021/06/24 19:03:40 1E7436D3 r (reader) SmartCard [stapi] Providers: 1
- 2021/06/24 19:03:40 1E7436D3 r (reader) SmartCard [stapi] Provider: 1 Provider-Id: 000000
- 2021/06/24 19:03:40 1E7436D3 r (reader) SmartCard [stapi] Provider: 1 SharedAddress: ########
- 2021/06/24 19:03:40 1E7436D3 r (reader) SmartCard [stapi] found card system conax
- 2021/06/24 19:03:40 1E7436D3 r (reader) SmartCard [conax] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max allotted of 1
- 2021/06/24 19:03:40 1E7436D3 r (reader) SmartCard [conax] Package: 1, id: 1010, classes: 0120001A, date: 2021/06/01 - 2021/06/30, name: Telekarta 1 We
- 2021/06/24 19:03:40 1E7436D3 r (reader) SmartCard [conax] Package: 2, id: 1010, classes: 0120001A, date: 2021/05/01 - 2021/05/31, name: Telekarta 1 We
- 2021/06/24 19:03:40 1E7436D3 r (reader) SmartCard [conax] Package: 3, id: 1020, classes: 01000084, date: 2021/06/01 - 2021/06/30, name: Telekarta 2 We
- 2021/06/24 19:03:40 1E7436D3 r (reader) SmartCard [conax] Package: 4, id: 1020, classes: 01000084, date: 2021/05/01 - 2021/05/31, name: Telekarta 2 We
- 2021/06/24 19:03:40 1E7436D3 r (reader) SmartCard [conax] Package: 5, id: 1030, classes: 01020000, date: 2017/01/01 - 2017/01/31, name: Telekarta 3
- 2021/06/24 19:03:40 1E7436D3 r (reader) SmartCard [conax] Package: 6, id: 1030, classes: 01020000, date: 2016/12/01 - 2016/12/31, name: Telekarta 3
- 2021/06/24 19:03:40 1E7436D3 r (reader) SmartCard [conax] Package: 7, id: 1040, classes: 01800200, date: 2018/05/01 - 2018/05/31, name: Telekarta 4
- 2021/06/24 19:03:40 1E7436D3 r (reader) SmartCard [conax] Package: 8, id: 1040, classes: 01800200, date: 2018/04/01 - 2018/04/30, name: Telekarta 4
- 2021/06/24 19:03:40 1E7436D3 r (reader) SmartCard [conax] ready for requests
- 2021/06/24 19:03:41 00000000 s (main) init for all local cards done
- 2021/06/24 19:03:41 00000000 s (gbox) local gbox failed init
- 2021/06/24 19:03:41 11B112A7 c (client) plain dvbapi-client granted (dvbapiau, au=auto (4 reader))
- 2021/06/24 19:03:41 11B112A7 c (dvbapi) dvbapi channelcache loaded from /var/keys/oscam.ccache
- 2021/06/24 19:03:41 11B112A7 c (dvbstapi) PTI: PTI5 skipped
- 2021/06/24 19:03:41 11B112A7 c (dvbstapi) PTI: PTI4 skipped
- 2021/06/24 19:03:41 11B112A7 c (dvbstapi) PTI: PTI3 open 0
- 2021/06/24 19:03:41 11B112A7 c (dvbstapi) PTI: PTI2 skipped
- 2021/06/24 19:03:41 11B112A7 c (dvbstapi) PTI: PTI1 skipped
- 2021/06/24 19:03:41 11B112A7 c (dvbstapi) PTI: PTI0 skipped
- 2021/06/24 19:03:41 11B112A7 c (dvbstapi) liboscam_stapi5 v.v0.03 initialized
- 2021/06/24 19:03:41 11B112A7 c (dvbapi) Detected /dev/stapi/stpti5_ioctl Api: 2, userconfig boxtype: 2 maximum number of filters is 64 (oscam limit is 64)
- 2021/06/24 19:03:42 11B112A7 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 0602 ECM_PID: 14C9 PROVID: 000000
- 2021/06/24 19:03:42 11B112A7 c (dvbapi) Demuxer 0 ecmpid 1 CAID: 0B00 ECM_PID: 18B1 PROVID: 000000
- 2021/06/24 19:03:42 11B112A7 c (dvbapi) Demuxer 0 ecmpid 2 CAID: 0BC1 ECM_PID: 1C99 PROVID: 000000
- 2021/06/24 19:03:42 11B112A7 c (dvbapi) Demuxer 0 found 3 ECM pids and 2 STREAM pids in CA PMT
- 2021/06/24 19:03:42 11B112A7 c (dvbapi) Demuxer 0 trying to descramble PID 1 CAID 0B00 PROVID 000000 ECMPID 18B1 ANY CHID PMTPID 0000 VPID 0CF9
- 2021/06/24 19:03:42 11B112A7 c (dvbapi) Demuxer 0 found 3 ECM pids and 2 STREAM pids in PMT
- 2021/06/24 19:03:42 11B112A7 c (ecm) dvbapiau (0B00@000000/0000/0529/67:C80966C636E03BBEDFEDC1690CD5DE03): found (235 ms) by SmartCard - РуÑÑкий Иллюзи
- 2021/06/24 19:03:43 11B112A7 c (ecm) dvbapiau (0B00@000000/0000/0529/67:DE10AFFA9F078C534A14AEA77AD5603D): found (227 ms) by SmartCard - РуÑÑкий Иллюзи
- 2021/06/24 19:03:51 56153191 p (net) can't resolve server, error: Name or service not known
- 2021/06/24 19:04:04 11B112A7 c (ecm) dvbapiau (0B00@000000/0000/0529/67:8B892B0ECD3D2E15CF4A59575A717FE3): found (229 ms) by SmartCard - РуÑÑкий Иллюзи
- 2021/06/24 19:04:04 56153191 p (net) can't resolve server, error: Name or service not known
- 2021/06/24 19:04:25 11B112A7 c (-) -- Skipped 1 duplicated log lines --
- 2021/06/24 19:04:25 11B112A7 c (ecm) dvbapiau (0B00@000000/0000/0529/67:165C92C2A5C74379119748DDCD3FA232): found (228 ms) by SmartCard - РуÑÑкий Иллюзи
- 2021/06/24 19:04:30 56153191 p (net) can't resolve server, error: Name or service not known
- 2021/06/24 19:04:36 11B112A7 c (reader) SmartCard [conax] Successfully added EMM to /var/keys/SmartCard_shared_emm.log
- 2021/06/24 19:04:36 1E7436D3 r (reader) SmartCard [conax] dvbapiau emmtype=shared, len=180 (hex: 0xB4), cnt=1: written (309 ms)
-
MOHAMED_OS Hello dear, well, what do you say is it possible to fix the error with the card reader in the new assembly of oscam?
-
MOHAMED_OS I checked the above published oscam, it gives an error (card reader) [stapi] Error getting the card status. Below I provide the log,
>> OSCam << cardserver log switched at Sat Jun 19 06:04:53 2021
-------------------------------------------------------------------------------
2021/06/19 06:04:53 00000000 s >> OSCam << cardserver log switched, version 1.20_svn, build r11693-798 (sh4-FoReVeR-linux-gnu-stapi5-libcurl)
2021/06/19 06:04:53 00000000 s (main) System name = Linux
2021/06/19 06:04:53 00000000 s (main) Host name = pdk7105
2021/06/19 06:04:53 00000000 s (main) Release = 2.6.32.42stlinux_208_stapi_V.4.1-SDK7105_7105-STSDK
2021/06/19 06:04:53 00000000 s (main) Version = #56 PREEMPT Mon Feb 23 16:53:39 KST 2015
2021/06/19 06:04:53 00000000 s (main) Machine = sh4
2021/06/19 06:04:53 00000000 s (main) creating pidfile /tmp/.oscam/oscam.pid with pid 1569
2021/06/19 06:04:53 00000000 s (emu) OSCam-Emu version 798
2021/06/19 06:04:53 00000000 s (config) userdb reloaded: 2 accounts loaded, 0 expired, 0 disabled
2021/06/19 06:04:53 00000000 s (main) signal handling initialized
2021/06/19 06:04:53 00000000 s (net) monitor: initialized (fd=7, port=988)
2021/06/19 06:04:53 00000000 s (reader) Card [stapi] creating thread for device SC0
2021/06/19 06:04:53 00000000 s (reader) emu_key [emu] creating thread for device /var/keys/SoftCam.Key
2021/06/19 06:04:53 00000000 s (main) waiting for local card init
2021/06/19 06:04:53 305931D0 r (emu) Stream key delayer initialized
2021/06/19 06:04:53 305931D0 r (emu) Stream relay server initialized
2021/06/19 06:04:53 305931D0 r (reader) emu_key [emu] Reader initialized (device=/var/keys/SoftCam.Key, detect=cd, mhz=357, cardmhz=357)
2021/06/19 06:04:53 4A3BEB91 r (reader) Card [stapi] Reader initialized (device=SC0, detect=cd, mhz=357, cardmhz=357)
2021/06/19 06:04:53 4A3BEB91 r (reader) Card [stapi] Reader sci internal, detected box type: generic
2021/06/19 06:04:53 00000000 (emu) INFO: FFDecsa parallel mode = 32
2021/06/19 06:04:53 1141CEFB h (webif) webif: decompressed 179843 bytes back into 479112 bytes
2021/06/19 06:04:53 1141CEFB h (webif) HTTP Server running. ip=0.0.0.0 port=8888
2021/06/19 06:04:54 305931D0 r (reader) emu_key [emu] card detected
2021/06/19 06:04:54 4A3BEB91 r (reader) Card [stapi] Error getting card status.
2021/06/19 06:04:55 305931D0 r (reader) emu_key [emu] found card system emu
2021/06/19 06:04:55 305931D0 r (reader) emu_key [emu] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max allotted of 1
2021/06/19 06:04:55 305931D0 r (emu) Reading key file: /var/keys/SoftCam.Key
2021/06/19 06:04:55 4A3BEB91 r (reader) Card [stapi] Error getting card status.
2021/06/19 06:04:55 305931D0 r (emu) Total keys in memory: W:0 V:0 N:0 I:0 F:68 G:0 P:0 T:0 A:0
2021/06/19 06:04:56 00000000 s (main) init for all local cards done
2021/06/19 06:04:56 00000000 s (anticasc) anti cascading disabled
2021/06/19 06:04:56 00000000 s (gbox) local gbox failed init
2021/06/19 06:04:56 48AD85A4 c (client) plain dvbapi-client granted (root, au=off)
2021/06/19 06:04:56 48AD85A4 c (dvbstapi) PTI: PTI5 skipped
2021/06/19 06:04:56 48AD85A4 c (dvbstapi) PTI: PTI4 skipped
2021/06/19 06:04:56 48AD85A4 c (dvbstapi) PTI: PTI3 open 0
2021/06/19 06:04:56 48AD85A4 c (dvbstapi) PTI: PTI2 skipped
2021/06/19 06:04:56 48AD85A4 c (dvbstapi) PTI: PTI1 skipped
2021/06/19 06:04:56 48AD85A4 c (dvbstapi) PTI: PTI0 skipped
2021/06/19 06:04:56 48AD85A4 c (dvbstapi) liboscam_stapi5 v.v0.05, STPTI ID: 0x0D initialized
2021/06/19 06:04:56 48AD85A4 c (dvbapi) Detected /dev/stapi/stpti5_ioctl Api: 2, userconfig boxtype: 2 maximum number of filters is 64 (oscam limit is 64)
2021/06/19 06:04:56 4A3BEB91 r (reader) Card [stapi] Error getting card status.
I also publish the promised oscam, which works with the map, and here is its log
>> OSCam << cardserver log switched at Sat Jun 19 06:34:25 2021
-------------------------------------------------------------------------------
2021/06/19 06:34:25 00000000 s >> OSCam << cardserver log switched, version 1.20-megavolt85, build r11293 (sh4-unknown-linux-gnu-stapi5)
2021/06/19 06:34:25 00000000 s (main) System name = Linux
2021/06/19 06:34:25 00000000 s (main) Host name = pdk7105
2021/06/19 06:34:25 00000000 s (main) Release = 2.6.32.42stlinux_208_stapi_V.4.1-SDK7105_7105-STSDK
2021/06/19 06:34:25 00000000 s (main) Version = #56 PREEMPT Mon Feb 23 16:53:39 KST 2015
2021/06/19 06:34:25 00000000 s (main) Machine = sh4
2021/06/19 06:34:25 00000000 s (main) creating pidfile /tmp/.oscam/oscam.pid with pid 8376
2021/06/19 06:34:25 00000000 s [Emu] oscam-emu version 733
2021/06/19 06:34:25 00000000 s (config) userdb reloaded: 2 accounts loaded, 0 expired, 0 disabled
2021/06/19 06:34:25 00000000 s (main) signal handling initialized
2021/06/19 06:34:25 00000000 s (net) monitor: initialized (fd=7, port=988)
2021/06/19 06:34:25 00000000 s (reader) Card [stapi] creating thread for device SC0
2021/06/19 06:34:25 00000000 s (reader) emu_key [emu] creating thread for device /var/keys/SoftCam.Key
2021/06/19 06:34:25 00000000 s (stat) loadbalancer: could not open /tmp/.oscam/stat for reading (errno=2 No such file or directory)
2021/06/19 06:34:25 00000000 s (main) waiting for local card init
2021/06/19 06:34:25 735C845D r [Emu] reading key file: /var/keys/SoftCam.Key
2021/06/19 06:34:25 78C3608D r (reader) Card [stapi] Reader initialized (device=SC0, detect=cd, mhz=357, cardmhz=357)
2021/06/19 06:34:25 78C3608D r (reader) Card [stapi] Reader sci internal, detected box type: generic
2021/06/19 06:34:25 00000000 [Emu] info: FFDecsa parallel mode = 32
2021/06/19 06:34:25 735C845D r (reader) emu_key [emu] Reader initialized (device=/var/keys/SoftCam.Key, detect=cd, mhz=357, cardmhz=357)
2021/06/19 06:34:25 2256642E h (webif) webif: decompressed 175264 bytes back into 428312 bytes
2021/06/19 06:34:26 2256642E h (webif) HTTP Server running. ip=0.0.0.0 port=8888
2021/06/19 06:34:26 735C845D r (reader) emu_key [emu] card detected
2021/06/19 06:34:26 78C3608D r (reader) Card [stapi] card detected
2021/06/19 06:34:27 78C3608D r (reader) Card [stapi] ATR: 3B 34 94 00 30 42 30 30
2021/06/19 06:34:27 78C3608D r (reader) Card [stapi] Init card protocol T0, FI=9, F=512, D=8, N=0
2021/06/19 06:34:27 78C3608D r (reader) Card [stapi] Calculated work ETU is 17.93 us reader mhz = 357
2021/06/19 06:34:27 78C3608D r (reader) Card [stapi] ATR Fsmax is 5 MHz, clocking card to 3.57 (specified in reader->mhz)
2021/06/19 06:34:27 735C845D r (reader) emu_key [emu] found card system emu
2021/06/19 06:34:27 735C845D r (reader) emu_key [emu] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max alloted of 1
2021/06/19 06:34:27 735C845D r [Emu] reading key file: /var/keys/SoftCam.Key
2021/06/19 06:34:28 78C3608D r (reader) Card [stapi] type: Conax, caid: 0B00, serial: ##########, hex serial: ########, card: v64
2021/06/19 06:34:28 78C3608D r (reader) Card [stapi] Providers: 1
2021/06/19 06:34:28 78C3608D r (reader) Card [stapi] Provider: 1 Provider-Id: 000000
2021/06/19 06:34:28 78C3608D r (reader) Card [stapi] Provider: 1 SharedAddress: ########
2021/06/19 06:34:28 78C3608D r (reader) Card [stapi] found card system conax
2021/06/19 06:34:28 78C3608D r (reader) Card [conax] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max alloted of 1
2021/06/19 06:34:28 78C3608D r (reader) Card [conax] Package: 1, id: 1010, classes: 01000000, date: 2020/01/01 - 2020/01/31, name: Telekarta 1 We
2021/06/19 06:34:28 78C3608D r (reader) Card [conax] Package: 2, id: 1010, classes: 0100000A, date: 2019/12/01 - 2019/12/31, name: Telekarta 1 We
2021/06/19 06:34:28 78C3608D r (reader) Card [conax] Package: 3, id: 1020, classes: 01000000, date: 2018/05/01 - 2018/05/31, name: Telekarta 2
2021/06/19 06:34:28 78C3608D r (reader) Card [conax] Package: 4, id: 1020, classes: 01010000, date: 2018/04/01 - 2018/04/30, name: Telekarta 2
2021/06/19 06:34:28 78C3608D r (reader) Card [conax] Package: 5, id: 1030, classes: 01000000, date: 2016/02/01 - 2016/02/29, name: Telekarta 3
2021/06/19 06:34:28 78C3608D r (reader) Card [conax] Package: 6, id: 1030, classes: 010400A8, date: 2016/01/01 - 2016/01/31, name: Telekarta 3
2021/06/19 06:34:28 78C3608D r (reader) Card [conax] Package: 7, id: 1040, classes: 01000000, date: 2018/05/01 - 2018/05/31, name:
2021/06/19 06:34:28 78C3608D r (reader) Card [conax] Package: 8, id: 1040, classes: 01000000, date: 2018/04/01 - 2018/04/30, name:
2021/06/19 06:34:28 78C3608D r (reader) Card [conax] ready for requests
2021/06/19 06:34:29 00000000 s (main) init for all local cards done
2021/06/19 06:34:29 00000000 s (emmcache) loaded 0 emmcache records from /tmp/.oscam/oscam.emmcache in 0 ms
2021/06/19 06:34:29 00000000 s (emmcache) loaded 0 emmstat records from /tmp/.oscam/oscam.emmstat in 0 ms
2021/06/19 06:34:29 00000000 s (anticasc) anti cascading disabled
2021/06/19 06:34:29 6B1F070D c (client) plain dvbapi-client granted (root, au=off)
2021/06/19 06:34:29 6B1F070D c (dvbapi) dvbapi channelcache loaded from /var/keys/oscam.ccache
2021/06/19 06:34:29 6B1F070D c (dvbstapi) PTI: PTI5 skipped
2021/06/19 06:34:29 6B1F070D c (dvbstapi) PTI: PTI4 skipped
2021/06/19 06:34:29 6B1F070D c (dvbstapi) PTI: PTI3 open 0
2021/06/19 06:34:29 6B1F070D c (dvbstapi) PTI: PTI2 skipped
2021/06/19 06:34:29 6B1F070D c (dvbstapi) PTI: PTI1 skipped
2021/06/19 06:34:29 6B1F070D c (dvbstapi) PTI: PTI0 skipped
2021/06/19 06:34:29 6B1F070D c (dvbstapi) liboscam_stapi5 v.v0.03 initialized
2021/06/19 06:34:29 6B1F070D c (dvbapi) Detected /dev/stapi/stpti5_ioctl Api: 2, userconfig boxtype: 2 maximum amount of possible filters is 32 (oscam limit is 32)
-
Thank you all for your help, I will definitely write everything, but the day after tomorrow on the weekend, because now at work and there is no tuner nearby to check the test assembly of oskam, and at the same time I will post here an old oskam that works with the Conax card. Special thanks to you MOHAMED_OS for your work.
-
fegol Thank you, but this is stapi I have already tried, it will not start on my box, only stapi5 will go to my box, MOHAMED_OS dear developer knows that the card reader on stapi5 does not work, so I asked above if it is possible to build using liboskam 0.03 it works well with the card reader, thank you to everyone who tries to help.
-
samur Thank you for trying to help, but none of them work, so I can't even show the log
-
MOHAMED_OS Hello dear developer, why can't I fix the stapi5 error with the card reader (OPENBOX)? I have one working version of oscam, but a very old version, and it is built on liboscam stapi5 v. 0. 03, please build a new oscam with liboscam stapi5 v. 0.03, it should work fine with the card reader, thank you in advance.
-
In general, I experimented a little, via FTP in the card reader, first I changed the protocol = internal, device = dev/sci0, started the plugin, then omtanovil and changed the protocol = stapi, device = SC0 and the card starts, but if the receiver is turned off and on, the card reader again gives an error getting the card status, I write in the hope that this will help somehow implement the error oscam stapi5 can provide in the log.
-
thank you, but it's still a mistake, what should I do?
2021/06/13 06:18:54 00000000 s (config) userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2021/06/13 06:18:54 00000000 >> OSCam << cardserver log switched, version 1.20_svn, build r11693-798 (sh4-FoReVeR-linux-gnu-stapi5-libcurl)
2021/06/13 06:18:54 00000000 s (main) signal handling initialized
2021/06/13 06:18:54 00000000 s (config) 108 provid's loaded
2021/06/13 06:18:54 00000000 s (config) 853 service-id's loaded in 13 ms
2021/06/13 06:18:54 00000000 s (reader) emulator [emu] creating thread for device emulator
2021/06/13 06:18:54 2E7B1075 r (emu) Stream key delayer initialized
2021/06/13 06:18:54 2E7B1075 r (emu) Stream relay server initialized
2021/06/13 06:18:54 2E7B1075 r (reader) emulator [emu] Reader initialized (device=emulator, detect=cd, mhz=357, cardmhz=357)
2021/06/13 06:18:54 00000000 s (reader) SmartCard [stapi] creating thread for device 000:001
2021/06/13 06:18:54 00000000 s (emmcache) loading emmcache disabled since no reader is using it!
2021/06/13 06:18:54 00000000 s (emmcache) loading emmstats disabled since no reader is using it!
2021/06/13 06:18:54 00000000 s (anticasc) anti cascading disabled
2021/06/13 06:18:54 00000000 s (gbox) local gbox failed init
2021/06/13 06:18:54 00000000 (emu) INFO: FFDecsa parallel mode = 32
2021/06/13 06:18:54 2F2DDA48 r (reader) SmartCard [stapi] Cannot open device: 000:001
2021/06/13 06:18:54 10EE00E7 c (client) plain dvbapi-client granted (dvbapiau, au=auto (3 reader))
2021/06/13 06:18:54 60BFE056 h (webif) webif: decompressed 179843 bytes back into 479112 bytes
2021/06/13 06:18:54 60BFE056 h (webif) HTTP Server running. ip=0.0.0.0 port=8888
2021/06/13 06:18:54 10EE00E7 c (dvbstapi) PTI: PTI5 skipped
2021/06/13 06:18:54 10EE00E7 c (dvbstapi) PTI: PTI4 skipped
2021/06/13 06:18:54 10EE00E7 c (dvbstapi) PTI: PTI3 open 0
2021/06/13 06:18:54 10EE00E7 c (dvbstapi) PTI: PTI2 skipped
2021/06/13 06:18:54 10EE00E7 c (dvbstapi) PTI: PTI1 skipped
2021/06/13 06:18:54 10EE00E7 c (dvbstapi) PTI: PTI0 skipped
2021/06/13 06:18:54 10EE00E7 c (dvbstapi) liboscam_stapi5 v.v0.05, STPTI ID: 0x0D initialized
2021/06/13 06:18:54 10EE00E7 c (dvbapi) Detected /dev/stapi/stpti5_ioctl Api: 2, userconfig boxtype: 0 maximum number of filters is 64 (oscam limit is 64)
2021/06/13 06:18:55 2E7B1075 r (reader) emulator [emu] card detected
2021/06/13 06:18:56 2E7B1075 r (reader) emulator [emu] found card system emu
2021/06/13 06:18:56 2E7B1075 r (reader) emulator [emu] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max allotted of 1
2021/06/13 06:18:56 2E7B1075 r (emu) Reading key file: /var/keys/SoftCam.Key
2021/06/13 06:18:56 2F2DDA48 r (reader) SmartCard [stapi] Cannot open device: 000:001
2021/06/13 06:18:56 2E7B1075 r (emu) Total keys in memory: W:0 V:27 N:9 I:7 F:211 G:0 P:373 T:10 A:0
2021/06/13 06:18:58 2F2DDA48 r (reader) SmartCard [stapi] Cannot open device: 000:001
And why device = 000:001 ? I used to have device = SC0 and everything worked, but now no oscam stapi5 works with reader device = SC0
I want to contact the oscam developer, if you can fix this, please fix this error, I am ready to cooperate, and thank you for your great work.
2021/06/13 06:31:01 41F8B6C4 c (dvbapi) Read 111 entries from oscam.dvbapi
2021/06/13 06:31:01 41F8B6C4 c stapi5: STPTI Revision: STPTI5-REL_1.9.6
2021/06/13 06:31:01 41F8B6C4 c stapi5: STTKD Revision: STTKD_REL_1.5.1 00020700-m2
2021/06/13 06:31:01 41F8B6C4 c (dvbstapi) PTI: PTI5 skipped
2021/06/13 06:31:01 41F8B6C4 c (dvbstapi) PTI: PTI4 skipped
2021/06/13 06:31:01 41F8B6C4 c stapi5: STPTI_Open PTI3, Sessionhandle: 0x0360FFFF, ErrorCode: 0
2021/06/13 06:31:01 41F8B6C4 c (dvbstapi) PTI: PTI3 open 0
2021/06/13 06:31:01 41F8B6C4 c stapi5: STPTI_SignalAllocate, Sessionhandle: 0x0360FFFF, Signalhandle: 0x0361C000, ErrorCode: 0
2021/06/13 06:31:01 41F8B6C4 c (dvbstapi) PTI: PTI2 skipped
2021/06/13 06:31:01 41F8B6C4 c (dvbstapi) PTI: PTI1 skipped
2021/06/13 06:31:01 41F8B6C4 c (dvbstapi) PTI: PTI0 skipped
2021/06/13 06:31:01 41F8B6C4 c stapi5: STTKD_Open TKD_00, Sessionhandle: 0x9093FD40, ErrorCode: 0
2021/06/13 06:31:01 41F8B6C4 c stapi5: STTKD_CustomerMode, Sessionhandle: 0x9093FD40, CustomerMode: 2, ErrorCode: 0
2021/06/13 06:31:01 41F8B6C4 c (dvbstapi) liboscam_stapi5 v.v0.05, STPTI ID: 0x0D initialized
2021/06/13 06:31:01 41F8B6C4 c (dvbapi) Detected /dev/stapi/stpti5_ioctl Api: 2, userconfig boxtype: 0 maximum number of filters is 64 (oscam limit is 64)
2021/06/13 06:31:01 41F8B6C4 c (dvbapi) ERROR: ioctl(CA_GET_DESCR_INFO): Inappropriate ioctl for device
2021/06/13 06:31:02 4E80D915 r (reader) SmartCard [stapi] Error getting card status.
-
Here is the log
-------------------------------------------------------------------------------
>> OSCam << cardserver log switched at Sat Jun 12 15:36:50 2021
-------------------------------------------------------------------------------
2021/06/12 15:36:50 00000000 s >> OSCam << cardserver log switched, version 1.20_svn, build r11693-798 (sh4-FoReVeR-linux-gnu-stapi5-libcurl)
2021/06/12 15:36:50 00000000 s debug_level=128
2021/06/12 15:36:50 00000000 s (main) System name = Linux
2021/06/12 15:36:50 00000000 s (main) Host name = pdk7105
2021/06/12 15:36:50 00000000 s (main) Release = 2.6.32.42stlinux_208_stapi_V.4.1-SDK7105_7105-STSDK
2021/06/12 15:36:50 00000000 s (main) Version = #56 PREEMPT Mon Feb 23 16:53:39 KST 2015
2021/06/12 15:36:50 00000000 s (main) Machine = sh4
2021/06/12 15:36:50 00000000 s (main) creating pidfile /tmp/.oscam/oscam.pid with pid 4156
2021/06/12 15:36:50 00000000 s (emu) OSCam-Emu version 798
2021/06/12 15:36:50 00000000 s (config) userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2021/06/12 15:36:50 00000000 s (main) signal handling initialized
2021/06/12 15:36:50 00000000 s (webif) http disabled
2021/06/12 15:36:50 00000000 s (reader) SmartCard [stapi] creating thread for device SC0
2021/06/12 15:36:50 00000000 s (reader) shara [newcamd] creating thread for device SERVER
2021/06/12 15:36:50 00000000 s (reader) emulator [emu] creating thread for device emulator
2021/06/12 15:36:50 00000000 s (main) waiting for local card init
2021/06/12 15:36:50 1F4BC2F7 r (emu) Stream key delayer initialized
2021/06/12 15:36:50 1F4BC2F7 r (emu) Stream relay server initialized
2021/06/12 15:36:50 1F4BC2F7 r (reader) emulator [emu] Reader initialized (device=emulator, detect=cd, mhz=357, cardmhz=357)
2021/06/12 15:36:50 23CCD72D p (newcamd) proxy SERVER:14001 newcamd525 (fd=0)
2021/06/12 15:36:50 23CCD72D p (reader) shara [newcamd] proxy initialized, server SERVER:14001
2021/06/12 15:36:50 51845A05 r (reader) SmartCard [stapi] Reader initialized (device=SC0, detect=cd, mhz=357, cardmhz=357)
2021/06/12 15:36:50 51845A05 r (reader) SmartCard [stapi] Reader sci internal, detected box type: generic
2021/06/12 15:36:50 00000000 (emu) INFO: FFDecsa parallel mode = 32
2021/06/12 15:36:51 1F4BC2F7 r (reader) emulator [emu] card detected
2021/06/12 15:36:51 51845A05 r (reader) SmartCard [stapi] Error getting card status.
2021/06/12 15:36:52 1F4BC2F7 r (reader) emulator [emu] found card system emu
2021/06/12 15:36:52 1F4BC2F7 r (reader) emulator [emu] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max allotted of 1
2021/06/12 15:36:52 1F4BC2F7 r (emu) Key file not found in: /var/keys
2021/06/12 15:36:52 1F4BC2F7 r (-) -- Skipped 1 duplicated log lines --
2021/06/12 15:36:52 1F4BC2F7 r (emu) Total keys in memory: W:0 V:0 N:0 I:0 F:0 G:0 P:0 T:0 A:0
2021/06/12 15:36:52 51845A05 r (reader) SmartCard [stapi] Error getting card status.
2021/06/12 15:36:53 00000000 s (main) init for all local cards done
2021/06/12 15:36:53 00000000 s (emmcache) loaded 0 emmcache records from /tmp/.oscam/oscam.emmcache in 0 ms
2021/06/12 15:36:53 00000000 s (emmcache) loaded 0 emmstat records from /tmp/.oscam/oscam.emmstat in 0 ms
2021/06/12 15:36:53 00000000 s (anticasc) anti cascading disabled
2021/06/12 15:36:53 00000000 s (gbox) local gbox failed init
2021/06/12 15:36:53 2BDD810D c (client) plain dvbapi-client granted (root, au=on (1 reader))
2021/06/12 15:36:53 2BDD810D c (dvbapi) stapi prio: ret=3 | s: PTI3 pmt1_1.tmp | disable 0
2021/06/12 15:36:53 2BDD810D c (dvbapi) stapi prio: ret=3 | s: PTI3 pmt1_2.tmp | disable 0
2021/06/12 15:36:53 2BDD810D c (dvbapi) stapi prio: ret=3 | s: PTI3 pmt1_3.tmp | disable 0
2021/06/12 15:36:53 2BDD810D c (dvbapi) stapi prio: ret=3 | s: PTI3 pmt1_4.tmp | disable 0
2021/06/12 15:36:53 2BDD810D c (dvbapi) stapi prio: ret=3 | s: PTI3 pmt1_5.tmp | disable 0
2021/06/12 15:36:53 2BDD810D c (dvbapi) stapi prio: ret=3 | s: PTI3 pmt1_6.tmp | disable 0
2021/06/12 15:36:53 2BDD810D c (dvbapi) stapi prio: ret=3 | s: PTI3 pmt3_1.tmp | disable 0
2021/06/12 15:36:53 2BDD810D c (dvbapi) Parsing rule: ret=2 | p: 0B00 000000 0000 10000 0000
2021/06/12 15:36:53 2BDD810D c (dvbapi) Read 87 entries from oscam.dvbapi
2021/06/12 15:36:53 2BDD810D c (dvbapi) dvbapi channelcache loaded from /var/keys/oscam.ccache
2021/06/12 15:36:53 2BDD810D c stapi5: STPTI Revision: STPTI5-REL_1.9.6
2021/06/12 15:36:53 2BDD810D c stapi5: STTKD Revision: STTKD_REL_1.5.1 00020700-m2
2021/06/12 15:36:53 2BDD810D c (dvbstapi) PTI: PTI5 skipped
2021/06/12 15:36:53 2BDD810D c (dvbstapi) PTI: PTI4 skipped
2021/06/12 15:36:53 2BDD810D c stapi5: STPTI_Open PTI3, Sessionhandle: 0x0320FFFF, ErrorCode: 0
2021/06/12 15:36:53 2BDD810D c (dvbstapi) PTI: PTI3 open 0
2021/06/12 15:36:53 2BDD810D c stapi5: STPTI_SignalAllocate, Sessionhandle: 0x0320FFFF, Signalhandle: 0x0321C000, ErrorCode: 0
2021/06/12 15:36:53 2BDD810D c (dvbstapi) PTI: PTI2 skipped
2021/06/12 15:36:53 2BDD810D c (dvbstapi) PTI: PTI1 skipped
2021/06/12 15:36:53 2BDD810D c (dvbstapi) PTI: PTI0 skipped
2021/06/12 15:36:53 2BDD810D c stapi5: STTKD_Open TKD_00, Sessionhandle: 0x8EC93880, ErrorCode: 0
2021/06/12 15:36:53 2BDD810D c stapi5: STTKD_CustomerMode, Sessionhandle: 0x8EC93880, CustomerMode: 2, ErrorCode: 0
2021/06/12 15:36:53 2BDD810D c (dvbstapi) liboscam_stapi5 v.v0.05, STPTI ID: 0x0D initialized
2021/06/12 15:36:53 2BDD810D c (dvbapi) Detected /dev/stapi/stpti5_ioctl Api: 2, userconfig boxtype: 0 maximum number of filters is 64 (oscam limit is 64)
2021/06/12 15:36:53 2BDD810D c (dvbapi) ERROR: ioctl(CA_GET_DESCR_INFO): Inappropriate ioctl for device
2021/06/12 15:36:53 51845A05 r (reader) SmartCard [stapi] Error getting card status.
2021/06/12 15:37:53 51845A05 r (-) -- Skipped 58 duplicated log lines
-
Hello everyone, help me figure out how to make osсam work with the map, the reader does not see it, here is a simple config
oscam.conf
[global]
logfile = /tmp/oscam.log
clienttimeout = 10000
fallbacktimeout = 7000
clientmaxidle = 9999999
nice = -20
maxlogsize = 100000
initial_debuglevel = 128
[dvbapi]
enabled = 1
au = 1
pmt_mode = 4
user = dvbapiau
read_sdt = 1
write_sdt_prov = 1
request_mode = 1
oscam.dvbapi
S: PTI3 pmt1_1.tmp
S: PTI3 pmt1_2.tmp
S: PTI3 pmt1_3.tmp
S: PTI3 pmt1_4.tmp
S: PTI3 pmt1_5.tmp
S: PTI3 pmt1_6.tmp
S: PTI3 pmt3_1.tmp
# SmartCard
P: 0B00:000000
oscam.server
[reader]
label = SmartCard
enable = 1
protocol = stapi
device = SC0
caid = 0B00
detect = cd
ident = 0B00:000000
group = 1
emmcache = 1,3,2,0
[reader]
label = shara
description = shara
protocol = newcamd
device = SERVER,14001
key = 0102030405060708091011121314
user = login
password = pass
reconnecttimeout = 20
fallback = 1
caid = 0500
ident = 0500:050C00
group = 2
[reader]
label = emulator
protocol = emu
device = emulator
disablecrccws_only_for = 0E00:000000
caid = 0500,0604,0E00,1010,1801,2600,2602,2610
detect = cd
ident = 0500:000000,007400,007800,021110,023800;0604:000000;0E00:000000;1010:000000;1801:000000,001101,002111,007301;2600:000000;2602:000000;2610:000000
group = 1
emmcache = 2,1,2,1
emu_auproviders = 0604:010200;0E00:000000;1010:000000;2610:000000
oscam.user
[account]
user = dvbapiau
pwd = dvbapiau
keepalive = 1
mgclient = 1
au = 1
group = 1,2,3,4,5,6,7,8,9,10,64
services = !blocked-1,!blocked-2,!blocked-3,!blocked-4,!blocked-5,!blocked-6,!blocked-7,!blocked-8,!blocked-9,!blocked-10,!blocked-11,!blocked-12,!blocked-13,!blocked-14,!blocked-15