Skip to content

Commit 46fada1

Browse files
committed
hw-mgmt: scripts: Fix MSN3700/MSN3700C/MSN4700 detection in sync service
Some MSN3700/MSN3700C/MSN4700 systems have been customized with incorrect SMBIOS SKU field. This causes system detection failures in HW-MGMT sync service. Fix the sync service to properly identify such systems. Bug: 4520864, 4544349 Signed-off-by: Felix Radensky <[email protected]>
1 parent 3e65283 commit 46fada1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

usr/usr/bin/hw_management_sync.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
"arg": {"fin": "/sys/module/sx_core/asic0/module{}/", "fout_idx_offset": 1, "module_count": 66}
186186
}
187187
],
188-
"HI112|HI116|HI136": [
188+
"HI112|HI116|HI136|MSN3700|MSN3700C": [
189189
{"fin": None, "fn": "asic_temp_populate", "poll": 3, "ts": 0,
190190
"arg": {"asic": {"fin": "/sys/module/sx_core/asic0/"},
191191
"asic1": {"fin": "/sys/module/sx_core/asic0/"}
@@ -215,7 +215,7 @@
215215
"arg": {"fin": "/sys/module/sx_core/asic0/module{}/", "fout_idx_offset": 1, "module_count": 54}
216216
}
217217
],
218-
"HI122|HI156": [
218+
"HI122|HI156|MSN4700": [
219219
{"fin": None, "fn": "asic_temp_populate", "poll": 3, "ts": 0,
220220
"arg": {"asic": {"fin": "/sys/module/sx_core/asic0/"},
221221
"asic1": {"fin": "/sys/module/sx_core/asic0/"}

0 commit comments

Comments
 (0)