Jump to content

Hardware/Asus: Difference between revisions

From Official NixOS Wiki
0x4A6F (talk | contribs)
No edit summary
DHCP (talk | contribs)
m Model number: replace sudo with # and use syntaxhighlight "console" for the provided command
 
Line 9: Line 9:
It is unconfirmed, but highly likely that this command will give the actual Model Number, mapping to a specific sold model.
It is unconfirmed, but highly likely that this command will give the actual Model Number, mapping to a specific sold model.


<syntaxhighlight>
<syntaxhighlight lang=console>
sudo nix-shell -p dmidecode --run "dmidecode -t 11" | grep 'String 4' | sed -e 's/\s//g' | cut -d':' -f2
# nix-shell -p dmidecode --run "dmidecode -t 11" | grep 'String 4' | sed -e 's/\s//g' | cut -d':' -f2
</syntaxhighlight>
</syntaxhighlight>



Latest revision as of 14:01, 19 July 2026

Laptops

Model number

Asus laptops will often have a Model Name, and a number of Model Numbers for that name. Most of the hardware will be the same between Model Numbers, but sometimes there are important differences, like the display panel used or presence of a discrete GPU.

It is unconfirmed, but highly likely that this command will give the actual Model Number, mapping to a specific sold model.

# nix-shell -p dmidecode --run "dmidecode -t 11" | grep 'String 4' | sed -e 's/\s//g' | cut -d':' -f2

This command looks at String 4 under the OEM Strings section.

Subpages