Jump to content


Photo

AddOn plugin KODI - OK button not working

#kodi

  • Please log in to reply
46 replies to this topic

#1 k0bi

  • Member
  • 5 posts

0
Neutral

Posted 31 October 2023 - 21:19

Hi guys, 

 

I have been using zgemma & openpli for very long time with success.

 

Thank you to all developers for hard work!

 

Recently I have decide to upgrade my working 7.2 to higher version 9.0 due to KODI & Netflix plugin... ( this his how I can watch through my projector, so I'm not interested in some android boxes etc).

 

So, I have installed 9.0, installed Kodi and faced that problem:

 

I can't use key (OK that one from centre of my remote)

Left, right, up/down and back working fine so I can navigate but can't enter anything on screen as OK button is not working.

 

 

I have checked previous 7.2 / 8.3 Openpli with KODI and remote is working Ok = button from centre of my remote is working fine...  --- regarding Kodi plugin

 

How can I fix that ??

 

found keymap.xml on my zgemma and Kodi from 9.0 is completely different to 8.3, I have try to replace config from Openpli 9.0 with 8.3 (different versions of KODI) but no success.

 

any solutions?

 

Thanks 


Edited by k0bi, 31 October 2023 - 21:21.


Re: AddOn plugin KODI - OK button not working #2 Tech

  • Forum Moderator
    PLi® Core member
  • 14,860 posts

+485
Excellent

Posted 31 October 2023 - 21:43

One topic with the same content is sufficient.

 

I deleted the other two


Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....

On the edge of the abyss, a step forward is not always progress....

Hardware: 2x Daily used Vu+ Ultimo 4K - Vu+ Duo 4K SE and a lot more.... - VisioSat BiBigsat - Jultec Unicable Multiswitch 4 positions: 19.2/23.5/28.2 East - Diseqc motorized flatdish antenna

Software : HomeBuild OpenPLi Develop and Scarthgap builds, local cards driven by OsCam

Press the Geplaatste afbeelding button on the buttom right of this message ;)

Have you tried our wiki yet? Many answers can be found in our OpenPLi wiki


Re: AddOn plugin KODI - OK button not working #3 WanWizard

  • PLi® Core member
  • 69,945 posts

+1,788
Excellent

Posted 31 October 2023 - 22:03

Known problem, but until now nobody has found the reason for it, and a solution.

 

It is a problem in Kodi, it doesn't receive or process the key code.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: AddOn plugin KODI - OK button not working #4 rantanplan

  • PLi® Contributor
  • 1,856 posts

+86
Good

Posted 1 November 2023 - 00:13

If an external keyboard is available, then the plugin can be used.

You could still look at it both ways e2-keycode or Plugin keycode.
Problem occurs since change in e2.



Re: AddOn plugin KODI - OK button not working #5 foxbob

  • Senior Member
  • 617 posts

+18
Neutral

Posted 1 November 2023 - 06:47

In my home build, the OK button works. It seems to me that some lines are missing in the patch.Although I could be wrong.

 

It's on the git https://github.com/O...b-support.patch

--- a/xbmc/platform/linux/input/LibInputKeyboard.cpp
+++ b/xbmc/platform/linux/input/LibInputKeyboard.cpp
@@ -145,8 +145,17 @@ static const std::map<xkb_keysym_t, XBMCKey> xkbMap =
   // XBMCK_REWIND clashes with XBMCK_MEDIA_REWIND
   { XKB_KEY_XF86Phone, XBMCK_PHONE },
   { XKB_KEY_XF86AudioPlay, XBMCK_PLAY },
-  { XKB_KEY_XF86AudioRandomPlay, XBMCK_SHUFFLE }
+  { XKB_KEY_XF86AudioRandomPlay, XBMCK_SHUFFLE },
   // XBMCK_FASTFORWARD clashes with XBMCK_MEDIA_FASTFORWARD
