I', using snd-mixer-oss nad snd-intel8x0 modules. There is no sound from aplications that use OSS drivers, or programs like sphinx-2.0.6 exit with "Failed to open audio device(/dev/dsp)" error message. emerge --info: Portage 2.1.2_rc1-r6 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r 0, 2.6.18-gentoo-r2 x86_64) ================================================================= System uname: 2.6.18-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.6 Last Sync: Sun, 12 Nov 2006 16:00:01 +0000 dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu tdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms / /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/ distributions/gentoo" LINGUAS="pl" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/di stfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apache2 apm arts avi bcmath berkdb bidi bitmap-fonts boundsche cking bzip2 cairo calendar caps cdr cli cracklib crypt cups dbus dlloader dri dv d dvdr dvdread eds elibc_glibc emboss encode esd exif fam fbcon fftw firefox fla c fortran gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv input_dev ices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java j avascript jpeg jpeg2 kde kerberos kernel_linux ldap lesstif libcaca libg++ lingu as_pl mad mikmod mono mp3 mpeg mplayer ncurses neXt new-login nls nptl nptlonly ogg opengl oss pam pcre pdf perl plotutils png posix ppds pppd python qt3 qt4 qu icktime readline reflection samba sapdb sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_radeon videos v orbis wmf wxwindows xml xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTA GE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Full error message from sphinx2: "ad_oss.c(105): Failed to open audio device(/dev/dsp): No such file or directory FATAL_ERROR: "tty-continuous.c", line 219: ad_open_sps failed"
Please, don't restrict bugs without any reason. Just leave the checkboxes alone. Also not really clean whether you are using alsa-drivers or in-kernel ones. And attach /etc/modules.d/alsa as well please.
I looked into /etc/modules.d/alsa and found module responsible for /dev/dsp - snd-pcm-oss , when I modprobe'd it the /dev/dsp appeard. sphinx2 is working.
This is /etc/modules.d/alsa contents: # Alsa kernel modules' configuration file. # ALSA portion alias char-major-116 snd # OSS/Free portion alias char-major-14 soundcore ## ## IMPORTANT: ## You need to customise this section for your specific sound card(s) ## and then run `modules-update' command. ## Read alsa-driver's INSTALL file in /usr/share/doc for more info. ## ## ALSA portion ## alias snd-card-0 snd-interwave ## alias snd-card-1 snd-ens1371 ## OSS/Free portion ## alias sound-slot-0 snd-card-0 ## alias sound-slot-1 snd-card-1 ## # OSS/Free portion - card #1 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss ## OSS/Free portion - card #2 ## alias sound-service-1-0 snd-mixer-oss ## alias sound-service-1-3 snd-pcm-oss ## alias sound-service-1-12 snd-pcm-oss alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss # Set this to the correct number of cards. options snd cards_limit=1
Well, if you don't load the needed modules, you won't have the required devices. Closing.