-
Notifications
You must be signed in to change notification settings - Fork 154
Mount udev directory into udev Discovery Handler by default #476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Also, Akri's docs should add a note about this for when using udev and Akri versions |
@kate-goldenring I still have this issue. Below is my akri setup:
This is the log file:
My current work around is to use
This is happening on both minikube env and multi node cluster env. |
Have you verified that your camera supports the |
@kate-goldenring - I couldn't run the command you gave me but I ran following command. This one has
I also ran following command. I am attaching snippet below. This one doesn't have
|
@animesh-mishra so you had the issue resolved by adding |
@kate-goldenring - I forgot to update this issue yesterday. After changing my minikube configuration I already had |
Describe the bug
Currently, the udev discovery handler does not properly evaluate certain udev rules. It can access simple udev information such as device names but cannot access devices properties. For example, the following installation will successfully discover USB cameras:
However, the following (with property
ENV{ID_V4L_CAPABILITIES}==":capture:
added) causes no cameras to be discovered (in a scenario where one camera does have the capture property):Solution
Mounting the
/run/udev
directory in the discovery handler resolves the issue. This can be done via helm by adding--set udev.discovery.host.udev=/run/udev
:This directory should be mounted by default as it was prior to the
v0.6.5
release.The text was updated successfully, but these errors were encountered: