Created
January 24, 2015 01:18
-
-
Save coolacid/025e0bd1370d5489d9e4 to your computer and use it in GitHub Desktop.
Set description of a USB sound card
This file contains 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
This expects that you might have multiple USB sound cards that are the same type like I have. | |
Start out by finding the ATTRS{devpath} value: | |
udevadm info --attribute-walk /dev/snd/by-id/[DEVICE] | grep devpath | grep ATTRS | head -1 | |
Create a udev rules file in /etc/udev/rules.d (such as 98-audiocards.rules) and add a line matching the devpath from above: | |
SUBSYSTEMS=="usb", ATTRS{devpath}=="2.1.1", ENV{SOUND_DESCRIPTION}="Mixer" | |
You may also want to tweak, SOUND_FORM_FACTOR and PULSE_PROFILE_SET - Google is your friend here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment