mfraser wrote:
> Some progress, I can change volume using the remote and Linux keytables.
> So if I change the command to use keys instead it should work.
It is now working with the script amended to
Code:
--------------------
#!/bin/sh
# start pigpiod daemon
sudo pigpiod -t 0
# 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 -d -s b,20,POWR,0,1 b,5,PREV,0,1 b,6,PLAY,0,1 b,12,NEXT,0,1
b,13,KEY:KEY_MINUS,0,1 b,16,KEY:KEY_EQUAL,0,1
--------------------
------------------------------------------------------------------------
mfraser's Profile: http://forums.slimdevices.com/member.php?userid=22793
View this thread: http://forums.slimdevices.com/showthread.php?t=107001
_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy