From cb5bb34ed82e7991d24f7cb5ad0ae37146b40c10 Mon Sep 17 00:00:00 2001 From: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com> Date: Wed, 16 Mar 2022 10:26:53 -0600 Subject: [PATCH] whitelist samsung T7 (#1333) * whitelist samsung T7 * add drive model to comment Co-authored-by: Keagan McClelland Co-authored-by: Keagan McClelland --- backend/src/disk/quirks.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/disk/quirks.rs b/backend/src/disk/quirks.rs index 92d2c38fe..39e50073c 100644 --- a/backend/src/disk/quirks.rs +++ b/backend/src/disk/quirks.rs @@ -11,11 +11,12 @@ use crate::Error; pub const QUIRK_PATH: &'static str = "/sys/module/usb_storage/parameters/quirks"; -pub const WHITELIST: [(VendorId, ProductId); 4] = [ +pub const WHITELIST: [(VendorId, ProductId); 5] = [ (VendorId(0x1d6b), ProductId(0x0002)), // root hub usb2 (VendorId(0x1d6b), ProductId(0x0003)), // root hub usb3 (VendorId(0x2109), ProductId(0x3431)), (VendorId(0x1058), ProductId(0x262f)), // western digital black HDD + (VendorId(0x04e8), ProductId(0x4001)), // Samsung T7 ]; #[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]