fw_search_path.rst 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. =====================
  2. Firmware search paths
  3. =====================
  4. The following search paths are used to look for firmware on your
  5. root filesystem.
  6. * fw_path_para - module parameter - default is empty so this is ignored
  7. * /lib/firmware/updates/UTS_RELEASE/
  8. * /lib/firmware/updates/
  9. * /lib/firmware/UTS_RELEASE/
  10. * /lib/firmware/
  11. The module parameter ''path'' can be passed to the firmware_class module
  12. to activate the first optional custom fw_path_para. The custom path can
  13. only be up to 256 characters long. The kernel parameter passed would be:
  14. * 'firmware_class.path=$CUSTOMIZED_PATH'
  15. There is an alternative to customize the path at run time after bootup, you
  16. can use the file:
  17. * /sys/module/firmware_class/parameters/path
  18. You would echo into it your custom path and firmware requested will be searched
  19. for there first. Be aware that newline characters will be taken into account
  20. and may not produce the intended effects. For instance you might want to use:
  21. echo -n /path/to/script > /sys/module/firmware_class/parameters/path
  22. to ensure that your script is being used.