# Drivers

# Xbox Controller

## xone Driver

### Installation
  ```shell
  #Installation:
  dnf copr enable sentry/xone
  dnf install xone lpf-xone-firmware
  lpf approve xone-firmware
  lpf build xone-firmware
  lpf install xone-firmware
  reboot #(this is needed to load the modules)
  ```
### Uninstalling
  ```shell
  #Removal:
  dnf copr disable sentry/xone
  dnf remove xone lpf-xone-firmware xone-firmware
  ```

# AirPlay discovery on Fedora

## Problem
Other laptops, Macs, iPads, or Apple TVs on the same local Wi-Fi network appear as available audio output devices or trigger pop-ups (e.g., in Discord or system settings) asking to switch audio streams.

## Cause
Fedora uses **PipeWire** as its primary audio server. By default, it includes automatic network discovery for **AirPlay / RAOP (Remote Audio Output Protocol)** devices. If a neighbor or classmate has network sharing or AirPlay enabled, PipeWire will automatically detect and list it.

---

## Solutions

### Method 1: Remove the Discovery Package
If you never intend to stream your laptop's audio to an AirPlay receiver, Apple TV, or another computer over Wi-Fi, the cleanest solution is to uninstall the configuration package responsible for it. 

*Note: This will **not** affect local Bluetooth earbuds, speakers, or physical audio devices.*

```bash
sudo dnf remove pipewire-config-raop
```

### Method 2: Disable Discovery via Config File

If you prefer not to uninstall system packages, you can explicitly tell PipeWire to skip loading the RAOP module via a user-level configuration override.

Create the configuration directory:
```bash
mkdir -p ~/.config/pipewire/pipewire.conf.d/
```

Create and open the override file:
```bash
nano ~/.config/pipewire/pipewire.conf.d/disable-raop.conf
```
Paste the following block:
```plaintext
context.properties = {
    module.raop = false
}
```
Apply changes:
```bash
systemctl --user restart pipewire wireplumber
```

# Video Drivers

Recommended by Moonlight:

[RPMFusion Multimedia Howto](https://rpmfusion.org/Howto/Multimedia)

[RPMFusion Configuration - both free and nonfree](https://rpmfusion.org/Configuration)