* Configuring ALSA in kernel-2.5 @ 2003-03-27 18:04 Louis Garcia 2003-03-27 19:02 ` Stephen Hassard 0 siblings, 1 reply; 11+ messages in thread From: Louis Garcia @ 2003-03-27 18:04 UTC (permalink / raw) To: alsa-devel 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Configuring ALSA in kernel-2.5 2003-03-27 18:04 Configuring ALSA in kernel-2.5 Louis Garcia @ 2003-03-27 19:02 ` Stephen Hassard 2003-03-27 19:34 ` Louis Garcia 0 siblings, 1 reply; 11+ messages in thread From: Stephen Hassard @ 2003-03-27 19:02 UTC (permalink / raw) To: Louis Garcia; +Cc: alsa-devel Hi Lou, What modules do you have loaded? What kernel version are you using? Are you using devfsd? later, Steve On Thu, Mar 27, 2003 at 01:04:36PM -0500, Louis Garcia wrote: > 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 > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@lists.sourceforge.net > 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Configuring ALSA in kernel-2.5 2003-03-27 19:02 ` Stephen Hassard @ 2003-03-27 19:34 ` Louis Garcia 2003-03-27 19:36 ` Stephen Hassard 0 siblings, 1 reply; 11+ messages in thread From: Louis Garcia @ 2003-03-27 19:34 UTC (permalink / raw) To: Stephen Hassard; +Cc: alsa-devel 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 On Thu, 2003-03-27 at 14:02, Stephen Hassard wrote: > Hi Lou, > > What modules do you have loaded? > > What kernel version are you using? > > Are you using devfsd? > > later, > Steve > > On Thu, Mar 27, 2003 at 01:04:36PM -0500, Louis Garcia wrote: > > 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 > > _______________________________________________ > > Alsa-devel mailing list > > Alsa-devel@lists.sourceforge.net > > 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Configuring ALSA in kernel-2.5 2003-03-27 19:34 ` Louis Garcia @ 2003-03-27 19:36 ` Stephen Hassard 2003-03-27 19:55 ` Louis Garcia 2003-03-27 22:41 ` Louis Garcia 0 siblings, 2 replies; 11+ messages in thread From: Stephen Hassard @ 2003-03-27 19:36 UTC (permalink / raw) To: Louis Garcia; +Cc: alsa-devel Make sure you On Thu, Mar 27, 2003 at 02:34:23PM -0500, Louis Garcia wrote: > 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 .. > < > OSS PCM (digital audio) API you need the above for digital audio (ie: /dev/dsp) > 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Configuring ALSA in kernel-2.5 2003-03-27 19:36 ` Stephen Hassard @ 2003-03-27 19:55 ` Louis Garcia 2003-03-27 20:06 ` Frans Ketelaars 2003-03-27 22:41 ` Louis Garcia 1 sibling, 1 reply; 11+ messages in thread From: Louis Garcia @ 2003-03-27 19:55 UTC (permalink / raw) To: Stephen Hassard; +Cc: alsa-devel Sorry no, I'm not running devfs. Where is that script snddevices? Thanks for your help, --Lou On Thu, 2003-03-27 at 14:36, Stephen Hassard wrote: > Make sure you > > On Thu, Mar 27, 2003 at 02:34:23PM -0500, Louis Garcia wrote: > > 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 .. > > > < > OSS PCM (digital audio) API > > you need the above for digital audio (ie: /dev/dsp) > > > 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Configuring ALSA in kernel-2.5 2003-03-27 19:55 ` Louis Garcia @ 2003-03-27 20:06 ` Frans Ketelaars 2003-03-27 21:00 ` Louis Garcia 0 siblings, 1 reply; 11+ messages in thread From: Frans Ketelaars @ 2003-03-27 20:06 UTC (permalink / raw) To: alsa-devel On Thursday 27 March 2003 20:55, Louis Garcia wrote: > 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Configuring ALSA in kernel-2.5 2003-03-27 20:06 ` Frans Ketelaars @ 2003-03-27 21:00 ` Louis Garcia 2003-03-27 21:07 ` Frans Ketelaars 2003-03-27 21:27 ` Stephen Hassard 0 siblings, 2 replies; 11+ messages in thread From: Louis Garcia @ 2003-03-27 21:00 UTC (permalink / raw) To: Frans Ketelaars; +Cc: alsa-devel I thought you didn.t need that package because it was merged into 2.5? --Lou On Thu, 2003-03-27 at 15:06, Frans Ketelaars wrote: > On Thursday 27 March 2003 20:55, Louis Garcia wrote: > > 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 > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@lists.sourceforge.net > 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Configuring ALSA in kernel-2.5 2003-03-27 21:00 ` Louis Garcia @ 2003-03-27 21:07 ` Frans Ketelaars 2003-03-27 21:27 ` Stephen Hassard 1 sibling, 0 replies; 11+ messages in thread From: Frans Ketelaars @ 2003-03-27 21:07 UTC (permalink / raw) To: alsa-devel Sorry, I was thinking about 2.4.x kernels and ALSA 0.9.x :( On Thursday 27 March 2003 22:00, Louis Garcia wrote: > I thought you didn.t need that package because it was merged into 2.5? > > --Lou > > On Thu, 2003-03-27 at 15:06, Frans Ketelaars wrote: > > On Thursday 27 March 2003 20:55, Louis Garcia wrote: > > > 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Configuring ALSA in kernel-2.5 2003-03-27 21:00 ` Louis Garcia 2003-03-27 21:07 ` Frans Ketelaars @ 2003-03-27 21:27 ` Stephen Hassard 1 sibling, 0 replies; 11+ messages in thread From: Stephen Hassard @ 2003-03-27 21:27 UTC (permalink / raw) To: Louis Garcia; +Cc: alsa-devel 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 On Thu, Mar 27, 2003 at 04:00:04PM -0500, Louis Garcia wrote: > I thought you didn.t need that package because it was merged into 2.5? > > --Lou > > On Thu, 2003-03-27 at 15:06, Frans Ketelaars wrote: > > On Thursday 27 March 2003 20:55, Louis Garcia wrote: > > > 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 > > _______________________________________________ > > Alsa-devel mailing list > > Alsa-devel@lists.sourceforge.net > > 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 > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@lists.sourceforge.net > 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Configuring ALSA in kernel-2.5 2003-03-27 19:36 ` Stephen Hassard 2003-03-27 19:55 ` Louis Garcia @ 2003-03-27 22:41 ` Louis Garcia 2003-03-27 23:10 ` Stephen Hassard 1 sibling, 1 reply; 11+ messages in thread From: Louis Garcia @ 2003-03-27 22:41 UTC (permalink / raw) To: Stephen Hassard; +Cc: alsa-devel 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 On Thu, 2003-03-27 at 14:36, Stephen Hassard wrote: > Make sure you > > On Thu, Mar 27, 2003 at 02:34:23PM -0500, Louis Garcia wrote: > > 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 .. > > > < > OSS PCM (digital audio) API > > you need the above for digital audio (ie: /dev/dsp) > > > 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Configuring ALSA in kernel-2.5 2003-03-27 22:41 ` Louis Garcia @ 2003-03-27 23:10 ` Stephen Hassard 0 siblings, 0 replies; 11+ messages in thread From: Stephen Hassard @ 2003-03-27 23:10 UTC (permalink / raw) To: Louis Garcia; +Cc: alsa-devel 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 On Thu, Mar 27, 2003 at 05:41:02PM -0500, Louis Garcia wrote: > 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 > > > > > On Thu, 2003-03-27 at 14:36, Stephen Hassard wrote: > > Make sure you > > > > On Thu, Mar 27, 2003 at 02:34:23PM -0500, Louis Garcia wrote: > > > 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 .. > > > > > < > OSS PCM (digital audio) API > > > > you need the above for digital audio (ie: /dev/dsp) > > > > > 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 > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@lists.sourceforge.net > 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2003-03-27 23:10 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-03-27 18:04 Configuring ALSA in kernel-2.5 Louis Garcia 2003-03-27 19:02 ` Stephen Hassard 2003-03-27 19:34 ` Louis Garcia 2003-03-27 19:36 ` Stephen Hassard 2003-03-27 19:55 ` Louis Garcia 2003-03-27 20:06 ` Frans Ketelaars 2003-03-27 21:00 ` Louis Garcia 2003-03-27 21:07 ` Frans Ketelaars 2003-03-27 21:27 ` Stephen Hassard 2003-03-27 22:41 ` Louis Garcia 2003-03-27 23:10 ` Stephen Hassard
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.