LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ALSA: does the kernel support it? (https://www.linuxquestions.org/questions/linux-newbie-8/alsa-does-the-kernel-support-it-903556/)

stf92 09-17-2011 12:06 PM

ALSA: does the kernel support it?
 
Hi: how do I know?

serafean 09-17-2011 12:26 PM

Code:

gunzip /proc/config.gz -c | grep CONFIG_SND=
If you only have /proc/config, then
Code:

grep CONFIG_SND= /proc/config
if the symbol on the right of the = sign is a "y" or an "m", then ALSA is supported.

coralfang 09-17-2011 12:29 PM

You could check the version:
Code:

cat /proc/asound/version
Code:

grep VERSION_STR /usr/include/alsa/version.h
( taken from this page http://alsa.opensrc.org/TroubleShooting )

stf92 09-17-2011 12:42 PM

/proc/asound/version: no such file or directory.

grep VERSION_STR /usr/include/alsa/version.h gives

#define SND_LIB_VERSION "0.9.6"

Look, we are talking about kernel 2.4.22 here. I skimmed the link but couldn't reach a conclusion.

serafean 09-18-2011 04:41 AM

From Debian wiki :
Quote:

ALSA, the Advanced Linux Sound Architecture, is both a project and a body of software. The project was started because the OSS architecture is technically weak in some respects, and the free variant of OSS lacks some drivers available only in the commercial variant. For several years the ALSA software was developed separately from Linux. The drivers were added to the Linux codebase during the 2.5 development series and became the standard sound driver system in Linux 2.6.
2.4.22? I'd say no.

stf92 09-18-2011 10:07 PM

[quote]
Led by Jaroslav Kysela, the project started from a Linux device driver for the Gravis Ultrasound sound card in 1998, and was developed separately from the Linux kernel until it was introduced in the 2.5 development series in 2002 (2.5.4-2.5.5).[4] In the 2.6 version it replaced the previous system, Open Sound System (OSS), by default (although a backwards-compatibility layer does exist[/code]

http://en.wikipedia.org/wiki/Advance...d_Architecture

This seems to confirm it. But the fact is, as I've just discovered, that slack 9.1 (kernel 2.4.22) either has it compiled in the kernel or has loadable modules for it. A contradiction?

EDIT: No contradiction if loadable modules.


All times are GMT -5. The time now is 03:58 PM.