Felipe Contreras wrote:
On Sat, Dec 20, 2003 at 08:00:05PM +0100, Klaus-Peter Schrage wrote:
I got alsa working with the new kernel, but there are two questions
remaining:
1. Automatic alsa start:
Unlike with former kernels, the alsa-driver doesn't get loaded
automatically when it is used by an application (I have configured the
driver supplied with the kernel source). I have to issue
modprobe snd-ice1712 or
service alsasound start
to get alsa going (Redhat 9 system).
2. Proper location of alsa-driver in kernel source tree:
I'd like to merge a more recent driver into the kernel source (in
linux-2.6.0 from kernel.org there's version 0.9.7). Following Jaroslav's
advice from a recent thread, I'd copy the contents of, say
alsa-driver-1.0.0rc2/alsa-kernel
to
/usr/src/linux-2.6.0/sound.
But in the former directory (alsa-kernel) there is a subdirectory
/include which isn't in the latter (sound).
Should the contents go to
/usr/src/linux-2.6.0/include/sound/ ?
TIA
Klaus
Yes exactly.
Well, I dared to copy over the rc2 files as indicated; moreover I moved
the /Documentation directory to its place in the kernel source.
Result: The kernel compiled without any errors (attached you find the
sound portion of my .config file). Even the snd-modules loaded
automatically when I opened an application (AlsaPlayer).
- BUT: The sound is terribly distorted, all bar graphs for PCM Out in
envy24control are to their limit.
So I started from a fresh linux-2.6.0 kernel source and recompiled the
kernel ---> nice sound again, but of course coming from driver version
0.9.7 supplied with the kernel.
Finally, I compiled alsa-driver-1.0.0rc2 seperatly from the tarball.
Sound is nice when restarting the rc2 driver, but after a reboot:
distortion again.
So one might conclude: alsa rc2 and kernel 2.6.0 don't go together very
well ...
Klaus
# Sound
#
CONFIG_SOUND=m
#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
#
# Generic devices
#
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
#
# ISA devices
#
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
CONFIG_SND_ICE1712=m
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VX222 is not set
#
# ALSA USB devices
#
# CONFIG_SND_USB_AUDIO is not set
#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set