| 8 Nov 2025 |
null | I'm no guru, but happy to take a look at your config and see if I have any insights | 16:14:56 |
backtail | solved it already, had to switch the device to Pro Audio in pipewire because it didn't happen by default | 16:23:59 |
backtail | I would be interested on how to setup in my config though | 16:24:15 |
jon | In reply to @backtail:matrix.org solved it already, had to switch the device to Pro Audio in pipewire because it didn't happen by default Can you post the code that made this change? | 17:19:40 |
backtail | No code necessary. In pwvucontrol, i had to just enable it manually. | 17:20:53 |
backtail | basically choose Pro Audio for my TR-8 | 17:21:32 |
jon | Thanks, I'll have a look | 17:22:21 |
backtail | However, you have to set it manually every time you reconnect the TR-8, which is quite annoying. So I'm trying to figure out to always set this particular device to Pro Audio by default. | 17:28:10 |
jon | It would be nice if it was declarative | 17:35:45 |
@bandithedoge:matrix.org | you can make this permanent in wireplumber | 17:36:51 |
@bandithedoge:matrix.org | here's how i do it: https://codeberg.org/bandithedoge/dotfiles/src/branch/main/hosts/machine/default.nix#L206-L220 | 17:37:00 |
backtail | Oh wow, thanks! :D | 18:17:01 |
null | Not setting things manually is the whole reason to nix | 18:32:37 |
backtail | It actually ended up not working. It still doesn't get automatically set to Pro Audio | 19:39:02 |
@bandithedoge:matrix.org | are you sure you set the right matching rule for your device? | 19:48:43 |
backtail | Ah, I thought this applies to all USB audio devices that might have a pro audio config | 20:14:45 |
backtail | Yeah, gotta look into that then | 20:14:56 |
| 9 Nov 2025 |
backtail | hm, form some reason I am completely unable to get this working. My wireplumber config is so simple, basically cannot fail, right?
wireplumber.extraConfig = {
"52-roland-tr8-pro-audio"."monitor.alsa.rules" = [
{
matches = [
{ "device.name" = "*TR-8*"; }
];
actions.update-props = {
"device.profile" = "pro-audio";
};
}
];
};
| 21:30:33 |
backtail | wireplumber is also explicity enabled | 21:31:08 |
@bandithedoge:matrix.org | try "~*TR-8*" | 21:34:07 |
@bandithedoge:matrix.org | ~ means regex | 21:34:22 |
@bandithedoge:matrix.org | or better yet, match the entire device.name if possible | 21:34:32 |
backtail | pw-cli tells me that the device name is: device.name = "alsa_card.usb-Roland_TR-8-01" | 21:35:29 |
backtail | aaaag | 21:35:36 |
backtail | ah* | 21:35:40 |
backtail | that makes so much sense | 21:35:51 |
@bandithedoge:matrix.org | wait, device.name? | 21:36:07 |
@bandithedoge:matrix.org | oh you meant node.name | 21:36:25 |
@bandithedoge:matrix.org | but yeah it's probably better to match the entire string instead of regex | 21:36:48 |
backtail | At the end of that device.name is the trailing "-01", so I guess I should probably use regex because that might change if add more stuff | 21:37:42 |