Pin the package to the current code commit, ship both maintained modules and all firmware variants, remove obsolete Bluetooth configuration, and document kernel-specific rebuilds.
Sanitize obsolete modprobe and udev rules during upgrades, unload the removed module when possible, and expand Bluetooth diagnostics for stale configuration. Continues the cleanup for #44 and #53.
Install mode-switch dependencies, support a69c:572f, avoid redundant generic headers when a usable kernel build tree exists, and discover DKMS logs dynamically. Addresses installer portions of #28, #55, #65, #66, and #68.
This branch already switched to standard btusb (commit 86aa95f), but
several pieces still pointed back at the removed aic_btusb module:
- drivers/aic8800/aic_btusb/ source tree (no longer in build)
- modprobe/aic8800-bt.conf installed to /etc/modprobe.d/, which
softdep'd btusb to a nonexistent aic_btusb and aliased AIC BT
interfaces to it. This caused btusb to load without firmware
having been uploaded, producing HCI_Reset timeout -110 on hci0.
- install.sh still copied that conf into /etc/modprobe.d/
- diagnose_bt.sh still told users to modprobe aic_btusb
diagnose_bt.sh rewritten to flag the residual /etc/modprobe.d/aic8800-bt.conf
on already-installed systems and to advise the correct flow
(aic_load_fw uploads BT firmware, btusb takes over).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Added USB VID/PID for TP-Link vendor (0x2357) and Mercury product (0x014b)
to support WiFi adapters that re-enumerate with these IDs after firmware
loading. The device is recognized as AIC8800D81 chip with RX aggregation.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Device 368b:8d84 is an AIC 8800D80 variant not included in the USB
device table. Add it as AIC8800M80_CUS0 alongside the other M80 CUS
variants; it maps to PRODUCT_ID_AIC8800D81 like its siblings.
Tested on kernel 6.19.8-arch1 with a physical dongle (Bus 001 Device
005: ID 368b:8d84 AICSemi AIC 8800D80).
Add automatic loading of btusb (standard Linux Bluetooth driver) after
WiFi module installation. This enables Bluetooth functionality without
requiring manual intervention.
The aic_load_fw module uploads Bluetooth firmware including ext0 patches,
then btusb driver handles the actual Bluetooth interface.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add radio_idx and changed parameters to rwnx_cfg80211_get_tx_power function
to match the updated cfg80211 API signature introduced in Linux 6.17+. This
fixes compilation errors on kernel 6.19 and later versions.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Changes:
- Install firmware for all chip variants (D80, D80N, D80X2, DC, DW, DLN)
- Automatically detect and copy all firmware directories from fw/
- Update verification to check all installed firmware
- Update uninstallation instructions to remove all firmware
This ensures support for all newly added devices:
- AIC8800D80N series
- AIC8800DLN series
- AIC8800D80X2 with extended firmware
- All other chip variants
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Major updates:
- Add Linux kernel 6.12-6.19 compatibility support
- Add Linux 6.16 timer_container_of and wakelock API support
- Add Debian 6.1.0-26 backport support
- Fix Bluetooth firmware upload for chip_mcu_id == 1 (cache_mem_addr)
- Add USB device ID 368b:8d81 support
- Add AIC8800DW device support
- Add TP-Link Archer TX1U Nano support (USB_VENDOR_ID_TENDA_V2:0x0110)
- Add TENDA series device support (U2, U11, U11 PRO)
- Add AIC8800FC_CUS4/5/6 series support
- Add AIC8800M80_CUS7/8 series support
- Add UGREEN AIC8800D80 adapter support
- Fix CONFIG_USB_BT interface number check (allow 1 or 3 interfaces)
- Update firmware files for all chip variants
Device support:
- AIC8800D80/D81/DC/DW series
- AIC8800D80X2/D81X2/D89X2 series
- AIC8800D80N/D80LN/D80WN/DLN/DWN series
- TENDA U2/U11/U11 PRO/TX1U Nano adapters
- Multiple OEM variants (FC_CUS1-6, M80_CUS1-8)
Kernel compatibility:
- Linux 3.10 - 6.19+
- Debian 6.1.0-26 with backported APIs
- Ubuntu and other distributions
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>