From 1ee1e85cbe1a498836e854885f717fcedacb371f Mon Sep 17 00:00:00 2001 From: Kristofer Sommestad Date: Wed, 28 Oct 2015 18:19:30 +0100 Subject: [PATCH] Added support for DYMO 1772057 Digital Postal Scale --- 50-usb-scale.rules | 1 + scales.h | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/50-usb-scale.rules b/50-usb-scale.rules index 9cf6fda..c540173 100644 --- a/50-usb-scale.rules +++ b/50-usb-scale.rules @@ -6,3 +6,4 @@ SUBSYSTEM=="usb", ATTR{idVendor}=="0eb8", ATTR{idProduct}=="f000", MODE="0776" SUBSYSTEM=="usb", ATTR{idVendor}=="6096", ATTR{idProduct}=="0158", MODE="0776" SUBSYSTEM=="usb", ATTR{idVendor}=="0b67", ATTR{idProduct}=="555e", MODE="0776" SUBSYSTEM=="usb", ATTR{idVendor}=="0922", ATTR{idProduct}=="8004", MODE="0776" +SUBSYSTEM=="usb", ATTR{idVendor}=="0922", ATTR{idProduct}=="8003", MODE="0776" diff --git a/scales.h b/scales.h index dc693bd..52a605e 100644 --- a/scales.h +++ b/scales.h @@ -12,7 +12,7 @@ // // **NSCALES** should be kept updated with the length of the list. // -#define NSCALES 8 +#define NSCALES 9 // // What is the number of the weighing result to show, as the first result may be incorrect (from the previous weighing) @@ -39,5 +39,7 @@ uint16_t scales[NSCALES][2] = {\ // Fairbanks Scales SCB-R9000 {0x0b67, 0x555e}, // Dymo-CoStar Corp. M25 Digital Postal Scale - {0x0922, 0x8004} + {0x0922, 0x8004}, + // DYMO 1772057 Digital Postal Scale + {0x0922, 0x8003} };