I have just performed a kernel update in yast>manage software. After i did this the sond stopped working. I have tried re-installing alsa but that had no success. Now when i try to reconfigure the sound card in yast>sound, it tell’s me that the module snd-virtuoso could not be found. I have also tried manually compiling alsa, but the compiler errors out with:
/home/Download/alsa-driver-1.0.25/include/vmalloc.h: vzalloc.h was declared here Error2
My sound card is an Asus Xonar DS 7.1 PCI, the machine is AMD Athlon II X3, 4GB ram, with Opensuse 12.2 64bit
Interesting. There is a way to tell if your kernel has snd-virtuoso configured as a module. Run this command and post the output here.
cat /boot/config-`uname -r` | grep VIRTUOSO
Mine says “CONFIG_SND_VIRTUOSO=m” which should be correct. If you do have it as a module, the next step is to load it. Try running modprobe snd-virtuoso and then configuring the sound card again using yast. Does it say the same error? If it works now, you might just have to start the module snd-virtuoso on boot manually. So create a file in modules-load.d called alsa-virtuoso.conf. To do so (as root terminal):
nano /etc/modules-load.d/alsa-virtuoso.conf
And place inside:
# Load module snd-virtuoso
snd-virtuoso
That should sort it on a reboot, please post if not. Or ask questions beforehand if you do not understand a step.
And this is what i get when i run modprobe snd-virtuoso:
beliskner:/home/Thor # modprobe snd-virtuoso
FATAL: Module snd_virtuoso not found.
I may be mistaken but by this i understand it finds an entry for that module but it really doesn’t exist at the supposed location.
I am thinking that i will need to recompile alsa. But i am not sure in what order i should compile alsa driver firmware etc. and also don’t know how to get passed that error. I get this when i try to make:
ake[2]: Leaving directory /home/Thor/Downloads/alsa-driver-1.0.25/firewire' make[1]: Leaving directory /home/Thor/Downloads/alsa-driver-1.0.25’
make -C /lib/modules/3.4.11-2.16-desktop/build SUBDIRS=/home/Thor/Downloads/alsa-driver-1.0.25 CPP=“gcc -E” CC=“gcc” modules
make[1]: Entering directory /usr/src/linux-3.4.11-2.16-obj/x86_64/desktop' CC [M] /home/Thor/Downloads/alsa-driver-1.0.25/acore/hrtimer.o In file included from /home/Thor/Downloads/alsa-driver-1.0.25/acore/hrtimer.c:1:0: /home/Thor/Downloads/alsa-driver-1.0.25/include/adriver.h:1945:21: error: static declaration of ‘vzalloc’ follows non-static declaration In file included from /usr/src/linux-3.4.11-2.16/arch/x86/include/asm/io.h:195:0, from /usr/src/linux-3.4.11-2.16/arch/x86/include/asm/trampoline.h:7, from /usr/src/linux-3.4.11-2.16/arch/x86/include/asm/acpi.h:32, from /usr/src/linux-3.4.11-2.16/arch/x86/include/asm/fixmap.h:19, from /usr/src/linux-3.4.11-2.16/arch/x86/include/asm/apic.h:13, from /usr/src/linux-3.4.11-2.16/arch/x86/include/asm/smp.h:13, from /usr/src/linux-3.4.11-2.16/arch/x86/include/asm/mmzone_64.h:10, from /usr/src/linux-3.4.11-2.16/arch/x86/include/asm/mmzone.h:4, from /usr/src/linux-3.4.11-2.16/include/linux/mmzone.h:857, from /usr/src/linux-3.4.11-2.16/include/linux/gfp.h:4, from /usr/src/linux-3.4.11-2.16/include/linux/kmod.h:22, from /usr/src/linux-3.4.11-2.16/include/linux/module.h:13, from /home/Thor/Downloads/alsa-driver-1.0.25/include/adriver.h:63, from /home/Thor/Downloads/alsa-driver-1.0.25/acore/hrtimer.c:1: /usr/src/linux-3.4.11-2.16/include/linux/vmalloc.h:55:14: note: previous declaration of ‘vzalloc’ was here make[5]: *** [/home/Thor/Downloads/alsa-driver-1.0.25/acore/hrtimer.o] Error 1 make[4]: *** [/home/Thor/Downloads/alsa-driver-1.0.25/acore] Error 2 make[3]: *** [_module_/home/Thor/Downloads/alsa-driver-1.0.25] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory /usr/src/linux-3.4.11-2.16-obj/x86_64/desktop’
make: *** [compile] Error 2
beliskner:/home/Thor/Downloads/alsa-driver-1.0.25 #
Before first trying to compile i did try uninstalling and reinstalling from yast but that didn’t help.
The vmalloc.h does exist in the destination folder. Any idea is welcomed. Thank you
If I run modprobe snd-virtuoso on my system it works. What kernel are you running? Perhaps try the kernel-default and see if that works for you as that is what I am running.