You are not logged in.
Pages: 1
Hello everyone,
I am trying to install my new sound card and I need to upgrade the alsa-driver to version 1.0.23 in order to get my Xonar DS to work. I am following the guide here:
http://www.alsa-project.org/main/index. … ule-oxygen
Here is the error I am getting:
[root@archlinux alsa-driver-1.0.23]# ./configure --with-cards=oxygen --with-sequencer=yes ; make ; make install
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/alsa/alsa-driver-1.0.23
checking cross compile...
checking for directory with ALSA kernel sources... ../alsa-kmirror
checking for directory with kernel source... Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
make all-deps
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.23'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.23'
Please, run the configure script as first...
if [ -L /include/sound ]; then \
rm -f /include/sound; \
ln -sf /usr/src/alsa/alsa-driver-1.0.23/include/sound /include/sound; \
else \
rm -rf /include/sound; \
install -d -m 755 -g root -o root /include/sound; \
for f in include/sound/*.h; do \
install -m 644 -g root -o root $f /include/sound; \
done \
fi
install: cannot stat `include/sound/*.h': No such file or directory
make: *** [install-headers] Error 1
It seems like it cant find the kernel source or somthing? I am downloading the only package available so I'm not sure what to do from here. Any hints?
Offline
Install the linux-api-headers.
Offline
I installed linux-api-headers from ABS, and tried the command:
./configure --with-cards=oxygen --with-sequencer=yes ; make ; make install
and still got the same error. Any other ideas?
Offline
kernel26-headers, not linux-api-headers.
I installed linux-api-headers from ABS
Why would you do that? It's a package, pacman -S will get it for you.
Offline
Ok, kernel26-headers got me past that error, but now when I try to insert the modules into the kernel, I get this error:
modprobe snd-oxygen ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; modprobe snd-seq-oss
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.33-ARCH/kernel/sound/acore/snd-page-alloc.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.33-ARCH/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.33-ARCH/kernel/sound/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_oxygen_lib (/lib/modules/2.6.33-ARCH/kernel/sound/pci/oxygen/snd-oxygen-lib.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_oxygen (/lib/modules/2.6.33-ARCH/kernel/sound/pci/oxygen/snd-oxygen.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Offline
Did you run depmod after installing the modules?
Offline
Well I got everything to install sucessfully, (alsa-utils, alsa-driver, alsa-lib) and added snd-oxygen to rc.conf. but now alsamixer wont work. Im pretty sure its recognizing my card now though, based on this output.
lsmod|grep '^snd' | column -t
snd_seq_oss 25592 0
snd_seq_midi_event 4484 1 snd_seq_oss
snd_seq 42283 4 snd_seq_oss,snd_seq_midi_event
snd_oxygen 5217 0
snd_oxygen_lib 24232 1 snd_oxygen
snd_pcm_oss 33341 0
snd_mixer_oss 14747 1 snd_pcm_oss
snd_pcm 58178 2 snd_oxygen_lib,snd_pcm_oss
snd_timer 15886 2 snd_seq,snd_pcm
snd_page_alloc 5841 1 snd_pcm
snd_mpu401_uart 5075 1 snd_oxygen_lib
snd_rawmidi 15400 1 snd_mpu401_uart
snd_seq_device 4601 3 snd_seq_oss,snd_seq,snd_rawmidi
snd 40585 11 snd_seq_oss,snd_seq,snd_oxygen,snd_oxygen_lib,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
But this one doesn't seem right:
ls -l /dev/snd
total 0
crw-rw----+ 1 root audio 116, 1 Apr 24 11:46 seq
crw-rw----+ 1 root audio 116, 33 Apr 24 11:46 timer
Last edited by bubbleman (2010-04-24 19:49:37)
Offline
You want snd-virtuoso for your Xonar DS, not snd-oxygen.
Anyways, I got my DS to work with some tinkering after an hour or so; but I give the credit to luck and frustration. Like you, I have the latest ALSA (1.0.23): alsa-drivers, alsa-lib, alsa-utils. However, nothing was working even with snd-virtuoso. In a self-destructive moment I removed all modules under /lib/modules/2.6.33-ARCH/kernel/sound and rebooted. My DS was detected and worked. I'm assuming that the kernel sound modules were conflicting with those from my compiled alsa-drivers. If you go this route, make some backups; albeit, reinstalling the kernel package should suffice.
Anyways, once kernel 2.6.34 arrives this should not be a problem for the Xonar DS.
Offline
...In a self-destructive moment I removed all modules under /lib/modules/2.6.33-ARCH/kernel/sound and rebooted. My DS was detected and worked. I'm assuming that the kernel sound modules were conflicting with those from my compiled alsa-drivers. If you go this route, make some backups; albeit, reinstalling the kernel package should suffice..
Next time, use lsmod to find the conflicting module(s) and then simply blacklist it in /etc/rc/conf. :)
Offline
The conflicting module had the same name: snd-virtuoso. One provided by the kernel26 package and the other by an alsa-drivers package. Would blacklisting it work in this case?
Offline
today my xonar ds arrived and at first i had the same problems described here.
installing alsa 1.0.23 over pacman was not helping.
i had to download alsa-driver 1.0.23 from http://www.alsa-project.org and compile it the way described here: http://www.alsa-project.org/main/index. … e-virtuoso
dependencies for building is the package "kernel26-headers" (i got it via pacman)
after make, make install i tried to modprobe snd_virtuoso but errors like "symbol not found" appeared.
i decided to reboot and then the card was working !
maybe this post is helping someone.
Offline
The only "alsa 1.0.23" you can get with pacman is alsa-lib/alsa-utils - that's userspace libs and tools, not kernel drivers. Ideally, the build instructions you linked to above should be incorporated into a PKGBUILD so that you can create an Arch package for your driver(s), If you do this correctly, you can also use the 'depmod' command in the post-install script - the missing depmod above is the cause of the 'symbol not found' errors.
Offline
Okay, i like this idea. I'll try to create a PKGBUILD this weekend. It will be my first attempt.
I ran into new troubles with my Asus Xonar.
I am not able to run multiple audio applications. I can only run one, the other programs are sending
an error like "device busy" or "device unavailable". I didnt care about this problem unless i tried
to use some audio creating tools. iam not an alsa expert, but i figured out that hardware mixing
or software mixing is required to handle multiple audio sources. i also figured out, that the asus xonar ds
isnt supporting hardwaremixing (this suprised me, there are many cheaper cards available which does).
alternately one has to use alsas software mixing called "dmix" or so. on the alsa page they say dmix is
enabled by default for cards without hardware mixing. well, it seemed to be deactivated for my card.
has someone a working alsa configuration ( asound.conf ) with dmix enabled for the xonar ds? btw. iam using
digital output but i am capable to adapt an analog conf.
yet i wasnt able to create a working conf for myself. i was trying out a lot of options, but the docs on the alsapage are very confusing to me.
Offline
Pages: 1