I installed pcp-sbpd and it seemed to not be working right. To figure
out what was happening I ran sbpd in debug mode -v.
the output seems to me to be saying that there are multiple buttons
being pressed. here is the output:
Code:
--------------------
1524798970.1715 6 discovery.c,242: Found server 0201A8C0. Same as before
1524798973.2751 6 discovery.c,242: Found server 0201A8C0. Same as before
1524798976.1158 6 GPIO.c,99: Long PRESS: 85586035
1524798976.1160 6 control.c,106: Button CB set for button 1
1524798976.1160 6 GPIO.c,99: Long PRESS: 85586035
1524798976.1161 6 control.c,106: Button CB set for button 2
1524798976.1161 6 GPIO.c,99: Long PRESS: 85586035
1524798976.1162 6 control.c,106: Button CB set for button 3
1524798976.1781 6 control.c,217: Button pressed: Pin: 27, Press Type:Long
1524798976.1782 6 control.c,217: Button pressed: Pin: 22, Press Type:Long
1524798976.1783 6 control.c,217: Button pressed: Pin: 23, Press Type:Long
1524798976.3368 6 GPIO.c,104: Short PRESS: 221
1524798976.3369 6 control.c,106: Button CB set for button 0
1524798976.3370 6 GPIO.c,99: Long PRESS: 85586256
1524798976.3370 6 control.c,106: Button CB set for button 1
1524798976.3371 6 GPIO.c,99: Long PRESS: 85586256
1524798976.3371 6 control.c,106: Button CB set for button 2
1524798976.3372 6 GPIO.c,99: Long PRESS: 85586256
1524798976.3372 6 control.c,106: Button CB set for button 3
1524798976.3790 6 discovery.c,242: Found server 0201A8C0. Same as before
1524798976.3793 6 control.c,217: Button pressed: Pin: 17, Press Type:Short
1524798976.3793 6 servercomm.c,74: Send Command:0, Fragment:["pause"]
1524798976.3955 6 control.c,217: Button pressed: Pin: 27, Press Type:Long
1524798976.3962 6 control.c,217: Button pressed: Pin: 22, Press Type:Long
1524798976.3963 6 control.c,217: Button pressed: Pin: 23, Press Type:Long
1524798979.4999 6 discovery.c,242: Found server 0201A8C0. Same as before
1524798982.6040 6 discovery.c,242: Found server 0201A8C0. Same as before
--------------------
but when I test if there is anything wrong with the buttons using gpio
-g read 17 etc... only one button is really detected.
Is this a problem in the code?
------------------------------------------------------------------------
foxsam's Profile: http://forums.slimdevices.com/member.php?userid=62520
View this thread: http://forums.slimdevices.com/showthread.php?t=107001
_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy