Alsa can't record from Line-in anymore, /dev/dsp is broken too. Reproducible: Always Steps to Reproduce: 1. alsamixer -V capture - 1. audacity, record Actual Results: alsamixer: simple.c:1975: snd_mixer_selem_get_enum_item: Assertion `helem' failed. Aborted - io host error Expected Results: Goto capture controlls. - Record Line-in Tried with USE="-jack" and internal en external alsa-drivers. On three systems. via82xx / emu10k1 Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.1 1-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) processor Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable d] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16-r1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-tbird -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1 1/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-tbird -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbo x" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ ftp://sunsite.informatik.rwt h-aachen.de/pub/Linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac alsa apm avi bitmap-fonts bmp bpm cdr crypt cu ps curl divx4linux dv dvd emboss encode f77 fam ffmpeg flac foomaticdb fortran g d gif gnutls gpm gstreamer gtk gtk2 imagemagick ipv6 jack joystick jpeg lcms lda p libg++ libwww lirc mad mikmod mmx mmxext mng motif mp3 mpeg ncurses nls nptl n ptlonly nvidia ogg oggvorbis opengl oss pam pic png quicktime readline scanner s dl slang softmmu speex spell sqlite ssl svg tcpd theora tiff truetype truetype-f onts type1-fonts userlocales vorbis win32codecs wmf xine xml xml2 xv xvid zlib u serland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
*** This bug has been marked as a duplicate of 94776 ***
Jacub, first problem is fixed, the second recording problem still exists.
Ices2... I prefer to solve this problem fast, because this is a bit mission critical... [2005-06-07 11:42:22] INFO metadata/metadata_thread_signal Updating metadata [2005-06-07 11:42:22] INFO stream/ices_instance_stream Connected to server: 192.168.1.42:80/locatie-mono.ogg [2005-06-07 11:42:32] EROR input-alsa/alsa_read snd_pcm_readi failed: Input/output error [2005-06-07 11:42:32] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down [2005-06-07 11:42:32] DBUG encode/encode_clear Clearing encoder engine [2005-06-07 11:42:33] DBUG input/input_loop An instance died, removing it [2005-06-07 11:42:33] DBUG input/input_flush_queue Input queue flush requested [2005-06-07 11:42:33] INFO input/input_loop All instances removed, shutting down... [2005-06-07 11:42:33] INFO metadata/metadata_thread_signal metadata thread shutting down [2005-06-07 11:42:33] INFO ices-core/main Shutdown complete
(In reply to comment #2) > Jacub, first problem is fixed, the second recording problem still exists. Well, what do you mean? /dev/dsp is broken is a rather fuzzy description of the problem.
Lets say /dev/sound doesn't exists anymore (udev) /dev/snd does. Playing via Alsa works, but recording via alsa doesn't. I did a modules-update for the last drivers, but no progres. Obviously the OSS compatibility is gone too. skinkie@eshara ~ $ lsmod Module Size Used by snd_seq 51984 0 snd_via82xx 23776 2 snd_ac97_codec 82428 1 snd_via82xx snd_pcm 84296 2 snd_via82xx,snd_ac97_codec snd_timer 22788 2 snd_seq,snd_pcm snd_page_alloc 7556 2 snd_via82xx,snd_pcm snd_mpu401_uart 6528 1 snd_via82xx snd_rawmidi 20032 1 snd_mpu401_uart snd_seq_device 7116 2 snd_seq,snd_rawmidi snd 43256 12 snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device via_rhine 20548 0 pcmcia 19720 2 yenta_socket 19976 1 rsrc_nonstatic 7616 1 yenta_socket pcmcia_core 41508 3 pcmcia,yenta_socket,rsrc_nonstatic ndiswrapper 133364 0 sd_mod 13456 0
(In reply to comment #5) > Lets say /dev/sound doesn't exists anymore (udev) /dev/snd does. Playing via > Alsa works, but recording via alsa doesn't. I did a modules-update for the last > drivers, but no progres. Hmm, changing the bug summary accordingly. You are using 1.0.9a, right?
(In reply to comment #6) > Hmm, changing the bug summary accordingly. You are using 1.0.9a, right? Yeah I am, but OSS is only the recording from Audacity, Ices has a native alsa plugin, which obviously is broken too.
OSS is _not_ broken, this seems to be a useflag mistake from my side, which does not happen with the 'in kernel' variant by explicitly selecting the oss layer.
When is OSS compiled Audacity is able to start, but when trying to capture... the gui is going to behave strange... obviously because Alsa lost its ability to record on my systems.
Hmm, you did not have oss in your use flags? Some sanity check: 1/ Be sure that you have disabled ALSA/OSS support in kernel. 2/ Be sure that you have consistent versions of alsa-* 3/ Check that your modules setup is correct. 4/ run emerge --newuse --uDpv world to check that all apps have OSS support compiled in.
(In reply to comment #10) > 1/ Be sure that you have disabled ALSA/OSS support in kernel. Sound support compiled in kernel. =media-sound/alsa-driver-1.0.9a -debug -doc +oss > 2/ Be sure that you have consistent versions of alsa-* media-sound/alsa-utils-1.0.9a media-libs/alsa-lib-1.0.9 > 3/ Check that your modules setup is correct. Nothing has changed from the modules, non-capture works. > 4/ run emerge --newuse --uDpv world to check that all apps have OSS support > compiled in. I prefer to use alsa for the applications supporting it. Therefor I selected -oss in useflags audacity & ices don't have an oss flag.
Do you also have version 1.0.9 of alsa-headers? If yes, then sorry - I
Do you also have version 1.0.9 of alsa-headers? If yes, then sorry - I´d suggest to downgrade alsa-* until this gets fixed.
(In reply to comment #12) > Do you also have version 1.0.9 of alsa-headers? If yes, then sorry - I
(In reply to comment #12) > Do you also have version 1.0.9 of alsa-headers? If yes, then sorry - I´d suggest > to downgrade alsa-* until this gets fixed. media-sound/alsa-headers-1.0.9 Can you give me a specific old version to downgrade to?
(In reply to comment #13) > Can you give me a specific old version to downgrade to? Well, the last that worked for you. :-) What about starting with the last stable one (1.0.8)?
(In reply to comment #14) > (In reply to comment #13) > > > Can you give me a specific old version to downgrade to? > > Well, the last that worked for you. :-) What about starting with the last stable > one (1.0.8)? 1.0.8 has the same problem, I'm now downgrading to in kernel drivers of gentoo-sources-2.6.10-r4, which is the last known working configuration.
On one system I have solved the problem with 2.6.11-r10, and latest alsa drivers, on my laptop (via82xx) I unmerged all alsa stuff, verified /usr/src/linux, installed latest alsa-libs/alsa-utils like with the other system... but still no capture ability.
From a bug report on the alsa bugtracker I found out the mixer input source control should be set to input 1 instead of the save input 2. And it worked...