LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems with installing alsa (https://www.linuxquestions.org/questions/linux-software-2/problems-with-installing-alsa-825356/)

Karolusspelman 08-10-2010 10:57 AM

Problems with installing alsa
 
I have problems when installing ALSA. Everthing seems to look ok until I should "insert the modules into the kernel. (I follow this guide http://www.alsa-project.org/main/ind...dule-hda-intel)
when i type in this command:

modprobe snd-hda-intel ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; modprobe snd-seq-oss

I get this:

WARNING: Could not open '/lib/modules/2.6.26-2-amd64/kernel/sound/acore/snd-hwdep.ko': No such file or directory
WARNING: Could not open '/lib/modules/2.6.26-2-amd64/kernel/sound/pci/hda/snd-hda-codec.ko': No such file or directory
FATAL: Could not open '/lib/modules/2.6.26-2-amd64/kernel/sound/pci/hda/snd-hda-intel.ko': No such file or directory

Can someone help me howto do? Ive seriously tried to figuring it out by myself but yes, I'm kind of a linuxnewbie. Thankful for answers.

Riikard

pandanuma 08-10-2010 03:47 PM

need to know what operating system you are running

also, what did you get when you ran

modinfo soundcore

Karolusspelman 08-10-2010 05:12 PM

Quote:

Originally Posted by pandanuma (Post 4062318)
need to know what operating system you are running

also, what did you get when you ran

modinfo soundcore

I'm running Debian Lenny on amd64 with NVidia nForce sound card...

I get

filename: /lib/modules/2.6.26-2-amd64/kernel/sound/soundcore.ko
alias: char-major-14-*
license: GPL
author: Alan Cox
description: Core sound module
depends:
vermagic: 2.6.26-2-amd64 SMP mod_unload modversions

when I type modinfo soundcore

pandanuma 08-10-2010 05:27 PM

then according to the link you provided to alsa-project,
Quote:

If this command returns that you have this module, then you don't need to recompile your kernel.
asla should already be installed.
do you have sound, can you play music?

Karolusspelman 08-16-2010 04:22 PM

Quote:

Originally Posted by pandanuma (Post 4062397)
then according to the link you provided to alsa-project,


asla should already be installed.
do you have sound, can you play music?

Heh, no i don't..

And when I try to open alsamixer i get this famous message:
alsamixer: function snd_ctl_open failed for default: No such file or directory...

Do you have an idea what the problem is?

pandanuma 08-16-2010 04:58 PM

from debian site...
http://www.debian.org/releases/stabl....html#no-sound

5.1.8. Sound stops working

In rare cases, sound might stop working after the upgrade. If this happens, go through the ALSA checklist:

* run alsaconf as root user,
* add your user to the audio group,
* make sure the sound channel levels are up and unmuted (using alsamixer),
* make sure arts and esound are not running,
* make sure no OSS modules are loaded,
* make sure the speakers are actually switched on, and
* check whether the command

Code:

cat /dev/urandom > /dev/audio
or the command

Code:

speaker-test
works for root.

after that, you could try to reinstall alsa again

Karolusspelman 08-17-2010 03:50 AM

Quote:

Originally Posted by pandanuma (Post 4068212)
from debian site...
http://www.debian.org/releases/stabl....html#no-sound

5.1.8. Sound stops working

In rare cases, sound might stop working after the upgrade. If this happens, go through the ALSA checklist:

* run alsaconf as root user,
* add your user to the audio group,
* make sure the sound channel levels are up and unmuted (using alsamixer),
* make sure arts and esound are not running,
* make sure no OSS modules are loaded,
* make sure the speakers are actually switched on, and
* check whether the command

Code:

cat /dev/urandom > /dev/audio
or the command

Code:

speaker-test
works for root.

after that, you could try to reinstall alsa again


Okey, I've done all that without success. But one thing that was succesful was to download and install the Realtek-audio-driver-pack. Now everything is working ok, alsamixer too... Thanks alot anyway
...
Rrr

pandanuma 08-17-2010 11:19 AM

glad you solved it


All times are GMT -5. The time now is 01:14 AM.