Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
ALSA (almost) made easy

ALSA (almost) made easy

2002-08-27       - By Matthias Saou

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Hi all,

I 've decided at last to test the ALSA sound drivers. As usual the result is
that I 've spent much more time repackaging the darn thing than actually
testing the functionalities or trying to hear the great sound quality
people seem to think it outputs... but hey, some of you will benefit from
that, right? ;-)

I 've got the whole thing working on a Valhalla system, but the packages
should easily install or at least recompile on Enigma, Limbo/(null) and
maybe others, who knows ;-)

Here are quick instructions for those of you that wish to try it out :
- Recompile the "alsa-driver " source rpm for your running kernel
(you can install the binary package if you 're using the i686 2.4.18-10)
- Install this "alsa-driver " package
- Install the "alsa-libs " package
- Install the "alsa-utils " package

Now go to this URL and find out what you need to change in your
/etc/modules.conf file to replace the default OSS driver loading :
http://www.alsa-project.org/alsa-doc/
(very complete and very good documentation!)
Hopefully you 'll see that your card *is* supported ;-)

Reboot, or remove by hand your current sound modules (you 'll probably need
to stop many applications to free the sound resource...) "by hand " and
insert the new ones. If all is well you 've got ALSA working! ( "dmesg " to
check is a good idea), you now just need to adjust the volume levels with
e.g. aumix and alsamixer because everything is muted by default.

With "aplay " you can already test files to see if you hear anything. You
can also install the XMMS plugin (seems to make my XMMS segfault on exit...
hmmm, but maybe it 's another plugin) to listen to your good ol ' mp3
files... that 's it!

It really isn 't complicated, and has never been from what I see. The only
thing I disliked was to have to install from source... but as I can 't
imagine myself doing that ;-) I 've repackaged everything cleanly. Even the
/dev entries are included in the rpm package (and *not* created by an ugly
%post script, I insist!) and seamlessly integrate into the /etc/makedev.d
structure. There are also a few other noticeable differences with the
default provided ALSA spec files, for example I 've split alsa-lib 's
development files into an alsa-lib-devel package and included static
libraries... there are others of course (oh yes, the kernel version against
which the "alsa-driver " package is compiled gets neatly integrated in the
rpm release, so does the architecture!).

I 'm open to any comments or suggestions about these packages!

Download :
http://ftp.freshrpms.net/pub/freshrpms/testing/alsa/

Current spec files :
http://freshrpms.net/builds/alsa-driver/alsa-driver.spec
http://freshrpms.net/builds/alsa-lib/alsa-lib.spec
http://freshrpms.net/builds/alsa-utils/alsa-utils.spec
(All others, patches etc. : http://freshrpms.net/builds/ )

Matthias

PS: As an extra bonus, I 've also recompiled xine with alsa support! Simply
run "xine -A alsa09 " and off you go! It may even support 5.1 and S/PDIF ;-)

--
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Red Hat Linux release 7.3 (Valhalla) running Linux kernel 2.4.18-10
Load : 0.57 0.42 0.42, AC on-line, battery charging: 29% (1:55)