I tried a couple of Linux Images to see if they support the Cirrus Logic audio card.
- Volumio 1.5 - does not support the audio card.
# cat /dev/sndstat Sound Driver:3.8.1a-980706 (ALSA emulation code) Kernel: Linux volumio 3.12.26+ #702 PREEMPT Wed Aug 6 17:43:49 BST 2014 armv6l Config options: 0 Installed drivers: Type 10: ALSA emulation Card config: bcm2835 ALSA Audio devices: NOT ENABLED IN CONFIG Synth devices: NOT ENABLED IN CONFIG Midi devices: NOT ENABLED IN CONFIG Timers: 7: system timer Mixers: NOT ENABLED IN CONFIG
- SqueezePlug_rpi_750 - does not support the audio card
# cat /dev/sndstat Sound Driver:3.8.1a-980706 (ALSA emulation code) Kernel: Linux lounge-audio 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l Config options: 0 Installed drivers: Type 10: ALSA emulation Card config: bcm2835 ALSA Audio devices: NOT ENABLED IN CONFIG Synth devices: NOT ENABLED IN CONFIG Midi devices: NOT ENABLED IN CONFIG Timers: 7: system timer Mixers: NOT ENABLED IN CONFIG
- cirrus_audio.img - Obviously this does support the audio card.
# cat /dev/sndstat Sound Driver:3.8.1a-980706 (ALSA emulation code) Kernel: Linux raspberrypi 3.12.33+ #12 PREEMPT Wed Dec 3 09:36:24 GMT 2014 armv6l Config options: 0 Installed drivers: Type 10: ALSA emulation Card config: bcm2835 ALSA snd_rpi_wsp Audio devices: NOT ENABLED IN CONFIG Synth devices: NOT ENABLED IN CONFIG Midi devices: NOT ENABLED IN CONFIG Timers: 7: system timer Mixers: NOT ENABLED IN CONFIG
Using Squeezelite, I can set up a simple squeezebox player
Squeezelite v1.7, Copyright 2012-2015 Adrian Smith. See -t for license termsModifying rc.local to run squeezelite at startup:
pi@raspberrypi ~ $ cat /etc/rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # Print the IP address _IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi /home/pi/Reset_paths.sh /home/pi/Playback_to_Lineout.sh /home/pi/squeezelite-armv6hf -o sysdefault:CARD=sndrpiwsp -n Lounge -z exit 0
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.