-
ALSA Error
I keep getting this error message every time I log into KDE. I emerge alsa and alsa-driver and alsa-libs. When I choose alsa as my sound system hardware.
Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (No such file or directory)
The sound server will continue, using the null output device.
What should I do?
Its happening when I choose alsa or oss under hardware.
This is the messgae when I choose OSS. Its a little different.
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such device)
The sound server will continue, using the null output device.
-
Manually:
You'll probably have to modprobe your driver. Read the manual:
basically you run:
Code:
# modprobe [devname]
where [devname] should be replaced of the name of the device driver for your soundcard. If you dont know the name of the device driver use Google, and if you don't know what soundcard you have use:
Code:
# lspci -v | grep -i audio
Automatically:
There is a automatic way of doing this (with a ncurses based interface) to do this run:
-
When I type in:
Code:
root # lspci -v | grep -i audio
I get this:
Code:
root # lspci -v | grep -i audio
0000:00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI Audio Accelerator (rev 02)
What should I type after modprobe. Also alsaconfig does not work. It tells me command not found. Any ideas?
-
-
I tried recompiling the kernel and then I tried alsa-driver. Nothing is working. Alsa-driver wont install properly. Ill post the error message:
Here is what happens when I emerge alsa-driver
Code:
CC [M] /var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/pci/pcxhr/pcxhr.o
CC [M] /var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/pci/pcxhr/pcxhr_hwdep.o
/var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/pci/pcxhr/pcxhr_hwdep.c: In function `pcxhr_setup_firmware':
/var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/pci/pcxhr/pcxhr_hwdep.c:212: error: dereferencing pointer to incomplete type
make[5]: *** [/var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/pci/pcxhr/pcxhr_hwdep.o] Error 1
make[4]: *** [/var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/pci/pcxhr] Error 2
make[3]: *** [/var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/pci] Error 2
make[2]: *** [_module_/var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.11-gentoo-r3'
make: *** [compile] Error 2
!!! ERROR: media-sound/alsa-driver-1.0.8_rc1 failed.
!!! Function src_compile, Line 76, Exitcode 2
!!! Parallel Make Failed
!!! If you need support, post the topmost build error, NOT this status message.
-
try.....
#emerge alsa-utils
#rc-update add alsasound default
then do
#alsamixer
hope this works for ya.....
-
Here is what I got:
# alsamixer
alsamixer: function snd_ctl_open failed for default: No such file or directory
-
OK....let's try again.
These steps apply only if you use Genkernel
#emerge alsa-utils
#alsaconf
#rc-update add alsasound default
#alsamixer
I did exactly these steps, and I have sound with no problem.
-
Whe I try alsaconf I get this message:
No Supported PnP or PCI card found.
Would you like to probe legacy ISA sound cards/chips?
After I press yes. I get a window with a blank screen that says 100%
After I press ok. I get nothing else.
When I try #alsamixer
I get this:
Code:
root # alsamixer
alsamixer: function snd_ctl_open failed for default: No such file or directory
-
I just notice that you installed Gentoo using stage 1 and probably did not use Genkernel. The method I used would not apply to your situation.