On Wed, 17 Jun 2015, King Beowulf wrote:

> 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.

Ed,

   Yes, udev is rather mysterious to us mere mortals. And I did not find
Slackware-specific threads in my Web searches. Once there was a Slackware
sound trouble-shooting/configuration Web page but I did not find it.

> 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:

   No. It's available at SBo, but not installed here:

$ ls /var/log/packages | grep pulseaudio
$

> 1.
> make sure /dev/snd are root:root and perms 755; contents are
> root:audio with perms 660 and suid on execution.
ll /dev/snd
total 0
drwxr-xr-x 2 root root       60 Jun 12 00:32 by-path/
crw-rw---- 1 root audio 116,  7 Jun 12 07:33 controlC0
crw-rw---- 1 root audio 116,  6 Jun 12 07:33 hwC0D0
crw-rw---- 1 root audio 116,  5 Jun 12 07:33 pcmC0D0c
crw-rw---- 1 root audio 116,  4 Jun 17 11:48 pcmC0D0p
crw-rw---- 1 root audio 116,  2 Jun 12 07:33 pcmC0D2p
crw-rw---- 1 root audio 116,  3 Jun 12 07:33 pcmC0D3p
crw-rw---- 1 root audio 116,  1 Jun 12 00:32 seq
crw-rw---- 1 root audio 116, 33 Jun 12 07:33 timer

   Hm-mm-m. Not 755 but 660. Apparently, /dev/snd/ is a directory and the
above are sub-directories.

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

   Yep.

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

   Nope. Never had to customize anything sound related in the past.

> 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.

   Yep. First thing I checked. Sound card selector has default (at the top)
then 0 HDA ATI SB which is selected.

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

   Yep. oss.conf blacklists all 61 sound drivers.

> 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

   Here, XMMS -> options -> preferences brings up a tabbed dialog box. The
left-most tab is Audio IO Plugins with a list that does not iuclude any of
the above. Rather, it lists CD audio player, MPEG Layer 1/2/3, Ogg Vorbis
player, etc.

   Nothing ALSA-specific on the other tabs.

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

   I find no GUI for mplayer preferences. The man page pointed me to
/etc/mplayer/mplayer.conf which has all audio settings commented out.

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

   Interesting. I knew of aplay -l which produces this:

[rshepard@salmo ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: VT1708S Alt Analog [VT1708S Alt Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 3: VT1708S Digital [VT1708S Digital]
   Subdevices: 1/1
   Subdevice #0: subdevice #0

and aplay -L is a new option for me. It yields the equivalent list as it
does on your system:

[rshepard@salmo ~]$ aplay -L
null
     Discard all samples (playback) or generate zero samples (capture)
default:CARD=SB
     HDA ATI SB, VT1708S Analog
     Default Audio Device
sysdefault:CARD=SB
     HDA ATI SB, VT1708S Analog
     Default Audio Device
front:CARD=SB,DEV=0
     HDA ATI SB, VT1708S Analog
     Front speakers
surround40:CARD=SB,DEV=0
     HDA ATI SB, VT1708S Analog
     4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
     HDA ATI SB, VT1708S Analog
     4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
     HDA ATI SB, VT1708S Analog
     5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
     HDA ATI SB, VT1708S Analog
     5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
     HDA ATI SB, VT1708S Analog
     7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=SB,DEV=0
     HDA ATI SB, VT1708S Digital
     HDMI Audio Output

> Then
>
> $ speaker-test -Ddefault -c2 -twav

[rshepard@salmo ~]$ speaker-test -Ddefault -c2 -twav

speaker-test 1.0.27.1

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
  0 - Front Left
  1 - Front Right
Time per period = 2.690377
  0 - Front Left
  1 - Front Right
Time per period = 3.008048
  0 - Front Left
  1 - Front Right
Time per period = 3.008013
  0 - Front Left
  1 - Front Right
Time per period = 3.008017
  0 - Front Left
  1 - Front Right
Time per period = 3.008090
  0 - Front Left

... at which point I killed the process.

> 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.

   Does not appear so.

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

   Will check this out RSN.

   FWIW, sound does work for root, but not for a user ... at least, not this
user.

Thanks,

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

Reply via email to