@@ -45,6 +45,7 @@ ovos_hardware_mark2_sj201_flash_tool: xvf3510-flash
4545ovos_hardware_mark2_sj201_firmware_image : app_xvf3510_int_spi_boot_v4_2_0.bin
4646ovos_hardware_mark2_sj201_post_init_script : init_tas5806
4747ovos_hardware_mark2_sj201_runtime_path : /usr/local/bin:/usr/sbin:/usr/bin:/bin
48+ ovos_hardware_mark2_enable_uart_line : " enable_uart=1"
4849ovos_hardware_mark2_vocalfusion_dtbo_overlays :
4950 - sj201
5051 - sj201-buttons-overlay
@@ -54,6 +55,10 @@ ovos_hardware_mark2_pi5_model_match: "Raspberry Pi 5"
5455ovos_hardware_mark2_modules_load_path : /etc/modules-load.d/vocalfusion.conf
5556ovos_hardware_mark2_modules_load_content : |
5657 {{ ovos_hardware_mark2_vocalfusion_module_name }}
58+ ovos_hardware_mark2_user_runtime_dir : " /run/user/{{ ovos_installer_uid }}"
59+ ovos_hardware_mark2_user_bus_environment :
60+ XDG_RUNTIME_DIR : " {{ ovos_hardware_mark2_user_runtime_dir }}"
61+ DBUS_SESSION_BUS_ADDRESS : " unix:path={{ ovos_hardware_mark2_user_runtime_dir }}/bus"
5762ovos_hardware_mark2_sj201_venv_path : " {{ ovos_installer_user_home }}/.venvs/sj201"
5863ovos_hardware_mark2_sj201_venv_command : " {{ ansible_facts.python.executable }} -m venv"
5964ovos_hardware_mark2_sj201_venv_packages :
@@ -89,5 +94,41 @@ ovos_hardware_mark2_backlight_overlay: "dtoverlay=rpi-backlight"
8994ovos_hardware_mark2_touchscreen_overlays :
9095 - { overlay: "dtoverlay=vc4-kms-v3d", state: "absent" }
9196 - { overlay: "dtoverlay=vc4-fkms-v3d", state: "present" }
97+ ovos_hardware_mark2_touchscreen_present_overlays :
98+ - " dtoverlay=vc4-fkms-v3d"
99+ ovos_hardware_mark2_boot_config_cleanup_lines : >-
100+ {{
101+ [ovos_hardware_mark2_enable_uart_line, ovos_hardware_mark2_backlight_overlay]
102+ + ovos_hardware_mark2_touchscreen_present_overlays
103+ + (ovos_hardware_mark2_vocalfusion_dtbo_overlays | map('regex_replace', '^', 'dtoverlay=') | list)
104+ + (
105+ ovos_hardware_mark2_vocalfusion_dtbo_overlays
106+ | map('regex_replace', '^', 'dtoverlay=')
107+ | map('regex_replace', '$', ovos_hardware_mark2_pi5_suffix)
108+ | list
109+ )
110+ }}
111+ ovos_hardware_mark2_overlay_cleanup_paths : >-
112+ {{
113+ (
114+ ovos_hardware_mark2_vocalfusion_dtbo_overlays
115+ | map('regex_replace', '$', '.dtbo')
116+ | list
117+ )
118+ + (
119+ ovos_hardware_mark2_vocalfusion_dtbo_overlays
120+ | map('regex_replace', '$', ovos_hardware_mark2_pi5_suffix ~ '.dtbo')
121+ | list
122+ )
123+ | map('regex_replace', '^(.*)$', ovos_hardware_mark2_boot_overlays_dir ~ '/\\1')
124+ | list
125+ }}
126+ ovos_hardware_mark2_uninstall_paths :
127+ - " {{ ovos_hardware_mark2_working_dir }}"
128+ - " {{ ovos_hardware_mark2_sj201_venv_path }}"
129+ - " {{ ovos_hardware_mark2_sj201_unit_path }}"
130+ - " {{ ovos_hardware_mark2_wireplumber_conf_dir }}/{{ ovos_hardware_mark2_wireplumber_profile_conf_src }}"
131+ - " {{ ovos_hardware_mark2_modules_load_path }}"
132+ - " {{ ovos_hardware_mark2_vocalfusion_module_path }}"
92133ovos_hardware_mark2_wireplumber_profile_conf_src : 90-sj201-profile.conf
93134ovos_hardware_mark2_wireplumber_profile_conf_mode : " 0644"
0 commit comments