-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyaVDR_07.html
726 lines (698 loc) · 26.3 KB
/
yaVDR_07.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de">
<head>
<title>RFC yaVDR 0.7</title>
<!-- 2016-12-01 Do 11:47 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="generator" content="Org-mode" />
<meta name="author" content="Alexander Grothe" />
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center; }
.todo { font-family: monospace; color: red; }
.done { color: green; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.right { margin-left: auto; margin-right: 0px; text-align: right; }
.left { margin-left: 0px; margin-right: auto; text-align: left; }
.center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
pre.src-sh:before { content: 'sh'; }
pre.src-bash:before { content: 'sh'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-R:before { content: 'R'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-java:before { content: 'Java'; }
pre.src-sql:before { content: 'SQL'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.right { text-align: center; }
th.left { text-align: center; }
th.center { text-align: center; }
td.right { text-align: right; }
td.left { text-align: left; }
td.center { text-align: center; }
dt { font-weight: bold; }
.footpara:nth-child(2) { display: inline; }
.footpara { display: block; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
/*]]>*/-->
</style>
<link rel="stylesheet" type="text/css" href="styles/bigblow/css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="styles/bigblow/css/bigblow.css"/>
<link rel="stylesheet" type="text/css" href="styles/bigblow/css/hideshow.css"/>
<script type="text/javascript" src="styles/bigblow/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="styles/bigblow/js/jquery-ui-1.10.2.min.js"></script>
<script type="text/javascript" src="styles/bigblow/js/jquery.localscroll-min.js"></script>
<script type="text/javascript" src="styles/bigblow/js/jquery.scrollTo-1.4.3.1-min.js"></script>
<script type="text/javascript" src="styles/bigblow/js/jquery.zclip.min.js"></script>
<script type="text/javascript" src="styles/bigblow/js/bigblow.js"></script>
<script type="text/javascript" src="styles/bigblow/js/hideshow.js"></script>
<script type="text/javascript" src="styles/lib/js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2013 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
</script>
</head>
<body>
<div id="content">
<h1 class="title">RFC yaVDR 0.7</h1>
<div id="table-of-contents">
<h2>Inhaltsverzeichnis</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#sec-1">1. Paketstruktur für yaVDR 0.7</a>
<ul>
<li><a href="#sec-1-1">1.1. yavdr-core</a>
<ul>
<li><a href="#sec-1-1-1">1.1.1. Abhängigkeiten:</a></li>
</ul>
</li>
<li><a href="#sec-1-2">1.2. yavdr-remote</a>
<ul>
<li><a href="#sec-1-2-1">1.2.1. Abhängigkeiten</a></li>
<li><a href="#sec-1-2-2">1.2.2. Arbeitsliste für yavdr-remote</a></li>
</ul>
</li>
<li><a href="#sec-1-3">1.3. yavdr-xorg</a>
<ul>
<li><a href="#sec-1-3-1">1.3.1. Abhängigkeiten</a></li>
</ul>
</li>
<li><a href="#sec-1-4">1.4. yavdr-pulseaudio</a>
<ul>
<li><a href="#sec-1-4-1">1.4.1. Abhängigkeiten</a></li>
</ul>
</li>
<li><a href="#sec-1-5">1.5. yavdr-network</a>
<ul>
<li><a href="#sec-1-5-1">1.5.1. Abhängigkeiten</a></li>
</ul>
</li>
<li><a href="#sec-1-6">1.6. yavdr-webfrontend</a>
<ul>
<li><a href="#sec-1-6-1">1.6.1. Gewünschte Funktionen:</a></li>
</ul>
</li>
<li><a href="#sec-1-7">1.7. Metapakete für verschiedene Systemkonfigurationen:</a>
<ul>
<li><a href="#sec-1-7-1">1.7.1. yavdr-server</a></li>
<li><a href="#sec-1-7-2">1.7.2. yavdr-xorg-full</a></li>
<li><a href="#sec-1-7-3">1.7.3. yavdr-xorg-client</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#sec-2">2. eventlircd</a>
<ul>
<li><a href="#sec-2-1">2.1. <span class="todo TODO">TODO</span> udev-Regeln überarbeiten</a></li>
<li><a href="#sec-2-2">2.2. <span class="todo WAIT">WAIT</span> lircd_helper-Skript anpassen</a></li>
</ul>
</li>
<li><a href="#sec-3">3. Verzeichnisstruktur</a></li>
<li><a href="#sec-4">4. Powermanagement</a>
<ul>
<li><a href="#sec-4-1">4.1. Lifeguard</a></li>
<li><a href="#sec-4-2">4.2. Standby</a></li>
<li><a href="#sec-4-3">4.3. Wakeup</a></li>
<li><a href="#sec-4-4">4.4. Poweroff</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-sec-1" class="outline-2">
<h2 id="sec-1"><span class="section-number-2">1</span> Paketstruktur für yaVDR 0.7</h2>
<div class="outline-text-2" id="text-1">
<p>
Um einen möglichst modularen Aufbau für yaVDR 0.7 zu erreichen, werden die folgenden Kernpakete definiert:
</p>
</div>
<div id="outline-container-sec-1-1" class="outline-3">
<h3 id="sec-1-1"><span class="section-number-3">1.1</span> yavdr-core</h3>
<div class="outline-text-3" id="text-1-1">
<p>
Andere yavdr-* Pakete dürfen Abhängigkeiten zu diesem Paket besitzen
</p>
</div>
<div id="outline-container-sec-1-1-1" class="outline-4">
<h4 id="sec-1-1-1"><span class="section-number-4">1.1.1</span> Abhängigkeiten:</h4>
<div class="outline-text-4" id="text-1-1-1">
</div><ol class="org-ol"><li><a id="sec-1-1-1-1" name="sec-1-1-1-1"></a>linux-firmware<br /></li>
<li><a id="sec-1-1-1-2" name="sec-1-1-1-2"></a>linux-firmware-nonfree<br /></li>
<li><a id="sec-1-1-1-3" name="sec-1-1-1-3"></a>linux-firmware-yavdr<br /></li>
<li><a id="sec-1-1-1-4" name="sec-1-1-1-4"></a>vdr<br /><ol class="org-ol"><li><a id="sec-1-1-1-4-1" name="sec-1-1-1-4-1"></a><span class="todo TODO">TODO</span> udev-Regel für DVB-Geräte, um das Warten auf Geräte zu vereinfachen:<br /><div class="outline-text-6" id="text-1-1-1-4-1">
<div class="org-src-container">
<pre class="src src-udev">SUBSYSTEM=="dvb", TAG+="systemd"
</pre>
</div>
<p>
Damit kann mit so einem Snippet auf DVB-Karten gewartet werden:
<b>/etc/systemd/system/vdr.service.d/wait-for-dvb.conf</b>
</p>
<div class="org-src-container">
<pre class="src src-conf">[<span style="color: #228b22;">Unit</span>]
<span style="color: #a0522d;">Wants</span>=dev-dvb-adapter0-frontend0.device
<span style="color: #a0522d;">Wants</span>=dev-dvb-adapter0-demux0.device
<span style="color: #a0522d;">Wants</span>=dev-dvb-adapter0-dvr0.device
<span style="color: #b22222;">#</span><span style="color: #b22222;">Wants=dev-dvb-adapter0-net0.device</span>
<span style="color: #a0522d;">After</span>=dev-dvb-adapter0-frontend0.device
<span style="color: #a0522d;">After</span>=dev-dvb-adapter0-demux0.device
<span style="color: #a0522d;">After</span>=dev-dvb-adapter0-dvr0.device
<span style="color: #b22222;">#</span><span style="color: #b22222;">After=dev-dvb-adapter0-net0.device # net0 wird vom vdr nicht genutzt</span>
</pre>
</div>
<p>
Alternativ auch eine eigene Unit [email protected], die vor dem VDR gestartet werden muss und die man jeweils von Hand für eine bestimmte Adapter-Nummer aktiviert:
</p>
<div class="org-src-container">
<pre class="src src-conf">[<span style="color: #228b22;">Unit</span>]
<span style="color: #a0522d;">Wants</span>=dev-dvb-adapter%i-frontend0.device
<span style="color: #a0522d;">Wants</span>=dev-dvb-adapter%i-demux0.device
<span style="color: #a0522d;">Wants</span>=dev-dvb-adapter%i-dvr0.device
<span style="color: #b22222;">#</span><span style="color: #b22222;">Wants=dev-dvb-adapter%i-net0.device</span>
<span style="color: #a0522d;">After</span>=dev-dvb-adapter%i-frontend0.device
<span style="color: #a0522d;">After</span>=dev-dvb-adapter%i-demux0.device
<span style="color: #a0522d;">After</span>=dev-dvb-adapter%i-dvr0.device
<span style="color: #b22222;">#</span><span style="color: #b22222;">After=dev-dvb-adapter%i-net0.device # net0 wird vom VDR nicht genutzt</span>
<span style="color: #a0522d;">Before</span>=vdr
<span style="color: #a0522d;">WantedBy</span>=vdr
[<span style="color: #228b22;">Install</span>]
<span style="color: #a0522d;">WantedBy</span>=multi-user.target
</pre>
</div>
<p>
Und die kann man dann z.B. mit systemctl enable [email protected] aktivieren.
</p>
</div>
</li>
<li><a id="sec-1-1-1-4-2" name="sec-1-1-1-4-2"></a><span class="todo TODO">TODO</span> Fixes aus Debian-Paketen übernehmen, PR an Lars<br /></li></ol>
</li>
<li><a id="sec-1-1-1-5" name="sec-1-1-1-5"></a>vdrctl<br /><div class="outline-text-5" id="text-1-1-1-5">
<p>
erleichtert die Konfiguration der Startoptionen für den VDR
</p>
</div>
</li>
<li><a id="sec-1-1-1-6" name="sec-1-1-1-6"></a>vdr-addon-lifeguard(ng)<br /><ol class="org-ol"><li><a id="sec-1-1-1-6-1" name="sec-1-1-1-6-1"></a><span class="todo TODO">TODO</span> ggf. durch lifeguard-ng ersetzen, das nicht mehr als Hook, sondern als Systemdienst läuft und Shutdown-Inhibitoren setzt, wenn der Rechner nicht heruntergefahren werden darf.<br /></li>
<li><a id="sec-1-1-1-6-2" name="sec-1-1-1-6-2"></a><span class="todo TODO">TODO</span> DBus-Interface, um aktuellen Status abzufragen und Inhibitoren zu setzen.<br /></li></ol>
</li>
<li><a id="sec-1-1-1-7" name="sec-1-1-1-7"></a>vdr-addon-acpiwakeup(ng)<br /><ol class="org-ol"><li><a id="sec-1-1-1-7-1" name="sec-1-1-1-7-1"></a><span class="todo TODO">TODO</span> durch acpi-wakeupng ersetzen, das als Dienst läuft und auch von anderen Clients wie z.B. KODI Aufwachzeiten übernehmen kann<br /><ol class="org-ol"><li><a id="sec-1-1-1-7-1-1" name="sec-1-1-1-7-1-1"></a><span class="todo SOMEDAY">SOMEDAY</span> nvram-wakeup unterstützen<br /></li></ol>
</li></ol>
</li>
<li><a id="sec-1-1-1-8" name="sec-1-1-1-8"></a>vim<br /><div class="outline-text-5" id="text-1-1-1-8">
<p>
Damit wenigstens ein vernünftiger Texteditor dabei ist ;)
</p>
</div>
</li></ol>
</div>
</div>
<div id="outline-container-sec-1-2" class="outline-3">
<h3 id="sec-1-2"><span class="section-number-3">1.2</span> yavdr-remote</h3>
<div class="outline-text-3" id="text-1-2">
<p>
Paket mit allen Konfigurationsdateien und Skripten für Fernbedienungen mit folgenden
</p>
</div>
<div id="outline-container-sec-1-2-1" class="outline-4">
<h4 id="sec-1-2-1"><span class="section-number-4">1.2.1</span> Abhängigkeiten</h4>
<div class="outline-text-4" id="text-1-2-1">
</div><ol class="org-ol"><li><a id="sec-1-2-1-1" name="sec-1-2-1-1"></a>ir-keytable<br /><div class="outline-text-5" id="text-1-2-1-1">
<p>
für die Konfiguration von rc-core Geräten
</p>
</div>
</li>
<li><a id="sec-1-2-1-2" name="sec-1-2-1-2"></a>eventlircd<br /><div class="outline-text-5" id="text-1-2-1-2">
<p>
liest Events von Kernel Input Devices, die das udev-Attribut ENV{eventlircd_enable}="true“ besitzen und gibt diese auf einem Lircd-kompatiblen Sockel <b>/run/lirc/lircd</b> aus. Mittels ENV{eventlircd_evmap}="<evmap>“ kann eine Datei übergeben werden, die ein Remapping der Tasten erlaubt. Diese Funktionalität wird genutzt, um namespace-konforme Tastendrücke zu erhalten.
</p>
</div>
</li>
<li><a id="sec-1-2-1-3" name="sec-1-2-1-3"></a>lircd2uinput<br /><div class="outline-text-5" id="text-1-2-1-3">
<p>
liest von einem oder mehreren Lircd-kompatiblen Sockeln und reicht die Tastendrücke über uinput weiter.
Wird es ohne Argumente gestartet, sucht es nach einer <b>/var/run/lircd/lircd.pid</b> und bindet sich bei Erfolg an den dazugehörigen Lirc-Sockel. Wird mit dem Argument -s der Pfad für einen Sockel übergeben, liest es von diesem.
Es erzeugt ein DBus-Interface auf <b>de.yavdr.lircd2unput</b> und kann darüber Steuerungsbefehle annehmen, um Lircd-kompatible Sockel zur Auswertung hinzuzufügen, zu entfernen oder Tastendrücke abzusetzen.
Folgende Beispielskripte liegen bei:
</p>
<ul class="org-ul">
<li>lircd2uinput-send KEY_NAME: sendet einen Tastendrück
</li>
<li>lircd2uinput-add <Pfad> [<key_up_suffix>]: lässt lircd2uinput einen weiteren Sockel auswerten, das key_up_suffix kann genutzt werden, um das Loslassen einer Taste anzuzeigen (wie es z.B. bei lircd mit –release[=suffix] erzeugt werden kann).
</li>
<li>lircd2uinput-remove <Pfad>: beendet die Auswertung eines Sockels
</li>
</ul>
</div>
</li>
<li><a id="sec-1-2-1-4" name="sec-1-2-1-4"></a>lirc<br /><div class="outline-text-5" id="text-1-2-1-4">
<p>
Wertet die Events der klassischen Fernbedienungen aus.
</p>
</div>
</li>
<li><a id="sec-1-2-1-5" name="sec-1-2-1-5"></a>irserver<br /><div class="outline-text-5" id="text-1-2-1-5">
<p>
Daemon für die iRTrans-Geräte. Bekommt eine udev-Regel, die den (noch zu schreibenden) Service [email protected] startet.
</p>
</div>
<ol class="org-ol"><li><a id="sec-1-2-1-5-1" name="sec-1-2-1-5-1"></a><span class="todo TODO">TODO</span> systemd Service [email protected] schreiben<br /></li></ol>
</li>
<li><a id="sec-1-2-1-6" name="sec-1-2-1-6"></a>ps3remote<br /><div class="outline-text-5" id="text-1-2-1-6">
<p>
Daemon, der von PS3-Fernbedienungen liest und die Tastendrücke für eventlircd aufbereitet
</p>
</div>
<ol class="org-ol"><li><a id="sec-1-2-1-6-1" name="sec-1-2-1-6-1"></a><span class="todo TODO">TODO</span> für Python3 überarbeiten, vereinfachen<br /></li></ol>
</li></ol>
</div>
<div id="outline-container-sec-1-2-2" class="outline-4">
<h4 id="sec-1-2-2"><span class="section-number-4">1.2.2</span> Arbeitsliste für yavdr-remote</h4>
<div class="outline-text-4" id="text-1-2-2">
</div><ol class="org-ol"><li><a id="sec-1-2-2-1" name="sec-1-2-2-1"></a><span class="todo TODO">TODO</span> systemd-Unit lircd.service schreiben, die mit den bestehenden Konfigurationsdateien umgehen kann<br /></li>
<li><a id="sec-1-2-2-2" name="sec-1-2-2-2"></a><span class="todo TODO">TODO</span> Snippet, der lircd2uinput über den neuen Sockel informiert, wenn lircd.service gestartet wurde<br /></li>
<li><a id="sec-1-2-2-3" name="sec-1-2-2-3"></a><span class="todo TODO">TODO</span> Snippet, der lircd2uinput über den neuen Sockel informiert, wenn [email protected] gestartet wurde<br /></li>
<li><a id="sec-1-2-2-4" name="sec-1-2-2-4"></a><span class="todo TODO">TODO</span> systemd-Unit [email protected] schreiben, die weitere Lircd-Instanzen für über udev einbindbare Geräte erlaubt<br /></li>
<li><a id="sec-1-2-2-5" name="sec-1-2-2-5"></a><span class="todo TODO">TODO</span> udev-Regel und [email protected] für irtrans-USB Geräte anlegen:<br /><div class="outline-text-5" id="text-1-2-2-5">
<div class="org-src-container">
<pre class="src src-udev">SUBSYSTEM=="tty", DRIVERS=="ftdi_sio", ATTRS{interface}=="IRTrans USB", ACTION=="add", LINK="irserver-%n", TAG+="systemd", ENV{SYSTEMD_WANTS}+="irserver@irserver-%n.service"
</pre>
</div>
</div>
</li></ol>
</div>
</div>
<div id="outline-container-sec-1-3" class="outline-3">
<h3 id="sec-1-3"><span class="section-number-3">1.3</span> yavdr-xorg</h3>
<div class="outline-text-3" id="text-1-3">
<p>
Bringt alles mit, um einen X-Server mit openbox als Window Manager zu starten und das VDR-Frontend (Voreinstellung: softhddevice) anzuzeigen.
</p>
</div>
<div id="outline-container-sec-1-3-1" class="outline-4">
<h4 id="sec-1-3-1"><span class="section-number-4">1.3.1</span> Abhängigkeiten</h4>
<div class="outline-text-4" id="text-1-3-1">
<ul class="org-ul">
<li>feh
</li>
<li>openbox
</li>
<li>gnome-icon-theme
</li>
<li>i965-va-driver
</li>
<li>vdr-frontend
</li>
<li>x11-utils
</li>
<li>x11-xserver-utils
</li>
<li>xfonts-base
</li>
<li>xterm
</li>
<li>xserver-xorg
</li>
<li>xserver-xorg-video-vesa
</li>
<li>xserver-xorg-video-intel
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-sec-1-4" class="outline-3">
<h3 id="sec-1-4"><span class="section-number-3">1.4</span> yavdr-pulseaudio</h3>
<div class="outline-text-3" id="text-1-4">
<p>
Erlaubt es pulseaudio zu nutzen
</p>
</div>
<div id="outline-container-sec-1-4-1" class="outline-4">
<h4 id="sec-1-4-1"><span class="section-number-4">1.4.1</span> Abhängigkeiten</h4>
<div class="outline-text-4" id="text-1-4-1">
<ul class="org-ul">
<li>pulseaudio
</li>
<li>pulseaudio-utils
</li>
<li>pavucontrol
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-sec-1-5" class="outline-3">
<h3 id="sec-1-5"><span class="section-number-3">1.5</span> yavdr-network</h3>
<div class="outline-text-3" id="text-1-5">
<p>
Netzwerkfunktionalität für yaVDR
</p>
</div>
<div id="outline-container-sec-1-5-1" class="outline-4">
<h4 id="sec-1-5-1"><span class="section-number-4">1.5.1</span> Abhängigkeiten</h4>
<div class="outline-text-4" id="text-1-5-1">
</div><ol class="org-ol"><li><a id="sec-1-5-1-1" name="sec-1-5-1-1"></a>vdr-addon-avahi-mounter<br /></li>
<li><a id="sec-1-5-1-2" name="sec-1-5-1-2"></a>yavdr-hostwakeup<br /></li>
<li><a id="sec-1-5-1-3" name="sec-1-5-1-3"></a>vdr-plugin-avahi4vdr<br /></li>
<li><a id="sec-1-5-1-4" name="sec-1-5-1-4"></a>vdr-plugin-restfulapi<br /></li></ol>
</div>
</div>
<div id="outline-container-sec-1-6" class="outline-3">
<h3 id="sec-1-6"><span class="section-number-3">1.6</span> yavdr-webfrontend</h3>
<div class="outline-text-3" id="text-1-6">
<p>
Erlaubt die Konfiguration des Systems über ein Webinterface.
</p>
</div>
<div id="outline-container-sec-1-6-1" class="outline-4">
<h4 id="sec-1-6-1"><span class="section-number-4">1.6.1</span> Gewünschte Funktionen:</h4>
<div class="outline-text-4" id="text-1-6-1">
<ul class="org-ul">
<li>Konfiguration für Lircd und Sundtek-Fernbedienungen
</li>
<li>VDR-Konfiguration
</li>
<li>Bildschirm(e)
</li>
<li>Audioausgabe
</li>
<li>Logdateien
</li>
<li>Dashboard mit Systemstatus, Temperaturen, Festplattenbelegung usw.
</li>
<li>Kanallisteneditor mit Channelpedia-Anbindung
</li>
<li>System herunterfahren, neu starten, ggf. schlanke Fernbedienung für Mobil-Geräte
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-sec-1-7" class="outline-3">
<h3 id="sec-1-7"><span class="section-number-3">1.7</span> Metapakete für verschiedene Systemkonfigurationen:</h3>
<div class="outline-text-3" id="text-1-7">
<p>
Für die möglichen Installationsvarianten könnte man dann z.B. diese Metapakete zusammenstellen, für die es jeweils einen eigenen preseed geben sollte:
</p>
</div>
<div id="outline-container-sec-1-7-1" class="outline-4">
<h4 id="sec-1-7-1"><span class="section-number-4">1.7.1</span> yavdr-server</h4>
<div class="outline-text-4" id="text-1-7-1">
</div><ol class="org-ol"><li><a id="sec-1-7-1-1" name="sec-1-7-1-1"></a>Abhängigkeiten<br /><div class="outline-text-5" id="text-1-7-1-1">
<ul class="org-ul">
<li>yavdr-core
</li>
<li>yavdr-webfrontend
</li>
<li>nfs-kernel-server
</li>
<li>nfs-utils
</li>
<li>samba-server
</li>
</ul>
</div>
</li></ol>
</div>
<div id="outline-container-sec-1-7-2" class="outline-4">
<h4 id="sec-1-7-2"><span class="section-number-4">1.7.2</span> yavdr-xorg-full</h4>
<div class="outline-text-4" id="text-1-7-2">
</div><ol class="org-ol"><li><a id="sec-1-7-2-1" name="sec-1-7-2-1"></a>Abhängigkeiten<br /><div class="outline-text-5" id="text-1-7-2-1">
<ul class="org-ul">
<li>yavdr-network
</li>
<li>yavdr-remote
</li>
<li>yavdr-server
</li>
<li>yavdr-xorg
</li>
<li>vdr-plugin-softhddevice
</li>
<li>vdr-plugin-streamdev-server
</li>
<li>vdr-plugin-vnsiserver
</li>
<li>vdr-plugin-markad
</li>
<li>vdr-plugin-dbus2vdr
</li>
<li>vdr-plugin-dynamite
</li>
<li>vdr-plugin-graphtftng
</li>
<li>kodi
</li>
<li>kodi-eventclients-xbmc-send
</li>
</ul>
</div>
</li></ol>
</div>
<div id="outline-container-sec-1-7-3" class="outline-4">
<h4 id="sec-1-7-3"><span class="section-number-4">1.7.3</span> yavdr-xorg-client</h4>
<div class="outline-text-4" id="text-1-7-3">
</div><ol class="org-ol"><li><a id="sec-1-7-3-1" name="sec-1-7-3-1"></a>Abhängigkeiten<br /><div class="outline-text-5" id="text-1-7-3-1">
<ul class="org-ul">
<li>yavdr-network
</li>
<li>yavdr-remote
</li>
<li>yavdr-server
</li>
<li>yavdr-xorg
</li>
<li>vdr-plugin-softhddevice
</li>
<li>kodi
</li>
<li>kodi-eventclients-xbmc-send
</li>
<li>kodi-pvr-vdr-vnsi
</li>
<li>vdr-plugin-streamdev-client
</li>
<li>vdr-plugin-satip
</li>
</ul>
</div>
</li></ol>
</div>
</div>
</div>
<div id="outline-container-sec-2" class="outline-2">
<h2 id="sec-2"><span class="section-number-2">2</span> eventlircd</h2>
<div class="outline-text-2" id="text-2">
</div><div id="outline-container-sec-2-1" class="outline-3">
<h3 id="sec-2-1"><span class="section-number-3">2.1</span> <span class="todo TODO">TODO</span> udev-Regeln überarbeiten</h3>
<div class="outline-text-3" id="text-2-1">
<ul class="org-ul">
<li>Vorlage für eine udev-Regel für neue Fernbedienungen erstellen
</li>
</ul>
</div>
</div>
<div id="outline-container-sec-2-2" class="outline-3">
<h3 id="sec-2-2"><span class="section-number-3">2.2</span> <span class="todo WAIT">WAIT</span> lircd_helper-Skript anpassen</h3>
<div class="outline-text-3" id="text-2-2">
<p>
Nach Anpassung von lircd2uinput und neuem [email protected] auf neue Syntax anpassen
</p>
</div>
</div>
</div>
<div id="outline-container-sec-3" class="outline-2">
<h2 id="sec-3"><span class="section-number-2">3</span> Verzeichnisstruktur</h2>
<div class="outline-text-2" id="text-3">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="left" />
<col class="left" />
<col class="left" />
<col class="left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="left">Kategorie</th>
<th scope="col" class="left">Pfad</th>
<th scope="col" class="left">NFS</th>
<th scope="col" class="left">SAMBA</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left">Bilder</td>
<td class="left">/srv/images</td>
<td class="left">/srv/images</td>
<td class="left">images</td>
</tr>
<tr>
<td class="left">Musik</td>
<td class="left">/srv/audio</td>
<td class="left">/srv/audio</td>
<td class="left">audio</td>
</tr>
<tr>
<td class="left">Videos</td>
<td class="left">/srv/video</td>
<td class="left">/srv/video</td>
<td class="left">video</td>
</tr>
<tr>
<td class="left">Aufnahmen</td>
<td class="left">/srv/vdr/video</td>
<td class="left">/srv/vdr/video</td>
<td class="left">recordings</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-sec-4" class="outline-2">
<h2 id="sec-4"><span class="section-number-2">4</span> Powermanagement</h2>
<div class="outline-text-2" id="text-4">
</div><div id="outline-container-sec-4-1" class="outline-3">
<h3 id="sec-4-1"><span class="section-number-3">4.1</span> Lifeguard</h3>
<div class="outline-text-3" id="text-4-1">
<p>
Wird KODI gestartet, setzt lifeguardng automatisch Shutdown-Inhibitoren, wenn eine der folgenden Bedingungen zutrifft:
</p>
<ul class="org-ul">
<li>Aufnahme innerhalb der nächsten 30 Minuten
</li>
<li>laufende Aufnahme
</li>
<li>Bestehende lifeguard-Kriterien (Intervall zwischen Überprüfung ist einstellbar)
</li>
</ul>
</div>
</div>
<div id="outline-container-sec-4-2" class="outline-3">
<h3 id="sec-4-2"><span class="section-number-3">4.2</span> Standby</h3>
</div>
<div id="outline-container-sec-4-3" class="outline-3">
<h3 id="sec-4-3"><span class="section-number-3">4.3</span> Wakeup</h3>
<div class="outline-text-3" id="text-4-3">
<ul class="org-ul">
<li>WOL muss für jede Karte einzeln aktiviert werden
</li>
<li>Für Resume: Skripte, um Dienste und Treiber neu zu laden
</li>
</ul>
</div>
</div>
<div id="outline-container-sec-4-4" class="outline-3">
<h3 id="sec-4-4"><span class="section-number-3">4.4</span> Poweroff</h3>
<div class="outline-text-3" id="text-4-4">
<p>
Diesmal brauchen wir einen gut geordneten Shutdown
</p>
<ul class="org-ul">
<li>VDR stoppen
</li>
<li>avahi-linker beenden
</li>
<li>Freigaben aushängen (falls noch eingebunden)
</li>
</ul>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Autor: Alexander Grothe</p>
<p class="date">Created: 2016-12-01 Do 11:47</p>
<p class="creator"><a href="http://www.gnu.org/software/emacs/">Emacs</a> 25.1.1 (<a href="http://orgmode.org">Org</a> mode 8.2.10)</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>
</html>