Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
1234
Return to list New
Author: darqoq

[Guide] Android + InfraRed (IR) + Kodi

[Copy link]

0

Threads

25

Posts

151

Credits

Registered member

Rank: 2

Credits
151
Post time 2016-1-4 12:04:57 | Show all posts
I run "android Beelink_X2-SC_V1.1-Custom_ROM" without mods on an OPI-PC.
I want to control Kodi with my Samsung Note3 Infra Red.
I note that Kodi (and Android) responds randomly to my pressing IR controls from my Samsung.
I assume that means that this Beelink Android responds to an IR controller.
Any ideas how to get this to work?
Thanks for any hints.

0

Threads

14

Posts

575

Credits

Senior member

Rank: 4

Credits
575
Post time 2016-4-13 19:52:27 | Show all posts
Hi All!
I made some tests with this, using BeeZidoo for OPI-PC ROM with my Orange Pi PC
I activated debug mode for IR module like we can see here How to enable IR in BPI-M3 (Linux OS)
That works for Linux kernel in Android too.

--> I tested Sony, Samsung and LG, TV IR remote controls,

1- Some keys from LG remote control are detected in evtest /dev/input/event3
2- All others keys from LG remote controls are detected in dmesg (debug mode)

Now, my question, there is any file where we can setup that key codes? Because Lirc not detects all keys too, but it shows in dmesg.

0

Threads

48

Posts

462

Credits

Intermediate member

Rank: 3Rank: 3

Credits
462
Post time 2016-4-26 01:58:58 | Show all posts
I installed busy box in system / bin, but no I get permissions to give evtest , lircd ...
any solution?
Thanks.

2

Threads

11

Posts

74

Credits

Registered member

Rank: 2

Credits
74
Post time 2016-4-26 02:09:54 | Show all posts
Try to use the bult in sunxi-ir without lirc tere is the tutorial how to do it Tutorial

0

Threads

3

Posts

44

Credits

Novice

Rank: 1

Credits
44
Post time 2016-7-26 19:15:19 | Show all posts
Hello everyone, I have a problem with irrecord. During recording of the buttons, Dots appear at every key pressed but the file does not lircd.conf codes registered .
how do I fix? thanks


  1. # Please make this file available to others
  2. # by sending it to <lirc@bartelmus.de>
  3. #
  4. # this config file was automatically generated
  5. # using lirc-0.9.1-git(devinput) on Sun Oct 25 22:41:53 2015
  6. #
  7. # contributed by
  8. #
  9. # brand: /etc/lircd/lircd.conf
  10. # model no. of remote control:
  11. # devices being controlled by this remote:
  12. #

  13. begin remote

  14. name devinput
  15. bits 56
  16. eps 30
  17. aeps 100

  18. one 0 0
  19. zero 0 0
  20. pre_data_bits 8
  21. pre_data 0x0
  22. gap 39967
  23. toggle_bit_mask 0x0

  24.     begin codes
  25.     end codes

  26. end remote
Copy the Code

3

Threads

38

Posts

762

Credits

Senior member

Rank: 4

Credits
762
Post time 2016-11-9 03:58:37 | Show all posts
jmanjulian replied at 2016-4-26 02:09
Try to use the bult in sunxi-ir without lirc tere is the tutorial how to do it Tutorial

does not work after reboot :-(

1

Threads

2

Posts

15

Credits

Novice

Rank: 1

Credits
15
Post time 2017-2-23 22:15:12 | Show all posts
Edited by shhkid at 2017-2-23 22:41

the chmod commands don't work on my device. I always get an error message 'bad mode". Tried it with "chmod 777 /system/bin/... instead, but got also an error message "read only file system".
What can I do?

EDIT: fixed it by myself, needet do remount the system and it worked

0

Threads

1

Posts

14

Credits

Novice

Rank: 1

Credits
14
Post time 2019-12-12 11:46:12 | Show all posts
In Orange pi Lite 2,
we followed the above steps for android IR integration
But we stuck from below step

  * Event code 255 (?)
  * Event type 20 (Repeat)
  * Testing ... (interrupt to exit)

we pressed the IR remote,but it is not proceed after this step.
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2020-5-28 21:25 GMT+8 , Processed in 0.033862 second(s), 19 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list