# BlackShark V2 Pro Linux A Linux app (**SharkControl**) for the **Razer BlackShark V2 Pro** wireless headset (2.4 GHz dongle, USB `1532:0555`). Razer Synapse only runs on Windows and macOS. This gives you the headset's battery and settings on Linux, in a tray icon and a themeable settings window. ![SharkControl, Aero Sky theme](docs/theme-aero-sky.png) | Cyberpunk | Synthwave | |---|---| | ![Cyberpunk theme](docs/theme-cyberpunk.png) | ![Synthwave theme](docs/theme-synthwave.png) | | **Midnight** | **Clean Light** | | ![Midnight theme](docs/theme-midnight.png) | ![Clean Light theme](docs/theme-clean-light.png) | ## Features **Battery** - Battery percentage in the system tray, colour-coded green, orange or red, with a ⚡ while charging and a ✓ once it's fully charged - Low-battery pop-up at 15%, and a one-time "fully charged, you can unplug it" pop-up - `sharkcontrol-battery`, a command-line battery check (`--notify` for a desktop pop-up, `--raw` for debugging) **Headset settings** (saved on the headset itself) - **EQ presets:** Game, Music, Movie, Custom and Esports 1–5 - **Custom 10-band EQ:** drag the dots (or scroll over them), from −12 to +12 dB, with *Flat* and *Restore my original* buttons - **Mic monitoring ("hear yourself"):** on/off and level 1–15 - **Auto power-off:** never, 15, 30, 45 or 60 minutes - **Bluetooth do-not-disturb** - Mic mute status and firmware version **Profiles** - Build profiles with **+ Add profile** (choose the preset, draw a curve, and set monitoring, auto-off and DND) without touching the headset until you apply them - **Save current** stores whatever the headset is set to now - Switch profiles from the window or the tray icon's right-click menu ![Profile builder](docs/profile-builder.png) **Appearance** - Themes: **Aero Sky, Aero Aqua, Aero Sunset, Aero Night** (Frutiger Aero), **Cyberpunk, Synthwave, Midnight, Clean Light** - 11 accent colours, a glass-panel transparency slider, and on/off switches for bubbles/particles, sun rays/scanlines and hills/city - Every change applies live and is remembered ![Appearance settings](docs/appearance.png) ## Supported hardware - **Razer BlackShark V2 Pro (2023)** through its **2.4 GHz USB dongle**, USB ID `1532:0555` Check yours with: ```sh lsusb | grep 1532 ``` Tested on headset **firmware 2.6** with KDE Plasma 6 (Wayland) on an Arch-based distro. Other BlackShark models use different protocols and are not supported. ## Install You need **Python 3** and **PyQt6**: | Distro | Command | |---|---| | Arch / CachyOS / Manjaro | `sudo pacman -S python-pyqt6` | | Fedora | `sudo dnf install python3-pyqt6` | | Debian / Ubuntu / Mint | `sudo apt install python3-pyqt6` | | openSUSE | `sudo zypper install python3-qt6` | Then: ```sh git clone https://github.com/Dalto169/blackshark-v2-pro-linux.git cd blackshark-v2-pro-linux ./install.sh ``` Run it as your normal user. It installs into your home folder (`~/.local/bin`, a menu entry, and a login autostart in the tray). It asks for root **once**, only to add a udev rule (`data/70-razer-blackshark.rules`) that lets your login session talk to the dongle. No kernel driver is installed. Then open **SharkControl** from your app menu. **Tray icon:** KDE Plasma, Cinnamon, XFCE and most desktops show it out of the box. On GNOME you need the *AppIndicator and KStatusNotifierItem Support* extension. ## Uninstall ```sh ./uninstall.sh # keeps your profiles, look settings and EQ backup ./uninstall.sh --purge # removes those too ``` Uninstalling never changes anything on the headset. ## How it works The dongle has a vendor HID interface (usage page `0xFF00`, report ID 2, 64-byte frames). The app sends the same commands Synapse does, through `/dev/hidraw`, from user space. Every setting the app can **change** was tested on real hardware first: the change was made, read back from the headset and heard, then reverted. Safety details: - The custom EQ is only written while the headset is on the **Custom** preset, so other preset slots are never overwritten. - The first time the app connects while you're on Custom, it saves a copy of your curve to `~/.local/share/sharkcontrol/eq-backup-original.json`, so *Restore my original* can always bring it back. - Only one background thread talks to the headset, so commands never overlap. Your profiles and look settings live in `~/.config/sharkcontrol/`. ## Credits The headset protocol (framing, command IDs and the EQ apply sequence) was reverse-engineered by the [OpenRazer](https://github.com/openrazer/openrazer) community. See [openrazer PR #2862](https://github.com/openrazer/openrazer/pull/2862). [blackshark-control](https://github.com/AbdullahSAhmad/blackshark-control) was also a helpful reference. All credit for the protocol goes to them. ## Disclaimer Not affiliated with or endorsed by Razer. Razer and BlackShark are trademarks of Razer Inc. The protocol is reverse-engineered: it works on the hardware and firmware above, but use it at your own risk. ## License [GPL-2.0-or-later](LICENSE)