After quite some time spending with try and error I have been successful
in installing the Waveinput under a Raspberry Max2Play setup, which uses
Pulseaudio and a cirrus logic soundboard.
Since Max2Play switches to Pulseaudio, when you install their bluetooth
plugin, the default Alsa approach does not work and you have to deal
with pulseaudio (I use the bluetooth plugin for streaming music from
friends' phones to my squeezebox eco-system, which is quite handy for
multi-room synchronization). 
Step for Step how it worked for myself:

In Max2Play under Raspberry Settings
- Enable Wolfson Cirrus Logic Soundcard, which uses a patched old kernel
and writes in config.txt: "dtoverlay=rpi-cirrus-wm5102"
- Disable Built-in Sound of Rasperry, which writes in config.txt:
"dtparam=audio=off"
- Enable I2S-MMAP Mixer, which writes into config.txt:
"dtoverlay=i2s-mmap"

Reboot

Add User Rights for Pulse Access via SSH login (not sure if needed but
useful for debugging):
sudo usermod -a -G pulse-access squeezeboxserver
sudo usermod -a -G pulse squeezeboxserver
sudo usermod -a -G pulse-access pi
sudo usermod -a -G pulse pi


Set Soundcard to line-in:
sudo /opt/max2play/wolfson/Reset_paths.sh
sudo /opt/max2play/wolfson/Record_from_lineIn_Micbias.sh


Check Available Cards:
pactl list short
Output for Cirrus Logic should contain a card called
"alsa_input.platform-soc_sound.analog-stereo"


connect line-in, play music to line-in and test recording into flac:
cd ~
parec -v -d alsa_input.platform-soc_sound.analog-stereo
--file-format=flac recording.flc

If flac contains music, we have been successful, add to Logitech
favorites:
wavin:alsa_input.platform-soc_sound.analog-stereo

And we should be done.
Usually the cirrus logic card should remember the input settings.
However it might be handy to remember following commands, also if you
want to capture the input from the SPDIF inpult. In my case I added them
to the Severpowercontrol plugin for a quick execution via my
squeezeboxes:

sudo /opt/max2play/wolfson/Record_from_lineIn_Micbias.sh
sudo /opt/max2play/wolfson/Reset_paths.sh
sudo /opt/max2play/wolfson/SPDIF_record.sh
sudo /opt/max2play/wolfson/Record_from_lineIn.sh


------------------------------------------------------------------------
frankd's Profile: http://forums.slimdevices.com/member.php?userid=52885
View this thread: http://forums.slimdevices.com/showthread.php?t=49584

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to