Raspberry Pi3 - no sound, would like mplayer

Dear all

AFAIK sound via HDMI on a Pi3 with OpenSUSE aarch64 is not possible (as per release announcement). I am uncertain the status of sound via the analogue jack - has anyone got this working? Certainly on my setup there is nothing after boot in dmesg that looks like a sound driver despite having dtparam=audio=on in my config.txt (which in Raspbian loads snd_bcm2835). And firing Sound module in YaST throws an error “No card found”.

If I can get sound the next challenge would be to install mplayer but it seems to me there are no aarch64 packages in Packman - are these located elsewhere?

TIA

Hi
You would need to look at asking on the Packman Mailing list, info at http://lists.links2linux.de/cgi-bin/mailman/listinfo/packman for Aarch64 built targets.

Did you try;


# Force the monitor to HDMI mode so that sound will be sent over HDMI cable
hdmi_drive=2

Ref: https://www.raspberrypi.org/documentation/configuration/config-txt/README.md

My problem is more basic than that - I don’t have any /proc/asound/ structure nor devices in /dev/snd/

~> ls -l /dev/snd/
total 0
crw-rw----+ 1 root audio 116,  1 Jan  1  1970 seq
crw-rw----+ 1 root audio 116, 33 Jan  1  1970 timer

I haven’t tried to keep up with all the architectural changes over the years relating to sound…
A better starting point than looking at specific file locations is to open up YaST, verify a sound device is recognized and note its configuration.

TSU

Sure. As per 1st post firing Sound module in YaST throws an error “No card found”.

What happens if you try to load the sound driver manually?

modprobe snd_bcm2835

This might be applicable…

  1. It seems the snd_bcm2835 module isn’t set up to autoload. I added it
    into a file in /etc/modules-load.d/ and that seems to have resolved it.

https://lists.opensuse.org/opensuse-arm/2014-01/msg00034.html

Good suggestion -

~> sudo modprobe snd-bcm2835
modprobe: FATAL: Module snd-bcm2835 not found.

Seems there is no snd-bcm2835 in the build: indeed a filesearch finds no such file whereas in Raspbian it is in /lib/modules/…/kernel/sound/arm/. I guess it either hasn’t been built yet for aarch64 or there is a packaging error. I did try copy the (arm7) version from Raspbian into /lib/modules/4.4.49-16-default/kernel/sound/arm/ but got the same ‘module not found’ error so I guess installing it takes more than just copying a file! Apart from which don’t really expect a arm7 driver to work under aarch64 but it was a clutch at a straw.

I checked the package “alsa-firmware” and did not see the bcm2385 there. I search on openSUSE download only revealed BCM2385 timer: https://software.opensuse.org/package/perl-Device-BCM2835-Timer.

That does suggest thou someone has done some work on this for openSUSE. I just came back from vacation and I need to rush to work (my paid job) and can’t look into this any further now.

Good luck in your efforts.