Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save zhanwenchen/52059ea1c8865e03d9eb463525eece6b to your computer and use it in GitHub Desktop.

Select an option

Save zhanwenchen/52059ea1c8865e03d9eb463525eece6b to your computer and use it in GitHub Desktop.

Revisions

  1. @ktosiek ktosiek revised this gist Oct 28, 2020. No changes.
  2. @ktosiek ktosiek revised this gist Oct 28, 2020. No changes.
  3. @ktosiek ktosiek revised this gist Jul 9, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion udev 90-astro-50.rules
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # /etc/udev/rules.d/90-astro-50.rules

    # ID 9886:002c is for Astro A50 Gen4
    ACTION=="change", SUBSYSTEMS=="usb", ATTRS{idVendor}=="9886", ATTRS{idProduct}=="002c", ENV{PULSE_PROFILE_SET}="steelseries-arctis-common-usb-audio.conf"
    ACTION=="change", SUBSYSTEMS=="usb", ATTRS{idVendor}=="9886", ATTRS{idProduct}=="002c", ENV{PULSE_PROFILE_SET}="astro-a50-gen4.conf"
  4. @ktosiek ktosiek created this gist Jul 9, 2020.
    31 changes: 31 additions & 0 deletions PA profile-set astro-a50-gen4.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,31 @@
    ; /usr/share/pulseaudio/alsa-mixer/profile-sets/astro-a50-gen4.conf

    [General]
    auto-profiles = yes

    [Mapping analog-voice]
    description = Voice
    device-strings = hw:%f,0,0
    channel-map = left,right
    paths-output = steelseries-arctis-output-chat-common
    intended-roles = phone

    [Mapping analog-voice-input]
    description = Voice
    device-strings = hw:%f,0,0
    channel-map = mono
    paths-input = usb-gaming-headset-input
    intended-roles = phone

    [Mapping analog-game]
    description = Game
    device-strings = hw:%f,1,0
    channel-map = left,right
    paths-output = steelseries-arctis-output-game-common
    direction = output

    [Profile output:analog-voice+output:analog-game+input:analog-voice]
    output-mappings = analog-voice analog-game
    input-mappings = analog-voice-input
    priority = 5100
    skip-probe = yes
    4 changes: 4 additions & 0 deletions udev 90-astro-50.rules
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    # /etc/udev/rules.d/90-astro-50.rules

    # ID 9886:002c is for Astro A50 Gen4
    ACTION=="change", SUBSYSTEMS=="usb", ATTRS{idVendor}=="9886", ATTRS{idProduct}=="002c", ENV{PULSE_PROFILE_SET}="steelseries-arctis-common-usb-audio.conf"