LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-28-2004, 07:54 AM   #1
Hegemon
Member
 
Registered: Jan 2002
Location: Australia
Distribution: Gentoo
Posts: 103

Rep: Reputation: 15
2.6.1, ALSA only allowing 1 sound at once


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.
 
Old 01-28-2004, 08:47 AM   #2
enigmasoldier
Member
 
Registered: Jul 2003
Location: Florence, Ky
Distribution: CentOS 3.3-4, OpenBSD 3.3, Fedora Core 4, Ubuntu, Novell Open Enterprise Server
Posts: 213

Rep: Reputation: 30
Read this:

http://lists.debian.org/debian-user/.../msg07973.html

that looks like the answer to your problem
 
Old 01-29-2004, 12:23 AM   #3
Hegemon
Member
 
Registered: Jan 2002
Location: Australia
Distribution: Gentoo
Posts: 103

Original Poster
Rep: Reputation: 15
Ah thanks, looks like it needs an extra program running but i guess if it get the job done =)
Still a bit weird that i carn't run alsa-conf.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alsa sound *jumpy*: alsa-space: xrun of at least 11.449 msecs. resetting stream qwijibow Linux - General 6 04-22-2006 07:35 PM
ALSA not working for Creative Sound Blaster Live 24 Bit sound card vishalsonu Linux - Hardware 7 08-20-2005 01:02 PM
[ALSA 1.0.9b-4] No more sound, no more alsa-utils package Creak Debian 5 08-18-2005 04:22 PM
ALSA only allowing 1 sound at once?? matrixrabbit Linux - Hardware 8 06-05-2004 09:18 PM
Can I load both oss (kernel sound drivers) and alsa in 2 sound cared system? cmisip Linux - General 0 04-12-2003 01:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration