public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Sound issue - can't use /dev/dsp
@ 2008-10-30 16:41 Andrew MacKenzie
  2008-10-30 17:01 ` Andrey Vul
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew MacKenzie @ 2008-10-30 16:41 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1698 bytes --]

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.

-- 
// Andrew MacKenzie  |  http://www.edespot.com
// GPG public key: http://www.edespot.com/~amackenz/public.key
// I've touch'd the highest point of all my greatness;
// And from that full meridian of my glory
// I haste now to my setting.  I shall fall,
// Like a bright exhalation in the evening
// And no man see me more.
//                 -- Shakespeare

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-30 20:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-30 16:41 [gentoo-user] Sound issue - can't use /dev/dsp Andrew MacKenzie
2008-10-30 17:01 ` Andrey Vul
2008-10-30 20:06   ` Andrew MacKenzie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox