View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#290
Originally Posted by qole View Post
FINAL EDIT:

I just installed the alsa sound system in a new chroot. First, I had to install some packages:

Code:
apt-get install alsa-base alsa-utils libasound2-plugins alsa-oss
Then I downloaded the attachment below, and unzipped it as root from the Debian chroot prompt:

Code:
[root@Debian: /]tar xzvf /home/user/MyDocs/alsa-files.tar.gz
That does it.


------

Ok, the magic seems to happen in two files. The Debian /etc/asound.conf is the same as our maemo /usr/share/alsa/alsa.conf, and the /usr/share/alsa/alsa.conf is a big file that does some magic stuff that makes things work. I bet it is the default Debian alsa.conf file.

I have attached a tarball of the two files.

Once I copied these files into place, I found I had to issue
Code:
/etc/init.d/alsa-utils start
...this made the new config files take effect.

Hoorah. Finally.

EDIT: I have no idea if those mysterious mixer files have anything to do with anything...
Update:

I needed to get audio working for my new Easy Ubuntu package. I followed these instructions, and I found that there's a new step that I have to add for Ubuntu. Assuming that /ubuntu is the chroot, as root from maemo:

Code:
cp /usr/lib/alsa-lib/libasound_module_ctl_dsp_ctl.so /ubuntu/usr/lib/alsa-lib
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!