Skip to content

Instantly share code, notes, and snippets.

@CommanderAlchemy
Created September 2, 2013 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CommanderAlchemy/6411567 to your computer and use it in GitHub Desktop.
Save CommanderAlchemy/6411567 to your computer and use it in GitHub Desktop.
Asus Xonar Essence STX udev rule. This detects the Asus Xonar Essence STX soundcard and sets the asus-xonar-essence-stx pulseaudio profile-set and enables few more features that this card has. More exactly adds S/PDIF as a sink while having the analog enabled. # Removed ! statements for debugging, had issues. Had no time to recheck if those are …
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
#SUBSYSTEM="sound", GOTO="pulseaudio_end"
#ACTION="change", GOTO="pulseaudio_end"
#KERNEL="card*", GOTO="pulseaudio_end"
ACTION=="change", SUBSYSTEM=="sound", KERNEL=="card*", \
ATTRS{subsystem_vendor}=="0x1043", ATTRS{subsystem_device}=="0x835c", ENV{PULSE_PROFILE_SET}="asus-xonar-essence-stx.conf"
#LABEL="pulseaudio_end"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment