Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Logitech Harmony remote setup for ENY M8 Android TV Box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by Lucas Rey View Post
    You sure? For me is still not reachable!
    May take some time. DNS change. In mean time temporarily try to remap www.zoomeren.nl to 77.175.179.254 using /etc/hosts or similar.

    Comment


      #17
      Thanks for sharing IP, now works perfect!

      Lucas

      Comment


        #18
        Dear amain,
        thanks for your guide, it works perfect.
        Last edited by Lucas Rey; 25 January 2015, 18:58.

        Comment


          #19
          Dear amain,
          as already wrote in reply to your PM, I posted my question also here in the main thread, to be usefull also to other people who are facing mine issue.

          The configuration works perfect, the only things that are driving me crazy now is the delete button. Now, to delete a file in XBMC I have to press menu and choose "Delete" from several options. That's annoying.
          The key is mapped in remote.conf as:
          0x90 14 ; DEL Delete
          0x90 should be the right IR code and I tried to change 14 to several other linux codes related to DEL/CANC button, but still not work.

          Do I have to configure other code also in other files?
          Am I just point to the wrong key? Because seems the key action is not DELETE but BACKSPACE! And to delete file in XBMC we need to press CANC button.
          Could you please suggest me on how to map this key?

          Thanks
          Lucas

          Comment


            #20
            Originally posted by Lucas Rey View Post
            ...
            The key is mapped in remote.conf as:
            0x90 14 ; DEL Delete
            0x90 should be the right IR code and I tried to change 14 to several other linux codes related to DEL/CANC button, but still not work.

            Do I have to configure other code also in other files?
            Am I just point to the wrong key? Because seems the key action is not DELETE but BACKSPACE! And to delete file in XBMC we need to press CANC button.
            Could you please suggest me on how to map this key?
            ...
            First make sure you enabled 'Allow file renaming and deletion' in XBMC. Probably you did, but just want to make sure. Next enable some debugging to see the various key code conversions. See my original post how to enable XBMC key code to action mapping logging. This should quickly reveal which actual key code is received by XBMC. Note that if you change 14 into other Linux key codes, you must make sure that that changed code is available in Vendor_0001_Product_0001.kl, where is mapped to an android keycode. Next XBMC should receive the android keycode and map it to an action.

            Comment


              #21
              Well, first of all, I double checked and "allow rename and delete" is active.
              Then I mapped the DEL key as:
              remote.conf: 0x90 111 ; DEL Delete
              Vendor_0001_Product_0001.kl: key 111 DEL

              No effect on XBMC

              XBMC.log on delete press button reports (with original config):
              17:19:15 T:1780312240 DEBUG: Keyboard: scancode: 0x43, sym: 0x0008, unicode: 0x0000, modifier: 0x0
              17:19:15 T:1780312240 DEBUG: bool CApplication::OnKey(const CKey&): backspace (0xf008) pressed, action is Back
              So, that's why it doesn't work, delete is associated to BACKSPACE

              What is not clear for me is the association between remote.conf+Vendor_0001_Product_0001.kl and XBMC

              For example, dpad down on xbmc.log is (it works perfect):
              18:09:03 T:1780312240 DEBUG: Keyboard: scancode: 0x14, sym: 0x0112, unicode: 0x0000, modifier: 0x0
              18:09:03 T:1780312240 DEBUG: bool CApplication::OnKey(const CKey&): down (0xf081) pressed, action is Down
              So, where is 0x14 or 0x0112 on these files?????

              I'm stuck
              Last edited by Lucas Rey; 28 January 2015, 20:03.

              Comment


                #22
                Originally posted by Lucas Rey View Post
                ...
                I'm stuck
                I assume you ran remotecfg on the new remote.conf. But did you reboot the system after changing the Vendor*.kl file? I assume Android will not automatically pick-up on changes and reads these file only during boot or by running some tool. Up and til Vendor*.kl, codes and their mapping make sense to me. After that it gets a little grey. So far I didn't required further digging there since mapping I made turned up fine. It would require some further digging to figure out how the last mapping steps work.

                Comment


                  #23
                  Yes, I executed remotecfg on every changes, and I'll try to reboot the M8.
                  By the way, the problem is still to find the right key combination/code.

                  I assume the IR-Code is correct (0x90), now I have to find the right linux code and then configure the files like:

                  remote.conf:
                  0x90 XXX ; DEL Delete

                  Vendor_0001_Product_0001.kl:
                  key XXX DEL
                  But still don't understand the association between remote.conf+Vendor_0001_Product_0001.kl and XBMC
                  XBMC.log reports values completely different from these files.....
                  So that's why I'm lost and I don't know how to search the correct code for delete!!

                  What is driving me crazy is why with your configuration DELETE is associated to 0x43 (BACKSPACE)... There's nothing configured for that code!!!!

                  Comment


                    #24
                    Originally posted by Ichijoe View Post
                    Warning this will get rather technical... Perhaps Someone with a Camera / Screen Capture Device, could make a beter Video howto on this Subject... Since I have neither I can only offer you such a Howto...


                    Things you will need...

                    Rooted SSH/SFTP Daemon: https://play.google.com/store/apps/d....sshsftpDaemon
                    Putty: http://www.chiark.greenend.org.uk/~sgtatham/putty/
                    WinSCP: http://winscp.net/eng/index.php
                    A Logitech Harmony Remote, and the Logitech Harmony Remote Software 7.7.0. or whatever Version is required for the newer Devices then the "One" In which case your on your own!
                    A M82 - 1G or S82 -2G MXIII style Box... Which should already be rooted at stock! For simplicity's sake I shall from henceforth call this the "Device"...

                    Thanks for simplifying the process, makes it a lot easier for me to understand this thread

                    I'm trying to get it to work with my Xiaomi Box 3(enhanced edition, 2gb), which is another amlogic based android box.
                    I'm using Logitech Harmony 650 which is set to use Pivos Xios profile to send the NEC command, unfortunately I don't see the "Wrong custom code" log messages from my harmony remote.

                    Based on this post here, I need to disable
                    hardware mode (setting work_mode = 0) to get the proper log messages in dmesg, but I still don't see it listed. Also, my original remote was disabled until I enabled the hardware mode again, is this normal?

                    I'd like to know if I'm missing some other steps to get it properly working here

                    Thanks.

                    Comment


                      #25
                      can not access the link you provided

                      Comment

                      Working...
                      X