Fix camera in dell xps13

This commit is contained in:
Przemyslaw Grondek 2023-06-01 11:06:48 +02:00
parent 35ca98a742
commit a96de9395d
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,11 @@
Package: libgsticamerainterface-1.0-1
Pin: version 0~git202207130901.4d4293d~ubuntu22.04.2
Pin-Priority: 1000
Package: libipu6ep
Pin: version 0~git202204010644.0797f74-1~ubuntu22.04.1
Pin-Priority: 1000
Package: streamer1.0-icamera
Pin: version 0~git202207130901.4d4293d~ubuntu22.04.2
Pin-Priority: 1000

View File

@ -70,3 +70,30 @@
file:
path: "{{ tmp_dir.path }}"
state: absent
- name: Install packages for camera
update_cache: yes
state: latest
apt:
update_cache: yes
state: latest
pkg:
- linux-modules-ipu6-generic-hwe-22.04
- linux-modules-ivsc-generic-hwe-22.04
- libcamhal-ipu6ep0
- name: pin camera libs
copy:
src: etc/apt/preferences.d/cameralibs
dest: /etc/apt/preferences.d/cameralibs
mode: '0644'
- name: Install packages for camera
state: latest
apt:
update_cache: yes
allow_downgrade: true
pkg:
- libgsticamerainterface-1.0-1=0~git202207130901.4d4293d~ubuntu22.04.2
- libipu6ep=0~git202204010644.0797f74-1~ubuntu22.04.1
- gstreamer1.0-icamera=0~git202207130901.4d4293d~ubuntu22.04.2