Is it possible that the SqueezeButtonPi Daemon (sbpd) might be
incompatible with pCP6?  After swapping out my 3B+ in my amplifier for
the 4B,  complete with my own PCB with a number of momentary
pushbuttons, I've been unable to get the 4B to respond to any button
presses.

On the 3B+ I had it set up as a User Command, but to try and debug it
I've disabled that command and have been entering it manually at a
command prompt via SSH.  I can see that my config file is being read and
interpreted, but there's no response to any button presses.


Code:
--------------------
    sbpd -v -f /home/tc/sbpd_commands.cfg b,27,POWR,2,0,RSRT,2000 
b,23,PREV,2,0,PLAY,500 b,22,MIX-,2,0,MUTE,500 b,24,PAUS,2,0,STOP,5
  1562621454.2080 6 sbpd.c,277: Options parsing: Set verbose mode
  1562621454.2081 6 sbpd.c,336: Options parsing: Setting command config file to 
/home/tc/sbpd_commands.cfg
  1562621454.2083 6 sbpd.c,490: name=PAUS, value=["pause"]
  1562621454.2083 6 control.c,75: Adding Command PAUS: Fragment ["pause"]
  1562621454.2083 6 sbpd.c,490: name=VOL-, value=["button","voldown"]
  1562621454.2084 6 control.c,75: Adding Command VOL-: Fragment 
["button","voldown"]
  1562621454.2084 6 sbpd.c,490: name=VOL+, value=["button","volup"]
  1562621454.2084 6 control.c,75: Adding Command VOL+: Fragment 
["button","volup"]
  1562621454.2084 6 sbpd.c,490: name=PREV, value=["button","rew"]
  1562621454.2084 6 control.c,75: Adding Command PREV: Fragment ["button","rew"]
  1562621454.2085 6 sbpd.c,490: name=NEXT, value=["button","fwd"]
  1562621454.2085 6 control.c,75: Adding Command NEXT: Fragment ["button","fwd"]
  1562621454.2085 6 sbpd.c,490: name=POWR, value=["power"]
  1562621454.2085 6 control.c,75: Adding Command POWR: Fragment ["power"]
  1562621454.2085 6 sbpd.c,490: name=MIX+, value=["mixer","volume","+5"]
  1562621454.2085 6 control.c,75: Adding Command MIX+: Fragment 
["mixer","volume","+5"]
  1562621454.2086 6 sbpd.c,490: name=MIX-, value=["mixer","volume","-5"]
  1562621454.2086 6 control.c,75: Adding Command MIX-: Fragment 
["mixer","volume","-5"]
  1562621454.2086 6 sbpd.c,490: name=VMAX, value=["mixer","volume","100"]
  1562621454.2086 6 control.c,75: Adding Command VMAX: Fragment 
["mixer","volume","100"]
  1562621454.2086 6 sbpd.c,490: name=MUTE, value=["mixer","volume","0"]
  1562621454.2087 6 control.c,75: Adding Command MUTE: Fragment 
["mixer","volume","0"]
  1562621454.2087 6 sbpd.c,490: name=PLAY, value=["button","rew.single"]
  1562621454.2087 6 control.c,75: Adding Command PLAY: Fragment 
["button","rew.single"]
  1562621454.2087 6 sbpd.c,490: name=STOP, value=["stop"]
  1562621454.2087 6 control.c,75: Adding Command STOP: Fragment ["stop"]
  1562621454.2088 6 sbpd.c,490: name=SHUF, value=["button","shuffle.single"]
  1562621454.2088 6 control.c,75: Adding Command SHUF: Fragment 
["button","shuffle.single"]
  1562621454.2088 6 sbpd.c,490: name=RSRT, value=["restartserver"]
  1562621454.2088 6 control.c,75: Adding Command RSRT: Fragment 
["restartserver"]
  1562621454.2088 6 sbpd.c,490: name=PRE1, value=["button","preset_1.single"]
  1562621454.2088 6 control.c,75: Adding Command PRE1: Fragment 
["button","preset_1.single"]
  1562621454.2089 6 sbpd.c,490: name=PRS1, value=["button","preset_1.hold"]
  1562621454.2089 6 control.c,75: Adding Command PRS1: Fragment 
["button","preset_1.hold"]
  1562621454.2090 6 sbpd.c,490: name=PRE2, value=["button","preset_2.single"]
  1562621454.2090 6 control.c,75: Adding Command PRE2: Fragment 
["button","preset_2.single"]
  1562621454.2091 6 sbpd.c,490: name=PRE3, value=["button","preset_3.single"]
  1562621454.2091 6 control.c,75: Adding Command PRE3: Fragment 
["button","preset_3.single"]
  1562621454.2092 6 sbpd.c,490: name=PRE4, value=["button","preset_4.single"]
  1562621454.2092 6 control.c,75: Adding Command PRE4: Fragment 
["button","preset_4.single"]
  1562621454.2093 6 sbpd.c,490: name=PRE5, value=["button","preset_5.single"]
  1562621454.2093 6 control.c,75: Adding Command PRE5: Fragment 
["button","preset_5.single"]
  1562621454.2093 6 sbpd.c,490: name=PRE6, value=["button","preset_6.single"]
  1562621454.2094 6 control.c,75: Adding Command PRE6: Fragment 
["button","preset_6.single"]
  1562621454.2094 6 sbpd.c,490: name=PRE7, value=["button","preset_7.single"]
  1562621454.2095 6 control.c,75: Adding Command PRE7: Fragment 
["button","preset_7.single"]
  1562621454.2095 6 GPIO.c,253: Initializing GPIO
  1562621454.2194 6 control.c,203: Button defined: Pin 27, BCM Resistor: up, 
