Re: [SlimDevices: Unix] controlling jivelite with piCorePlayer with bash script

2018-11-10 Thread paul-
You could probably load the gpio-keys driver. (Currently not included with pCP, but available http://repo.picoreplayer.org/repo/9.x/armv7/releases/RPi/src/kernel/4.14.56-pcpCore_v7_modules.tar.xz ) Make sure you grab the correct kernel modules pack matching your kernel) piCorePlayer a small

Re: [SlimDevices: Unix] controlling jivelite with piCorePlayer with bash script

2018-11-09 Thread Paul Webster
papa_arrugada wrote: > > Is there a solution without a connected keyboard? Presumably the area to experiment with is a "virtual keyboard". Since Ralphy said that evemu supports such a thing - then I expect the challenge will be to get Jivelite to take input from a virtual keyboard rather than

Re: [SlimDevices: Unix] controlling jivelite with piCorePlayer with bash script

2018-11-09 Thread papa_arrugada
Many thanks to Ralphy! This works. I only had to put "sudo" before the evemu-events and press() for the function. With this solution everything is possible per script in jivelite or remote the server. Last question: Is there a solution without a connected keyboard? -

Re: [SlimDevices: Unix] controlling jivelite with piCorePlayer with bash script

2018-11-09 Thread ralphy
I have been able to script jivelite navigation using 'evemu' (https://github.com/freedesktop/evemu.git). The attached script searches for the Beatles artist and navigates to the album list. Evemu has the ability to create a virtual keyboard device, but I'll leave that for someone else to work o

Re: [SlimDevices: Unix] controlling jivelite with piCorePlayer with bash script

2018-11-07 Thread papa_arrugada
I am testing with a changed bootscript "do_rebootstuff.sh" which makes with mkfifo a redirection and a named pipe. And then I want to send keyboard codes with "echo" to the named pipe. I will give good or bad info here next time. thank you for your help! --

Re: [SlimDevices: Unix] controlling jivelite with piCorePlayer with bash script

2018-11-06 Thread bpa
Looking through the code - all input Keyboard, Mouse and IR seems to come from the SDL portability layer. This might make it more difficult to achive desired functionality by modifying the lua code. bpa's Profile: http://

Re: [SlimDevices: Unix] controlling jivelite with piCorePlayer with bash script

2018-11-06 Thread bpa
papa_arrugada wrote: > > > Where possible, I try to avoid writing code especially changing a > "standard" application. Depending on how jivelite is started (and > probably luajit) input can be redirected. I don;t have any PCP so I > can't offer any definite at the moment. > > I think you ne

Re: [SlimDevices: Unix] controlling jivelite with piCorePlayer with bash script

2018-11-06 Thread papa_arrugada
thanks, yes you're right, I understand. I want to make GUI actions and this is going to jivelite. I have seen the InputToActionMap.lua and understand that different sources of inputs (remote control, keyboard...) are covered here. But one thing is not complete clear for me: Is it possible to s

Re: [SlimDevices: Unix] controlling jivelite with piCorePlayer with bash script

2018-11-04 Thread bpa
papa_arrugada wrote: > can you please tell me how I can inject a keyboard shortcut to > jivelite? > > I found for example a "h" for home or a "p" for play or "ESC" for back. > Can I inject in this way with command ir or button? > > for home > > Code: > > echo "$MAC_AD

Re: [SlimDevices: Unix] controlling jivelite with piCorePlayer with bash script

2018-11-04 Thread papa_arrugada
can you please tell me how I can inject a keyboard shortcut to jivelite? I found for example a "h" for home or a "p" for play or "ESC" for back. Can I inject in this way with command ir or button? for home Code: echo "$MAC_ADDR3 button h" | telnet $LMS_IP 9090

Re: [SlimDevices: Unix] controlling jivelite with piCorePlayer with bash script

2018-11-03 Thread bpa
An alternative to consider would be to use your button to inject a Jivelite keyboard shortcut" - it is possible Favorites 0-9 may be configrued to your use or navigate from a home position (best to customise home menu to your requirements) or else find lua source for keyboard shortcuts and add yo

Re: [SlimDevices: Unix] controlling jivelite with piCorePlayer with bash script

2018-11-03 Thread papa_arrugada
Thank you for your information. I am not a lua expert, I found in jivelite sources an applet called selectPlayer. Is there a way to call this page on touchscreen from terminal? Then I could read an external button (named "players") and activate this page on screen. Then the user can do his selec

Re: [SlimDevices: Unix] controlling jivelite with piCorePlayer with bash script

2018-11-02 Thread Greg Erskine
hi papa_arrugada, Nothing simple comes to mind. You might have to brush up on your lua skills. Hopefully the clever guys can help you out. ;) BTW: We don't install bash on pCP only sh, so be a little careful with your scripting, no arrays etc. regards Greg ---

[SlimDevices: Unix] controlling jivelite with piCorePlayer with bash script

2018-11-02 Thread papa_arrugada
Hi, I am running piCorePlayer with a 7 inch touch display and want to ask for a way to control the touch display with installed jivelite from a script. I use GPIO pins for receiving external keys. Up to now I can select a radio station in this way: Code: echo "$MAC_ADD