-
-
Notifications
You must be signed in to change notification settings - Fork 2
Arch Linux Hardware Detection
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to hardware detection on Arch Linux, including identifying hardware, installing drivers, and troubleshooting hardware issues.
- Identifying Hardware
- PCI Devices
- USB Devices
- Hardware Information Tools
- Driver Installation
- Troubleshooting
Check hardware:
# Install hardware detection tools
sudo pacman -S hwdetect lshw
# Detect hardware
sudo hwdetect
# Or use lshw
sudo lshw -shortCheck CPU:
# CPU info
lscpu
# Detailed CPU
cat /proc/cpuinfo
# CPU model
grep "model name" /proc/cpuinfoCheck RAM:
# Memory info
free -h
# Detailed memory
cat /proc/meminfo
# Memory modules
sudo dmidecode -t memoryCheck disks:
# List disks
lsblk
# Disk info
sudo fdisk -l
# Disk usage
df -hCheck PCI:
# List PCI devices
lspci
# Detailed info
lspci -v
# Kernel drivers
lspci -kCheck GPUs:
# Graphics cards
lspci | grep VGA
# Detailed GPU
lspci -v | grep -A 10 VGA
# NVIDIA
nvidia-smi
# AMD
glxinfo | grep "OpenGL renderer"Check network:
# Network cards
lspci | grep -i network
# Or ethernet
lspci | grep -i ethernet
# Wireless
lspci | grep -i wirelessCheck USB:
# List USB devices
lsusb
# Detailed USB
lsusb -v
# USB tree
lsusb -tGet USB info:
# USB device details
udevadm info /dev/sdb
# USB attributes
udevadm info -a -n /dev/sdbInstall inxi:
# Install inxi
sudo pacman -S inxi
# Full system info
inxi -F
# Graphics info
inxi -G
# Network info
inxi -NInstall neofetch:
# Install neofetch
sudo pacman -S neofetch
# Display system info
neofetchInstall hardinfo:
# Install hardinfo
sudo pacman -S hardinfo
# Launch GUI
hardinfoInstall dmidecode:
# Install dmidecode
sudo pacman -S dmidecode
# System info
sudo dmidecode -t system
# BIOS info
sudo dmidecode -t biosUse chwd (CachyOS):
# If on CachyOS
chwd -aGraphics drivers:
# NVIDIA
sudo pacman -S nvidia
# AMD
sudo pacman -S mesa xf86-video-amdgpu
# Intel
sudo pacman -S mesa xf86-video-intelNetwork drivers:
# Check loaded modules
lsmod | grep -i network
# Install drivers
sudo pacman -S network-driver-packageCheck kernel messages:
# Check dmesg
dmesg | grep -i error
# Check journal
journalctl -k | grep -i errorCheck modules:
# List loaded modules
lsmod
# Check module info
modinfo module-name
# Load module
sudo modprobe module-nameTroubleshoot USB:
# Check USB
lsusb
# Check kernel messages
dmesg | grep -i usb
# Check permissions
ls -l /dev/ttyUSB*This guide covered hardware detection, PCI/USB devices, information tools, driver installation, and troubleshooting.
- Arch Linux Graphics Drivers - GPU setup
- Arch Linux Hardware Configuration - More hardware
- ArchWiki Hardware: https://wiki.archlinux.org/title/Hardware
This guide is based on the ArchWiki. For the most up-to-date information, always refer to the official ArchWiki.