Short Type: LMS, Short Fragment: ["power"] , Long Type: LMS, Long Fragment: 
["restartserver"], Long Press Time: 2000
  1562621454.2304 6 control.c,203: Button defined: Pin 23, BCM Resistor: up, 
Short Type: LMS, Short Fragment: ["button","rew"] , Long Type: LMS, Long 
Fragment: ["button","rew.single"], Long Press Time: 500
  1562621454.2420 6 control.c,203: Button defined: Pin 22, BCM Resistor: up, 
Short Type: LMS, Short Fragment: ["mixer","volume","-5"] , Long Type: LMS, Long 
Fragment: ["mixer","volume","0"], Long Press Time: 500
  1562621454.2530 6 control.c,203: Button defined: Pin 24, BCM Resistor: up, 
Short Type: LMS, Short Fragment: ["pause"] , Long Type: LMS, Long Fragment: 
["stop"], Long Press Time: 5
  1562621454.2533 6 discovery.c,381: MAC address found: dc:a6:32:03:82:22
  1562621454.2533 6 servercomm.c,176: Initializing CURL
  e=["button","fwd"]
  1562619894.8258 6 control.c,75: Adding Command NEXT: Fragment ["button","fwd"]
  1562619894.8258 6 sbpd.c,490: name=POWR, value=["power"]
  1562619894.8258 6 control.c,75: Adding Command POWR: Fragment ["power"]
  1562619894.8258 6 sbpd.c,490: name=MIX+, value=["mixer","volume","+5"]
  1562619894.8258 6 control.c,75: Adding Command MIX+: Fragment 
["mixer","volume","+5"]
  1562619894.8258 6 sbpd.c,490: name=MIX-, value=["mixer","volume","-5"]
  1562619894.8258 6 control.c,75: Adding Command MIX-: Fragment 
["mixer","volume","-5"]
  1562619894.8259 6 sbpd.c,490: name=VMAX, value=["mixer","volume","100"]
  1562619894.8259 6 control.c,75: Adding Command VMAX: Fragment 
["mixer","volume","100"]
  1562619894.8259 6 sbpd.c,490: name=MUTE, value=["mixer","volume","0"]
  1562619894.8259 6 control.c,75: Adding Command MUTE: Fragment 
["mixer","volume","0"]
  1562619894.8259 6 sbpd.c,490: name=PLAY, value=["button","rew.single"]
  1562619894.8259 6 control.c,75: Adding Command PLAY: Fragment 
["button","rew.single"]
  15626198941562621454.3291 6 sbpd.c,232: Starting main loop polling
  .8260 6 sbpd.c,490: name=STOP, value=["stop"]
  1562619894.8260 6 control.c,75: Adding Command STOP: Fragment ["stop"]
  1562619894.8260 6 sbpd.c,490: name=SHUF, value=["button","shuffle.single"]
  1562619894.8260 6 control.c,75: Adding Command SHUF: Fragment 
["button","shuffle.single"]
  1562619894.8260 6 sbpd.c,490: name=RSRT, value=["restartserver"]
  1562619894.8260 6 control.c,75: Adding Command RSRT: Fragment 
["restartserver"]
  1562619894.8260 6 sbpd.c,490: name=PRE1, value=["button","preset_1.single"]
  1562619894.8261 6 control.c,75: Adding Command PRE1: Fragment 
["button","preset_1.single"]
  1562619894.8261 6 sbpd.c,490: name=PRS1, value=["button","preset_1.hold"]
  1562619894.8261 6 control.c,75: Adding Command PRS1: Fragment 
["button","preset_1.hold"]
  1562619894.8261 6 sbpd.c,490: name=PRE2, value=["button","preset_2.single"]
  1562619894.8261 6 control.c,75: Adding Command PRE2: Fragment 
["button","preset_2.single"]
  1562619894.8261 6 sbpd.c,490: name=PRE3, value=["button","preset_3.single"]
  1562619894.8261 6 control.c,75: Adding Command PRE3: Fragment 
["button","preset_3.single"]
  1562619894.8262 6 sbpd.c,490: name=PRE4, value=["button","preset_4.single"]
  1562619894.8262 6 control.c,75: Adding Command PRE4: Fragment 
["button","preset_4.single"]
  1562619894.8262 6 sbpd.c,490: name=PRE5, value=["button","preset_5.single"]
  1562619894.8262 6 control.c,75: Adding Command PRE5: Fragment 
["button","preset_5.single"]
  1562619894.8262 6 sbpd.c,490: name=PRE6, value=["button","preset_6.single"]
  1562619894.8262 6 control.c,75: Adding Command PRE6: Fragment 
["button","preset_6.single"]
  1562619894.8262 6 sbpd.c,490: name=PRE7, value=["button","preset_7.single"]
  1562619894.8262 6 control.c,75: Adding Command PRE7: Fragment 
["button","preset_7.single"]
  1562619894.8263 6 GPIO.c,253: Initializing GPIO
  1562619894.8350 6 control.c,203: Button defined: Pin 27, BCM Resistor: up, 
Short Type: LMS, Short Fragment: ["power"] , Long Type: LMS, Long Fragment: 
["restartserver"], Long Press Time: 2000
  1562619894.8442 6 control.c,203: Button defined: Pin 23, BCM Resistor: up, 
Short Type: LMS, Short Fragment: ["button","rew"] , Long Type: LMS, Long 
Fragment: ["button","rew.single"]
--------------------


I believe that button presses would normally be echoed to the terminal,
but I'm getting nothing when I press the buttons.  So it seems like
maybe sbpd is working ok, but I believe it relies on wiringpi in the
background - could that be incompatible with pCP6?


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110727

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to