First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 97078
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo VMWare Bug Squashers <vmware@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jean-Christophe Choisy <eltino@nullctl.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
vmwaredsp-1.3.ebuild app-emulation/vmwaredsp-1.3.ebuild text/plain Peter Hyman 2005-10-11 14:03 0000 1.79 KB Details
vmwaredsp-1.3-r1.ebuild vmwaredsp-1.3-r1.ebuild text/plain Alessio D'Ascanio 2006-03-16 13:59 0000 1.95 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 97078 depends on: Show dependency tree
Bug 97078 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-06-25 16:42 0000
This is not really a bug report, more like an ebuild request. Currently, it is 
impossible to use vmware with sound at the same time as arts or esd running. 
This makes it impossible to use vmware fully in neither gnome nor kde. 
 
A solution exists, it's called vmwaredsp, from the same guy who does the 
any-any thingy already included in vmware ebuilds. 
 
I looked at it, and it's very simple, the tarball is only 51kb including 
source and prebuild bins. I suppose it would be really easy to make an ebuild 
out of it, but I'm sadly unable to do so right now, as I know nothing about 
proper ebuild writting. 
 
Is anyone interested? Thanks in advance... 

Reproducible: Always
Steps to Reproduce:
1. Use vmware while running arts or esd 
Actual Results:  
VMWare can't make use of /dev/dsp, hence no sound. 

Expected Results:  
We should be able to have sound inside vmware, even when using arts or esd. 

Here is the url to the latest vmwaredsp : 
http://ftp.cvut.cz/vmware/vmwaredsp-1.3.tar.gz

------- Comment #1 From Peter Hyman 2005-10-11 14:03:01 0000 -------
Created an attachment (id=70416) [edit]
app-emulation/vmwaredsp-1.3.ebuild

Poor man's attempt at recreating the runme.sh script included with the tar
file. While there IS source included, compiling it is a pain, due to a lot of
if's with libraries, architectures, include locations, etc. I tried to limit
the install based on system architecture. If arch is x86 ONLY, the 32 bit
libraries ONLY are installed. If arch is amd64 or ia64, then the 64 bit
libraries ONLY are installed. The maintainers may wish to alter the code for
determining the architecture and decide if they wish to compile the sources.
NOTE: the libvmdsp.so file must be setuid in order to work. I know this is a
gentoo no-no, but I had to do it. You could take it out and add an ewarn in the
post_inst function. Also, even though I set permissions in src_install, the
ebuild script still insists on doing the prepall script. I can't figure out how
NOT to have it duplicated. Anyway, the emerge process wrecks the permissions of
libvmdsp.so to make it unusable, so I had to kludge it back in pkg_postinst. I
hope this works and helps out some people. Feel free to add no ARCHs and let's
see if we can make this work for more people.

------- Comment #2 From Peter Hyman 2005-10-12 09:00:21 0000 -------
sorry about the earlier typos. "Feel free to add no ARCHs" s/b NEW ARCHs. Ugh.
Also, bug submitter or maintainer may wish to change the KEYWORD to EBUILD since
one has been submitted. As a matter of education, how does one stop the prepall
script from running during the install process? I tried adding it to RESTRICTED,
but it seemed to have no effect. The end part of the emerge is really ugly
changing the perms of libvmdsp.so again to 4444. I look forward to seeing this
improved on and any comments. Thx

------- Comment #3 From Chris Gianelloni (RETIRED) 2005-10-12 10:51:59 0000 -------
Changed.  You guys don't need to email me.  I get bug emails.

------- Comment #4 From Jan Lange 2005-12-23 15:17:36 0000 -------
Hi,

i have test vmwaredsp (vmwarearts) with 5.5.1.19175, but it don't work for me.

Error: Could not open /dev/dsp

Greetings Jan

------- Comment #5 From Alessio D'Ascanio 2006-03-16 13:59:25 0000 -------
Created an attachment (id=82316) [edit]
vmwaredsp-1.3-r1.ebuild

* added a rudimental sound server selection (arts and esd IUSE)

------- Comment #6 From Sven 2006-03-20 16:33:17 0000 -------
no alsa support? or only alsa via esd?

------- Comment #7 From Chris Gianelloni (RETIRED) 2006-09-28 07:11:47 0000 -------
I added my own ebuild for this to the tree.  It doesn't use the binaries, at
all.

------- Comment #8 From Thomas Juerges 2008-10-15 05:34:32 0000 -------
Sorry that I stumbled over this bug so late.  Some time ago I wrote the ALSA
part for vmwaredsp.  It is available from:
https://www.sokrates.homelinux.net/~thomas/Wiki/index.php?n=Thomas.MiscellaneousStuff#toc2
 The driver is a bit rudimentary but plays some tunes quite nicely.  It has
problems as soons as different sampling rates are involved at the same time. 
Anyway, it is a start.  Feel free to add the driver to Gentoo if you think it
is worth it.  But be aware that I cannot maintain it anymore because I switched
over to Linux on a PowerPC-G4 for that no VmWare is available.

Enjoy,
    Thomas

First Last Prev Next    No search results available      Search page      Enter new bug