From ed11282ef7b6874918293e47f370a80e1f65e5cc Mon Sep 17 00:00:00 2001 From: Erik Kallen Date: Thu, 3 Aug 2017 14:47:57 +0200 Subject: [PATCH] Change back productID to be a number Fixes #1278 The productID should be a number not a description string --- lib/bindings/linux-list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bindings/linux-list.js b/lib/bindings/linux-list.js index 4f291ddf6..5d35a4c21 100644 --- a/lib/bindings/linux-list.js +++ b/lib/bindings/linux-list.js @@ -14,7 +14,7 @@ function propName(name) { 'ID_VENDOR_ENC': 'manufacturer', 'ID_SERIAL_SHORT': 'serialNumber', 'ID_VENDOR_ID': 'vendorId', - 'ID_MODEL_ENC': 'productId', + 'ID_MODEL_ID': 'productId', 'DEVLINKS': 'pnpId' }[name.toUpperCase()]; }