Skip to content

Instantly share code, notes, and snippets.

@raspi
Last active September 27, 2018 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raspi/fc90cd2f386d4f958e4956b7b94e5a12 to your computer and use it in GitHub Desktop.
Save raspi/fc90cd2f386d4f958e4956b7b94e5a12 to your computer and use it in GitHub Desktop.
List kernel module descriptions in BSD
# 2> /dev/null skips manual pages which doesn't exist
# find /boot/kernel -type f -iname "*acpi*.ko" -exec sh -c 'whatis `basename "{}" ".ko"` 2> /dev/null' \;
acpi_toshiba(4) - Toshiba HCI interface
acpi_panasonic(4) - ACPI hotkey driver for Panasonic laptops
acpi_fujitsu(4) - Fujitsu Laptop Extras
acpi_wmi(4) - ACPI to WMI mapping driver
acpi_hp(4) - ACPI extras driver for HP laptops
acpi_dock(4) - Laptop Docking Station device driver
acpi_sony(4) - ACPI notebook controller driver for Sony laptops
acpi_ibm(4) - ACPI extras driver for IBM laptops
acpi_asus_wmi(4) - Asus Laptop WMI Extras
acpi_video(4) - ACPI Video Extensions driver
acpi_asus(4) - Asus Laptop Extras
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment