firmware_class
Single-page view · as markdown
Firmware hotplug script example
Peios Kernel / Hardware and drivers / Driver development / firmware_class
Original firmware-loading example using the DEVPATH and FIRMWARE environment variables and the sysfs loading interface.
#!/bin/sh
# Simple hotplug script sample:
#
# Both $DEVPATH and $FIRMWARE are already provided in the environment.
HOTPLUG_FW_DIR=/usr/lib/hotplug/firmware/
if [; then
if [; then
else
fi
fi