slashusrbin
Posts: 2
Joined: Sat Mar 28, 2015 10:18 pm

Fedora 21 on RPi2 - no audio devices

Sat Mar 28, 2015 10:48 pm

Got the RPi2 last week, loving it. I'm trying different distros. Currently playing with Fedora 21 and loving it. It runs really well. The only problem I have so far is that I can't find (via Google, forums, etc.) how to get any audio device to show up in Fedora21 for the RPi2. I've tried the hdmi_drive=2 in the config.txt (I'm using BerryBoot) but no luck. If I go into the System-->Preferences-->Hardware-->Sound settings and look at the Hardware tab, it's empty. Useful help would be very much appreciated. Thx!

slashusrbin
Posts: 2
Joined: Sat Mar 28, 2015 10:18 pm

Re: Fedora 21 on RPi2 - no audio devices

Sat Mar 28, 2015 11:34 pm

So I finally found some forum posts that helped. I found that the Broadcom 2836 that the Raspberry Pi 2 is based on is nearly identical in many ways to the Broadcom 2835, especially for audio. Forum posts I found for the 2835 show that for audio a kernel module called "snd_bcm2835" is used. I don't work with modules much, so I don't know how to make that permanent on every boot up, but for now I can load it manually. I'm using the HDMI audio to play on my HDMI monitor by the way, not the headphone/audio jack built into the board.
# modprobe snd_bcm2835
# alsactl init
Found hardware: "bcm2835" "Broadcom Mixer" "" "" ""
Hardware is initialized using a generic method
snd_bcm2835 17604 2
snd_seq 49800 0
snd_seq_device 4906 1 snd_seq
snd_pcm 70613 1 snd_bcm2835
snd_timer 16630 2 snd_pcm,snd_seq
snd 47642 9 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device

Hopefully that helps some of you trying to work with Fedora and the Raspberry Pi 2 to get sound/audio working.

sunover
Posts: 13
Joined: Mon Mar 23, 2015 10:18 pm

Re: Fedora 21 on RPi2 - no audio devices

Wed Apr 01, 2015 9:55 am

how to install fedora 21 on sd card??

tpylkko
Posts: 417
Joined: Tue Oct 14, 2014 5:21 pm

Re: Fedora 21 on RPi2 - no audio devices

Wed Apr 01, 2015 10:42 am

It is possible to set kernel modules to load at boot:
http://xmodulo.com/how-to-load-kernel-m ... -time.html

Angelito_78
Posts: 2
Joined: Mon Apr 27, 2015 6:58 am

Re: Fedora 21 on RPi2 - no audio devices

Mon Apr 27, 2015 10:12 am

Hi,

I have the same issue but the "modprobe trick" does not work for me. You wrote about a forum where you find ideas to solve the problem. Do you remember which one?

I use berryboot with built-in image (but don't know if it does change something here).
Here is what I get:

Code: Select all

[root@berryboot myves]# modprobe snd-bcm2835
[root@berryboot myves]# lsmod | grep snd 
snd_bcm2835            17419  2 
snd_seq                49800  0 
snd_seq_device          4906  1 snd_seq
snd_pcm                68808  1 snd_bcm2835
snd_timer              16630  2 snd_pcm,snd_seq
snd                    47011  9 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device
[root@berryboot myves]# alsactl init
Found hardware: "bcm2835" "Broadcom Mixer" "" "" ""
Hardware is initialized using a generic method
[root@berryboot myves]#

Angelito_78
Posts: 2
Joined: Mon Apr 27, 2015 6:58 am

Re: Fedora 21 on RPi2 - no audio devices

Mon Apr 27, 2015 6:55 pm

Hi,

For some other reasons I have restarded with a fresh install of berryboot. I choose "Headphones" instead of "auto" at first screen to give a try.

Guess what: it worked at first boot and the module was already listed in lsmod.

So solved for me

Return to “Pidora / Fedora”