This is a workaround for the modprobe module which fails to unload
modules using modprobe -r MODULE.
Using a dedicated module instead of a plain (shell) command allows to
fail only on important errors.
According to https://nouveau.freedesktop.org/wiki/KernelModeSetting/
it ist possible to unload the noveau and kms drivers an replace them
with the nvidia driver.
Warning: This causes the console output to freeze until
the next reboot (which shouldn't matter much because we want to output
via Xorg).
The yavdr-xorg role performs the equivalent of those command if
the module nouveau is loaded:
echo 0 > /sys/class/vtconsole/vtcon1/bind
rmmod nouveau
rmmod ttm
rmmod drm_kms_helper
rmmod drm
modprobe nvidia
systemctl start nvidia-persistenced
TODO: is the variable first_run still needed?
set the variable vdr_allowed_hosts (must be a list of IPs/IP ranges) to preconfigure all host-
or ip-range based access options.
At the moment this applies to:
- svdrphosts.conf
- xineliboutput's allowed_hosts.conf (and the plugin's ARGSDIR configuration file)
- vnsiserver's allowed_hosts.conf
- streamdev-server's streamdevhosts.conf
It is possible to override host settings for individual services by
setting up extra lists for the following variables:
- vdr_svdrphosts
- xineliboutput_allowed_hosts
- vnsiserver_allowed_hosts
- streamdev_server_allowed_hosts
you can define additional hosts or subnets (default is to allow access
from localhost) in svdrphosts.conf by
creating a list variable vdr_svdrphosts - e.g. in host_vars/localhost
or in group_vars/all:
vdr_svdrphosts:
- 192.168.0.0/24
also cleanup some of the structure in Manual.org and update Manual.html
You can set vdr_channels_conf_url to a http(s) or ftp URL - this file
will be copied to /var/lib/vdr/channels.conf if vdr_channels_conf is
not defined and the channels.conf does not exist yet.
Also fixes a typo in task names
to use this task assing a path pointing to the wanted channels.conf to
the vdr_channels_conf variable, e.g. in host_vars/localhost.yml:
vdr_channels_conf: /path/to/own_config/channels.conf
Further changes:
- add ppa:yavdr/experimental-kodi for KODI 18
- add set-kodi-display script to allow switching DISPLAY in dual
screen configuration (inkompatible with KODI 17)