diff --git a/src/sensors.c b/src/sensors.c index 5c85c6d..fe39b51 100644 --- a/src/sensors.c +++ b/src/sensors.c @@ -448,6 +448,14 @@ static int detect_onsemi_sensor(sensor_ctx_t *ctx, int fd, case 0x2402: sid = 0x0130; break; + /* AR0230 CHIP_VERSION_REG. The Ambarella S3L firmware drives one (its + * ar0230 module reads 0x3000 at probe); the second value is the same + * reading with the bytes swapped, as the AR0237's 0x0950 arrives as 0x5009 + * through the reader the S3L HAL uses. */ + case 0x0056: + case 0x5600: + sid = 0x0230; + break; case 0x256: sid = 0x0237; break; diff --git a/src/sensors_golden.txt b/src/sensors_golden.txt index ef39b9a..032b068 100644 --- a/src/sensors_golden.txt +++ b/src/sensors_golden.txt @@ -1098,11 +1098,13 @@ soi a0fc JXHfc soi a0fd JXHfd soi a0fe JXHfe soi a0ff JXHff +onsemi 0056 AR0230 onsemi 0256 AR0237 onsemi 2402 AR0130 onsemi 2602 AR0331 onsemi 2604 AR0330 onsemi 5009 AR0237 +onsemi 5600 AR0230 omni 2710 OV2710 omni 2715 OV2715 omni 2718 OV2718