mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-09-26 17:44:16 +00:00
115 lines
3.1 KiB
Markdown
115 lines
3.1 KiB
Markdown
# AIC8800 Linux Driver
|
|
This driver supports AIC8800-family chipsets used by devices such as the Tenda U11, AX913B, and TP-Link Archer TX1U Nano.
|
|
|
|
> **Legacy MCU revision 1 branch:** You are viewing `legacy-mcu1`. This branch
|
|
> is only for AIC8800D80 or AIC8800DC/DW devices that report
|
|
> `chip_id=7, chip_mcu_id=1`. It provides complete matched V3 firmware and
|
|
> loader profiles for the D80 upload-limit failure validated in
|
|
> [issue #58](https://github.com/shenmintao/aic8800d80/issues/58) and the DC/DW
|
|
> V5 main-application timeout validated in
|
|
> [issue #71](https://github.com/shenmintao/aic8800d80/issues/71). Use
|
|
> [`main`](https://github.com/shenmintao/aic8800d80/tree/main) for newer
|
|
> `chip_mcu_id=0` hardware or when the MCU revision is unknown. See the
|
|
> [D80](tests/issue58-mcu1-legacy-fw/README.md) and
|
|
> [DC/DW](tests/issue71-mcu1-v3-profile/README.md) support notes before installing.
|
|
|
|
Added support for devices with Vendor ID 368B (tested).
|
|
|
|
Tested on Linux kernel 6.16 with Ubuntu 25.04 and 6.1.0.27 with Debian 12.
|
|
|
|
> **Bluetooth support:** This branch initializes the integrated Bluetooth
|
|
> controller for the kernel's standard `btusb` driver. It does not contain or
|
|
> install `aic_btusb`.
|
|
|
|
### Disclaimer
|
|
I did not develop this software, The code is sourced from the Tenda U11 driver. I only made some modifications to the code to adapt it to newer kernel versions. Apart from compilation issues, I am unable to address other problems.
|
|
|
|
### Attention
|
|
Before installing the driver, delete all aic8800-related folders under /lib/firmware. Using an incorrect firmware version may cause the system to freeze.
|
|
|
|
### Installation Steps
|
|
|
|
#### Method 1: [Quick Installation](INSTALL_SCRIPT.md) (Recommended)
|
|
|
|
#### Method 2: Manual Installation
|
|
|
|
#### Copy udev rules:
|
|
Copy the aic.rules file to /lib/udev/rules.d/:
|
|
|
|
```bash
|
|
sudo cp aic.rules /lib/udev/rules.d/
|
|
```
|
|
|
|
#### Copy firmware:
|
|
|
|
Copy the aic8800D80 folder from ./fw to /lib/firmware/:
|
|
|
|
```bash
|
|
sudo cp -r ./fw/aic8800D80 /lib/firmware/
|
|
```
|
|
#### Navigate to the driver directory:
|
|
|
|
Change to the drivers/aic8800 directory:
|
|
|
|
```bash
|
|
cd ./drivers/aic8800
|
|
```
|
|
|
|
#### Compile and Install the Driver:
|
|
|
|
First, compile the driver:
|
|
|
|
```bash
|
|
make
|
|
```
|
|
Then, install the driver:
|
|
|
|
```bash
|
|
sudo make install
|
|
```
|
|
|
|
For any kernel updates, you'll need to reinstall the driver:
|
|
|
|
```bash
|
|
make clean
|
|
make
|
|
sudo make install
|
|
```
|
|
|
|
### Load the Driver
|
|
After installation, load the driver with the following command:
|
|
|
|
```bash
|
|
sudo modprobe aic8800_fdrv
|
|
```
|
|
|
|
### Verify the Module is Active
|
|
Check if the module is loaded correctly:
|
|
|
|
```bash
|
|
lsmod | grep aic
|
|
```
|
|
You should see output similar to:
|
|
|
|
```bash
|
|
aic8800_fdrv 536576 0
|
|
cfg80211 1146880 1 aic8800_fdrv
|
|
aic_load_fw 69632 1 aic8800_fdrv
|
|
usbcore 348160 10 xhci_hcd,ehci_pci,usbhid,usb_storage,ehci_hcd,xhci_pci,uas,aic_load_fw,uhci_hcd,aic8800_fdrv
|
|
```
|
|
|
|
After that, plug in your USB wireless network card.
|
|
|
|
### Verify Wi-Fi Device is Active
|
|
To check if the Wi-Fi interface is recognized, run:
|
|
|
|
```bash
|
|
iwconfig
|
|
```
|
|
If the device is still not active, check the kernel logs for any errors related to the driver:
|
|
|
|
```bash
|
|
sudo dmesg
|
|
```
|
|
|