I have raspi 3 with a Cirrus Logic audio card, with this kernel: https://github.com/HiassofT/rpi-linux complied from source

It is working, and I have audio for the root and pi user, however an arbitary newly added user does not have correct audio capabilities.

The new user in the audio group, it is in the same groups as the default pi user.

The new user can see the sound card via aplay -l, even can play waw files via aplay, but nor VLC neither mplayer are working. They play audio files without showing any error, but there is no sound.

  • Just to clarify: aplay does make a sound but mplayer does not? – goldilocks May 13 '16 at 12:45
  • @goldilocks Yes aplay can play .waw files, while mplayer and vlc fail, regardless of the format. For root and pi everything is ok – atevm May 13 '16 at 12:50
  • Try grep pulse /etc/group. If there's a pulseaudio group (that will be distinct from the audio group), add the user to that, login again and try. Many A/V apps use have various audio backends and will use a default, but aplay is an alsa specific tool. If Mplayer is using a pulseaudio backend and either 1) there's a group for that you need to belong to or 2) pulseaudio isn't running, that may be a cause. I'd think #1 would lead to an error but I've run into #2 before... – goldilocks May 13 '16 at 13:04
  • ...Have a look at "AUDIO OUTPUT OPTIONS" in man mplayer and try using it from the command line with -ao alsa. – goldilocks May 13 '16 at 13:04
  • mplayer -ao alsa works, thanks. Why pi user does not use puse and the new user does? Can I disable it as an alternative? – atevm May 13 '16 at 13:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.