View previous topic :: View next topic |
Author |
Message |
ant1688 Tux's lil' helper
Joined: 03 May 2007 Posts: 138
|
Posted: Mon May 07, 2007 8:02 am Post subject: [SOLVED] device /dev/dsp can't be opened when KDE starts |
|
|
I have problem when starting KDE, anyone can tell me how to solve it?
Quote: | Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such file or directory)
The sound server will continue, using the null output device. |
Last edited by ant1688 on Tue May 15, 2007 8:30 am; edited 1 time in total |
|
Back to top |
|
|
KRF Tux's lil' helper
Joined: 17 Jun 2006 Posts: 124 Location: Germany
|
Posted: Mon May 07, 2007 4:55 pm Post subject: |
|
|
Check what sound system you're using. I'd recommend using the ALSA system, but it seems like you're using the old deprecated OSS system. If you want to use /dev/dsp as audio output you have to enable "OSS support" in your kernel config. It'll provide the /dev/dsp node. _________________
Gentoo Linux, running kde-3.5
CPU: i686 Intel P4 2.80GHz | RAM: 2048MB DDR
Profile: gentoo-sources-2.6.23*, gcc-4.1*, portage-2.1.3* (2007.0)
Please add [SOLVED] to your message title if your problem is solved. |
|
Back to top |
|
|
ant1688 Tux's lil' helper
Joined: 03 May 2007 Posts: 138
|
Posted: Tue May 08, 2007 8:22 am Post subject: |
|
|
Thanks!
I have already alsa installed,
my sound card is SoundMax Intergrated Digital Audio which runs well in MS-Windows. |
|
Back to top |
|
|
mirojira l33t
Joined: 18 Feb 2006 Posts: 685
|
Posted: Tue May 08, 2007 5:49 pm Post subject: |
|
|
ant1688 wrote: |
I have already alsa installed,
| How is it installed in-kernel(as modules or statically) or alsa-driver? |
|
Back to top |
|
|
ant1688 Tux's lil' helper
Joined: 03 May 2007 Posts: 138
|
Posted: Wed May 09, 2007 7:38 am Post subject: |
|
|
the kernel was made by "genkernel all" and the alsa was installed by "emerge alsa". Quote: | # emerge alsa -p
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-kernel/gentoo-sources-2.6.20-r8
|
|
|
Back to top |
|
|
mirojira l33t
Joined: 18 Feb 2006 Posts: 685
|
Posted: Wed May 09, 2007 8:30 am Post subject: |
|
|
ant1688 wrote: | the kernel was made by "genkernel all" and the alsa was installed by "emerge alsa". |
Do you mean alsa-driver? If yes make Code: | USE="oss" emerge alsa-driver | In /etc/conf.d/alsasound must be ENABLE_OSS_EMUL="yes"
After that you should have created /dev/dsp node. |
|
Back to top |
|
|
ant1688 Tux's lil' helper
Joined: 03 May 2007 Posts: 138
|
Posted: Wed May 09, 2007 8:41 am Post subject: |
|
|
no, I only install alsa, but alsa-driver.
but when I try to install alsa-driver, I have the output:
Quote: | # USE="oss" emerge alsa-driver
Calculating dependencies... done!
>>> Emerging (1 of 1) media-sound/alsa-driver-1.0.14_rc2-r1 to /
* alsa-driver-1.0.14rc2.tar.bz2 RMD160 ... [ ok ]
* alsa-driver-1.0.14rc2.tar.bz2 SHA1 ... [ ok ]
* alsa-driver-1.0.14rc2.tar.bz2 SHA256 ... [ ok ]
* alsa-driver-1.0.14rc2.tar.bz2 size ... [ ok ]
* checking ebuild checksums ... [ ok ]
* checking auxfile checksums ... [ ok ]
* checking miscfile checksums ... [ ok ]
* checking alsa-driver-1.0.14rc2.tar.bz2 ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.20-gentoo-r7/build
* Found sources for kernel version:
* 2.6.20-gentoo-r7
* Checking for suitable kernel configuration options...
* ALSA is already compiled into the kernel.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* Once you have satisfied these options, please try merging
* this package again.
!!! ERROR: media-sound/alsa-driver-1.0.14_rc2-r1 failed.
Call stack:
ebuild.sh, line 1630: Called dyn_setup
ebuild.sh, line 702: Called qa_call 'pkg_setup'
ebuild.sh, line 38: Called pkg_setup
alsa-driver-1.0.14_rc2-r1.ebuild, line 91: Called linux-mod_pkg_setup
linux-mod.eclass, line 464: Called linux-info_pkg_setup
linux-info.eclass, line 572: Called check_extra_config
linux-info.eclass, line 471: Called die
!!! Incorrect kernel configuration options
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/temp/build.log'.
|
should I rebuild my kernel? |
|
Back to top |
|
|
mirojira l33t
Joined: 18 Feb 2006 Posts: 685
|
Posted: Wed May 09, 2007 11:11 am Post subject: |
|
|
Quote: | * ALSA is already compiled into the kernel. | means that you do not use alsa-driver but alsa in kernel. So if you want create /dev/dsp node,
you have to enable /dev/dsp support in kernel, see http://www.gentoo.org/doc/en/alsa-guide.xml Code Listing 2.3: Kernel Options for ALSA |
|
Back to top |
|
|
KRF Tux's lil' helper
Joined: 17 Jun 2006 Posts: 124 Location: Germany
|
Posted: Wed May 09, 2007 2:09 pm Post subject: |
|
|
Didn't I say this? _________________
Gentoo Linux, running kde-3.5
CPU: i686 Intel P4 2.80GHz | RAM: 2048MB DDR
Profile: gentoo-sources-2.6.23*, gcc-4.1*, portage-2.1.3* (2007.0)
Please add [SOLVED] to your message title if your problem is solved. |
|
Back to top |
|
|
ant1688 Tux's lil' helper
Joined: 03 May 2007 Posts: 138
|
|
Back to top |
|
|
|