Project

General

Profile

Bug #4400

CI CAM turn on/off request dual confirmation

Added by saen acro over 4 years ago. Updated almost 4 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
User Interface
Target version:
-
Start date:
2017-05-29
Due date:
% Done:

100%

Estimated time:
Found in version:
4.3-173
Affected Versions:

Description

When have to enable or disable module do volowing
check/uncheck box and click on Save
then need to click on some other place on tree, then return and do same with box select/unselect to be executed action applied.

p.s.
There is not enough long space in ui log to see initialisation line of CAM

en50221: CAM slot 0: Application type: 01, manufacturer: 1234, Manufacturer code: ceec
en50221: CAM slot 0: Menu string: Xcrypto 1.510-p
en50221: CAM slot 0 supported CAIDs:  4AD0 (0x4ad0) 4AD1 (0x4ad1) 0100 (Seca) 0500 (Viaccess) 0604 (Irdeto) 0602 (Irdeto) 0626 (Irdeto) 1800 (NagraVision) 1801 (NagraVision) 0B00 (Conax) 0D00 (CryptoWorks) 0D03 (CryptoWorks) 0D05 (CryptoWorks) 0D01 (CryptoWorks) 0D02 (CryptoWorks) 0D04 (Cryp
somewhere ad end must be seen BISS

Associated revisions

Revision 39057ba7 (diff)
Added by Jaroslav Kysela over 4 years ago

linuxdvb ca: fix the supported CAIDs log lines, fixes #4400

Revision 082c0cba (diff)
Added by Jaroslav Kysela almost 4 years ago

en50221: fix the supported CAIDs log, issue #4400

Revision 132fb02f (diff)
Added by Jaroslav Kysela almost 4 years ago

en50221: another fix for parsing CAIDs, issue #4400

Revision 50ab53f4 (diff)
Added by Jaroslav Kysela almost 4 years ago

linuxdvb ca: add missing ca index to linuxdvb_transport_create(), issue #4400

History

#1

Updated by saen acro over 4 years ago

Tread can be closed seems to be fixed in new DDDVB drivers

only now loading looks different

2017-06-13 16:05:42.257 linuxdvb: CAM slot 0 status changed to module ready
2017-06-13 16:05:43.641 en50221: CAM slot 0: Application type: 01, manufacturer: 1234, Manufacturer code: ceec
2017-06-13 16:05:43.641 en50221: CAM slot 0: Menu string: Xcrypto 1.510-p
2017-06-13 16:05:44.272 en50221: CAM slot 0 supported CAIDs:  4AD0 (XCrypt) 4AD1 (XCrypt) 0100 (Seca) 0500 (Viaccess)
2017-06-13 16:05:44.272 en50221: CAM slot 0 supported CAIDs: 
2017-06-13 16:05:44.272 en50221: CAM slot 0 supported CAIDs: 
2017-06-13 16:05:44.272 en50221: CAM slot 0 supported CAIDs: 
2017-06-13 16:05:44.272 en50221: CAM slot 0 supported CAIDs: 

some how incomplete

GNUTV output

#gnutv -adapter 1 -cammenu
CAM Application type: 01
CAM Application manufacturer: 1234
CAM Manufacturer code: ceec
CAM Menu string: Xcrypto 1.510-p
CAM supports the following ca system ids:  
0x4ad0  
0x4ad1  
0x0100  
0x0500  
0x0604  
0x0602  
0x0626  
0x1800  
0x1801  
0x0b00  
0x0d00  
0x0d03  
0x0d05  
0x0d01  
0x0d02  
0x0d04  
0x1762  
0x2600

------------------------------

XCRYPTWelcome0. 
Quit menu
1. Card Info
2. Settings
3. Edit Keys
4. Serial Update
5. Card Update
Select an option
Enter option:

#2

Updated by Jaroslav Kysela over 4 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100
#3

Updated by saen acro over 4 years ago

en50221: CAM slot 0: Application type: 01, manufacturer: 1234, Manufacturer code: ceec
en50221: CAM slot 0: Menu string: Xcrypto 1.510-p
en50221: CAM slot 0 supported CAIDs:  4AD0 (XCrypt) 4AD1 (XCrypt) 0100 (Seca) 0500 (Viaccess)
en50221: CAM slot 0 supported CAIDs:  0604 (Irdeto) 0602 (Irdeto) 0626 (Irdeto) 1800 (NagraVision)
en50221: CAM slot 0 supported CAIDs:  1801 (NagraVision) 0B00 (Conax) 0D00 (CryptoWorks) 0D03 (CryptoWorks)
en50221: CAM slot 0 supported CAIDs:  0D05 (CryptoWorks) 0D01 (CryptoWorks) 0D02 (CryptoWorks) 0D04 (CryptoWorks)
en50221: CAM slot 0 supported CAIDs:  1762 (BetaCrypt) 2600 (EBU)

2600 (EBU) better is BISS
#4

Updated by saen acro almost 4 years ago

With build in code of en50221 there is a bug on CAID reading

en50221: dvbca0-slot0-app00020041/0002: CAM INFO:  XCAM   1.480  , 01, 1234, CEEC
en50221: dvbca0-slot0-app00030041/0003: CAM supported CAIDs: 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt)
en50221: dvbca0-slot0-app00030041/0003: CAM supported CAIDs: 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt)
en50221: dvbca0-slot0-app00030041/0003: CAM supported CAIDs: 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt)
en50221: dvbca0-slot0-app00030041/0003: CAM supported CAIDs: 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt)
en50221: dvbca0-slot0-app00030041/0003: CAM supported CAIDs: 4AD0 (XCrypt) 4AD0 (XCrypt)