+  //Remotebuttons
+  { XKB_KEY_XF86AudioNext , XBMCK_MEDIA_NEXT_TRACK },
+  { XKB_KEY_XF86AudioPrev , XBMCK_MEDIA_PREV_TRACK },
+  { XKB_KEY_XF86Close, XBMCK_ESCAPE },
+  { XKB_KEY_XF86Display , XBMCK_z },
+  { XKB_KEY_XF86MenuKB, XBMCK_MENU },
+  { XKB_KEY_XF86Subtitle , XBMCK_l },
+  { XKB_KEY_XF86Sleep , XBMCK_SLEEP },
+  { XKB_KEY_XF86WWW , XBMCK_TAB }
 };
 } // namespace

This is in my build.

--- a/xbmc/platform/linux/input/LibInputKeyboard.cpp
+++ b/xbmc/platform/linux/input/LibInputKeyboard.cpp
@@ -142,8 +142,26 @@ static const std::map<xkb_keysym_t, XBMCKey> xkbMap =
   // XBMCK_REWIND clashes with XBMCK_MEDIA_REWIND
   { XKB_KEY_XF86Phone, XBMCK_PHONE },
   { XKB_KEY_XF86AudioPlay, XBMCK_PLAY },
-  { XKB_KEY_XF86AudioRandomPlay, XBMCK_SHUFFLE }
+  { XKB_KEY_XF86AudioRandomPlay, XBMCK_SHUFFLE },
   // XBMCK_FASTFORWARD clashes with XBMCK_MEDIA_FASTFORWARD
+  //Remotebuttons
+  { XKB_KEY_XF86AudioCycleTrack , XBMCK_a },
+  { XKB_KEY_XF86AudioNext , XBMCK_MEDIA_NEXT_TRACK },
+  { XKB_KEY_XF86AudioPrev , XBMCK_MEDIA_PREV_TRACK },
+  { XKB_KEY_XF86Close, XBMCK_ESCAPE },
+  { XKB_KEY_XF86Display , XBMCK_z },
+  { XKB_KEY_XF86Launch5 , XBMCK_y },
+  { XKB_KEY_XF86Launch6 , XBMCK_z },
+  { XKB_KEY_XF86Launch7 , XBMCK_z },
+  { XKB_KEY_XF86Launch8 , XBMCK_j },
+  { XKB_KEY_XF86Launch9 , XBMCK_TAB },
+  { XKB_KEY_XF86Meeting , XBMCK_o },
+  { XKB_KEY_XF86MenuKB, XBMCK_MENU },
+  { XKB_KEY_XF86Subtitle , XBMCK_l },
+  { XKB_KEY_XF86Sleep , XBMCK_SLEEP },
+  { XKB_KEY_XF86Support , XBMCK_i },
+  { XKB_KEY_XF86Time , XBMCK_EPG },
+  { XKB_KEY_XF86Video , XBMCK_c }
 };
 
 CLibInputKeyboard::CLibInputKeyboard()


Re: AddOn plugin KODI - OK button not working #6 littlesat

  • PLi® Core member
  • 56,978 posts

+697
Excellent

Posted 1 November 2023 - 08:06

Thanks, I hope this helps.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: AddOn plugin KODI - OK button not working #7 rantanplan

  • PLi® Contributor
  • 1,856 posts

+86
Good

Posted 1 November 2023 - 12:58

https://github.com/O...48b42dbe22964f7

and

https://github.com/O...bf88832069cc51b
follow the History
https://github.com/O...enter/kodi/kodi




 

It has been checked and has not been successful according to feedback.

According to my knowledge, the problem lies in the e2 and I presented the reference to it.



Re: AddOn plugin KODI - OK button not working #8 WanWizard

  • PLi® Core member
  • 69,945 posts

+1,788
Excellent

Posted 1 November 2023 - 18:19

I'm trying to test , but on my current test box (a Qviart Dual 4K), Kodi doesn't even start:

/usr/lib/kodi/kodi-stb: error while loading shared libraries: libmali.so: cannot open shared object file: No such file or directory

 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: AddOn plugin KODI - OK button not working #9 k0bi

  • Member
  • 5 posts

0
Neutral

Posted 1 November 2023 - 19:32

