Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 20 months ago

Last modified 10 months ago

#11021 accepted Patch - Bug Fix

DVBCam/CAM-Module initialized/used also with not encrypted channels

Reported by: Shinck@… Owned by: stuarta
Priority: minor Milestone: 0.27
Component: MythTV - EIT Version: 0.25-fixes
Severity: medium Keywords: CAM EIT
Cc: Ticket locked: no

Description

SignalMonitor? or Recorder initializes CAM-Module and sends CA_PMT for all
channels and programs, not only encrypted. They also do so for grabbing
EIT-Data with EIT-Scans. All the time, every few minutes during EIT-Scan
if channels change CAM is stopped and restarted (shows also up in syslog).
So I decided to write a fix.
Now the CAM is only initialized and CA_PMT is sent if
a stream or program is encrypted and we want to record or look live-TV.

So now I provide the patch. Perhaps it could be helpful for some other people.

Attachments (6)

0001-No_decrypting_of_unencrypted_channels_or_during_EIT.patch (4.9 KB) - added by Shinck@… 20 months ago.
No use of CAM-Module and decrypting at EIT-Scan or not encrypted channels
version-linux.txt (865 bytes) - added by Shinck@… 20 months ago.
Version information
0002-No_decrypting_of_unencrypted_channels_or_during_EIT-026.patch (4.9 KB) - added by Shinck@… 20 months ago.
Patch for master / 0.26-rc
version026-linux.txt (876 bytes) - added by Shinck@… 20 months ago.
Version information 0.26
Version.txt (880 bytes) - added by Shinck@… 10 months ago.
0002-decrypt_two_channels_in_parallel.commit (12.2 KB) - added by Shinck@… 10 months ago.

Download all attachments as: .zip

Change History (18)

Changed 20 months ago by Shinck@…

No use of CAM-Module and decrypting at EIT-Scan or not encrypted channels

Changed 20 months ago by Shinck@…

Version information

comment:1 Changed 20 months ago by Shinck@…

Recently I switched from fixes/0.25 to master. The patch also works fine. So I will attach it here.

Changed 20 months ago by Shinck@…

Patch for master / 0.26-rc

Changed 20 months ago by Shinck@…

Version information 0.26

comment:2 Changed 14 months ago by thomas@…

Can this be added to 0.26 fixes, please?

comment:3 Changed 14 months ago by Shinck@…>

In 32b0546e488aa07a87ef3704e93277258ee0fce1/mythtv:

Don't use the CAM when on an unencrypted channel or when
just looking for EIT data

Refs #11021

Signed-off-by: Stuart Auchterlonie <stuarta@…>

comment:4 Changed 14 months ago by stuarta

  • Milestone changed from unknown to 0.27
  • Status changed from new to accepted

comment:5 Changed 14 months ago by Stuart Auchterlonie <stuarta@…>

In c2553d808078a9e45b57a94a61fb26ac35b99787/mythtv:

Fix build after 32b0546e488aa07a87ef3704e93277258ee0fce1

There should be no need to make DTVSignalMonitor dependent
on DVBChannel. I've reverted that part of the patch.

Refs #11021

comment:6 Changed 14 months ago by Shinck@…>

In 93f2d2b52ffcab1d20b220a9cfa3420fec5483f2/mythtv:

Don't use the CAM when on an unencrypted channel or when
just looking for EIT data

Refs #11021

Signed-off-by: Stuart Auchterlonie <stuarta@…>

comment:7 Changed 14 months ago by Stuart Auchterlonie <stuarta@…>

In d626d5667a7ddb8e2567cb6898130d997cd878da/mythtv:

Fix build after 32b0546e488aa07a87ef3704e93277258ee0fce1

There should be no need to make DTVSignalMonitor dependent
on DVBChannel. I've reverted that part of the patch.

Refs #11021

comment:8 Changed 14 months ago by thomas@…

Even after applying the 0.26 patch on 0.26 fixes, it still uses the CAM and decrypts the channel during EIT scan.

comment:9 Changed 10 months ago by Shinck@…

The last revert broke that the CAM doesn't decrypt channels during EIT scan.

I fixed this and make some optimization:
If CAM-Module decrypts one channel it's now possible to add a second
recording which needs also decryption without destroying the first or
both recordings. During LiveTV it speeds up decryption at channel
changes.

I attached the fix for fixes/0.26

Changed 10 months ago by Shinck@…

Changed 10 months ago by Shinck@…

comment:10 Changed 10 months ago by thomas@…

The newest patch does not apply to 0.26-fixes. I tried various versions up to 2013-06-30.

comment:11 Changed 10 months ago by SHinck@…

Try first applying 0002-No_decrypting_of_unencrypted_channels_or_during_EIT-026.patch​ and then 0002-decrypt_two_channels_in_parallel.commit​

comment:12 Changed 10 months ago by thomas@…

OK, applying both patches worked, thanks. However, it still decrypts during EIT scan.

Add Comment

Modify Ticket

Action
as accepted .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.