cubieboard2 IR Reading

Cubieboard IR Reading

IR had beed add into the kernel .If not, use command to load the moudle:
$insmnod /lib/modules/3.4.X/kernel/drivers/input/keyboard/sun4i-ir.ko
 
$sudo cat /dev/input/event0 | hexdump

Press the key of IR remote control,the terminal will print the message as:
 
0000000 8415 525f 50cf 0003 0001 0094 0001 0000  
0000010 8415 525f 50db 0003 0000 0000 0000 0000 
0000020 8415 525f 22f7 0007 0001 0094 0000 0000  
0000030 8415 525f 22ff 0007 0000 0000 0000 0000 

The digital '0094' is  keycode of the remote control  .
 

留言

  1. This weblog is your trusted supply to discover ways to|learn to} play and win at real cash on line casino sites. Find useful recommendation and ideas from the professional players on-line 다파벳 playing industry. With over 7,000 slot machines, Yaamava’ Resort & Casino has the most gaming options of any on line casino in the West.

    回覆刪除

張貼留言

熱門文章