Skip to content

Instantly share code, notes, and snippets.

View fsimonis's full-sized avatar

Frédéric Simonis fsimonis

View GitHub Profile
@fsimonis
fsimonis / 91-pulseaudio-focusrite.rules
Created February 27, 2021 12:58
Focusrite Scarlett 2i4 pulseaudio profile
# File /lib/udev/rules.d/91-pulseaudio-focusrite.rules
# To get the idVendor and idProduct first unplug the device, then start dmesg -w and plug the device back in. It should show up on the screen.
SUBSYSTEM!="sound", GOTO="pulseaudio_end"
ACTION!="change", GOTO="pulseaudio_end"
KERNEL!="card*", GOTO="pulseaudio_end"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1235", ATTRS{idProduct}=="8200", ENV{PULSE_PROFILE_SET}="focusrite-2i4.conf"
LABEL="pulseaudio_end"