Let you key a radio through a CM108 sound card's PTT line
Dire Wolf, Graywolf and others key a radio through a CM108-family sound card (a Digirig, an AIOC) by setting a GPIO pin through its hidraw device, which only root can open otherwise. Dire Wolf's own rule gives it to the audio group, which most Arch users aren't in, and shouldn't need to be. udev/70-hampack-cm108.rules tags those devices uaccess instead, so whoever is at the desktop can use them, as they can the sound card. It matches the devices Dire Wolf 1.8 treats as CM108-compatible, and no other C-Media devices. update.sh installs it in /etc/udev/rules.d when it changes, and reloads and re-applies udev's rules; hampackremove removes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
fee5ce341a
commit
5f15ff3821
@@ -0,0 +1,21 @@
|
||||
# Lets you key a radio through the PTT line on a CM108-family USB sound card
|
||||
# (a Digirig, an AIOC, many homemade interfaces), from Dire Wolf, Graywolf
|
||||
# and other programs. They set a GPIO pin on the sound card through its
|
||||
# hidraw device, which only root can open otherwise. "uaccess" gives the
|
||||
# person logged in at the desktop access to it, as they have to the sound
|
||||
# card itself, without joining the audio group.
|
||||
#
|
||||
# The devices are those Dire Wolf 1.8 treats as CM108-compatible (its
|
||||
# cm108.c GOOD_DEVICE). Installed by HamPack's update.sh, removed by
|
||||
# hampackremove. Numbered below 73 so uaccess is set before
|
||||
# 73-seat-late.rules applies it.
|
||||
|
||||
# C-Media CM108, CM109, CM119 (0008-000f), CM108B (0012), CM119B (0013),
|
||||
# CM108AH (0139), CM119A (013a), CM108AH and HS100 (013c)
|
||||
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0d8c", ATTRS{idProduct}=="000[89a-f]|0012|0013|0139|013a|013c", TAG+="uaccess"
|
||||
|
||||
# SSS1621 and SSS1623
|
||||
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0c76", ATTRS{idProduct}=="1605|1607|160b", TAG+="uaccess"
|
||||
|
||||
# AIOC (All-In-One Cable)
|
||||
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="7388", TAG+="uaccess"
|
||||
Reference in New Issue
Block a user