Fix camera in dell xps13
This commit is contained in:
parent
35ca98a742
commit
a96de9395d
11
roles/laptop/files/etc/apt/preferences.d/cameralibs
Normal file
11
roles/laptop/files/etc/apt/preferences.d/cameralibs
Normal 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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user