Dear all,

I've been trying somewhat in vain over the last few days to try and get
SqueezeButtonPi daemon working on my PiZeroW (and iQaudio PiDIGI AMP+).

The aim is nothing crazy - just a rotary encoder with one push-button to
give volume dial + play/pause button controls to pcp.

I've installed pcp-sbpd.tcz on pcp 7.0.0 and have created sbpd-script.sh
(as per a previous post from @chill).

I'm trying to get the following commands to function:


Code:
--------------------
    sbpd -d -s e,23,24,VOLU,0 b,5,PLAY,1
  
--------------------


However when sbpd-script.sh is executed the audio cuts out entirely and
I can't seem to get anything out of it unless I reboot (the Pi doesn't
crash or anything) Please see below for the script:


Code:
--------------------
    #!/bin/sh
  
  # start pigpiod daemon
  
  pigpiod
  
  # give the daemon a moment to start up before issuing the sbpd command
  
  sleep 1
  
  # load uinput module, then set the permission to group writable, so you don't 
need to run s>
  
  sudo modprobe uinput
  
  sudo chmod g+w /dev/uinput
  
  # issue the sbpd command
  
  # This command will cause encoder to move selection right or left; 
Press=Enter; long press=>
  
  sbpd -d -s e,23,24,VOLU,0 b,5,PLAY,1
  
--------------------


When I created sbpd-script.sh I changed ownership to user 'tc' and
changed it's permissions to 755 (to mirror the other shell scripts
within the /home/tc/ location)

33520

Also, please see screengrab below for my Squeezelite settings (I believe
I've correctly switched volume control to '-V Digital' so as to control
the Alsa volume settings with a rotary encoder... or could this be one
issue?)

33519

This evening I've noticed that it's when the 
Code:
--------------------
    pigpiod
--------------------
 command is called that the audio cuts out. Do I need to configure
pigpio ?

I'm clearly out of my depth, but would love to get this working, so any
help *HUGELY *appreciated, and if there's any further info which may
help solve this then do let me know and I'll supply!


thanks so much guys!
Paul


+-------------------------------------------------------------------+
|Filename: sbpd-cli.png                                             |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=33520|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
jedisha's Profile: http://forums.slimdevices.com/member.php?userid=71421
View this thread: http://forums.slimdevices.com/showthread.php?t=107001

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

Reply via email to