| View previous topic :: View next topic |
| Author |
Message |
doublehp Guru


Joined: 11 Apr 2005 Posts: 398 Location: FRANCE
|
Posted: Sun May 01, 2005 2:34 pm Post subject: cant run esd+arts at the same time |
|
|
when I was using Debian, I could run esd and arts at the same time as user on my box.
My card does _NOT_ supports multiplexing, but I have the following .asoundrc:
| Code: | pcm.dmix0 {
type dmix
ipc_key 13759
slave {
pcm "hw:0,0"
period_time 0
period_size 128
buffer_size 2048
format S16_LE
rate 48000
}
}
pcm.!default {
type asym
capture.pcm "dsnoop0"
playback.pcm "dmix0"
}
ctl.!default {
type hw
card 0
}
pcm.dsp0 {
type asym
capture.pcm "dsnoop0"
playback.pcm "dmix0"
}
ctl.dsp0 {
type hw
card 0
}
ctl.mixer0 {
type hw
card 0
}
########################################################################
pcm.asym0 {
type asym
capture.pcm "dsnoop0"
playback.pcm "dmix0"
}
pcm.dsnoop0 {
type dsnoop;
ipc_key 13758;
ipc_key_add_uid yes
slave {
pcm "hw:0,0"
period_time 0
period_size 128
buffer_size 2048
format S16_LE
rate 48000
}
} |
of course I am using ALSA on both systems ...
strace esd:
[/code]futex(0xb7ebb060, FUTEX_WAKE, 2147483647) = 0
access("/etc/asound.conf", R_OK) = -1 ENOENT (No such file or directory)
access("/home/dhp/.asoundrc", R_OK) = 0
open("/home/dhp/.asoundrc", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1803, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe8000
read(5, "#(01:13:14) doneill: should be t"..., 4096) = 1803
read(5, "", 4096) = 0
read(5, "", 4096) = 0
close(5) = 0
munmap(0xb7fe8000, 4096) = 0
open("/dev/snd/controlC0", O_RDONLY) = 5
close(5) = 0
open("/dev/snd/controlC0", O_RDWR) = 5
ioctl(5, USBDEVFS_CONTROL, 0xbfffe4fc) = 0
ioctl(5, 0x40045532, 0xbfffe524) = 0
open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK) = -1 EBUSY (Device or resource busy)
close(5) = 0
unlink("/tmp/.esd/socket") = 0
rmdir("/tmp/.esd") = 0
exit_group(2) = ?[/ćode]
when alsa was started with
I have also seen that under Gentoo, when I run just esd, as soon as the client exits, esd falls.
| Code: | root@mercure:~# emerge esound arts -vp
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] media-sound/esound-0.2.34 +alsa +ipv6 +tcpd 0 kB
[ebuild R ] kde-base/arts-3.4.0 +alsa +arts -artswrappersuid -debug +esd -hardened -jack -kdeenablefinal +mad +oggvorbis -xinerama 0 kB
|
_________________ DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png |
|
| Back to top |
|
 |
Maedhros Bodhisattva


Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Sun May 01, 2005 5:27 pm Post subject: |
|
|
Moved from Installing Gentoo. _________________ No-one's more important than the earthworm. |
|
| Back to top |
|
 |
doublehp Guru


Joined: 11 Apr 2005 Posts: 398 Location: FRANCE
|
|
| Back to top |
|
 |
|
|
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
|
|