From ff9b8146d29b8d6caa8db0eabdfd33ee32c7f27f Mon Sep 17 00:00:00 2001 From: "Aymeric P. / APLU" Date: Sun, 4 Aug 2024 19:03:18 +0200 Subject: [PATCH] Add TEMPerGold_V3.5 --- temper.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/temper.py b/temper.py index b549e09..7e79c4b 100755 --- a/temper.py +++ b/temper.py @@ -205,7 +205,7 @@ def _read_hidraw(self, device): self._parse_bytes('internal temperature', 2, 256.0, bytes, info) return info - if info['firmware'][:15] in [ 'TEMPerGold_V3.1', 'TEMPerGold_V3.3', 'TEMPerGold_V3.4' ]: + if info['firmware'][:15] in [ 'TEMPerGold_V3.1', 'TEMPerGold_V3.3', 'TEMPerGold_V3.4', 'TEMPerGold_V3.5' ]: info['firmware'] = info['firmware'][:15] self._parse_bytes('internal temperature', 2, 100.0, bytes, info) return info @@ -342,6 +342,8 @@ def _is_known_id(self, vendorid, productid): return True if vendorid == 0x1a86 and productid == 0xe025: return True + if vendorid == 0x3553 and productid == 0xa001: + return True # The id is not known to this program. return False