FFFF volume control fixes for arch · Issue #9 · mudkipme/awesome-minisforum-v3 · GitHub
[go: up one dir, main page]

Skip to content

volume control fixes for arch #9

Open

Description

@tandyx

Hiya, dunno if this is the right place to share it, but this repo seems to be a good congregation point for this sorta stuff.

On arch linux, I tried to get the global volume controls to work, but the file location didn't work. after some time I got it to work, but there's probably a better way to do this:

in /etc/wireplumber/wireplumber.conf.d/alsa-soft-mixer.conf:

edit: you need alsa-firmware

sudo pacman -Sy alsa-firmware
monitor.alsa.rules = [
  {
    matches = [
      {
        device.name = "~alsa_card.*"
        # factory.name = "api.alsa.pcm.sink"
      }
    ]
    actions = {
      update-props = {
        # Do not use the hardware mixer for volume control. It
        # will only use software volume. The mixer is still used
        # to mute unused paths based on the selected port.
        api.alsa.soft-mixer = true
      }
    }
  },
  {
  matches = [
      {
        device.name = "~alsa_card.*"
        node.name = "~alsa_input.*"
      }
    ]
    actions = {
      update-props = {
        # mic breaks w/o
        api.alsa.soft-mixer = false
      }
    }

  }
]

Activity

  1. JamiKettunen commented on Jul 15, 2024

    @JamiKettunen
    Contributor

    Are you sure placing the same content in ~/.config/wireplumber/wireplumber.conf.d/alsa-soft-mixer.conf instead doesn't work? Something must be broken with the arch packaging of wireplumber then because that's the per-user configuration drop-in directory and works just fine for me on various distros including Ubuntu 24.10 daily build.

    Nice work on finding a fix for the mic issue though, I think I saw that before when testing and was wondering what was wrong. I plan to look into a proper fix for this in case others aren't since I'd really rather not have to add in any config files to get properly working audio I/O on the tablet :)

    < 64FE /div>
  2. tandyx commented on Jul 15, 2024

    @tandyx
    Author

    Are you sure placing the same content in ~/.config/wireplumber/wireplumber.conf.d/alsa-soft-mixer.conf instead doesn't work? Something must be broken with the arch packaging of wireplumber then because that's the per-user configuration drop-in directory and works just fine for me on various distros including Ubuntu 24.10 daily build.

    Nice work on finding a fix for the mic issue though, I think I saw that before when testing and was wondering what was wrong. I plan to look into a proper fix for this in case others aren't since I'd really rather not have to add in any config files to get properly working audio I/O on the tablet :)

    When I tried to put it in the right folder, nothing seemed to happen, but maybe it's worth revisiting. Yeah, a proper fix would be nice, but thanks for your contributions to this repo, it's really helped me within these past few days.

  3. changed the title [-]volume control fixes[/-] [+]volume control fixes for arch[/+] on Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0