[system] audio: let the session user reach Maono mic controls - #37
Open
neur0map wants to merge 1 commit into
Open
[system] audio: let the session user reach Maono mic controls#37neur0map wants to merge 1 commit into
neur0map wants to merge 1 commit into
Conversation
Maono USB mics (PD400X, DM30, ...) put gain, EQ, compressor, limiter and the monitor mix on a vendor-defined HID page (usage page 0xFF01) rather than the audio interface. The kernel leaves both /dev/hidraw* and the raw USB node root-owned, so a control app running as the user cannot open either one and the mic stays on whatever settings were last written to it elsewhere. Ship 70-ryoku-maono.rules, granting the active-session user access via uaccess with no group setup, the same pattern as 60-ryoku-i2c.rules. The four standard USB-audio controls (mic gain and mute, headphone level and mute) are unaffected; they already worked.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Maono USB mics (PD400X, DM30, and siblings — all vendor
352f) expose theircontrol features on a vendor-defined HID page rather than the audio interface.
From the PD400X's report descriptor:
Gain, EQ, compressor, limiter and the monitor mix all live behind that page. The
kernel leaves the nodes root-owned, so nothing running as the user can open them:
Only four controls reach ALSA over standard USB audio — mic gain and mute,
headphone level and mute — and those already work. Everything else is
unreachable, so the mic keeps whatever settings were last written to it from
Windows or the Android app, with no way to change them on Linux.
This ships
70-ryoku-maono.rules, granting the active-session user access viauaccesswith no group setup, matching the pattern60-ryoku-i2c.rulesalreadyuses for DDC/CI. Scoped to the vendor ID so it covers the range rather than one
model.
Verified on a PD400X with the exact rule this installs:
udevadm verifypasses.This does not make any control software work by itself — there is no
open-source Maono control app, and Maono Link is Windows/macOS/Android only.
It removes the permission barrier that blocks every approach (Wine, a VM
passing the device through, or a native tool if one ever appears).