Modular Sound Driver Patch
This patch applies to the 2.0.3[01] kernels. It uses the standard kernel
sound drivers and modifies them to be completely modular. This allows
for such things as loading and unloading of the various sound drivers
without recompiling the kernel tree or rebooting.
The work was performed by Alan Cox and was sponsored by Red Hat Software,
Inc. Hannu Salvolainen was not involved with this work, although the
OSS/Lite driver that is distributed with the kernel is the sound
drivers that are used. Do not mail bugs or problems regarding the
modular drivers to Hannu. All problems should be mailed to
[email protected]. There is a mailing list set up for the work
being done with these patches,
[email protected] which follows
normal smartlist subscriptions;
ie. send mail to
[email protected] with "subscribe" as the
subject line.
The official home of the patches is ftp.redhat.com in /pub/sound. See
the file README.usage to understand the usage of the modules. Work has
been done to integrate these patches to the 2.1.x kernels and those
patches are also mirrored in /pub/sound.
To use build the modular drivers, apply linux-2.0.30-sound-X.patch to the
kernel source tree and recompile. Simply select M for all of the drivers.
Do a make modules, make modules_install and then normal procedures for
editing your bootloader (ie LILO).
The usuage of the modules works the same as with any other modular objects
for the kernel in so far as insmod, rmmod and modprobe work. The modules
follow a layered hierarchy that requires certain modules to be in place
before other lowerer level modules can be inserted. To find these
requirements, look at /lib/modules/2.0.3x/modules.dep. The file in
this directory (and in /usr/src/linux/kernel/drivers/sound) called
README.usage lists the actual usage and what parameters can be passed
to each module.
% Changelog
* Sun Aug 24 1997 Mike Wangsmo <
[email protected]>
- Assembled linux-2.0.30-sound-11.patch from Alan Cox and adjusted
the documentation accordingly.
- Alan's patch performed the following:
- Added support for ACER notebook sb clones (they have an init sequence
above normal cards). sb.o now takes "acer=1" for acer notebooks.
- Fixed several bad error paths in the standard driver from some patches
posted to linux-kernel for 2.1.x
- Hacked around the "sound_syms.o" problem. Its not fixable without
rewriting half of the kernel make rules. I just remove that object
when I link it into sound.o. Crude but works
- Tidied up some of the DMA init problems.
* Mon Aug 11 1997 Mike Wangsmo <
[email protected]>
- linux-2.0.30-sound-9.patch released for public testing.