I've coped that script, and changed the last line so it now reads:

#!/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 sbpd with root permissions
sudo modprobe uinput
sudo chmod g+w /dev/uinput

# issue the sbpd command
sbpd e,16,18,VOLU

I've double checked my wiring and my encoder is definitely on 16 & 18
It's not working :(

Are there any diagnostics I can do to make sure the script has
successfully run, and anything I can use to 'detect' my encoder on those
pins in case the encoder is broken?


------------------------------------------------------------------------
jemhayward's Profile: http://forums.slimdevices.com/member.php?userid=55065
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