Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65325 - Skype does not properly detect ESD
Summary: Skype does not properly detect ESD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-25 08:50 UTC by Haplo
Modified: 2005-12-15 06:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Haplo 2004-09-25 08:50:24 UTC
When I run skype it fails to detect esd and runs without sound

changing the skype esdcheck to use ps ax instead of ps x works for me
from
esdcheck=` ps x | grep "esd ." | grep -v grep `
to
esdcheck=` ps ax | grep "esd ." | grep -v grep `
fixes the problem

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




root@inferno /home/haplo # emerge --info
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.7)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlay-freedesktop"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa avi berkdb bitmap-fonts bonobo cdr composite crypt cups
dri dvd eds encode esd evo fbcon foomaticdb gdbm gif gnome gnomedb gphoto2 gpm
gstreamer gtk gtk2 gtkhtml guile hal imlib java jpeg libg++ libwww mad mbox
mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis openal opengl pam
pdflib perl png python qt quicktime readline ruby samba sdl simplexml slang
speex spell sse ssl svga tcltk tcpd tetex theora truetype usb x86 xinerama xml
xml2 xmms xprint xv zlib"
Comment 1 Gustavo Felisberto (RETIRED) gentoo-dev 2004-12-26 14:08:24 UTC
that option will show processes from all users. esd should be running as the user that is running skype. Can you see if that is hapening or what is hapening.
Comment 2 Alexander Skwar 2005-01-01 15:58:25 UTC
No, esd should not neccessiarily be running as the user running skype. For example, I'm also using the /etc/init.d/esound init script, provided with the esound ebuild. 

Because of that, esound is (of course) running as root. Now, since I don't run skype as root, the wrapper script doesn't detect the perfectly fine running instance of esd.

Comment 3 Gustavo Felisberto (RETIRED) gentoo-dev 2005-01-05 08:33:22 UTC
I am changing this. Sorry for the lag, but other changes to skype got my attention. Will be in cvs in a few minutes.
Comment 4 Alexander Skwar 2005-01-05 13:05:32 UTC
Whatever :) As long as there'll finally be a working version, everything's fine *G*

Thanks!
Comment 5 DEMAINE Benoît-Pierre, aka DoubleHP 2005-12-14 07:45:37 UTC
*** REOPEN QUERRY ***

Start esd in a console:

$ esd

then:
dhp@moon:~$ ps ax | grep "esd ."
12893 pts/5    S+     0:00 grep esd .
dhp@moon:~$ ps ax | grep "esd"
 5573 pts/3    SL+    2:14 esd
12941 pts/5    R+     0:00 grep esd

=> actual ebuild does not either detect "my" esd ... since I run it foreground,
no argument.
=> "esd ." fails to match.

Maybe you want to use
|grep -v "grep"|
somewhere ?

hmmm, in fact,
"esd ."
does not either match
$ esd &

but requires at least
$ esd -nobeeps

Please consider that some people may not need arguments, and may like the stupid
beeps at beginning.

*** PLEASE REOPEN ***
Comment 6 DEMAINE Benoît-Pierre, aka DoubleHP 2005-12-15 06:33:11 UTC
*** PLEASE RE-OPEN ***

the rule I quoted also maches

6558 tty1     S+     0:24 /usr/bin/python -O /usr/bin/emerge sys-apps/hotplug
xmms alsa-oss alsa-tools alsaplayer gkrellaclock gkrellm gkrellm-alltraxclock
gkrellm-countdown gkrellm-hddtemp gkrellm-leds gkrellm-plugins gkrellm-radio
gkrellm-reminder gkrellm-sensors gkrellm-themes gkrellm-volume gkrellm-wifi
gkrellm-xkb gkrellmms gkrellmouse gkrellmwireless gkrellweather vlock xlockmore
openssh tightvnc mozilla-firefox mozilla-thunderbird rox-base/rox
rox-base/volume rox-base/mime-editor rox-base/pager rox-extra/archive
rox-extra/clock rox-extra/edit rox-extra/fetch rox-extra/memo grip amule mplayer
xmms-alsa xmms-arts xmms-cdaudio xmms-cdread xmms-esd xmms-fmradio xmms-lirc
xmms-mpg123 xmms-mp3cue xmms-oss xmms-stereo xmms-themes xmms-vorbis xmms-wakeup
xmms-xmmsmplayer xdialog scrot wmtimer e_utils e_modules engage engrave
openoffice -vaN

which is NOT an esd daemon ... thats an other case I just met now, when Skype
launched by the Gentoo script does not work either