| Whenever I have XMMS running on my fedora box and try to play a sound in my windows virtual machine, it says something about being unable to access "/dev/dsp". I found these steps on the Ubuntu forums and modified them to suit a typical Fedora installation. I also modified them slightly to use a custom script rather than move the original vmware script.
- su -
- yum install alsa-oss
- chmod +s /usr/lib/libaoss.so.*
- exit
- mkdir -p ~/bin
- echo '#!/bin/bash' > ~/bin/vmware-alsa
- echo 'LD_PRELOAD=libaoss.so exec `which vmware` "$@"' >> ~/bin/vmware-alsa
- chmod +x ~/bin/vmware-alsa
- echo 'export PATH=$HOME/bin:$PATH' >> ~/.bashrc
Now to use vmware with alsa, run vmware-alsa from the command line and it should work! I tested this with Fedora Core 6 and VMWare Workstation 5.5.3. I'll update this when F7 comes out.
Update 08-06-2007: It works for Fedora 7 and VMWare Workstation 5.5.4.
|
| |
| Magic numbers take on many forms. Often times people try to keep them secret. This magic number I'm telling you about is written in three forms.
The first form: 0x09F911029D74E35BD84156C5635688C0 lets me know up front that this is a hexadecimal number. Hex is a computer geeks way of grouping binary digits together so they are human readable (sort of). Each hex character represents four binary digits and can easily be converted to and from binary. For example: 0x0 is 0000 in binary and 0xF is 1111.
The second form: 09F911029D74E35BD84156C5635688C0 minux the 0x is still obviously hex by the addition of A-F into the mix, but it is not as easily recognizable by a computer.
The last form: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 is how we often write out very large hexadecimal numbers. It's the same thing as putting commas in decimans numbers (i.e. 1,532,362). It makes it easier to read. But why group two digits? Because two hex digits (if you remember) is 8 total bits (4+4=8) and 8 bits is a byte. Every single character you read on your screen (with notable exceptions) takes up a single byte of memory. For example in the middle of the magic number are the hex digits "41". If you were to see this byte in memory, you would know it is most likely representing the capital letter "A".
The question remains: is it illegal to distribute magic numbers such as the one that I put in my post in 3 different forms. I will posit no. In the original sense of copyright, allowing people to copyright a string of only 16 characters (remember each pair of hex digits is a byte and a byte represents a character) would mean that I could copywrite the string "0123456789ABCDEF" or the entirety of the symbols used in the hexadecimal numbering system. |
| |
| I join the rally cry of Nathan, Drew, and Alex... Bring back Xanga and email updates from my buddies!!! |
| |