Hardware/Apple: Difference between revisions
imported>Samueldr Adds a command to identify the apple hardware. (couldn't actually test though) |
imported>Samueldr m Tentatively switches to use freely readable variables in /sys/... |
||
Line 2: | Line 2: | ||
<syntaxhighlight lang="commands"> | <syntaxhighlight lang="commands"> | ||
$ | $ cat /sys/devices/virtual/dmi/id/product_{family,name} | ||
MacBook | |||
MacBook2,1 | |||
</syntaxhighlight> | </syntaxhighlight> | ||
The '' | The last line is the '''version'' field; the key to your success. This will allow you to identify with great accuracy the hardware. Fixes for other versions may apply too, but the greater the gap between revisions, the less likely it is to work. |
Revision as of 23:49, 15 January 2018
Identifying your computer
$ cat /sys/devices/virtual/dmi/id/product_{family,name}
MacBook
MacBook2,1
The last line is the 'version field; the key to your success. This will allow you to identify with great accuracy the hardware. Fixes for other versions may apply too, but the greater the gap between revisions, the less likely it is to work.