Opened 10 years ago

Closed 10 years ago

#3489 closed defect (fixed)

dvbapi stops working on sh4-stapi in rev. 8993 (8992 was ok!)

Reported by: Netview Owned by:
Priority: Please fill in Component: DVBApi
Severity: medium Keywords:
Cc: Sensitive: no

Description

on every startup:
2013/10/24 11:03:45 0 s G09 [stapi] creating thread for device SC0
2013/10/24 11:03:45 590BE8 r [STSMART] SC0 added as stsmart_dev #0 - 0
2013/10/24 11:03:45 590BE8 r G09 [stapi] Reader initialized (device=SC0, detect=cd, mhz=500, cardmhz=357)
2013/10/24 11:03:45 581970 h HTTP Server running. ip=:: port=8888
2013/10/24 11:03:45 0 s loadbalancer: can't read from file /tmp/.oscam/stat
2013/10/24 11:03:45 0 s waiting for local card init
2013/10/24 11:03:46 590BE8 r G09 [stapi] card detected
2013/10/24 11:03:46 590BE8 r G09 [stapi] ATR: 3F FD 15 25 02 50 00 03 33 B0 15 69 FF 4A 50 F0 80 03 4B 4C 03
2013/10/24 11:03:46 590BE8 r G09 [stapi] Init card protocol T0, FI=1, F=372, D=16, N=2
2013/10/24 11:03:46 590BE8 r G09 [stapi] Calculated work ETU is 4.65 us
2013/10/24 11:03:46 590BE8 r [STSMART] SC0 SetClockFrequency 5000000: 0 - ret: 5000000
2013/10/24 11:03:46 590BE8 r [STSMART] SC0 SetBaudRate 217391: 0
2013/10/24 11:03:46 590BE8 r G09 [stapi] ATR Fsmax is 5 MHz, clocking card to 5.00 (specified in reader->mhz)
2013/10/24 11:03:47 590BE8 r G09 [stapi] Card type: KLPV
2013/10/24 11:03:47 590BE8 r G09 [stapi] Rom version: 10LM
2013/10/24 11:03:47 590BE8 r G09 [stapi] parental lock setting: FF FF FF FF
2013/10/24 11:03:47 590BE8 r G09 [stapi] type: VideoGuard Kabel Deutschland G02/G09 (09C7), caid: 09C7
2013/10/24 11:03:47 590BE8 r G09 [stapi] serial: ########, BoxID: ########, baseyear: 2004
2013/10/24 11:03:47 590BE8 r G09 [stapi] ready for requests
2013/10/24 11:03:47 590BE8 r G09 [stapi] found card system videoguard2
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] THIS WAS A SUCCESFULL START ATTEMPT No 1 out of max alloted of 1
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] card detected
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] type: VideoGuard Kabel Deutschland G02/G09 (09C7)
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: ce22, expiry date: 2013/10/21-00:01:04
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: d084, expiry date: 2013/10/23-00:01:04
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: dd3b, expiry date: 2012/10/31-00:01:04
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: c64c, expiry date: 2012/11/04-00:01:04
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: 007b, expiry date: 2014/01/16-00:00:00
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: 008e, expiry date: 2014/01/16-00:00:00
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: 00c7, expiry date: 2014/01/16-00:00:00
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: 00c8, expiry date: 2014/01/16-00:00:00
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: 00c9, expiry date: 2014/01/16-00:00:00
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: 00ca, expiry date: 2014/01/16-00:00:00
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: 00f3, expiry date: 2014/01/16-00:00:00
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: 00f4, expiry date: 2014/01/16-00:00:00
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: 00fa, expiry date: 2014/01/16-00:00:00
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: 00fe, expiry date: 2014/01/16-00:00:00
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: 00ff, expiry date: 2014/01/16-00:00:00
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: 0131, expiry date: 2014/01/16-00:00:00
2013/10/24 11:03:47 590BE8 r G09 [videoguard2] tier: 0133, expiry date: 2014/01/16-00:00:00
2013/10/24 11:03:49 0 s init for all local cards done
2013/10/24 11:03:49 0 s anti cascading disabled
2013/10/24 11:03:49 58D4C8 c plain dvbapi-client granted (dvbapi, au=on (1 reader))

after this message oscam stops.

Attachments (1)

7.patch (1.5 KB ) - added by gf 10 years ago.
Please try this patch to see if it breaks STAPI for you.

Download all attachments as: .zip

Change History (5)

comment:1 by Netview, 10 years ago

normally this should appear after 'dvbapi-client granted...'

2013/10/24 11:14:24 58CF68 c use default ioctls
2013/10/24 11:14:24 58CF68 c dvbapi: PTI: SWTS2 skipped
2013/10/24 11:14:24 58CF68 c dvbapi: PTI: SWTS1 skipped
2013/10/24 11:14:24 58CF68 c dvbapi: PTI: PTI2 skipped
2013/10/24 11:14:24 58CF68 c dvbapi: PTI: SWTS0 skipped
2013/10/24 11:14:24 58CF68 c dvbapi: PTI: PTI1 open 0
2013/10/24 11:14:24 58CF68 c dvbapi: PTI: PTI open 1
2013/10/24 11:14:24 58CF68 c dvbapi: liboscam_stapi v.0.08a-r3 initialized
2013/10/24 11:14:24 58CF68 c [DVBAPI] Detected /dev/stapi/stpti4_ioctl Api: 2, userconfig boxtype: 2
2013/10/24 11:14:25 58CF68 c [DVBAPI] Receiver sends PMT command 3 for channel D035
2013/10/24 11:14:25 58CF68 c [ADD PID 0] CAID: 1834 ECM_PID: 0206 PROVID: 000000
2013/10/24 11:14:25 58CF68 c [ADD PID 1] CAID: 1861 ECM_PID: 0203 PROVID: 000000
2013/10/24 11:14:25 58CF68 c [ADD PID 2] CAID: 09C7 ECM_PID: 0207 PROVID: 000000
2013/10/24 11:14:25 58CF68 c [ADD PID 3] CAID: 1722 ECM_PID: 0205 PROVID: 000000
2013/10/24 11:14:25 58CF68 c Found 4 ECMpids and 2 STREAMpids in PMT
2013/10/24 11:14:25 58CF68 c [DVBAPI] Receiver wants to demux srvid D035 on adapter 0000 camask 0001 index 0000
2013/10/24 11:14:25 58CF68 c New program number: D035 (History) [pmt_list_management 3]

