balena-io-hardware / autokit-interface-sw

Apache License 2.0
5 stars 2 forks source link

search for correct sg device with linuxAut mux #64

Closed rcooke-warwick closed 12 months ago

rcooke-warwick commented 1 year ago

We encountered an issue when using a host for the autokit that had multiple scsi-generic (/dev/sg*) devices attached. We were using /dev/sg* to address the mux which caused problems when multiple devices were attached.

Added a small piece of setup that searches for the correct sg device, using the vendor name.

Change-type: patch

rcooke-warwick commented 12 months ago

@balena-ci I self-certify!