Hello,
There is a driver for Sapphire remote that it add lots of new functions as long press:
Linux / MythTV driver for Sapphire TheatriX remote control
Could you add this driver to Libreelec image?
How could I compile it?
Best regards.
Hello,
There is a driver for Sapphire remote that it add lots of new functions as long press:
Linux / MythTV driver for Sapphire TheatriX remote control
Could you add this driver to Libreelec image?
How could I compile it?
Best regards.
Plus 1, great driver.
seems this remote can just use the hid-topseed driver included in the kernel, why would we want an out of tree driver?
seems this remote can just use the hid-topseed driver included in the kernel, why would we want an out of tree driver?
Because it is much better. Enables long press and other enhancements.
Because it is much better. Enables long press and other enhancements.
I can look to compile it as an addon
I can look to compile it as an addon
Thanks!
Tell me if you need to test with someone.
Regards.
I looked into this and unfortunately the setup scripts are not friendly with the ash busybox shell that we use.
So without a complete rewrite of the sapphire_keymap.sh script it won't be possible to use on LibreELEC.
Have you tried to remap keys using .hwdb.
I am not very acknowledgeable, but got my ATI Remote Wonder II working. There were also many non working buttons.
Let me know if you need some help. Created a thread on the OpenELEC forum some time ago.
Regards
lrusak I am not overly sure what parts of the script are not ash compatible, if you can point me to the incompatible parts I'll see if I can rewrite.
Cheers.
lrusak I am not overly sure what parts of the script are not ash compatible, if you can point me to the incompatible parts I'll see if I can rewrite.Cheers.
the sapphire_keymap.sh script is not ash compatible as it uses arrays.
nickr it might just be easier for me to compile bash and include It in the addon. I'll try doing that.
Ok, because I got pretty lost... (not really being a programmer, or even having much time )
Maybe this could help:
How to use array in ash? - Stack Overflow
Gerald
Hello,
Did you compile it? I could test it if you want.
I notice that by default the "radio" and "right" key do the same (right key).
Tell me if you need any help.
Kind regards.
Hello,Did you compile it? I could test it if you want.
I notice that by default the "radio" and "right" key do the same (right key).
Tell me if you need any help.
Kind regards.
I have compiled it and it now runs, however it is fragile because it relies on a specific kernel version,
If you want to test please let me know which LibreELEC build (hardware) you are using so I can compile a test addon for you.
see, Sapphire Remote driver addon by lrusak · Pull Request #561 · LibreELEC/LibreELEC.tv · GitHub
7.0.2, happy to test. X86/64.
nickr I only have master setup right now, if you install 7.90.003 I can get you a test add-on.
I'll install on my test machine. Ta.