Actualizo el rol a la versión X11 para Pi 5
This commit is contained in:
parent
98df59f097
commit
84c9085885
6
roles/display/files/99-v3d.conf
Normal file
6
roles/display/files/99-v3d.conf
Normal file
@ -0,0 +1,6 @@
|
||||
Section "OutputClass"
|
||||
Identifier "vc4"
|
||||
MatchDriver "vc4"
|
||||
Driver "modesetting"
|
||||
Option "PrimaryGPU" "true"
|
||||
EndSection
|
||||
@ -22,3 +22,16 @@
|
||||
|
||||
- import_tasks: show_desktop_periodically.yml
|
||||
|
||||
- name: Identificar el modelo de Raspberry Pi
|
||||
command: cat /proc/device-tree/model
|
||||
register: pi_model_result
|
||||
changed_when: false # Este comando solo lee información, no cambia nada.
|
||||
|
||||
- name: Copiar configuración de X11 solo si es una Raspberry Pi 5
|
||||
copy:
|
||||
src: 99-v3d.conf
|
||||
dest: /etc/X11/xorg.conf.d/99-v3d.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
when: "'Raspberry Pi 5' in pi_model_result.stdout"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user