Oh sweet Jezus, can you guys make is simple for person without knowing how to make that under Linux??

Re: AddOn plugin KODI - OK button not working #10 WanWizard

  • PLi® Core member
  • 69,945 posts

+1,788
Excellent

Posted 1 November 2023 - 19:45

Were you asked to do so? Don't think so.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: AddOn plugin KODI - OK button not working #11 WanWizard

  • PLi® Core member
  • 69,945 posts

+1,788
Excellent

Posted 1 November 2023 - 20:35

 

I'm trying to test , but on my current test box (a Qviart Dual 4K), Kodi doesn't even start:

/usr/lib/kodi/kodi-stb: error while loading shared libraries: libmali.so: cannot open shared object file: No such file or directory

 

There is a dependency missing, in my case "qviart-opengl-hisi3798mv200" is not installed when Kodi is installed. So that needs fixing. This might be a BSP issue, specific for the Qviart Dual 4K, as nobody else reports this.
 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: AddOn plugin KODI - OK button not working #12 WanWizard

  • PLi® Core member
  • 69,945 posts

+1,788
Excellent

Posted 1 November 2023 - 20:37

 

In my home build, the OK button works. It seems to me that some lines are missing in the patch.Although I could be wrong.

 

It's on the git https://github.com/O...b-support.patch

 

I added your patch to my local build, but it doesn't fix the problem, as @rantanplan already wrote.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: AddOn plugin KODI - OK button not working #13 foxbob

  • Senior Member
  • 617 posts

+18
Neutral

Posted 1 November 2023 - 20:46

My OK button works.

2023-11-01 19:49:32.626 T:27375    info <general>: Starting Kodi (20.2 (20.2.0) Git:20231031-b04680fda5f-dirty). Platform: Linux ARM 32-bit
2023-11-01 19:49:32.626 T:27375    info <general>: Using Release Kodi x32
2023-11-01 19:49:32.626 T:27375    info <general>: Kodi compiled 2023-10-01 by GCC 13.2.0 for Linux ARM 32-bit version 6.5.0 (394496)
2023-11-01 19:49:32.626 T:27375    info <general>: Running on kernel: Linux ARM 32-bit version 4.4.35
2023-11-01 19:49:32.626 T:27375    info <general>: FFmpeg version/source: N-112539-g1e84d9c5da
2023-11-01 19:49:32.626 T:27375    info <general>: 4 CPU cores available
2023-11-01 19:49:32.626 T:27375    info <general>: ARM Features: Neon enabled

2023-11-01 19:49:32.881 T:27375    info <general>: CApplication::CreateGUI - using the stb windowing system
2023-11-01 19:49:32.881 T:27375    info <general>: Checking resolution 16
2023-11-01 19:49:32.903 T:27375    info <general>: GL_VENDOR = ARM
2023-11-01 19:49:32.903 T:27375    info <general>: GL_RENDERER = Mali-450 MP
2023-11-01 19:49:32.903 T:27375    info <general>: GL_VERSION = OpenGL ES 2.0 "bd8eb96"
2023-11-01 19:49:32.903 T:27375    info <general>: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00
2023-11-01 19:49:32.903 T:27375    info <general>: GL_EXTENSIONS = GL_OES_texture_npot GL_OES_vertex_array_object GL_OES_compressed_ETC1_RGB8_texture GL_EXT_compressed_ETC1_RGB8_sub_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_OES_vertex_half_float GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map GL_KHR_debug GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_mapbuffer GL_KHR_no_error
2023-11-01 19:49:33.047 T:27375    info <general>: GLES: Maximum texture width: 4096
2023-11-01 19:49:33.433 T:27375    info <general>: GLES: Enabling VSYNC
2023-11-01 19:49:33.434 T:27375    info <general>: load keymapping
2023-11-01 19:49:33.438 T:27375    info <general>: Loading special://xbmc/system/keymaps/appcommand.xml
2023-11-01 19:49:33.438 T:27375    info <general>: Loading special://xbmc/system/keymaps/customcontroller.AppleRemote.xml
2023-11-01 19:49:33.440 T:27375    info <general>: Loading special://xbmc/system/keymaps/customcontroller.Harmony.xml
2023-11-01 19:49:33.444 T:27375    info <general>: Loading special://xbmc/system/keymaps/customcontroller.SiriRemote.xml
2023-11-01 19:49:33.445 T:27375    info <general>: Loading special://xbmc/system/keymaps/gamepad.xml
2023-11-01 19:49:33.448 T:27375    info <general>: Loading special://xbmc/system/keymaps/joystick.xml
2023-11-01 19:49:33.451 T:27375    info <general>: Loading special://xbmc/system/keymaps/keyboard.xml
2023-11-01 19:49:33.458 T:27375    info <general>: Loading special://xbmc/system/keymaps/mouse.xml
2023-11-01 19:49:33.459 T:27375    info <general>: Loading special://xbmc/system/keymaps/remote.xml
2023-11-01 19:49:33.463 T:27375    info <general>: Loading special://xbmc/system/keymaps/touchscreen.xml
2023-11-01 19:49:33.465 T:27375    info <general>: GUI format 1920x1080, Display 

