Richard Fish: > On 11/4/06, Sergio Polini <[EMAIL PROTECTED]> wrote: > > Sound does not work. Sometimes (not always) I get a message > > like "cannot connect to /dev/dsp". > > Even if I do not get that message, even if the sound card looks > > connected (no red "x") sound is not working. > > I've found a VMWare document about a wrapper: > > The problem is that /dev/dsp is the legacy OSS api, and does not > support dmix (software mixing of audio). Thus only one application > can access /dev/dsp at a time unless your card supports hardware > mixing. So most likely, /dev/dsp is already in use by some app.
alsasound? kde? even if I have "auto-suspend" enabled? > The workaround to this is to use a wrapper such as aoss or > vmware-dsp that fakes out the application when it tries to open > /dev/dsp and uses another audio API instead (alsa for aoss, esd or > artsd for vmware-dsp). > > http://kb.vmware.com/vmtnkb/search.do?cmd=displayKC&docType=kc&exte >rnalId=1611&sliceId=SAL_Public > > > but it looks suited for versions 3.x, 4.x, and 5.0.x. > > Moreover, I've installed it and got: > > FYI, there is an ebuild available for this...emerge vmare-dsp. Oops! ;-) It emerged app-emulation/emul-linux-x86-soundlibs-2.3 too (Im running Gentoo AMD64), but then: 01:56:32 (200.82 KB/s) - `/usr/portage/distfiles/vmwaredsp-1.3.tar.gz' saved [52412/52412] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking vmwaredsp-1.3.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking vmwaredsp-1.3.tar.gz to /var/tmp/portage/vmware-dsp-1.3/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/vmware-dsp-1.3/work/vmwaredsp-1.3 ... * Building aRts support only. make -C 32 default make[1]: Entering directory `/var/tmp/portage/vmware-dsp-1.3/work/vmwaredsp-1.3/src/32' cc -c -W -Wall -O2 -fPIC -o vmdsp.o ../vmdsp.c cc -shared -Wl,-version-script=../vmdsp.map -o libvmdsp.so vmdsp.o -lpthread -ldl -lc /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: libvmdsp.so: undefined versioned symbol name [EMAIL PROTECTED] /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: failed to set dynamic section sizes: Bad value collect2: ld returned 1 exit status make[1]: *** [libvmdsp.so] Error 1 rm vmdsp.o make[1]: Leaving directory `/var/tmp/portage/vmware-dsp-1.3/work/vmwaredsp-1.3/src/32' make: *** [default] Error 2 !!! ERROR: app-emulation/vmware-dsp-1.3 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile vmware-dsp-1.3.ebuild, line 58: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. :-( > > [sp ~]$ ERROR: ld.so: object 'libvmdsp.so' from LD_PRELOAD cannot > > be preloaded: ignored. > > What does ldd /usr/lib/libvmdsp* report? (or whatever directory > libvmdsp got installed to..) >From my former install (1611_fvmwaredsp-1.3.tgz): testing ~ # ldd /usr/lib/libvmdsp.so ldd: warning: you do not have execution permission for `/usr/lib/libvmdsp.so' libpthread.so.0 => /lib/libpthread.so.0 (0x00002b944790f000) libdl.so.2 => /lib/libdl.so.2 (0x00002b9447a25000) libc.so.6 => /lib/libc.so.6 (0x00002b9447b29000) /lib64/ld-linux-x86-64.so.2 (0x0000555555554000) > PS:The real fix for this is for VMWare to *stop* using the > deprecated OSS API for sound, and implement real ALSA > compatibility. I highly recommend sending this request to them! Sure, but first I'ld like to get sound working ;-) Thanks Sergio -- [email protected] mailing list

