So I'm trying to get sound working on a Raspberry Pi model B running Pidora which is the Fedora (20?) port to RPi. There is no sound configuration upon first boot, the way it is in the regular Fedora, so I'm guessing I have to configure pulseaudio and alsa manually.
Does anyone know how sound is configured first time in Fedora? If there is a tool that does that, I could call it on the RPi.
The sound device on the RPi uses the snd_bcm2835 driver, which (for reasons I don't understand) is compiled into the kernel, so the driver should not be the problem.
I run
pulseaudio -D --log-target=file:pulse.log # as normal user
aplay -l # still as normal user aplay: device_list:268: no soundcards found...
However, as root
[root@apollo ~]# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] Subdevices: 8/8 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 Subdevice #7: subdevice #7 card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0
But even as root,
[root@apollo ~]# amixer ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
amixer: Mixer attach default error: Connection refused
Similarly for other alsa
Short of some tool to probe for the devices and configure the sound, can someone point me or guide me to configure all this manually?
Thanks!
P.S. I did post this on the relevant RPi forum, but I haven't got a reply and I doubt I'll get one. That's probably because the mainstream linux on the RPi is raspbian - a version of debian - in which sound seems to work, so things must be configured properly for the RPi in raspbian. Fedora is a different story.