On 06/17/2015 11:51 AM, Rich Shepard wrote:
> Last Monday, for the first time, my server/workstation suddenly
> locked up; no keyboard or mouse response. Hanged, not resting. So,
> I shut off the system, waited a few seconds, powered on again. Got
> everything running again ... except for sound.
> 
> Alsamixer uses the correct sound card. Alsactrl init did nothing.
> 
> When I try to play an .mp3 file with xmms I get this error:
> 
> ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp):
> No such ** file or directory
> 
> mplayer also fails to produce sound: audio_setup: Can't open audio
> device /dev/dsp: No such file or directory Failed to initialize
> audio driver 'oss'
> 
> There is no /dev/dsp or /dev/sound
> 
> aplay -l finds the sound card.
> 
> Web searches found no solution that worked because /dev/dsp does
> not exist on Slackware-14.1 until needed.
> 
> However, root has no issue playing a .mp3 file with xmms, but
> produces the same mplayer error.
> 
> What might I have missed here? Past reboots did not cripple the
> sound system as long as I turned up the volumn in alsamixer.
> 
> Rich

Rich,

Slackware et al doesn't use /dev/dsp or /dev/sound....udev puts that
all into /dev/snd/*  Ahh..udev...what fun ...You should rebot 2-3
times to make sure all thus automagical stuff loads correctly after a
lock up.

Are you using pulsaudio or any of that sound server weirdness?
uninstall for now.  have a sound card + HDMI Sound via GPU?   So, in
no particular order:

1.
make sure /dev/snd are root:root and perms 755; contents are
root:audio with perms 660 and suid on execution.

2.
make sure your user is still in the "audio" group.

3.
Did you have a custom ~/.asoundrc or /etc/asopundrc that is now missing?

4.
In alsamixer. make sure MASTER, PCM, FRONT are up.  Ht F6 to see if
you have multiple cards.  I black list the Nvidia HDMI sound so that
udev only has the Audigy card to pick from.

5.
make sure lib/modprobe.d/oss.conf still exists.  This blacklists ALL
oss modules. oss sound is deprecated and - do not use!

6.
In XMMS, right click - options - Preferences and check the
configuration of ALSA plugin.  Mine are:
Audio device: default
Mixer Card: SB Audigy 1
Mixer device: PCM

7.
mplayer preferences: Audio tab.  I have everything set to default.

8.
Use "aplay -L" to list the sound card channels.  Then see if
"speaker-test" can play it. For example:

$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Audigy
    SB Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    Default Audio Device
sysdefault:CARD=Audigy
    SB Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    Default Audio Device
front:CARD=Audigy,DEV=0
    SB Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    Front speakers
rear:CARD=Audigy,DEV=0
    SB Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    Rear speakers
center_lfe:CARD=Audigy,DEV=0
    SB Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    Center and Subwoofer speakers
surround40:CARD=Audigy,DEV=0
    SB Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Audigy,DEV=0
    SB Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Audigy,DEV=0
    SB Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Audigy,DEV=0
    SB Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=Audigy,DEV=0
    SB Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    IEC958 (S/PDIF) Digital Audio Output

Then

$ speaker-test -Ddefault -c2 -twav

Try "front" and "rear" channels, as your default may have been
swapped.  If you get device numbering, you can use "-Dplughw:0,3" as
in card 0, device 3.

See also:
http://www.linuxquestions.org/questions/slackware-14/%5Binformation%5D-nvidia-hdmi-audio-for-steam-client-big-picture-mode-4175489180/




Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to