this post was submitted on 26 Aug 2023
37 points (100.0% liked)

Linux

48077 readers
771 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hello everyone, I got a New sound card (Soundblaster g6) and use it under xubuntu 22.04

The problem is that the default settings of the card are not usable for my use case. For example, the capture device is always set to line-in (instead of external mic) whenever i boot or replug the device.

I changed the settings with alsamixer to my likings and stored the .state file in my ~/.config/ folder When i run restore after reboot all is good. Unfortunatley not for long as the cards keeps going back to its default settings once in a while (sometimes every minute)

I try to solve this with a bash script that restores every 60seconds.

My question is how do i make my stored .state file to the default the card resets to? So i dont have to restore every 60 seconds.

you are viewing a single comment's thread
view the rest of the comments
[–] mvirts@lemmy.world 2 points 1 year ago (4 children)

Are you running pulse audio or pipe wire? My best guess is some other software is unaware of the also state and resetting it.

[–] Max_P@lemmy.max-p.me 2 points 1 year ago (2 children)

It's Xubuntu 22.04 so most likely PulseAudio.

Unless you're using Arch or Gentoo or similar distros that come with nothing by default, it's pretty much going to have PA or PW.

I don't understand how people always end up messing with ALSA when we haven't used ALSA directly by default on any mainstream distro for nearly a decade. Especially with PipeWire around, ALSA should essentially treated like a low level API you don't mess with unless you have a kiosk application that's gonna take exclusive direct use of ALSA. Even ALSA plugins like dmix/dsnoop are wildly outdated and buggy with modern applications, if they even still support using ALSA directly. Messing with ALSA is a recipe for pain especially if you're not intimate with it. There's very, very few reasons to do anything with ALSA these days.

The correct solution is to just select the correct profile from the sound menu, or change it from pavucontrol. That's it, it's that simple.

[–] matti@discuss.tchncs.de 1 points 1 year ago (1 children)

I wish it would work with pacucontrol, but it dies not give me the external mic Option for the inputs. Alsa does. See my parallel comment.

[–] mvirts@lemmy.world 2 points 1 year ago

Have you checked the configuration tab on pavucontrol? You can usually change how the card is setup there.

load more comments (1 replies)