A userspace daemon and CLI that implements the control protocol of the Audio Technica AT2020-USBX.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lucas Schwiderski 16468a1367
All checks were successful
pr / test (push) Successful in 1m37s
pr / check (push) Successful in 1m58s
Merge pull request 'Implement initial version' (#3) from feat/initial-version into master
Reviewed-on: #3
2026-11-15 16:40:06 +01:00
.forgejo/workflows fix(ci): Install dependencies in CI 2026-11-15 16:27:40 +01:00
.omp Initial commit 2026-11-15 13:26:52 +01:00
src chore: Remove unused value 2026-11-15 16:29:09 +01:00
.gitignore Initial commit 2026-11-15 13:26:52 +01:00
.renovaterc chore: Improve renovate config 2026-11-15 16:13:08 +01:00
at2020-ctl.service feat: Add simple systemd service 2026-11-15 16:13:07 +01:00
Cargo.lock feat: Implement PipeWire daemon 2026-11-15 16:13:06 +01:00
Cargo.toml feat: Implement PipeWire daemon 2026-11-15 16:13:06 +01:00
LICENSE Initial commit 2026-11-15 13:26:52 +01:00
README.md feat: Implement basic actions 2026-11-15 16:13:04 +01:00
rustfmt.toml Initial commit 2026-11-15 13:26:52 +01:00

AT2020 control

A userspace daemon and CLI that implements the control protocol of the Audio Technica AT2020-USBX. This allows actions such as mute/unmute or querying device status.

Requirements

The HID device is typically not user-accessible. Create the following udev rule to allow user access:

/etc/udev/rules.d/70-at2020usb-x.rules:

KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0909", ATTRS{idProduct}=="0052", TAG+="uaccess"

Apply it with

sudo udevadm control --reload-rules
sudo udevadm trigger --subsystem-match=hidraw

and re-connect the device once.