diff --git a/50-usb-scale.rules b/50-usb-scale.rules index b09df87..8cb3d66 100644 --- a/50-usb-scale.rules +++ b/50-usb-scale.rules @@ -1 +1,2 @@ SUBSYSTEM=="usb", ATTR{idVendor}=="1446", ATTR{idProduct}=="6a73", MODE="0776" +SUBSYSTEM=="usb", ATTR{idVendor}=="7b7c", ATTR{idProduct}=="0100", MODE="0776" diff --git a/scales.h b/scales.h index 6306608..9336c1c 100644 --- a/scales.h +++ b/scales.h @@ -12,13 +12,15 @@ // // **scalesc** should be kept updated with the length of the list. // -int scalesc = 1; +int scalesc = 2; // // Scales // ------ // -uint16_t scales[1][2] = {\ +uint16_t scales[2][2] = {\ // Stamps.com 10-lb USB scale - {0x1446, 0x6a73} + {0x1446, 0x6a73}, + // USPS (Elane) PS311 "XM Elane Elane UParcel 30lb" + {0x7b7c, 0x0100} };