generated from lucas/rust-template
A userspace daemon and CLI that implements the control protocol of the Audio Technica AT2020-USBX.
- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .forgejo/workflows | ||
| .omp | ||
| src | ||
| .gitignore | ||
| .renovaterc | ||
| at2020-ctl.service | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| rustfmt.toml | ||
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.