diff --git a/Manual.html b/Manual.html index d852ead..b1eaaae 100644 --- a/Manual.html +++ b/Manual.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- +A User wants to install yaVDR without customization and relies on full automation. @@ -554,24 +554,24 @@ Several roles are used to tie everything together:
One of the major problems we faced with customized Ubuntu ISO files as installation media for prior yaVDR versions has been the limited hardware support and the time consuming process to create and update them. An interesting alternative to this approach is to enable the user to choose the installation medium by himself, so point releases, kernel versions and additional drivers can be chosen deliberately. After the basic setup is complete (and a working internet connection is available), a fully customizable install script completes the yaVDR installation.
This is an experimental feature which allows to set up a yaVDR installation based on a normal Ubuntu Server 16.04.x installation using Ansible. @@ -606,8 +606,8 @@ We use a callback to generate tags for all roles autmatically:
set -e @@ -652,12 +652,12 @@ ansible-playbook yavdr07-headless.yml -b -i 'localhost_
The yavdr07.yml
playbook sets up a fully-featured yaVDR installation:
@@ -710,8 +710,8 @@ The yavdr07.yml
playbook sets up a fully-featured yaVDR installatio
For a headless server installation yavdr07-headless.yml
is a good choice
@@ -749,8 +749,8 @@ For a headless server installation yavdr07-headless.yml
is a good c
This playbook can either be used to run the installation on the localhost or any other PC in the network that can be accessed via ssh. Simply add the host names or IP addresses to the hosts file in the respective section: @@ -764,12 +764,12 @@ This playbook can either be used to run the installation on the localhost or any
---
@@ -787,8 +787,8 @@ This playbook can either be used to run the installation on the localhost or any
# properties of the user vdr and vdr-related options @@ -814,8 +814,8 @@ This playbook can either be used to run the installation on the localhost or any
# dictionary of directories for (shared) files. Automatically exported via NFS and Samba if those roles are enabled @@ -830,8 +830,8 @@ This playbook can either be used to run the installation on the localhost or any
nfs:
@@ -840,8 +840,8 @@ This playbook can either be used to run the installation on the localhost or any
samba:
@@ -851,8 +851,8 @@ This playbook can either be used to run the installation on the localhost or any
# additional packages you want to install @@ -871,8 +871,8 @@ This playbook can either be used to run the installation on the localhost or any
frontend: vdr
@@ -886,8 +886,8 @@ This playbook can either be used to run the installation on the localhost or any
# Serial device to configure for a homebrew receiver. @@ -899,20 +899,20 @@ This playbook can either be used to run the installation on the localhost or any
---
@@ -930,19 +930,19 @@ This playbook can either be used to run the installation on the localhost or any
install nvidia-396 from ppa:graphics-drivers/ppa
---
@@ -971,15 +971,15 @@ install nvidia-396 from ppa:graphics-drivers/ppa
This role is used to set up a basic yaVDR installation. It creates the directories, installs the vdr and other useful packages.
This section is for reference only, please use the files in
You can set a list of package repositories which provide the necessary packages. Feel free to use own PPAs if you need special customization to the VDR and it’s plugins.
@@ -1009,7 +1009,7 @@ You can set a list of package repositories which provide the necessary packages.
global_vars
for customizations.
@@ -992,7 +992,7 @@ This section is for reference only, please use the files in global_vars
-
+
Automatically installed drivers can be very useful, but if you know you need a certain driver, you can simply set it’s value to true. If you don’t want a driver to be installed, set it’s value to false. @@ -1022,7 +1022,7 @@ Automatically installed drivers can be very useful, but if you know you need a c
Add additional packages you would like to have on your installation to this list @@ -1036,7 +1036,7 @@ Add additional packages you would like to have on your installation to this list
This section allows you to set the recording directory, the user and group that runs the vdr and it’s home directory. @@ -1069,15 +1069,15 @@ This section allows you to set the recording directory, the user and group that
yavdr-common executes the following tasks:
---
@@ -1095,7 +1095,7 @@ yavdr-common executes the following tasks:
This task prevents apt to automatically install all recommended dependencies for packages: @@ -1112,7 +1112,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: add PPAs
@@ -1132,7 +1132,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: use bash instead of dash
@@ -1144,15 +1144,15 @@ This task prevents apt to automatically install all recommended dependencies for
- name: disable release-upgrade notifications
@@ -1174,7 +1174,7 @@ This task prevents apt to automatically install all recommended dependencies for
-
- name: apt | install basic packages
@@ -1205,7 +1205,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: apt | install extra packages
@@ -1218,15 +1218,15 @@ This task prevents apt to automatically install all recommended dependencies for
Stop vdr before entering suspend and unload dvb modules, reverse this operation on resume @@ -1237,8 +1237,8 @@ Stop vdr before entering suspend and unload dvb modules, reverse this operation
{{ ansible_managed | comment('c') }} @@ -1249,7 +1249,7 @@ APT::Install-Suggests "0";
#!/bin/bash
@@ -1290,7 +1290,7 @@ Allow the vdr user to restart vdr.service
and reboot the system
#!/usr/bin/env python3
@@ -1377,12 +1377,12 @@ Allow the vdr user to restart vdr.service
and reboot the system
first_run: False
@@ -1390,12 +1390,12 @@ Allow the vdr user to restart vdr.service
and reboot the system
- name: get information about usb and pci hardware and loaded kernel modules
@@ -1444,16 +1444,16 @@ Allow the vdr user to restart vdr.service
and reboot the system
---
@@ -1471,7 +1471,7 @@ Allow the vdr user to restart vdr.service
and reboot the system
- name: add svdrp and svdrp-disc to /etc/services
@@ -1486,7 +1486,7 @@ Allow the vdr user to restart vdr.service
and reboot the system
- name: create vdr recdir
@@ -1521,7 +1521,7 @@ Allow the vdr user to restart vdr.service
and reboot the system
The additional plugins to install can be set in the variable {{vdr_plugins}}
in the group variables
@@ -1537,7 +1537,7 @@ The additional plugins to install can be set in the variable {{vdr_plugins
- name: ensure vdr is stopped
@@ -1568,7 +1568,7 @@ The additional plugins to install can be set in the variable {{vdr_plugins
- name: create directory for vdr.service systemd drop-in files
@@ -1589,8 +1589,8 @@ The additional plugins to install can be set in the variable {{vdr_plugins
Start after network-online.target @@ -1602,12 +1602,12 @@ Start after network-online.target
LIRC.Up KEY_UP @@ -1742,7 +1742,7 @@ XKeySym.Next XF86AudioNext
# Remote control key macros for VDR @@ -1768,12 +1768,12 @@ User0 @osdteletext
install_avahi: true @@ -1781,8 +1781,8 @@ User0 @osdteletext
---
@@ -1850,12 +1850,12 @@ User0 @osdteletext
---
@@ -1877,8 +1877,8 @@ User0 @osdteletext
<?xml version="1.0" encoding="UTF-8"?>
@@ -1937,17 +1937,17 @@ User0 @osdteletext
---
@@ -1975,12 +1975,12 @@ User0 @osdteletext
/srv *(rw,fsid=0,sync,no_subtree_check,all_squash,anongid={{ vdr.gid }},anonuid={{ vdr.uid }})
@@ -1991,7 +1991,7 @@ User0 @osdteletext
<?xml version="1.0" standalone='no'?> @@ -2012,15 +2012,15 @@ User0 @osdteletext
The role yavdr-remote
sets up the foundation for using eventlircd, lircd2uinput and the pre-configuration for remote receivers which can be detected by udev.
lircd0_socket: /var/run/lirc/lircd0
@@ -2028,8 +2028,8 @@ The role yavdr-remote
sets up the foundation for using eventlircd,
---
@@ -2100,12 +2100,12 @@ The role yavdr-remote
sets up the foundation for using eventlircd,
{% if frontend != 'kodi' %}
@@ -2116,7 +2116,7 @@ The role yavdr-remote
sets up the foundation for using eventlircd,
[Service]
@@ -2126,7 +2126,7 @@ The role yavdr-remote
sets up the foundation for using eventlircd,
{{ ansible_managed | comment }} @@ -2318,12 +2318,12 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
---
@@ -2345,8 +2345,8 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
# Use PulseAudio by default @@ -2368,12 +2368,12 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
The X-Server is started by using the two systemd units xlogin@.service
and x@.service
provided by the package xlogin. The former is enabled (and started) for the vdr user - which results (using the default settings for the user vdr with the uid 666) in the activation of xlogin@vdr.service
when reaching the graphical.target. To simplify starting and stopping the X-server and the desktop session a yavdr-xorg.service
is provided by the package yavdr-xorg
, which depends on the two units mentioned before.
@@ -2402,8 +2402,8 @@ In order to achive a clean shutdown of the session, x@t7.service
is
first_run: False
@@ -2426,12 +2426,12 @@ In order to achive a clean shutdown of the session, x@t7.service
is
---
@@ -2444,7 +2444,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
--- @@ -2497,7 +2497,7 @@ In order to achive a clean shutdown of the session,x@t7.service
is lineinfile: path: /etc/vdr/conf.avail/softhddevice.conf line: '-v va-api' - state: present if intel_detected else absent + state: '{{ "present" if intel_detected else "absent" }}' - name: add a login shell for the user vdr user: @@ -2562,7 +2562,7 @@ In order to achive a clean shutdown of the session,x@t7.service
is
---
@@ -2750,7 +2750,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
KMS drivers (like for intel (i915) and amd (radeon)) require additional configuration besides a customized xorg.conf
- for a „static“ output configuration (which works if the TV or AV receiver is not turned on) we need to force loading the display(s) EDID early during the boot process.
@@ -2798,12 +2798,12 @@ Please note that rescanning the connected displays works only after removing the
{{ ansible_managed | comment }} @@ -2813,11 +2813,11 @@ Please note that rescanning the connected displays works only after removing the
# file: roles/yavdr-xorg/templates/systemd/system/x-verbose@.service.j2 @@ -2833,7 +2833,7 @@ Please note that rescanning the connected displays works only after removing the
[Unit]
@@ -2859,7 +2859,7 @@ Please note that rescanning the connected displays works only after removing the
{{ ansible_managed | comment }} @@ -2871,7 +2871,7 @@ Please note that rescanning the connected displays works only after removing the
{{ ansible_managed | comment }} @@ -2886,7 +2886,7 @@ EndSection
{{ ansible_managed | comment }} @@ -2994,7 +2994,7 @@ EndSection
{{ ansible_managed | comment }} @@ -3320,7 +3320,7 @@ EndSection
{{ ansible_managed | comment }} @@ -3337,7 +3337,7 @@ EndSection -
Set environment variables for system locale and user session on startup @@ -3353,12 +3353,12 @@ Set environment variables for system locale and user session on startup
#!/bin/bash @@ -3383,16 +3383,16 @@ exit 0
---
@@ -3559,16 +3559,16 @@ exit 0
xterm*background: Black @@ -3591,7 +3591,7 @@ XTerm.vt100.font: 7x13
#!/bin/bash @@ -3603,11 +3603,11 @@ XTerm.vt100.font: 7x13 -
# forward environment variables to an environment file and the systemd user session @@ -3643,7 +3643,7 @@ systemctl --user isolate yavdr-desktop.target
<?xml version="1.0" encoding="UTF-8"?> @@ -4490,7 +4490,7 @@ systemctl --user isolate yavdr-desktop.target
<?xml version="1.0" encoding="UTF-8"?> @@ -5319,11 +5319,11 @@ systemctl --user isolate yavdr-desktop.target -
[Unit] @@ -5336,7 +5336,7 @@ systemctl --user isolate yavdr-desktop.target
#!/bin/bash @@ -5365,7 +5365,7 @@ systemctl --user isolate yavdr-desktop.target
This script exchanges the primary and secondary screen. It needs access to the systemd user session. @@ -5384,7 +5384,7 @@ frontend-dbus-send start
[Unit]
@@ -5406,7 +5406,7 @@ frontend-dbus-send start
[Unit]
@@ -5429,7 +5429,7 @@ frontend-dbus-send start
[Unit]
@@ -5448,7 +5448,7 @@ frontend-dbus-send start
[Unit]
@@ -5467,7 +5467,7 @@ frontend-dbus-send start
-
irexec.service starts irexec for the user session @@ -5500,12 +5500,12 @@ end
---
@@ -5526,12 +5526,12 @@ end
---
@@ -5556,16 +5556,16 @@ end
{{ ansible_managed | comment }} @@ -5652,7 +5652,7 @@ end
{% for name, path in media_dirs.iteritems() %} @@ -5674,7 +5674,7 @@ end
include = /etc/samba/smb.conf.custom @@ -5687,15 +5687,15 @@ end
It would be nice to be able to detect if it is suitable to install those drivers:
Vendor-IDs: @@ -5706,7 +5706,7 @@ Vendor-IDs:
https://github.com/s-moch/linux-saa716x - kann man den relevanten Teil als dkms-Paket bauen? @@ -5726,15 +5726,15 @@ Vendor-IDs:
The tool ubuntu-drivers is used to install the matching driver version for nvidia graphics cards, virtualbox guest additions and Intel and AMD microcode updates.
---
@@ -5757,8 +5757,8 @@ The tool ubuntu-drivers is used to install the matching driver version for nvidi
This role installs the guest additions for virtualbox guests on Ubuntu 18.04 @@ -5807,12 +5807,12 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04
---
@@ -5824,8 +5824,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04
---
@@ -5867,8 +5867,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04
{{ ansible_managed | comment }} @@ -5897,12 +5897,12 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04
---
@@ -5913,8 +5913,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04
---
@@ -5956,8 +5956,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04
{{ ansible_managed | comment }} @@ -5985,15 +5985,15 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04
If a Sat>IP Server responds to a discovery request, the package vdr-plugin-satip is installed.
---
@@ -6017,12 +6017,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6038,12 +6038,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6059,12 +6059,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6080,12 +6080,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6101,8 +6101,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6117,12 +6117,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6133,8 +6133,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6175,12 +6175,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6191,8 +6191,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6202,8 +6202,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6253,15 +6253,15 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
How to get a driver for the TT-6400 FF card? Needed firmware files are in the yavdr-firmware
package.
--- @@ -6272,8 +6272,8 @@ How to get a driver for the TT-6400 FF card? Needed firmware files are in the
--- @@ -6291,12 +6291,12 @@ How to get a driver for the TT-6400 FF card? Needed firmware files are in the
--- @@ -6307,8 +6307,8 @@ How to get a driver for the TT-6400 FF card? Needed firmware files are in the
--- @@ -6328,12 +6328,12 @@ How to get a driver for the TT-6400 FF card? Needed firmware files are in the
--- @@ -6344,8 +6344,8 @@ How to get a driver for the TT-6400 FF card? Needed firmware files are in the
--- @@ -6361,19 +6361,19 @@ How to get a driver for the TT-6400 FF card? Needed firmware files are in the
This role preconfigures the system for serial „homebrew“ receivers. Newer kernel versions provide serial_ir
which acts as a rc-core driver, so we don’t need lircd - eventlircd can use the device directly.
-As configured in the role yavdr-remote (/etc/rc_maps.cfg) a keytable for a RC-6 MCE remote is loaded by default. You can choose a different keymap which may also use another ir-protocol. +As configured in the role yavdr-remote (/etc/rc_maps.cfg) a keytable for a RC-6 MCE remote is loaded by default. You can choose a different keymap which may also use another ir-protocol.
--- @@ -6384,8 +6384,8 @@ As configured in the role yavdr-remote (/etc/rc_maps.cfg
--- @@ -6413,12 +6413,12 @@ As configured in the role yavdr-remote (/etc/rc_maps.cfg