LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-13-2005, 10:55 AM   #1
noteventime
Member
 
Registered: Mar 2005
Location: a small planet in the vicinity of Betelgeuse
Distribution: ArchLinux
Posts: 53

Rep: Reputation: 15
Alsa Debian Sound in more than one app


Hi,
Iv just gor a working Debian "sarge", upgraded to kernel 2.6 and installed ALSA, got ALSA (kinda) working. The sound works but not alsamixer and some other stuff, so i run alsaconf now it works, but if i reboot i have to rerun alsaconf. And i still cant get two applications to use the soundcard att the same time.

lsmod:

Module Size Used by

THIS IS THE ONE FOR MY SOUNDCARD, Soundblaster 16 pci
snd_ens1371 24480 4

gameport 15272 1 snd_ens1371
snd_rawmidi 24960 1 snd_ens1371
snd_seq_device 8748 1 snd_rawmidi
snd_ac97_codec 84120 1 snd_ens1371
snd_pcm_oss 55072 1
snd_mixer_oss 20032 4 snd_pcm_oss
snd_pcm 93608 3 snd_ens1371,snd_ac97_codec,snd_pcm_oss
snd_timer 24676 1 snd_pcm
snd 56580 8 snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 9760 5 snd
snd_page_alloc 9956 1 snd_pcm
ipv6 262880 10
af_packet 22248 2
tsdev 7872 0
mousedev 11840 1
evdev 9792 0
floppy 60244 0
pcspkr 3364 0
8139cp 20768 0
via686a 20536 0
i2c_sensor 3360 1 via686a
i2c_viapro 8016 0
i2c_core 21840 3 via686a,i2c_sensor,i2c_viapro
pci_hotplug 28628 0
amd_k7_agp 8940 1
usbhid 36576 0
uhci_hcd 32208 0
usbcore 122588 3 usbhid,uhci_hcd
8139too 26304 0
mii 5760 2 8139cp,8139too
parport_pc 36772 0
parport 37128 1 parport_pc
nvidia 3922076 12
agpgart 35688 2 amd_k7_agp,nvidia
psmouse 31396 0
ide_cd 43236 0
cdrom 40672 1 ide_cd
ext3 142120 1
jbd 56984 1 ext3
mbcache 9316 1 ext3
ide_disk 18752 3
ide_generic 1216 0 [permanent]
via82cxxx 13884 0 [permanent]
trm290 4260 0 [permanent]
triflex 3712 0 [permanent]
slc90e66 5728 0 [permanent]
sis5513 16552 0 [permanent]
siimage 12480 0 [permanent]
serverworks 9096 0 [permanent]
sc1200 7360 0 [permanent]
rz1000 2464 0 [permanent]
piix 10372 0 [permanent]
pdc202xx_old 11232 0 [permanent]
opti621 4388 0 [permanent]
ns87415 4296 0 [permanent]
hpt366 20448 0 [permanent]
hpt34x 5184 0 [permanent]
generic 3840 0 [permanent]
cy82c693 4740 0 [permanent]
cs5530 5376 0 [permanent]
cs5520 4608 0 [permanent]
cmd64x 11964 0 [permanent]
atiixp 5936 0 [permanent]
amd74xx 14428 0 [permanent]
alim15x3 12332 0 [permanent]
aec62xx 7392 0 [permanent]
pdc202xx_new 9312 0 [permanent]
ide_core 130708 28 ide_cd,ide_disk,ide_generic,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1 000,piix,pdc202xx_old,opti621,ns87415,hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,amd 74xx,alim15x3,aec62xx,pdc202xx_new
sd_mod 19696 0
ata_piix 9700 0
libata 49668 1 ata_piix
scsi_mod 138824 2 sd_mod,libata
unix 28016 400
fbcon 40000 0
tileblit 2272 1 fbcon
font 8224 1 fbcon
bitblit 5984 1 fbcon
vesafb 8024 0
cfbcopyarea 3936 1 vesafb
cfbimgblt 2880 1 vesafb
cfbfillrect 4192 1 vesafb
softcursor 2240 1 vesafb
capability 4648 0
commoncap 6976 1 capability
 
Old 08-14-2005, 03:57 AM   #2
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Hi,

To set up alsa settings for future reboots : alsactl store
For it to work under 2 applications : I don't know. It's the same here, sorry.

regards
 
Old 08-14-2005, 04:14 AM   #3
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Code:
pcm.dmix0 {
    type dmix
    ipc_key 673138
    slave {
        pcm "hw:0,0"
        rate 48000
        period_time 80000
        buffer_time 320000
        period_size 4096
        buffer_size 16384
    }
    bindings {
        0 0
        1 1
    }
}
# 'dsp0' is espected by OSS emulation etc.
pcm.dsp0 {
    type plug
    slave.pcm "dmix0"
}
ctl.dsp0 {
    type hw
    card 0
}
pcm.!default {
    type plug
    slave.pcm "dmix0"
}
ctl.!default {
    type hw
    card 0
}
Make this your ~/.asoundrc file.
 
Old 08-16-2005, 06:14 PM   #4
noteventime
Member
 
Registered: Mar 2005
Location: a small planet in the vicinity of Betelgeuse
Distribution: ArchLinux
Posts: 53

Original Poster
Rep: Reputation: 15
Ok i fixed it, the problem was that i loaded a module called ens1371 when i removed it from /etc/modules everything worked.

Last edited by noteventime; 08-17-2005 at 08:26 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sarge debian alsa sound problem lvgandhi Debian 3 06-11-2005 12:35 PM
Sound Problem (alsa, debian 2.6) DATA_OK Linux - Software 3 10-23-2004 12:45 AM
ALSA sound on more than one app at a time ElPuello Linux - Hardware 4 09-06-2004 05:25 AM
debian: alsa started but no sound... joe0815 Linux - Hardware 3 04-21-2004 03:21 PM
Debian, ALSA, AC97 = no sound Caidence Linux - Hardware 2 07-24-2003 02:52 PM


All times are GMT -5. The time now is 06:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration