billtsig wrote:
> Hi there again with your asistance i make it work! i'm pretty happy with
> that
>
> i enter this code in the ssh and the encoder worlks really well
>
> >
Code:
--------------------
> >
> $ sudo pigpiod
> $ sudo modprobe uinput
> $ sudo sbpd e,2,3,KEY:KEY_UP-KEY_DOWN,4 b,4,KEY:KEY_RIGHT
>
--------------------
> >
>
> but when i do a reboot my "script" stops working and needs a run from
> ssh , probably i must mount this to a folder that runs on boot or in
> the config.txt , i try this at this moment , thanks everyone again
You can use user command, in the tweak tab. the command I use :
Code:
--------------------
sudo pigpiod -t 0;sleep 0.1; sbpd -d -s e,17,20,VOLU,2 b,13,PLAY
b,23,NEXT,2,0 b,12,PREV,2,0
--------------------
------------------------------------------------------------------------
Bill0t's Profile: http://forums.slimdevices.com/member.php?userid=47550
View this thread: http://forums.slimdevices.com/showthread.php?t=107001
_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy