please choosego to mobile | Continue to access the PC version
View: 11489|Reply: 18

How to detect Orange model IN SOFTWARE?

[Copy link]

2

threads

6

posts

32

credits

Novice

Rank: 1

credits
32
Published in 2017-5-23 05:18:56 | Show all floors |Read mode
How can I detect which model of the Orange I'm using, in software?

6

threads

32

posts

626

credits

Senior member

Rank: 4

credits
626
Published in 2017-5-27 03:00:09 | Show all floors
Edited by bozden at 2017-5-27 03:07

I use Armbian. In any distro you may check /etc/*-release files...

I use it like this:
  1. [ $(grep -i 'orangepi' /etc/armbian-release) ]      && IS_ORANGEPI=1
  2. [ $(grep -i 'orangepizero' /etc/armbian-release) ]  && IS_ORANGEPIZERO=1
  3. [ $(grep -i 'orangepione' /etc/armbian-release) ]   && IS_ORANGEPIONE=1
Copy code

Note: There are no standards for these *-release files. So you may like to use if-then-else structures for distro's also.
OPi's: 3 Zero, 4 One, 1 Plus, 1 PC2, 1 cam
OPi on transit: 1 One, 1 2G-IOT, 1 2G IOT Touch LCD
3 RPi 3, 1 RPi 2, 3 RPi cam

2

threads

6

posts

32

credits

Novice

Rank: 1

credits
32
 Author| Published in 2017-6-1 05:09:13 | Show all floors
Hi Bozden, and thanks for your reply. However, I'm not looking to detect the distro, I'm trying to detect the hardware. Raspberry Pi boards can be identified by checking the revision value at /proc/cpuinfo, but the Orange Pi devs - in their infinite wisdom - decided to leave that field at 0000 for every board. It's the kind of stupidity I've come to expect from them.
Am I to assume therefore that detecting the board version is literally impossible?

0

threads

1

posts

10

credits

Novice

Rank: 1

credits
10
Published in 2023-7-20 16:58:11 | Show all floors
You'll probably have to wait until the RK3588 series is mainlined in the kernel.

It doesn't look like the original port exposes any of the cpu information in a meaningful way, which is why you don't see it in /proc/cpuinfo.   

https://gitlab.collabora.com/har ... /mainline-status.md
has the status of the mainlining effort, as best as i can tell

6

threads

130

posts

672

credits

Senior member

Rank: 4

credits
672
Published in 2023-8-4 03:11:13 | Show all floors
I can get everything in my hands in record time. Thank you for the fantastic article, tech companies in ny. There's nothing not to enjoy!

0

threads

6

posts

26

credits

Novice

Rank: 1

credits
26
Published in 2023-8-11 13:35:11 | Show all floors
Privacy matters and we know this better than anyone else in the town. Escorts in Delhi We have been keeping thousands of identities behind the dark for a decade. People visit us because they trust us and we know to keep their trust.

0

threads

6

posts

26

credits

Novice

Rank: 1

credits
26
Published in 2023-8-11 14:09:31 | Show all floors
You can plan your stay with any of our gorgeous babes and keep your lips lock with her juicy lips. Sex Service In Delhi  Find the best match for your needs by calling us . We assure your satisfaction by adding new features and a new face in our services. You will get everything here that you had dreamed of.

0

threads

6

posts

26

credits

Novice

Rank: 1

credits
26
Published in 2023-8-11 14:34:53 | Show all floors
Privacy matters and we know this better than anyone else in the town. Delhi Escorts Service We have been keeping thousands of identities behind the dark for a decade. People visit us because they trust us and we know to keep their trust.

0

threads

14

posts

39

credits

Novice

Rank: 1

credits
39
Published in 2023-8-21 22:44:54 | Show all floors
plus!
There are a lot of scripts on this topic on github!

1

threads

27

posts

125

credits

Registered member

Rank: 2

credits
125
Published in 2023-9-20 18:41:31 | Show all floors
This post was finally edited by MarthaThomp at 2023-9-25 23:13


Software is the digital backbone of our modern world, driving innovation across industries. It encompasses a wide spectrum of applications, from operating systems and productivity tools to intricate algorithms powering artificial intelligence. Here you Click this link that learn more new things for marketing. Software has revolutionized communication, entertainment, and commerce, enabling global connectivity and automation. It continually evolves, adapting to changing needs and emerging technologies. Its impact on society is profound, shaping the way we work, learn, and interact. As software development advances, it remains a dynamic force, propelling us toward a future of limitless possibilities and improved efficiency in our increasingly digital lives.

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list