comment:2 by gf, 10 years ago

r8994 reverts r8993 as temporary measure until the author of r8993 figures what is going on.

by gf, 10 years ago

Attachment: 7.patch added

Please try this patch to see if it breaks STAPI for you.

comment:3 by Netview, 10 years ago

yes - the fix is working:

...
2013/10/24 15:07:22 58DCE8 r G09 [stapi] found card system videoguard2
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] THIS WAS A SUCCESFULL START ATTEMPT No 1 out of max alloted of 1
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] card detected
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] type: VideoGuard Kabel Deutschland G02/G09 (09C7)
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: ce22, expiry date: 2013/10/21-00:01:04
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: d084, expiry date: 2013/10/23-00:01:04
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: dd3b, expiry date: 2012/10/31-00:01:04
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: c64c, expiry date: 2012/11/04-00:01:04
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: 007b, expiry date: 2014/01/16-00:00:00
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: 008e, expiry date: 2014/01/16-00:00:00
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: 00c7, expiry date: 2014/01/16-00:00:00
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: 00c8, expiry date: 2014/01/16-00:00:00
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: 00c9, expiry date: 2014/01/16-00:00:00
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: 00ca, expiry date: 2014/01/16-00:00:00
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: 00f3, expiry date: 2014/01/16-00:00:00
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: 00f4, expiry date: 2014/01/16-00:00:00
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: 00fa, expiry date: 2014/01/16-00:00:00
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: 00fe, expiry date: 2014/01/16-00:00:00
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: 00ff, expiry date: 2014/01/16-00:00:00
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: 0131, expiry date: 2014/01/16-00:00:00
2013/10/24 15:07:22 58DCE8 r G09 [videoguard2] tier: 0133, expiry date: 2014/01/16-00:00:00
2013/10/24 15:07:24 0 s init for all local cards done
2013/10/24 15:07:24 0 s anti cascading disabled
2013/10/24 15:07:24 58A3A8 c plain dvbapi-client granted (dvbapi, au=on (1 reader))
2013/10/24 15:07:24 58A3A8 c use default ioctls
2013/10/24 15:07:24 58A3A8 c dvbapi: PTI: SWTS2 skipped
2013/10/24 15:07:24 58A3A8 c dvbapi: PTI: SWTS1 skipped
2013/10/24 15:07:24 58A3A8 c dvbapi: PTI: PTI2 skipped
2013/10/24 15:07:24 58A3A8 c dvbapi: PTI: SWTS0 skipped
2013/10/24 15:07:24 58A3A8 c dvbapi: PTI: PTI1 open 0
2013/10/24 15:07:24 58A3A8 c dvbapi: PTI: PTI open 1
2013/10/24 15:07:24 58A3A8 c dvbapi: liboscam_stapi v.0.08a-r3 initialized
2013/10/24 15:07:24 58A3A8 c [DVBAPI] Detected /dev/stapi/stpti4_ioctl Api: 2, userconfig boxtype: 2
2013/10/24 15:07:40 58A3A8 c [DVBAPI] Receiver sends PMT command 3 for channel D035
2013/10/24 15:07:40 58A3A8 c [ADD PID 0] CAID: 1834 ECM_PID: 0206 PROVID: 000000
2013/10/24 15:07:40 58A3A8 c [ADD PID 1] CAID: 1861 ECM_PID: 0203 PROVID: 000000
2013/10/24 15:07:40 58A3A8 c [ADD PID 2] CAID: 09C7 ECM_PID: 0207 PROVID: 000000
2013/10/24 15:07:40 58A3A8 c [ADD PID 3] CAID: 1722 ECM_PID: 0205 PROVID: 000000
2013/10/24 15:07:40 58A3A8 c Found 4 ECMpids and 2 STREAMpids in PMT
2013/10/24 15:07:40 58A3A8 c [DVBAPI] Receiver wants to demux srvid D035 on adapter 0000 camask 0001 index 0000
2013/10/24 15:07:40 58A3A8 c New program number: D035 (History) [pmt_list_management 3]
2013/10/24 15:07:40 58A3A8 c [DVBAPI] Demuxer #0 trying to descramble PID #2 CAID 09C7 PROVID 000000 ECMPID 0207 ANY CHID VPID 01FF
2013/10/24 15:07:40 58A3A8 c dvbapi (09C7&000000/01F5/D035/62:EAE6CADEFC796B7051CE6709D474E817): found (67 ms) by G09 - History (cwc LEARN)
...

Last edited 10 years ago by Netview (previous) (diff)

comment:4 by gf, 10 years ago

Resolution: fixed
Status: newclosed

Fixed properly in r8995.

Note: See TracTickets for help on using tickets.