From f77a1a9cd938cbbb728c3a544b232791f5ed5da7 Mon Sep 17 00:00:00 2001 From: Ville-Pekka Juntunen Date: Wed, 27 Nov 2024 12:17:49 +0200 Subject: [PATCH] Change usb_sd_mux_port properties Change usb_sd_mux_port properties to use devlink property instead of /dev/sgx to make sure to use right one. Signed-off-by: Ville-Pekka Juntunen --- hosts/testagent/dev/configuration.nix | 2 +- hosts/testagent/prod/configuration.nix | 2 +- hosts/testagent/release/configuration.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/testagent/dev/configuration.nix b/hosts/testagent/dev/configuration.nix index 571abf30..57651909 100644 --- a/hosts/testagent/dev/configuration.nix +++ b/hosts/testagent/dev/configuration.nix @@ -105,7 +105,7 @@ socket_ip_address = "172.18.16.82"; plug_type = "TAPOP100v2"; switch_bot = "NONE"; - usb_sd_mux_port = "/dev/sg1"; + usb_sd_mux_port = "/dev/usb-sd-mux/id-000000001488"; ext_drive_by-id = "usb-LinuxAut_sdmux_HS-SD_MMC_000000001488-0:0"; threads = 4; }; diff --git a/hosts/testagent/prod/configuration.nix b/hosts/testagent/prod/configuration.nix index 09e2259e..2986b175 100644 --- a/hosts/testagent/prod/configuration.nix +++ b/hosts/testagent/prod/configuration.nix @@ -94,7 +94,7 @@ socket_ip_address = "172.18.16.45"; plug_type = "TAPOP100v2"; switch_bot = "NONE"; - usb_sd_mux_port = "/dev/sg1"; + usb_sd_mux_port = "/dev/usb-sd-mux/id-000000001184"; ext_drive_by-id = "usb-LinuxAut_sdmux_HS-SD_MMC_000000001184-0:0"; threads = 4; }; diff --git a/hosts/testagent/release/configuration.nix b/hosts/testagent/release/configuration.nix index 7aa0ff40..8907c26c 100644 --- a/hosts/testagent/release/configuration.nix +++ b/hosts/testagent/release/configuration.nix @@ -116,7 +116,7 @@ socket_ip_address = "172.18.16.41"; plug_type = "TAPOP100v2"; switch_bot = "NONE"; - usb_sd_mux_port = "/dev/sg1"; + usb_sd_mux_port = "/dev/usb-sd-mux/id-000000001267"; ext_drive_by-id = "usb-LinuxAut_sdmux_HS-SD_MMC_000000001267-0:0"; threads = 4; };