missing sunxi-ir module in bananian

4 4137
Hello I'm trying to work with the IR receiver but there is no sunxi-ir module in the bananian image

fbordeu@bpi1:~$ sudo modprobe sunxi-ir
fbordeu@bpi1:~$ lsmod
Module                  Size  Used by
bnep                   14285  2
rfcomm                 58154  0
bluetooth             263337  10 bnep,rfcomm

any idea of how to add this module manually.

In the image I have it's compiled in so not a module, so nothing to worry about, just continue as if it had been succesful.

e.g. If I try removing it:
  1. 1 root@(none) ~ # modprobe -r sunxi-ir                                       :(
  2. FATAL: Module sunxi_ir is builtin.
  3. 1 root@(none) ~ #                                                            
Copy the Code

Post Last Edited by sogster at 2014-8-26 07:22

To get infrared working there's a bug in all of the A20 script.bin files.
The line "ir_rx=" should be "ir0_rx=".
  1. The IR section should be like this:
  2. [ir_para]
  3. ir_used = 1
  4. ir0_rx = port:PB04<2><default><default><default>
Copy the Code
Should work as a keyboard after that.

ok, but where is that file and how do fix the problem (I'm not a hacker, but a linux advance user).



You have to log in before you can reply Login | Sign Up

Points Rules