File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ def id(self) -> Optional[str]:
177
177
elif chip_id == chips .RK3568 :
178
178
board_id = self ._rk3568_id ()
179
179
elif chip_id == chips .RK3588 :
180
- board_id = self ._rock_pi_id () or self ._armbian_id ()
180
+ board_id = self ._rock_pi_id () or self ._orange_pi_id () or self . _armbian_id ()
181
181
elif chip_id == chips .RYZEN_V1605B :
182
182
board_id = self ._udoo_id ()
183
183
elif chip_id == chips .PENTIUM_N3710 :
@@ -414,6 +414,12 @@ def _diet_pi_id(self) -> Optional[str]:
414
414
return boards .ORANGE_PI_4
415
415
return None
416
416
417
+ def _orange_pi_id (self ) -> Optional [str ]:
418
+ board_value = self .detector .get_device_model ()
419
+ if "Orange Pi 5" in board_value :
420
+ return boards .ORANGE_PI_5
421
+ return None
422
+
417
423
def _sama5_id (self ) -> Optional [str ]:
418
424
"""Check what type sama5 board."""
419
425
board_value = self .detector .get_device_model ()
You can’t perform that action at this time.
0 commit comments