Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
alsa & slmodem == dsp busy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
iibtrih
n00b
n00b


Joined: 04 Feb 2004
Posts: 20

PostPosted: Tue Dec 07, 2004 9:55 am    Post subject: alsa & slmodem == dsp busy Reply with quote

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
View user's profile Send private message
iibtrih
n00b
n00b


Joined: 04 Feb 2004
Posts: 20

PostPosted: Tue Dec 07, 2004 11:39 am    Post subject: setup dmix Reply with quote

To solve this problem, just make sure your dmix is setup properly.

Change your the line in /etc/mplayer.conf from
Code:
# ao=oss

to
Code:
ao=alsa9:default


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
View user's profile Send private message
iibtrih
n00b
n00b


Joined: 04 Feb 2004
Posts: 20

PostPosted: Wed Dec 08, 2004 8:50 am    Post subject: not working Reply with quote

My bad :oops:, this is still not working :?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum