whitelist samsung T7 (#1333)

* whitelist samsung T7

* add drive model to comment

Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>

Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
This commit is contained in:
Aiden McClelland
2022-03-16 10:26:53 -06:00
committed by GitHub
parent 90d72fb0d4
commit cb5bb34ed8

View File

@@ -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)]