How to distinguish two Arducam USB cameras with same serial SN0001 in ROS2/Linux

Hi all, I’m running two Arducam Fisheye Low Light USB Cameras (2MP 1080P IMX291 Wide Angle Mini H.264 UVC Video Camera Board with Microphone) on a Linux machine in a ROS2 setup. I need to tell the two devices apart, but when I query their identifiers with udevadm, both report the same serial number. I ran:

sudo udevadm info --query=all /dev/videoX | grep ‘VENDOR_ID|MODEL_ID|SERIAL_SHORT’

For both cameras the result comes back with SN0001. I need a distinct identification number per device so ROS2 can differentiate between them. Has anyone run into this?

Thanks for the details. Just to confirm, did you run that udevadm command against each /dev/videoX node separately and both returned the same SERIAL_SHORT? Can you also post the VENDOR_ID and MODEL_ID lines from the output?

Yes, I checked each video node individually. Both cameras show the same vendor and model IDs, which is expected since they are identical boards, and SERIAL_SHORT is SN0001 on both. I haven’t tried anything beyond querying yet because I wasn’t sure if there is a supported way to change the serial number.

Right, that behavior is actually expected. These Arducam UVC cameras ship with a default/duplicate serial number of SN0001, so out of the box there is no unique identifier to key off. The fix is to change the serial number on each camera using the Arducam Serial Number Tool. There is an official guide here: https://docs.arducam.com/UVC-Camera/Serial-Number-Tool-Guide/ . You can set a unique serial per camera, and after that udevadm should show distinct SERIAL_SHORT values.

Thanks, that makes sense. I’ll try the serial number modification tool from the guide at https://docs.arducam.com/UVC-Camera/Serial-Number-Tool-Guide/ and see if I can give each camera its own serial for the ROS2 setup.

Sounds good. To summarize: the duplicate SN0001 is just the factory default, so the current workaround is to write a unique serial number to each camera using the Arducam Serial Number Tool from the guide above. Once the serials are changed, re-run:

sudo udevadm info --query=all /dev/videoX | grep ‘VENDOR_ID|MODEL_ID|SERIAL_SHORT’

and you should see different SERIAL_SHORT entries for each camera. After that you can also create udev rules to assign stable /dev names per serial if your ROS2 nodes need fixed device paths. Let us know how it goes once you have run the tool.