I am running Slackware 9.1 with 2.6.1. I managed to get alsa working however i can only get sound from 1 thing at once, eg if i run XMMS and play a mp3 i won't hear any of the gnome sounds. If i try to start xine it freezes. f i try and play an mp3 while another thing is using ALSA i get a error.
Here is an strace of xine
Code:
read(14, "", 4096) = 0
close(14) = 0
munmap(0x41370000, 4096) = 0
access("/etc/asound.conf", R_OK) = -1 ENOENT (No such file or directory)
access("/home/hegemon/.asoundrc", R_OK) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC0", O_RDONLY) = 14
close(14) = 0
open("/dev/snd/controlC0", O_RDWR) = 14
ioctl(14, USBDEVFS_CONTROL, 0xbfffce60) = 0
ioctl(14, 0x40045532, 0xbfffce88) = 0
open("/dev/snd/pcmC0D0p", O_RDWR
It freezes on that open bit. Is this because of the lack of a asound.conf? I carn't run alsa-conf as it doesn't detect my soundcard, although it still runs fine
I ran the script that came with the kernel designed to make all the directories in /dev that are needed (/usr/src/linux/scripts/MAKEDEV.snd).
I tried stracing amp and didn't see anything, xmms kept spewing messages (regardless of it playing sound or not so i assume it always does that). /dev/snd/pcmC0D0p is RW for all. If I try and play something as a root user while playing something else as a normal user i still get the same problem.