Configuring ALSA in kernel-2.5
The documentation in current 2.5 kernel is a bit out dated. Can someone show me what modules to choose in order to sound working for a SB Live card with oss emulation? I've tried several combos but can't get /dev/mixer os /dev/sequencer going. After compiling kernel should I compile alsa-libs then alsa-oss compat library?
--Lou
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
Hi Lou,
What modules do you have loaded?
What kernel version are you using?
Are you using devfsd?
later,
Steve
Quoted 10 lines · Louis Garcia
The documentation in current 2.5 kernel is a bit out dated. Can someone show me what modules to choose in order to sound working for a SB Live card with oss emulation? I've tried several combos but can't get
/dev/mixeros/dev/sequencergoing. After compiling kernel should I compile alsa-libs then alsa-oss compat library?--Lou
Quoted 9 lines
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Alsa-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
Well that's my question. I'm running 2.5.66 on RH phoebe beta and need to find out what to choose in the config. I have build a kernel with:
Advanced Linux Sound Architecture
<M> Advanced Linux Sound Architecture
<M> Sequencer support
< > Sequencer dummy client
[*] OSS API emulation
<M> OSS Mixer API < > OSS PCM (digital audio) API [*] OSS Sequencer API <M> RTC Timer support [ ] Verbose printk [ ] Debug
Generic devices
< > Dummy (/dev/null) soundcard
<M> Virtual MIDI soundcard
< > MOTU MidiTimePiece AV multiport MIDI
< > UART16550 - MIDI only driver
<M> Generic MPU-401 UART driver
PCI devices
< > ALi PCI Audio M5451
< > Cirrus Logic (Sound Fusion) CS4280/CS461x/CS462x/CS463x < > Cirrus Logic (Sound Fusion) CS4281
<M> EMU10K1 (SB Live! & Audigy, E-mu APS)
< > Korg 1212 IO
< > NeoMagic NM256AV/ZX
< > RME Digi32, 32/8, 32 PRO
< > RME Digi96, 96/8, 96/8 PRO
< > RME Digi9652 (Hammerfall)
< > RME Hammerfall DSP Audio
< > Trident 4D-Wave DX/NX; SiS 7018
< > Yamaha YMF724/740/744/754
< > Avance Logic ALS4000
< > C-Media 8738, 8338
< > (Creative) Ensoniq AudioPCI 1370
< > (Creative) Ensoniq AudioPCI 1371/1373
< > ESS ES1938/1946/1969 (Solo-1)
< > ESS ES1968/1978 (Maestro-1/2/2E)
< > ESS Allegro/Maestro3
< > ForteMedia FM801
< > ICEnsemble ICE1712 (Envy24)
< > ICE/VT1724 (Envy24HT)
< > Intel i8x0/MX440, SiS 7012; Ali 5455; NForce Audio; AMD768/8111 < > S3 SonicVibes
< > VIA 82C686A/B, 8233 South Bridge
ALSA USB devices
< > USB Audio/MIDI driver
These modules load ok when I modprobe. I think I have to install alsa-libs and the oss compat lib? The kernel documentation should be updated soon.
--Lou
Quoted 4 lines · Stephen Hassard
Hi Lou,
What modules do you have loaded?
Quoted 27 lines
What kernel version are you using?
Are you using devfsd?
later,
SteveQuoted 19 lines · Louis Garcia
The documentation in current 2.5 kernel is a bit out dated. Can someone show me what modules to choose in order to sound working for a SB Live card with oss emulation? I've tried several combos but can't get
/dev/mixeros/dev/sequencergoing. After compiling kernel should I compile alsa-libs then alsa-oss compat library?--Lou
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Alsa-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
Make sure you
Quoted 2 lines · Louis Garcia
Well that's my question. I'm running 2.5.66 on RH phoebe beta and need to find out what to choose in the config. I have build a kernel with:
You didn't mention if you're using devfsd or not. I'll assume that it's not working for you since 2.5.66 requires a new devfs daemon, which isn't available as binary for most distros.
The above being noted, make sure that you run ./snddevices to create the alsa devices in /dev ..
Quoted 1 line
< > OSS PCM (digital audio) API
you need the above for digital audio (ie: /dev/dsp)
Quoted 3 lines
These modules load ok when I modprobe. I think I have to install alsa-libs and the oss compat lib? The kernel documentation should be updated soon.
you don't need alsa-libs or the oss-compat lib for oss functionality .. the above should be enough ..
also, make sure that your user has permission to write to /dev/dsp.
you'll probably need a mixer to unmute the audio. alsa, by design, mutes all audio channels.
later,
Steve
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
Sorry no, I'm not running devfs. Where is that script snddevices?
Thanks for your help, --Lou
Quoted 18 lines · Stephen Hassard
Make sure you
Quoted 2 lines · Louis Garcia
Well that's my question. I'm running 2.5.66 on RH phoebe beta and need to find out what to choose in the config. I have build a kernel with:
You didn't mention if you're using devfsd or not. I'll assume that it's not working for you since 2.5.66 requires a new devfs daemon, which isn't available as binary for most distros.
The above being noted, make sure that you run ./snddevices to create the alsa devices in /dev ..
Quoted 1 line
< > OSS PCM (digital audio) API
you need the above for digital audio (ie:
/dev/dsp)Quoted 3 lines
These modules load ok when I modprobe. I think I have to install alsa-libs and the oss compat lib? The kernel documentation should be updated soon.
Quoted 8 lines
you don't need alsa-libs or the oss-compat lib for oss functionality .. the above should be enough ..
also, make sure that your user has permission to write to
/dev/dsp.you'll probably need a mixer to unmute the audio. alsa, by design, mutes all audio channels.
later,
Steve
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
Quoted 3 lines · Louis Garcia
Sorry no, I'm not running devfs. Where is that script snddevices?
Thanks for your help, --Lou
<big snip>
In the alsa-driver directory :)
HTH,
-Frans
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
I thought you didn.t need that package because it was merged into 2.5?
--Lou
Quoted 14 lines · Frans Ketelaars
Quoted 3 lines · Louis Garcia
Sorry no, I'm not running devfs. Where is that script snddevices?
Thanks for your help, --Lou
<big snip>
In the alsa-driver directory :)
HTH,
-Frans
Quoted 9 lines
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Alsa-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
Sorry, I was thinking about 2.4.x kernels and ALSA 0.9.x :(
Quoted 17 lines · Louis Garcia
I thought you didn.t need that package because it was merged into 2.5?
--Lou
Quoted 12 lines · Frans Ketelaars
Quoted 3 lines · Louis Garcia
Sorry no, I'm not running devfs. Where is that script snddevices?
Thanks for your help, --Lou
<big snip>
In the alsa-driver directory :)
HTH,
-Frans
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
technically, you don't need to run the script, with one really huge catch. you need a working devfsd. with the recent devfsd update, that's not really a possibility, therefore you need the script.
if you're seriously going to use alsa, it's worth updating the 2.5 kernel's alsa with one from CVS or a recent release. the kernel version is old and crusty.
if you've been watching the alsa-devel mailing list, I sent out a message a week ago asking how to do this.
the quick and sloppy answer to this is:
1. download and extract alsa (tgz or cvs) and kernel
2. in /usr/src/linux-2.5.xx/sound, do: "cp -Rf /path_to_alsa/alsa-kernel/* ."
3. in /usr/src/linux-2.5.xx/include/sound, do: "cp -Rf /path_to_alsa/alsa-kernel/include/* ."
that should be enough to update alsa in the kernel.
later,
Steve
Quoted 31 lines · Louis Garcia
I thought you didn.t need that package because it was merged into 2.5?
--Lou
Quoted 14 lines · Frans Ketelaars
Quoted 3 lines · Louis Garcia
Sorry no, I'm not running devfs. Where is that script snddevices?
Thanks for your help, --Lou
<big snip>
In the alsa-driver directory :)
HTH,
-Frans
Quoted 9 lines
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Alsa-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 9 lines
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Alsa-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
I finally got sound working, thanks. Now if I can only get the modules to load at boot. Here is the sysinit script part that deals with sound. How can I modify it to load the alsa modules and oss compat modules? Oh also, gnome-volume-control does not seem to know that alsa is muted. Is their a way, possibly in /proc or /sys to unmute the sound?
Thanks, --Lou
# Load sound modules if and only if they need persistent DMA buffers if LC_ALL=C grep -q "options sound dmabuf=1" /etc/modules.conf 2>/dev/null ; then
RETURN=0
alias=/sbin/modprobe -c | awk '/^alias sound / { print $3 }' if [ -n "$alias" -a "$alias" != "off" ]; then
action $"Loading sound module ($alias): " modprobe sound RETURN=$?
fi
alias=/sbin/modprobe -c | awk '/^alias sound-slot-0 / { print $3 }' if [ -n "$alias" -a "$alias" != "off" ]; then
action $"Loading sound module ($alias): " modprobe sound-slot-0 RETURN=$?
fi
fi
Quoted 18 lines · Stephen Hassard
Make sure you
Quoted 2 lines · Louis Garcia
Well that's my question. I'm running 2.5.66 on RH phoebe beta and need to find out what to choose in the config. I have build a kernel with:
You didn't mention if you're using devfsd or not. I'll assume that it's not working for you since 2.5.66 requires a new devfs daemon, which isn't available as binary for most distros.
The above being noted, make sure that you run ./snddevices to create the alsa devices in /dev ..
Quoted 1 line
< > OSS PCM (digital audio) API
you need the above for digital audio (ie:
/dev/dsp)Quoted 3 lines
These modules load ok when I modprobe. I think I have to install alsa-libs and the oss compat lib? The kernel documentation should be updated soon.
Quoted 8 lines
you don't need alsa-libs or the oss-compat lib for oss functionality .. the above should be enough ..
also, make sure that your user has permission to write to
/dev/dsp.you'll probably need a mixer to unmute the audio. alsa, by design, mutes all audio channels.
later,
Steve
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
I'm not sure which distro you're using, but debian puts them in: /etc/modules ..
The other way to work around it would be to statically link the alsa stuff into your kernel. I find that this is a much easier way to do things if you're not loading/unloading modules for individual cards ..
later,
Steve
Quoted 57 lines · Louis Garcia
I finally got sound working, thanks. Now if I can only get the modules to load at boot. Here is the sysinit script part that deals with sound. How can I modify it to load the alsa modules and oss compat modules? Oh also, gnome-volume-control does not seem to know that alsa is muted. Is their a way, possibly in /proc or /sys to unmute the sound?
Thanks, --Lou
# Load sound modules if and only if they need persistent DMA buffers if LC_ALL=C grep -q "options sound dmabuf=1"
/etc/modules.conf2>/dev/null ; then
RETURN=0
alias=/sbin/modprobe -c | awk '/^alias sound / { print $3 }'if [ -n "$alias" -a "$alias" != "off" ]; then
action $"Loading sound module ($alias): " modprobe sound RETURN=$?
fi
alias=/sbin/modprobe -c | awk '/^alias sound-slot-0 / { print $3 }'if [ -n "$alias" -a "$alias" != "off" ]; then
action $"Loading sound module ($alias): " modprobe sound-slot-0 RETURN=$?
fi
fiQuoted 18 lines · Stephen Hassard
Make sure you
Quoted 2 lines · Louis Garcia
Well that's my question. I'm running 2.5.66 on RH phoebe beta and need to find out what to choose in the config. I have build a kernel with:
You didn't mention if you're using devfsd or not. I'll assume that it's not working for you since 2.5.66 requires a new devfs daemon, which isn't available as binary for most distros.
The above being noted, make sure that you run ./snddevices to create the alsa devices in /dev ..
Quoted 1 line
< > OSS PCM (digital audio) API
you need the above for digital audio (ie:
/dev/dsp)Quoted 3 lines
These modules load ok when I modprobe. I think I have to install alsa-libs and the oss compat lib? The kernel documentation should be updated soon.
Quoted 8 lines
you don't need alsa-libs or the oss-compat lib for oss functionality .. the above should be enough ..
also, make sure that your user has permission to write to
/dev/dsp.you'll probably need a mixer to unmute the audio. alsa, by design, mutes all audio channels.
later,
Steve
Quoted 9 lines
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Alsa-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en