fix: include matched USB firmware in initramfs and propagate probe errors

Declare the installed firmware and configuration paths on both USB modules so initramfs tools can include the matched set. Preserve failed system configuration and firmware-download errors instead of binding an interface after cleanup. Keep intentional reboot/re-enumeration returns unchanged.

Addresses #117. Validated with extracted probe regression cases, inventory/modinfo checks and all three modules built against Linux 6.8 and 6.17 headers; no Kylin boot hardware validation.
This commit is contained in:
Shen Mintao committed 2026-10-28 10:17:36 +08:00
1 parent f9ab418223
commit 1f7b370cd9
7 files changed
+254 -4

No files matched your search

+9
View File
@@ -35,6 +35,15 @@ cannot download dependencies because the database is stale, run
`sudo pacman -Syu` yourself, reboot if the kernel was updated, and rerun the
installer with headers matching the running kernel.
The USB modules declare the complete firmware set shipped in `fw/`, including
configuration files and extension patches, so initramfs tools can include those
files when they include the modules. Rerun the installer after updating the
driver to rebuild DKMS modules and refresh the current kernel's initramfs.
If the adapter only works after reloading its modules after boot, check that
the initramfs contains its `aic8800*/` firmware directory (issue #117).
Custom firmware paths supplied with `aic_fw_path` still need to be included
in the initramfs by the administrator.
> For more information, please refer to the [README.md](README.md) file.
<br>