diff --git a/Manual.org b/Manual.org index f3246eb..6caab22 100644 --- a/Manual.org +++ b/Manual.org @@ -3145,6 +3145,18 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-satip - '"0070:4000" in pci' notify: [ 'Restart VDR' ] #+END_SRC +** autoinstall-hauppauge-pvr +#+BEGIN_SRC yaml :tangle roles/autoinstall-hauppauge-pvr/tasks/main.yml :padline no +--- +# file roles/autoinstall-hauppauge-pvr/tasks/main.yml + +- name: apt | install vdr-plugin-pvrinput if a haupauge pvr card is found + apt: + name: vdr-plugin-pvrinput + when: + - '"0070:4000" in pci' + - '"4444:0016" in pci' + notify: [ 'Restart VDR' ] ** TODO autoinstall-dvbhddevice Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware sollte in yavdr-firmware stecken diff --git a/roles/autoinstall-hauppauge-pvr/tasks/main.yml b/roles/autoinstall-hauppauge-pvr/tasks/main.yml new file mode 100644 index 0000000..b6a2f64 --- /dev/null +++ b/roles/autoinstall-hauppauge-pvr/tasks/main.yml @@ -0,0 +1,25 @@ +--- +# file roles/autoinstall-hauppauge-pvr/tasks/main.yml + +- name: apt | install vdr-plugin-pvrinput if a haupauge pvr card is found + apt: + name: vdr-plugin-pvrinput + when: + - '"0070:4000" in pci' + - '"4444:0016" in pci' + notify: [ 'Restart VDR' ] + +** TODO autoinstall-dvbhddevice +Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware sollte in yavdr-firmware stecken +*** tasks +#+BEGIN_SRC yaml :tangle roles/autoinstall-dvbhddevice/tasks/main.yml :padline no +--- +# file roles/autoinstall-dvbhddevice/tasks/main.yml + +- name: apt | install vdr-plugin-dvbhddevice if connected + apt: + name: vdr-plugin-dvbhddevice + when: + - '"13c2:300a" in pci' + - '"13c2:300b" in pci' + notify: [ 'Restart VDR' ]