mirror of
https://github.com/erjiang/usbscale.git
synced 2025-07-03 11:24:24 -06:00
Added USB ID for USPS PS311
Thanks to Mike DePriest (mike.depriest@gmail.com), added a scale definition for the USPS PS311 (made by Elane). ID is 7b7c:0100.
This commit is contained in:
parent
7ca9725b91
commit
710cbefb71
@ -1 +1,2 @@
|
|||||||
SUBSYSTEM=="usb", ATTR{idVendor}=="1446", ATTR{idProduct}=="6a73", MODE="0776"
|
SUBSYSTEM=="usb", ATTR{idVendor}=="1446", ATTR{idProduct}=="6a73", MODE="0776"
|
||||||
|
SUBSYSTEM=="usb", ATTR{idVendor}=="7b7c", ATTR{idProduct}=="0100", MODE="0776"
|
||||||
|
8
scales.h
8
scales.h
@ -12,13 +12,15 @@
|
|||||||
//
|
//
|
||||||
// **scalesc** should be kept updated with the length of the list.
|
// **scalesc** should be kept updated with the length of the list.
|
||||||
//
|
//
|
||||||
int scalesc = 1;
|
int scalesc = 2;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Scales
|
// Scales
|
||||||
// ------
|
// ------
|
||||||
//
|
//
|
||||||
uint16_t scales[1][2] = {\
|
uint16_t scales[2][2] = {\
|
||||||
// Stamps.com 10-lb USB scale
|
// Stamps.com 10-lb USB scale
|
||||||
{0x1446, 0x6a73}
|
{0x1446, 0x6a73},
|
||||||
|
// USPS (Elane) PS311 "XM Elane Elane UParcel 30lb"
|
||||||
|
{0x7b7c, 0x0100}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user