LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-04-2004, 09:16 AM   #1
johnleemk
Member
 
Registered: Sep 2003
Location: Malaysia
Distribution: Slackware 9.1
Posts: 145

Rep: Reputation: 15
Do We Have to Compile ALSA As a Module?


Because I realised that in my 2.4 kernel installation, ALSA wasn't directly in the kernel, but in modules. Now my sound won't work in 2.6.2, and I think it's because I compiled ALSA directly into the kernel. I've just recompiled them as modules, but if this works, is there any reason why they have to be modules?

Whoops - just noticed I posted this in hardware. I think it's pertinent though - my sound card works in 2.4. However, when running 2.6.2...

Code:
xmms
audio_alsa: no cards found!
audio_alsa: no cards found!
 
** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): No such device
What happened to my sound card? lsmod reveals:

Code:
# lsmod
Module                  Size  Used by
dmfe                   18748  -
snd_pcm_oss            49092  -
snd_pcm                87168  -
snd_page_alloc          8868  -
snd_timer              21280  -
snd_mixer_oss          16704  -
When I try to load a pertinent module:

Code:
# modprobe snd
FATAL: Error inserting snd (/lib/modules/2.6.2/kernel/sound/core/snd.ko): Input/output error
Update:
Hm... alsaconf solved my woes. Still curious about why I had to compile ALSA as a module, though. *crosses fingers and hopes he didn't screw anything up with the kernel*

Last edited by johnleemk; 02-04-2004 at 09:37 AM.
 
Old 02-04-2004, 01:06 PM   #2
natalinasmpf
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 309

Rep: Reputation: 30
Its not just 2.4 or 2.6, if I compile many features built-in, they can't load at boot. Yeah, mainly th e reason for my switching distros.

Agh! Too bad there are virtually no programs to detect this.

On the subject will recompiling my kernel help? I think its slackware's 9.1's bare.i kernel,,. it won't detect my scanner, (although cat /proc/usb/, etc. reveals it) and only one sound channel can be opened.

For example if I use kdenotify and run another program, the sound won't run. Anyway...I hope this is fixed as I am now recompiling my kernel.

*cross thumbs, sums experience and hope it doesn't end up like the other disasters*

What files should I back up in /etc/ or /boot/ before a doomed kernel might replace it?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing ALSA module lowpingnoob Linux - Newbie 11 06-16-2005 04:50 PM
Alsa And No Soundcore Module??? ssfrstlstnm Linux - Software 6 02-15-2005 07:07 PM
Add Module, ALSA PhuckFonix Linux - General 33 08-21-2004 10:56 AM
loading the ALSA module ViN86 Slackware 3 04-10-2004 10:34 PM
alsa module not working ryokuin Linux - Newbie 10 01-30-2004 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration