set -x

detect_hardware()
{
	modprobe hdaps || true
	modprobe mmc_block || true
	modprobe lib80211_crypt_wep || true
	modprobe lib80211_crypt_ccmp || true
	modprobe lib80211_crypt_tkip || true
	modprobe wakeup_button || true
	modprobe wacom || true
	{ grep -q phc_controls /proc/cmdline && modprobe phc_intel || modprobe acpi_cpufreq ; }
	return 1
}
