Skip to content

Commit 110a54c

Browse files
authored
Merge pull request #65 from yeyeto2788/master
Pinephone detection on Alpine linux
2 parents bfc2691 + bcb836c commit 110a54c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_platformdetect/chip.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ def _linux_id(self): # pylint: disable=too-many-branches,too-many-statements
8787
linux_id = chips.S905
8888
if compatible and 'amlogic, g12b' in compatible:
8989
linux_id = chips.S922X
90+
if compatible and 'sun50i-a64' in compatible:
91+
linux_id = chips.A64
9092

9193
cpu_model = self.detector.get_cpuinfo_field("cpu model")
9294

0 commit comments

Comments
 (0)