Important note:
This project is not maintained anymore. The driver is now included in the official RPi repository (4.9 branch). See here and here for more information.
Latest release: 4.4.49-1.
Supported devices:
- Wolfson Audio Card for Raspberry Pi B,
- Cirrus Logic Audio Card for Raspberry Pi B+/A+/2.
Modified Linux kernel source: HiassofT/rpi-linux.
This PKGBUILD
brings you this kernel to ArchLinux ARM OS. It is based on PKGBUILD
from ArchLinux ARM repository.
[wolfsound@wolfsound ~]$ uname -a
Linux wolfsound 4.4.17-2-WSP #1 Wed Aug 17 23:11:34 CEST 2016 armv6l GNU/Linux
[wolfsound@wolfsound ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpiwsp [snd_rpi_wsp], device 0: WM5102 AiFi wm5102-aif1-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
Follow this link for detailed instructions.
-
Clone this repository.
git clone http://github.com/RoEdAl/linux-raspberrypi-wsp.git
-
cd linux-raspberrypi-wsp makepkg -sL
Compilation takes long time. Consider using
distccd
or/andccache
. You may also compile this package on a PC using QEMU Chroot. -
Install kernel package:
pacman -U linux-raspberrypi-wsp-4.4.17-2-armv6h.pkg.tar.xz
Optionally install kernel headers package (for developers only):
pacman -U linux-raspberrypi-wsp-headers-4.4.17-2-armv6h.pkg.tar.xz
-
Enable and configure Cirrus Logic/Wolfson audio card in
/boot/options.txt
file:# Configures Cirrus Logic/Wolfson audio card dtoverlay=rpi-cirrus-wm5102
Optionally enable mmap support:
# Enables mmap support in the bcm2708-i2s driver dtoverlay=i2s-mmap
-
Enable onboard audio interface in
/boot/options.txt
file if you need it (disabled by default):dtparam=audio=on
-
Reboot:
sudo reboot
- element14 community
- RPi Linux driver for Wolfson / Cirrus Logic Audio Card
- RuneAudio - Raspberry Pi2/3 with Cirrus Logic Audio Card
- Cirrus Logic stuff
- Archphile - Yet Another Archlinux Based Audiophile Distribution for Raspberry Pi, Udoo and Cubox-i
- Cirrus Logic Audio Card on Raspberry Pi 2 with Debian Jessie
- raspberrypi/linux - bcm2708-i2s lacks mmap support