Multiple USB Cameras - matching data from udevadm walkthroughs #47
TangoOversway
started this conversation in
General
Replies: 2 comments 2 replies
-
Yes, USB cameras can be detected by port or serial number. If the serial
numbers are the same you can run the script with the noserial option which
will force cameras to use the USB port assignment.
…On Mon, Dec 19, 2022, 4:46 PM TangoOversway ***@***.***> wrote:
I am currently using a PiCam and a USB cam. I have found this USB cam has
exactly the same ID info as another USB camera I was using. I did udevadm info
-q all -n <devnode> --attribute-walk|sort > output_x.txt and then used
diff to compare both files. The output for both USB cams was identical. For
several reasons, I'd like to replace my PiCam with a 2nd USB cam that's the
same model as the USB cam I'm using now on my 2nd printer. However, using
the setup I'm using (haven't converted to Octoprint_Deploy yet), I find I
can't make any udev rules that can distinguish my old and new USB cams from
each other.
Does this project have any way to tell two such USB cameras apart? Even
the serial numbers match. I did see you can specify to ignore the serial
numbers, but if all the info is the same, I don't see how that's going ot
help.
—
Reply to this email directly, view it on GitHub
<#47>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGYDYRRQBDNZZBXZ2GIL64LWODQU7ANCNFSM6AAAAAATD3PY4I>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Physical ports do not change on reboot.
…On Mon, Dec 19, 2022, 5:25 PM TangoOversway ***@***.***> wrote:
Don't port assignments sometimes change on reboot?
I thought using udev rules to determine a camera by info the camera
returns was, in part, because the port assignment could change on reboot.
—
Reply to this email directly, view it on GitHub
<#47 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGYDYRQOMINB7CMS2Z4MD3TWODVFPANCNFSM6AAAAAATD3PY4I>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently using a PiCam and a USB cam. I have found this USB cam has exactly the same ID info as another USB camera I was using. I did udevadm
info -q all -n <devnode> --attribute-walk|sort > output_x.txt
and then used diff to compare both files. The output for both USB cams was identical. For several reasons, I'd like to replace my PiCam with a 2nd USB cam that's the same model as the USB cam I'm using now on my 2nd printer. However, using the setup I'm using (haven't converted to Octoprint_Deploy yet), I find I can't make any udev rules that can distinguish my old and new USB cams from each other.Does this project have any way to tell two such USB cameras apart? Even the serial numbers match. I did see you can specify to ignore the serial numbers, but if all the info is the same, I don't see how that's going ot help.
Beta Was this translation helpful? Give feedback.
All reactions