Gentoo Archives: gentoo-user

From: Alexander Puchmayr <alexander.puchmayr@×××××××.at>
To: gentoo-user@l.g.o
Subject: [gentoo-user] DVB-C Technotrend C1501 CI CAM initialization?
Date: Fri, 09 Jan 2015 17:13:30
Message-Id: 1454799.DcAeCTo2GX@artemis
1 Hi there,
2
3 I just encountered a weird problem with a new TechnoTrend C-1501 DVB-C card
4 with CI module (SAA7146 based). The CAM seems to work fine ONLY if I remove and
5 re-insert the whole CI module after booting. When I don't do that, I cannot
6 receive any program (could not try non-encrypted channels since my provider
7 encrypts all digital channels). After re-inserting the card, everything works
8 as it should.
9
10 Since the computer is not permanently powered on, and the back of the computer
11 is hard to access, this is a very unsatisfying condition;
12
13 Is there a way to re-initialize the module after rebooting or any other way to
14 simulate re-insertion of it by software?
15
16 Tech details:
17 Linux version 3.17.7-gentoo (root@artemis) (gcc version 4.7.3 (Gentoo 4.7.3-r1
18 p1.4, pie-0.5.5) ) #1 SMP PREEMPT Tue Dec 30 16:58:13 CET 2014
19 (Gentoo-kernel, no further patches applied)
20
21 artemis linux # qlist -Iv dvb
22 media-libs/libdvb-0.5.5.1-r3
23 virtual/linuxtv-dvb-headers-5.8
24
25 artemis linux # dmesg [relevant parts]
26 [ 5.322053] saa7146: found saa7146 @ mem ffffc90000072c00 (revision 1, irq
27 21) (0x13c2,0x101a)
28 [ 5.322055] saa7146 (0): dma buffer size 192512
29 [ 5.322057] DVB: registering new adapter (TT-Budget C-1501 PCI)
30 [ 5.341385] adapter has MAC addr = 00:d0:5c:cd:8e:15
31 [ 5.373142] Registered IR keymap rc-tt-1500
32 [ 5.373225] input: Budget-CI dvb ir receiver saa7146 (0) as
33 /devices/pci0000:00/0000:00:14.4/0000:04:06.0/rc/rc0/input13
34 [ 5.373269] rc0: Budget-CI dvb ir receiver saa7146 (0) as
35 /devices/pci0000:00/0000:00:14.4/0000:04:06.0/rc/rc0
36 [ 5.373342] budget_ci: CI interface initialised
37 [ 5.410959] budget_ci dvb 0000:04:06.0: DVB: registering adapter 0 frontend
38 0 (Philips TDA10023 DVB-C)...
39 [ 9.374382] dvb_ca adapter 0: DVB CAM detected and initialised successfully
40 [ 373.441786] dvb_ca adapter 0: DVB CAM detected and initialised successfully
41
42 The first line is right after booting, the second after re-inserting the CI-
43 module.
44
45 Thanks
46 Alexander Puchmayr