Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/sensors.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions src/sensors_golden.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading