The following is an exercise for my class:
Redirect mouse device into a file.
sudo cat /dev/input/mice > rawmouse.data
Move the mouse a bit and then type CONTROL-C.
Note that on some distro's you'll need to sudo to bypass device files' restricted permissions.
Now, cat that file to the sound card.
cat rawmouse.data > /dev/dsp
Sounds horrible, doesn't it.
So that's how we make sound, by throwing bytes at the sound card.
I follow those directions, but it remains silent.. Any ideas why?
Note: I am running Ubuntu 10.10, and my sound is at max volume.