Attached Files



Re: AddOn plugin KODI - OK button not working #14 WanWizard

  • PLi® Core member
  • 69,945 posts

+1,788
Excellent

Posted 1 November 2023 - 20:53

That doesn't really help, mine doesn't...

 

I'll try a clearall and a full rebuild, just to be sure.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: AddOn plugin KODI - OK button not working #15 rantanplan

  • PLi® Contributor
  • 1,856 posts

+86
Good

Posted 1 November 2023 - 21:07

 

I'm trying to test , but on my current test box (a Qviart Dual 4K), Kodi doesn't even start:

/usr/lib/kodi/kodi-stb: error while loading shared libraries: libmali.so: cannot open shared object file: No such file or directory

https://github.com/O...di/kodi.inc#L30

The Dual driver was updated on 11.9, it is possible that there were changes regarding 'mali'.
Or the rebuild simply doesn't recognize the new driver.



Re: AddOn plugin KODI - OK button not working #16 rantanplan

  • PLi® Contributor
  • 1,856 posts

+86
Good

Posted 2 November 2023 - 12:41

https://kodi.wiki/view/Kore

 



Re: AddOn plugin KODI - OK button not working #17 WanWizard

  • PLi® Core member
  • 69,945 posts

+1,788
Excellent

Posted 2 November 2023 - 13:00

The Dual driver was updated on 11.9, it is possible that there were changes regarding 'mali'.
Or the rebuild simply doesn't recognize the new driver.

 

Problem was in the BSP, driver recipe wasn't added to MACHINE_ESSENTIAL so it wasn't added to the image.

 

So Kodi starts now on my box, but the OK problem is still there, even with the patch from @foxbob above.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: AddOn plugin KODI - OK button not working #18 Beeker

  • PLi® Contributor
  • 1,594 posts

+203
Excellent

Posted 2 November 2023 - 13:15

We're missing the LinuxInputDevices.cpp and LinuxInputDevices.h files.

 

https://github.com/o...151C90-L151C111

 

With KEY_UP, KEY_DOWN, KEY_OK etc. Needed for remote (KeyMap keyMap[] =  { , line  366)

 

There are conditions ( I know one in the Makefile).

https://github.com/o...t-19.patch#L101

 

And perhaps more?

 

I think without these files, OK button not gonna work anyway.


Edited by Beeker, 2 November 2023 - 13:15.

Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: AddOn plugin KODI - OK button not working #19 WanWizard

  • PLi® Core member
  • 69,945 posts

+1,788
Excellent

Posted 2 November 2023 - 13:26

If someone can pick this up? It is above my paygrade, and I don't have the time and energy to dive into it.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: AddOn plugin KODI - OK button not working #20 Beeker

  • PLi® Contributor
  • 1,594 posts

+203
Excellent

Posted 2 November 2023 - 13:29

I'll give it a try tomorrow.


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.



15 user(s) are reading this topic

0 members, 15 guests, 0 anonymous users