Installation
You are required to supply one firmware file for device use.
1. Install the alsa-base, alsa-utils and build-essential packages:
$ su
# aptitude update && aptitude install alsa-base alsa-utils build-essential
# exit
2. Download cs46xx_image.h from Linus' kernel tree:
$ wget
https://raw.github.com/torvalds/linux/m ... xx_image.h3. Download source code for a program to write out firmware from cs46xx_image.h:
$ wget 'http://wiki.debian.org/snd-cs46xx?action=AttachFile&do=get&target=write_images.c' -O write_images.c
4. Download a patch against cs46xx_image.h:
$ wget 'http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=181;att=0;bug=464197' -O cs46xx_image.diff
5. Apply the patch:
$ patch -i cs46xx_image.diff
6. Compile the write_images program:
$ gcc -o write_images write_images.c
7. Execute the program to write out firmware:
$ ./write_images
8. Install the firmware:
$ su
# mkdir -p /usr/local/lib/firmware/cs46xx
# cp cs46xx/cs46xx-old.fw /usr/local/lib/firmware/cs46xx
9. Reload the snd-cs46xx module:
# modprobe -r snd-cs46xx ; modprobe snd-cs46xx
10. If not already performed, add your user account to the audio group, then log out and log back into your system:
# adduser mack audio
# exit
$ exit
11. Run alsamixer(1) to unmute channels and raise the volume levels.
12. Test the sound device, for example:
$ aplay /usr/share/sounds/alsa/Noise.wav
$ speaker-test -t sine -f 440 -c 2
$ speaker-test -t wav -c 2