View previous topic :: View next topic |
Author |
Message |
iibtrih n00b
Joined: 04 Feb 2004 Posts: 20
|
Posted: Tue Dec 07, 2004 9:55 am Post subject: alsa & slmodem == dsp busy |
|
|
alsa works quite OK. Then I startup my slmodem deamon, and the dsp is no longer accesible
Code: | audio_setup: Can't open audio device /dev/sound/dsp: Device or resource busy |
This has to to do with the fact that /etc/conf.d/slmodem uses the alsa kernel module. Is there a work around?
Thanks.
PS. A tip on how to get slmodem working change the following in /etc/conf.d/slmodem
Code: |
# The modem hardware slot
# use "modem:0", "modem:1", etc.
#HW_SLOT=modem:0
HW_SLOT=hw:0
|
Last edited by iibtrih on Wed Dec 08, 2004 8:50 am; edited 2 times in total |
|
Back to top |
|
|
iibtrih n00b
Joined: 04 Feb 2004 Posts: 20
|
Posted: Tue Dec 07, 2004 11:39 am Post subject: setup dmix |
|
|
To solve this problem, just make sure your dmix is setup properly.
Change your the line in /etc/mplayer.conf from
to
Here is a copy of my /etc/asound.conf
Code: |
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 8192
# rate 44100 ## messed up totem
}
bindings {
0 0
1 1
}
}
pcm.asymed {
type asym
playback.pcm "dmixer"
capture.pcm "hw:0,0"
}
pcm.dsp0 {
type plug
slave.pcm "asymed"
}
pcm.!default {
type plug
slave.pcm "asymed"
}
pcm.default {
type plug
slave.pcm "asymed"
}
ctl.mixer0 {
type hw
card 0
}
|
|
|
Back to top |
|
|
iibtrih n00b
Joined: 04 Feb 2004 Posts: 20
|
Posted: Wed Dec 08, 2004 8:50 am Post subject: not working |
|
|
My bad , this is still not working |
|
Back to top |
|
|
|