difference from previous post is dramatical.

#5

Updated by saen acro almost 4 years ago

# gnutv -cammenu
CAM Application type: 01
CAM Application manufacturer: 1234
CAM Manufacturer code: ceec
CAM Menu string:  XCAM   1.480
CAM supports the following ca system ids:
  0x4ad0
  0x4ad1
  0x0100
  0x0500
  0x0604
  0x0602
  0x0626
  0x1800
  0x1801
  0x0b00
  0x0d00
  0x0d03
  0x0d05
  0x0d01
  0x0d02
  0x0d04
  0x1762
  0x2600
------------------------------
XCRYPT
Welcome
0. Quit menu
1. Card Info
2. Settings
3. Edit Keys
4. Serial Update
5. Card Update
Select an option
Enter option:

#6

Updated by Jaroslav Kysela almost 4 years ago

It's fixed in the latest master now.

#7

Updated by saen acro almost 4 years ago

I try to test but there is a crash on start with tvh restart loop

Jan  4 18:37:59 FlamingoXL tvheadend[25656]: main: Log started
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: http: Starting HTTP server 0.0.0.0:9981
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: htsp: Starting HTSP server 0.0.0.0:9982
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: config: backup: migrating config from 4.3-861~g715a4a8 (running 4.3-884~gee0d3bb)
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: config: backup: running, output file /home/hts/.hts/tvheadend/backup/4.3-861~g715a4a8.tar.bz2
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: spawn: Executing "/bin/tar" 
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: config: backup: completed
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: config: loaded
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: config: scanfile (re)initialization with path <none>
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: transcode: 'video' context type registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: transcode: 'audio' context type registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: transcode: '&TVHH264Decoder' decoder helper registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: transcode: '&TVHTHEORADecoder' decoder helper registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: transcode: '&TVHAACDecoder' decoder helper registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: transcode: '&TVHVORBISDecoder' decoder helper registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: transcode: '&TVHOPUSDecoder' decoder helper registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: transcode: '&TVHMPEG2VIDEOEncoder' encoder helper registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: transcode: '&TVHH264Encoder' encoder helper registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: transcode: '&TVHHEVCEncoder' encoder helper registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: transcode: '&TVHAACEncoder' encoder helper registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'mpeg2video' encoder registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'mp2' encoder registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'aac' encoder registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'vorbis' encoder registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'flac' encoder registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'libx264' encoder registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'libx265' encoder registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'libvpx' encoder registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'libvpx-vp9' encoder registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'libtheora' encoder registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'libvorbis' encoder registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'libopus' encoder registered
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'webtv-aac' codec profile created
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'webtv-vorbis' codec profile created
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'webtv-h264' codec profile created
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: codec: 'webtv-vp8' codec profile created
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: linuxdvb: adapter added /dev/dvb/adapter3
Jan  4 18:37:59 FlamingoXL kernel: [75423.296902] ddbridge 0000:0d:00.0: DVB: adapter 3 frontend 0 frequency 0 out of range (950000..2150000)
Jan  4 18:37:59 FlamingoXL kernel: [75423.307469] ddbridge 0000:0d:00.0: DVB: adapter 3 frontend 0 frequency 0 out of range (950000..2150000)
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: idnode: Id node collission (62a50035b69547db127f7bdef0be6865)
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: CRASH: Signal: 6 in PRG: tvheadend (4.3-884~gee0d3bb) [c029a473ad9fa8c9560626035e2e4ad6c3248a6c] CWD: /
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: CRASH: Fault address 0x6900006438 (N/A)
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: CRASH: Loaded libraries: /lib/x86_64-linux-gnu/libssl.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libz.so.1 /lib/x86_64-linux-gnu/libpcre.so.3 /usr/lib/liburiparse$
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: CRASH: Register dump [23]: 00007f9f273c6b800000000004000001000000000000000800000000000002020000000000000000000000000000000000007f9f2858ea600000000000000000000000000000643800000000000064380000$
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: CRASH: STACKTRACE
Jan  4 18:37:59 FlamingoXL kernel: [75423.325582] ddbridge 0000:0d:00.0: DVB: adapter 3 frontend 0 frequency 0 out of range (950000..2150000)
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: scanfile: DVB-S - loaded 1 regions with 113 networks
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: scanfile: DVB-T - loaded 44 regions with 1113 networks
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: scanfile: DVB-C - loaded 17 regions with 57 networks
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: scanfile: ATSC-T - loaded 2 regions with 11 networks
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: scanfile: ATSC-C - loaded 1 regions with 5 networks
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: scanfile: ISDB-T - loaded 2 regions with 1297 networks
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: CRASH: ??:0 0x7f9f2631308d 0x7f9f26104000
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: CRASH: ??:0 0x7f9f247bf330 0x7f9f247af000
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: CRASH: gsignal+0x37  (/lib/x86_64-linux-gnu/libc.so.6)
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: CRASH: abort+0x148  (/lib/x86_64-linux-gnu/libc.so.6)
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: CRASH: ??:0 0x7f9f262d0720 0x7f9f26104000
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: CRASH: ??:0 0x7f9f263fccdc 0x7f9f26104000
Jan  4 18:37:59 FlamingoXL tvheadend[25656]: CRASH: ??:0 0x7f9f263baaee 0x7f9f26104000
Jan  4 18:38:00 FlamingoXL tvheadend[25656]: CRASH: ??:0 0x7f9f263bb09f 0x7f9f26104000
Jan  4 18:38:00 FlamingoXL tvheadend[25656]: CRASH: ??:0 0x7f9f26385561 0x7f9f26104000
Jan  4 18:38:00 FlamingoXL tvheadend[25656]: CRASH: ??:0 0x7f9f262c8464 0x7f9f26104000
Jan  4 18:38:00 FlamingoXL tvheadend[25656]: CRASH: __libc_start_main+0xf5  (/lib/x86_64-linux-gnu/libc.so.6)
Jan  4 18:38:00 FlamingoXL kernel: [75423.941852] init: tvheadend main process (25656) killed by ABRT signal
#8

Updated by saen acro almost 4 years ago



before i never see addr2line debuger

#9

Updated by saen acro almost 4 years ago

HTS Tvheadend 4.3-905~g9bed2c7

2018-01-05 23:25:14.778 linuxdvb: dvbca0-0: CAM slot 0 status changed to module init
2018-01-05 23:25:15.390 linuxdvb: dvbca0-0: CAM slot 0 status changed to module connected
2018-01-05 23:25:16.507 en50221: dvbca0-slot0-app00020041/0002: CAM INFO:  XCAM   1.480  , 01, 1234, CEEC
2018-01-05 23:25:17.131 en50221: dvbca0-slot0-app00030041/0003: CAM supported CAIDs: 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt)
2018-01-05 23:25:17.131 en50221: dvbca0-slot0-app00030041/0003: CAM supported CAIDs: 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt)
2018-01-05 23:25:17.131 en50221: dvbca0-slot0-app00030041/0003: CAM supported CAIDs: 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt)
2018-01-05 23:25:17.131 en50221: dvbca0-slot0-app00030041/0003: CAM supported CAIDs: 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt) 4AD0 (XCrypt)
2018-01-05 23:25:17.131 en50221: dvbca0-slot0-app00030041/0003: CAM supported CAIDs: 4AD0 (XCrypt) 4AD0 (XCrypt)
2018-01-05 23:25:17.230 linuxdvb: dvbca0-0: CAM slot 0 status changed to module ready
Configure arguments:
  --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking --enable-ddci --jobs=4

Compiler:
  Using C compiler:                        cc
  Build for arch:                          x86_64

Binaries:
  Using PYTHON:                            python
  Using GZIP:                              gzip
  Using BZIP2:                             bzip2

Options:
  pie                                      yes
  ccdebug                                  no
  cardclient                               yes
  cwc                                      yes
  cccam                                    yes
  capmt                                    yes
  constcw                                  yes
  linuxdvb                                 yes
  satip_server                             yes
  satip_client                             yes
  hdhomerun_client                         yes
  hdhomerun_static                         yes
  iptv                                     yes
  tsfile                                   yes
  dvbscan                                  yes
  timeshift                                yes
  trace                                    yes
  imagecache                               yes
  avahi                                    yes
  zlib                                     yes
  libav                                    yes
  ffmpeg_static                            yes
  libx264                                  yes
  libx264_static                           yes
  libx265                                  yes
  libx265_static                           yes
  libvpx                                   yes
  libvpx_static                            yes
  libtheora                                yes
  libtheora_static                         yes
  libvorbis                                yes
  libvorbis_static                         yes
  libfdkaac                                no
  libfdkaac_static                         no
  libopus                                  yes
  libopus_static                           yes
  nvenc                                    no
  vaapi                                    no
  mmal                                     no
  omx                                      no
  inotify                                  yes
  epoll                                    yes
  pcre                                     yes
  pcre2                                    no
  uriparser                                yes
  ccache                                   no
  tvhcsa                                   yes
  bundle                                   no
  pngquant                                 no
  dvbcsa                                   no
  kqueue                                   no
  dbus_1                                   yes
  android                                  no
  tsdebug                                  no
  gtimer_check                             no
  slow_memoryinfo                          no
  libsystemd_daemon                        no
  bintray_cache                            yes
  ddci                                     yes
  execinfo                                 yes
  mmx                                      yes
  sse2                                     yes
  W_unused_result                          yes
  getloadavg                               yes
  atomic32                                 yes
  atomic64                                 yes
  atomic_time_t                            yes
  atomic_ptr                               yes
  bitops64                                 yes
  lockowner                                yes
  qsort_r                                  yes
  stime                                    yes
  gmtoff                                   yes
  recvmmsg                                 yes
  sendmmsg                                 yes
  ifnames                                  yes
  py_gzip                                  yes
  bin_pkg_config                           yes
  bin_xgettext                             yes
  bin_msgmerge                             yes
  bin_gzip                                 yes
  bin_bzip2                                yes
  ssl                                      yes
  linuxdvbapi                              yes
  linuxdvb_ca                              yes
  upnp                                     yes
  bin_cmake                                yes
  stdcpp                                   yes
  libogg_static                            yes
  inotify_h                                yes
  inotify_init1                            yes
  epoll_create1                            yes
  mpegts                                   yes
  mpegts_dvb                               yes

Packages:
  openssl                                  1.0.1f
  zlib                                     1.2.8
  libpcre                                  8.31
  liburiparser                             0.7.5
  avahi-client                             0.6.31
  dbus-1                                   1.6.18

Installation paths:
  Prefix:                                  /usr
  Binaries:                                ${prefix}/bin
  Libraries:                               ${prefix}/lib
  Data files:                              ${prefix}/share
  Man pages:                               /usr/share/man
#10

Updated by Jaroslav Kysela almost 4 years ago

Another fix is in v4.3-907-gfb22b9565

#11

Updated by saen acro almost 4 years ago

HTS Tvheadend 4.3-907~gfb22b95

2018-01-06 16:59:38.694 linuxdvb: dvbca0-0: CAM slot 0 status changed to module init
2018-01-06 16:59:39.510 linuxdvb: dvbca0-0: CAM slot 0 status changed to module connected
2018-01-06 16:59:40.647 en50221: dvbca0-slot0-app00020041/0002: CAM INFO:  XCAM   1.480  , 01, 1234, CEEC
2018-01-06 16:59:41.271 en50221: dvbca0-slot0-app00030041/0003: CAM supported CAIDs: 4AD0 (XCrypt) 4AD1 (XCrypt) 0100 (Seca) 0500 (Viaccess)
2018-01-06 16:59:41.271 en50221: dvbca0-slot0-app00030041/0003: CAM supported CAIDs: 0604 (Irdeto) 0602 (Irdeto) 0626 (Irdeto) 1800 (NagraVision)
2018-01-06 16:59:41.271 en50221: dvbca0-slot0-app00030041/0003: CAM supported CAIDs: 1801 (NagraVision) 0B00 (Conax) 0D00 (CryptoWorks) 0D03 (CryptoWorks)
2018-01-06 16:59:41.271 en50221: dvbca0-slot0-app00030041/0003: CAM supported CAIDs: 0D05 (CryptoWorks) 0D01 (CryptoWorks) 0D02 (CryptoWorks) 0D04 (CryptoWorks)
2018-01-06 16:59:41.271 en50221: dvbca0-slot0-app00030041/0003: CAM supported CAIDs: 1762 (BetaCrypt) 2600 (EBU)
2018-01-06 16:59:41.378 linuxdvb: dvbca0-0: CAM slot 0 status changed to module ready

there is some problem after, each new version update i need to delete configuration folder because crash on startup
maby connect with this

p.s.
2600 (EBU)
BISS is better name

#12

Updated by Jaroslav Kysela almost 4 years ago

v4.3-909-g50ab53f4e

#13

Updated by saen acro almost 4 years ago

(/)
No more crash at update,
and naming is OK

ca0-0
ca1-0

one more ask
is data from CAM INFO and CAM supported CAIDs
can be added to Read-only Info

Also available in: Atom PDF