diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-07-27 22:46:05 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-08-05 20:07:13 +0200 |
commit | 53d38b19ed5b2650ad419db9cd91cf9d3392c877 (patch) | |
tree | a6db884cc85a6eafa1b6f068ff4095d384bd25db /include | |
parent | 75a9aebee593e5fe824a09bd9682c1571aa0e4ab (diff) |
libcamera: pipeline: uvcvideo: Generate unique camera names
Generate camera names that are unique and persistent between system
resets. The name is constructed from the USB device information as well
as the USB controller on the host.
Before this change example of camera names:
Venus USB2.0 Camera: Venus USB2
Logitech Webcam C930e
After this change the same cameras are:
\_SB_.PCI0.RP05.PXSX-2.1.1:1.0-0ac8:3420
\_SB_.PCI0.RP05.PXSX-2.4:1.0-046d:0843
On OF-based system:
/base/soc/usb@7e980000/usb-port@1-1.2:1.0-0ac8:3420
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions