Skip to content

Tag device id with transport to avoid GEV/U3V id collision#1085

Closed
circuitvalley wants to merge 1 commit into
AravisProject:mainfrom
circuitvalley:main
Closed

Tag device id with transport to avoid GEV/U3V id collision#1085
circuitvalley wants to merge 1 commit into
AravisProject:mainfrom
circuitvalley:main

Conversation

@circuitvalley

Copy link
Copy Markdown
Contributor

A camera that reports the same vendor/model/serial over both GigE Vision and USB3 Vision produced an identical device id on each interface. Because arv_open_device() returns the first matching interface and USB3Vision is enumerated before GigEVision, selecting the GigE device silently opened the USB one.

Append a transport tag ("-eth" / "-usb") to the id built in each interface so the two are distinct and each resolves to the intended device.

A camera that reports the same vendor/model/serial over both GigE Vision
and USB3 Vision produced an identical device id on each interface. Because
arv_open_device() returns the first matching interface and USB3Vision is
enumerated before GigEVision, selecting the GigE device silently opened the
USB one.

Append a transport tag ("-eth" / "-usb") to the id built in each interface
so the two are distinct and each resolves to the intended device.
@EmmanuelP

Copy link
Copy Markdown
Contributor

Hi. Thanks for the patch.

Unfortunately, it is a breaking change. Also, it is already possible to select the right device, by using one of the other names it is register under.

For example, you can use the MAC address or the ip address of a GigEVision camera, or the USB guid for a USB3Vision device.

@EmmanuelP EmmanuelP closed this Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants