Latest update 11/27/2008
Latest Alsa upgrade script update 11/12/2008 Rev. 1.12
Latest uxchecker script update 11/16/2008 Rev. 1.05
Latest Alsa-Package update: 11/12/2008 (1.0.18a)
BACKGROUND:
The main idea of upgrading ALSA (the mainline Linux sound layer including all soundcard drivers) with attached script,
it is the delay of updates through official channels in the range of at least half a year.
You can imagine that half a hear means a lot in this fast moving soundcard business.
Especially people buying new machines can't wait half a year to get their soundcards going.
GENERAL REMARK (my personal point of view):
Some general comments to ALSA or better Linux Audio and the partial lack of soundcard or soundcard feature support:
ALSA's sometimes limited or restricted soundcard support is first of all a soundcard industry problem and second a resource
shortage of the ALSA-team.
Many card manufactures neither offer interface descriptions to ALSA, nor they're getting involved in developing the drivers.
This might have to do something with "opensource only" at ALSA.
I don't really understand why it is so difficult to handle soundcard drivers the same way as done with GPU drivers such as fglrx from AMD.
There is a way to get proprietary closed-source drivers in place. OSS - an ALSA alternative - from 4-Front-Technologies.
For a very limited number of soundcards (e.g. Lynx cards) they offer proprietary non-open drivers.
Beside that ALSA is always looking for serious volunteers to be able to cope with the high demands arising from a continuous technology evolution and permanently growing number of (non-)standardized soundcards, countless distributions and kernels.
I personally hope that due to the power of the fast growing number of Linux users and also PC manufacturers this situation might improve
in the future.
UPGRADE:
Disclaimer:
The script is currently not in line with Debian/Ubuntu rules for package handling. It just overwrites existing files.
You won't see a change on the ALSA package-id within Synaptic!
It is gonna be difficult to rollback to the original. You might try to reinstall your kernel-image and headers and all ALSA packages from Synaptics
if you experience problems. However, usually the script recognizes severe problems and won't mess up your setup. If the script stops with an
error-message nothing should have been touched!
Ubuntu upgrades/updates might overwrite your manual installation once in a while (e.g. kernel-upgrades or ALSA-package upgrades).
You just need to rerun the upgrade-script with the -i option in this case.
Major upgrades can also overwrite some important configuration files such as /etc/modprobe.d/alsa-base.
You need to restore your old configuration manually in this case. Keep always a copy of your modified alsa-base file!
I won't take any responsibility for mess-ups by using the scripts!
However - I do my best to avoid these.
I also rely on your support to improve the script and really appreciate your involvement.
The current script supports
Alsa 1.0.18a (stabil)
See changelog:
http://www.alsa-project.org/main/ind....0.18_v1.0.18a
and
Ubuntu kernels: 2.6.24, 2.6.26, 2.6.27 family (including rt-kernel & ZEN-kernel)
Temporary Restriction:
11/16/2008: Ubuntu 8.04 with kernel 2.6.24-xx: latest alsa-drivers 1.0.18a won't compile on 2.6.24-x kernel familiy !!! ),
For now, you can use a preliminary workaround
http://ubuntuforums.org/showpost.php...9&postcount=65 .
As soon as I know at what date an official update can be expected, I'll let you know.
Supported packages:
ALSA 1.0.18a
DRIVER=alsa-driver-1.0.18a
FIRMWARE=alsa-firmware-1.0.17
LIB=alsa-lib-1.0.18
PLUGINS=alsa-plugins-1.0.18
UTILS=alsa-utils-1.0.18
TOOLS=alsa-tools-1.0.18
OSS=alsa-oss-1.0.17
Compare above list with
http://www.alsa-project.org/main/index.php/Download before you start the script.
You can run the script as many times as you want!
As usual - Make a backup first! - You never know.
Changelogs you'll find inside the scripts!
Hint:
The easiest and most reliable test to verify if Alsa is working is "aplay" - the Alsa player application.
Type in a terminal:
$ aplay -l
If you see your soundcards, you're almost there.
To test your first (default-index 0 X=0) soundcard, type e.g.:
$ aplay -Dplughw:X,0 -fcd /<your-music-directory>/<replace-this-with-your-soundfile>.wav
or e.g.
$ speaker-test -Dplughw:X,0 -c2
replace the X with the index of your soundcard index , which you find out by typing "aplay -l" - look for "card X"
Multichannel you can test the following way:
1. Type $aplay -L to find out about your pcm device . e.g "surround51"
2. Type $speaker-test -D surround51 -c6
Note: If the channel mapping should be wrong you need to adjust it in .asoundrc
AND PLEASE: Before reporting "NO SOUND" problems - check if your alsamixer-channels are unmuted !! If your alsamixer controls show "MM" for muted at the bottom press "m" to toggle between unmute/mute. To access your 2nd soundcard respectively the index 1 soundcard you need to start alsamixer with "alsamixer -c1" . There are quite often headphone-jack, Toslink, SPDIF or microphone issues reported. Usually this also has something to do with a wrong alsamixer setting or more seldom with a wrong model-id of your soundcard assigned to your sound-driver.
Please read also this post
http://ubuntuforums.org/showthread.php?t=843012 if you don't get any further
The uxchecker-1.X.sh script will help you to collect environmental information with a special focus on your sound setup and Alsa for troubleshooting purposes.
If you run it during playback, you'll also be able to log data-stream relevant parameters.
Note: I would not recommend to post the entire logfile to the public! It contains partially sensitive data, which you might not want to expose!
The alsa-info.tar is a shell script collecting data, which are requested by the Alsa-Designers in case we encounter a real Alsa problem over here.
To make troubleshooting a bit more efficient, report:
1. Name your Ubuntu revision
2. Kernel revision
3. Alsa revision
4. Upgrade script revision
5. A bit of background what you've done resp. done before
6. Attach the relevant logs
(System related infos you'll find in the uxchecker.log)
Short AlsaUpgrade script install instructions:
1. download the script and save it somewhere
2. cd <your-download-dir>
3. tar xvf AlsaUpgrade-1.0.x-rev-1.10.tar
4. sudo ./AlsaUpgrade-1.0.x-rev-1.10.sh
(The same way you'll handle the uxchecker-1.0x.tar)
Bookmarks