Multi cam by-path instead of by-id installation

Camera model

Some unknown cam, but working alone on octoprint

What is the problem?

tried in the cam config instead of /by-id/ to configure /by-path/ but it don´t work
maybe its the wrong path or done wrong

What did you already try to solve it?

Changed configs

Have you tried running in safe mode?

Yes

Did running in safe mode solve the problem?

No

Systeminfo Bundle

not needed, OS/Config error, works when one cam)
Tried updating
octoprint-systeminfo-20240616235332.zip (31.8 KB)

WRITE HERE

Additional information about your setup

newest new camera stack install

WRITE HERE

hi
trying to install new octopi with new stack an multi cam´s on multi instances

i can get both of my cam´s working, but only one at a time. I can config in different ports, listen

mode and so on
i asume its because there are no serial number an the id´s and vedor is absolute same.

i tried in the cam config instead of /by-id/ to configure /by-path/ but it don´t work
maybe its the wrong path or done wrong

pi@Raspi4b:~ $ sudo nano /boot/camera-streamer/usb-x3.conf

### Options for USB based cameras
# The port on which the webcam server for the camera should listen on.
PORT=8080
# The path to the camera device.
DEVICE=/dev/v4l/by-id/usb-046d_Camera-video-index0
# The image format of the camera.
FORMAT=GRGB
# The resolution to set on the camera. Defaults to 1280x720.
WIDTH=640
HEIGHT=480
# The framerate to set on the camera. Defaults to 15fps.
FRAMERATE=15
# Additional options.
OPTIONS=--listen-http=0.0.0.0

Pluged off all cams:
pi@Raspi4b:~ $ ls /dev/v4l/by-id
ls: cannot access '/dev/v4l/by-id': No such file or directory

pi@Raspi4b:~ $ ls /dev/v4l/by-path/
platform-bcm2835-codec-video-index0
platform-bcm2835-isp-video-index2
platform-bcm2835-isp-video-index0
platform-bcm2835-isp-video-index3
platform-bcm2835-isp-video-index1
platform-feb10000.codec-video-index0

Pluged in ONE cam
pi@Raspi4b:~ $ ls /dev/v4l/by-path/
platform-bcm2835-codec-video-index0
platform-bcm2835-isp-video-index0
platform-bcm2835-isp-video-index1
platform-bcm2835-isp-video-index2
platform-bcm2835-isp-video-index3
platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1:1.0-video-index0
platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1:1.0-video-index1
platform-feb10000.codec-video-index0

pi@Raspi4b:~ $ ls /dev/v4l/by-id
usb-AVEO_Technology_Corp._USB2.0_Camera-video-index0
usb-AVEO_Technology_Corp._USB2.0_Camera-video-index1

Pluged in BOTH cams
pi@Raspi4b:~ $ ls /dev/v4l/by-path/
platform-bcm2835-codec-video-index0
platform-bcm2835-isp-video-index0
platform-bcm2835-isp-video-index1
platform-bcm2835-isp-video-index2
platform-bcm2835-isp-video-index3
platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1:1.0-video-index0
platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1:1.0-video-index1
platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0-video-index0
platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0-video-index1
platform-feb10000.codec-video-index0

pi@Raspi4b:~ $ ls /dev/v4l/by-id
usb-AVEO_Technology_Corp._USB2.0_Camera-video-index0
usb-AVEO_Technology_Corp._USB2.0_Camera-video-index1

so, you can see, there are only the same 2 ID´s , doesn´t matter if 1 or 2 Cam´s, but i shows 4 PATH´s

i hoped that one of those will match, but don´t:
platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1:1.0-video-index0
platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.4:1.0-video-index0

I tried this config file:
pi@Raspi4b:~ $ sudo nano /boot/camera-streamer/usb-x3.conf

### Options for USB based cameras
# The port on which the webcam server for the camera should listen on.
PORT=8080
# The path to the camera device.
DEVICE=/dev/v4l/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0-video-index0
# The image format of the camera.
FORMAT=GRGB
# The resolution to set on the camera. Defaults to 1280x720.
WIDTH=640
HEIGHT=480
# The framerate to set on the camera. Defaults to 15fps.
FRAMERATE=15
# Additional options.
OPTIONS=--listen-http=0.0.0.0

The systeminfo bundle also contains logs & information from the camera streaming stack, that might be useful

I think I managed upload!

But don't know how this helps to put the right PATH instead of ID in the OS config...

No prob in octoprint!
It finds the cam when it's reachable by the OS

I can't install it by id.
In old stack I managed to do multi instance install of octopi by path, because of same printers with same ID & Co hat to be separate by path.
Done with some YouTube tutorials.

But this way don't works for the cam's, because not same way and didn't use u99xxxx rules