24. Juni 2017 at 17:29 #29706
I’m running a speaker with a raspberryPi, Justboom Amp soundcard, the rotary encoder and Max2Play.
The speaker ist working fine and I can start and stop playback using the button included in the rotary encoder.
When I turn the rotary encoder, playback stops (turning direction doesn’t matter). If I start and stop playback with the rotary encoder, it works again. If I use an app to control the Logitech Media Server the player is attached to and change the volume of the speaker, playback starts again after turing the rotary encoder. The problem occured after I changed the rotary encoder start options to decrease the volume steps. The settings have been reset, but I couldn’t get the funtionality back.
Rotary Encoder start options:
-c hw:0 -m Digital –gpiorot=24,23
Advanced command line options
-s <servername> -o hw:CARD=sndrpijustboomd -V Digital -Q -X 25
#### SQUEEZELITE VERSION ####
Squeezelite Max2Play v1.0.2 based on v1.8.4-726, Copyright 2012-2015 Adrian Smith, 2015-2016 Ralph Irving.
#### SQUEEZELITE BUILDOPTIONS ####
Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR GPIO DSD CONTROLSBS ALSASYNC BLUETOOTHSYNC
#### AUDIOPLAYER CONFIG ####
### Configuration of Audioplayers
SQUEEZELITE_PARAMETER=-o sysdefault:CARD=sndrpijustboomd -a 80:4:: -s <servername> -o hw:CARD=sndrpijustboomd -V Digital -Q -X 25
SHAIRPORT_PARAMETER=-d sysdefault:CARD=sndrpijustboomd -t hardware -m hw:CARD=sndrpijustboomd -c Digital
#### SQUEEZELITE -l ####
null – Discard all samples (playback) or generate zero samples (capture)
pulse – PulseAudio Sound Server
plugequal – Equalizer for plughw:0,0
default:CARD=sndrpijustboomd – snd_rpi_justboom_dac, – Default Audio Device
sysdefault:CARD=sndrpijustboomd – snd_rpi_justboom_dac, – Default Audio Device
dmix:CARD=sndrpijustboomd,DEV=0 – snd_rpi_justboom_dac, – Direct sample mixing device
dsnoop:CARD=sndrpijustboomd,DEV=0 – snd_rpi_justboom_dac, – Direct sample snooping device
hw:CARD=sndrpijustboomd,DEV=0 – snd_rpi_justboom_dac, – Direct hardware device without any conversions
plughw:CARD=sndrpijustboomd,DEV=0 – snd_rpi_justboom_dac, – Hardware device with all software conversions
#### SHAIRPORT VERSION ####
#### OUTPUT SOUND DETAILS CARD 0 ####
rate: 44100 (44100/1)
#### OUTPUT SOUND DETAILS CARD 1 ####
Thank you for your help!28. Juni 2017 at 15:27 #29749
For the LMS settings you can simply copy the /var/lib/squeezeboxserver/ directory to a USB drive and then copy it back to your new image.
For a whole backup, you can use our image burner plugin: https://www.max2play.com/en/wiki/creating-an-image-backup/29. Juni 2017 at 13:58 #29763
thank you for your suggestions. I decided to reset the settings manually, wasn’t much effort in the end.
The good news: your tip did the trick, now everything works perfectly again.
One question: How can I reduce the steps in volume when turning the knob? I still feel they are too big.
Tim9. Juli 2017 at 21:17 #29862
I found an easy way to adjust the volume steps / increments of the rotary encoder.
In the rotary encoder start options just add „–inc=40“ at the end. Change the value if you prefer different increment sizes. Be aware that INCREASING the number, DECREASES the volume increment and vice versa. Who knows why, but it works so I stoped worrying.
Here is my start option line:
-c hw:0 -m Digital –gpiorot=24,23 –vol=60 –inc=40
@Heiner: Could you mark this topic as solved? I couldn’t find a way to do this. Thanks!13. Juni 2018 at 19:59 #36191
Hi…in my case Volume control data it supposed to be sent through linux system driver with usb to custom Xmas card and then to ES9018k2m chip with I2C.You you know how i can setup my squeezebox and squeeze lite to run with it ?I did a test with DSD because it is the only way for me to be sure that this hardware volume control works or not.Do you know if there is something to do in asound.conf to bind the squeezelite / squeezebox volume control on the linux system volume control for it to work ?
You must be logged in to reply to this topic.