diff --git a/README.md b/README.md index fa9dd09..fef2c03 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,7 @@ For those I will remove the workarounds once the changes are in the Mobian repo #### Misc Issues - ALSA config for the device has not been upstreamed yet (can be added using the Playbook in this repo) +- Bug in Pipewire that causes issues with the camera: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4227 (This is a non-exhaustive list) @@ -104,7 +105,7 @@ For those I will remove the workarounds once the changes are in the Mobian repo - eSIM (provisioning tool not yet packaged and has to be compiled and installed manually) - SMS (only receiving has been tested, but I don’t have reason to believe sending wouldn’t work) - audio (ALSA config not packaged, but can be manually added using the playbook in this repo) -- camera (some sort of bug and it does not work currently, but the support is there) +- camera (some sort of bug and it does not work currently, but the support is there, udev rule requird) ### This Has An Unknown Status diff --git a/ansible/files/90-libcamera.rules b/ansible/files/90-libcamera.rules new file mode 100644 index 0000000..da21610 --- /dev/null +++ b/ansible/files/90-libcamera.rules @@ -0,0 +1 @@ +KERNEL=="udmabuf", TAG+="uaccess" diff --git a/ansible/workarounds.yml b/ansible/workarounds.yml index dbc59a6..9a3e92d 100644 --- a/ansible/workarounds.yml +++ b/ansible/workarounds.yml @@ -87,3 +87,14 @@ group: root mode: u+rw force: true + + + ### Camera ### + + - name: "Add udev rule for the camera" + ansible.builtin.copy: + src: "90-libcamera.rules" + dest: "/lib/udev/rules.d/90-libcamera.rules" + owner: root + group: root + force: true