From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Kvau0-0002je-0c for garchives@archives.gentoo.org; Thu, 30 Oct 2008 17:01:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5099E03A8; Thu, 30 Oct 2008 17:01:42 +0000 (UTC) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.191]) by pigeon.gentoo.org (Postfix) with ESMTP id 75294E03A8 for ; Thu, 30 Oct 2008 17:01:42 +0000 (UTC) Received: by gv-out-0910.google.com with SMTP id n8so166339gve.39 for ; Thu, 30 Oct 2008 10:01:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=jW5zmcRghfGF5jkwTKdVoWALU/KOc5yuYatbLdwiCC0=; b=BWXa4ebG5pG0h3JnNrg2x4EfABrIyW+LHC1HaWMlcvVVnyWDQ1GA1AJBBd1uTcF7QX oY1y+7g0YZ2BRSnh2qUcwkqgvjH/FVuHSWaXde6XMIvjFxfg1NV53M7lZ1LbUyqgQ2Bk Mq/TkFQJMeKOpo40urCpmEY9gh+6jO16Gr2Hs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=dQ+eT+u5gQC+JE2LqJrMtt1Fr4zXQt0gHG+EY+4aXwPXQYital610Ax23P97VATfgi Qe4g0KNdkgKorVTUMKZFJTiqkEpHKrsIaBBNbhS4EH8d6tF+JgzTqjg07KPwRM+a4S2r ic9zjm6yC3We1ke/NEXh15+TktUicEPmW8v4g= Received: by 10.103.198.15 with SMTP id a15mr4984365muq.60.1225386099448; Thu, 30 Oct 2008 10:01:39 -0700 (PDT) Received: by 10.103.239.11 with HTTP; Thu, 30 Oct 2008 10:01:39 -0700 (PDT) Message-ID: Date: Thu, 30 Oct 2008 13:01:39 -0400 From: "Andrey Vul" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Sound issue - can't use /dev/dsp In-Reply-To: <20081030164103.GE18532@edespot.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081030164103.GE18532@edespot.com> X-Archives-Salt: 7206b238-aa76-487e-a08e-ed8707d21a39 X-Archives-Hash: 777b684055953e0db4fd593d04f5fa90 On Thu, Oct 30, 2008 at 12:41 PM, Andrew MacKenzie wrote: > My MythTV Gentoo box has recently started having issues recording sound. > The TV tuner re-plays audio through the "mic" interface on my soundcard. > It has worked for months, but now MythTV can't read anything from /dev/dsp. > > Any device that uses ALSA directly seems to work fine (like TVTime which > plays TV with audio just fine) - only those that rely on /dev/dsp seem to > have trouble. My simple test shows this: > > # cat /dev/dsp > /dev/null > cat: /dev/dsp: Input/output error > > This was run as root. Perms are fine: > > crw-rw---- 1 root audio 14, 3 2008-10-03 08:56 /dev/dsp > > Myth user is in audio group (always has been). > > Has something changed in ALSA that I didn't catch? I don't see anything in > my logs or dmesg that shows a problem. My /etc/asound.conf is as follows: > pcm.nforce-hw { > type hw > card 0 > } > pcm.!default { > type plug > slave.pcm "nforce" > } > pcm.nforce { > type dmix > ipc_key 1234 > ipc_perm 0660 > slave { > pcm "hw:0,0" > period_time 0 > period_size 1024 > buffer_size 4096 > #rate 44100 > rate 48000 > } > } > ctl.nforce-hw { > type hw > card 0 > } > > > I have tried without this asound.conf and see the same issue. Try using alsaconf as root. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?