On Thu, 9 Feb 2023 18:27:26 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 2023-02-09 16:13, Dominique Leuenberger wrote:
On Thu, 2023-02-09 at 10:40 +0100, Carlos E. R. wrote:
On 2023-02-09 07:31, lesco wrote:
Just made "sudo zypper ref && sudo zypper dup" on tumbleweed and found there is no sound (and no "yast2-sound"). My system is alsa-only and I used yast2-sound to switch off pulseaudio on my old-but-still-perfect pci soundcard. Trying to figure out but no success yet.
Try
/usr/lib/YaST2/bin/alsadrivers unload /usr/lib/YaST2/bin/alsadrivers reload
Considering /usr/lib/YaST2/bin/alsadrivers lives/lived in yast2-sound, this tip won't hold up.
The script vanished together with the package.
Oh, of course. I should have known.
(script is archived as part of git of course, yast-sound lived in https://github.com/yast/yast-sound)
Then, what can lesco do?
Well, if you are curious the code is at https://github.com/yast/yast-sound/blob/SLE-15-SP5/src/bin/alsadrivers But as said in original announcement issue with it is that in TW after some changes in kernel it is no longer easy 1:1 mapping of sound card and kernel drivers, so that modprobing is much more tricky and basically yast will need to mimic kernel behavior to know which drivers to use. So options in this case is 1. switch to pipewire 2. stick with old kernel in Leap 15 and use yast2-sound workaround 3. find yourself or with yast2-sound (as long as it live) which modules works in given case and then it should be easy to unload and load it in trivial shell script. 4. report a bug and hopefully get answer from sound maintainer. Josef