Skip to content

Instantly share code, notes, and snippets.

@alexjsteffen
Created December 28, 2024 17:09
Show Gist options
  • Save alexjsteffen/75de687ce9f0d8dddd4e6f9f0d21fc45 to your computer and use it in GitHub Desktop.
Save alexjsteffen/75de687ce9f0d8dddd4e6f9f0d21fc45 to your computer and use it in GitHub Desktop.

AIC8800 Setup Guide

This guide will walk you through the process of setting up the aic8800 device on your Arch Linux system. We'll cover the installation of necessary dependencies, cloning and installing from the GitHub repository, and configuring usb_modeswitch to enable WiFi mode permanently.

Prerequisites

Ensure you have dkms installed on your system. If not, you can install it using the following command:

sudo pacman -S dkms

Installing the AIC8800 DKMS

Follow these steps to clone and install the aic8800 DKMS from the GitHub repository:

  1. Clone the repository:
git clone https://github.com/fqrious/aic8800-dkms
  1. Navigate into the cloned repository:
cd aic8800-dkms
  1. Copy the source files to the appropriate directory:
sudo cp -r src /usr/src/aic8800-1.0.5
  1. Copy the blob files to the appropriate directory:
sudo cp -r blobs/* /usr/lib/firmware/
  1. Install the module using dkms:
dkms install aic8800/1.0.5

Configuring USB Modeswitch

To manually enable the WiFi mode, run the following command:

sudo usb_modeswitch -KW -v a69c -p 5721

You may need to reboot your system for changes to take effect:

sudo reboot

Making USB Modeswitch Permanent on Arch Linux

To make the usb_modeswitch settings permanent, follow these steps:

  1. Create a new file named 40-usb_modeswitch.rules in the /etc/udev/rules.d/ directory:
sudo nano /etc/udev/rules.d/40-usb_modeswitch.rules
  1. Add the following line to the file, then save and exit:
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="a69c", ATTRS{idProduct}=="5721", RUN+="/usr/sbin/usb_modeswitch -KW -v a69c -p 5721"
  1. Reload the udev rules:
sudo udevadm control --reload-rules
  1. Re-insert your USB device or reboot your system to apply the changes.

With these steps completed, your aic8800 device should be set up and ready to use on your Arch Linux system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment