ubuntu-18.04.3-3.16-minimal-odroid-c2-20190814.img.xz 파일을 받아서 시도하니 된다.
2020년 중반 이후로 먼가 안된다는 글이 보이던데.. 구버전으로 가니 단번에 되네 -_-
아래의 명령어로
$ irrecord -d /dev/lirc0 |
monex 43인치 UHD 모니터 리모컨 읽은 내용
$ cat monex.lircd.conf # Please take the time to finish this file as described in # https://sourceforge.net/p/lirc-remotes/wiki/Checklist/ # and make it available to others by sending it to # <lirc@bartelmus.de> # # This config file was automatically generated # using lirc-0.10.0(default) on Fri Sep 17 12:28:52 2021 # Command line used: -d /dev/lirc0 # Kernel version (uname -r): 3.16.72-46 # # Remote name (as of config file): monex # Brand of remote device, the thing you hold in your hand: # Remote device model nr: # Remote device info url: # Does remote device has a bundled capture device e. g., a # usb dongle? : # For bundled USB devices: usb vendor id, product id # and device string (use dmesg or lsusb): # Type of device controlled # (TV, VCR, Audio, DVD, Satellite, Cable, HTPC, ...) : # Device(s) controlled by this remote: begin remote name monex bits 32 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100 header 8970 4517 one 561 1692 zero 561 569 ptrail 563 repeat 8970 2289 gap 107503 toggle_bit_mask 0x0 frequency 38000 begin codes key_power 0x10EFEB14 0xFFFFFFFF key_menu 0x10EF3BC4 0xFFFFFFFF key_up 0x10EF49B6 0xFFFFFFFF key_down 0x10EF1BE4 0xFFFFFFFF key_left 0x10EFE916 0xFFFFFFFF key_right 0x10EFF906 0xFFFFFFFF key_ok 0x10EF51AE 0xFFFFFFFF key_exit 0x10EF2BD4 0xFFFFFFFF key_mute 0x10EFFB04 0xFFFFFFFF end codes end remote |
아래의 명령어로
$ irrecord -d /dev/lirc0 -r |
monex 43인치 UHD 모니터 리모컨 읽은 내용
$ cat mo_raw.lircd.conf # Please take the time to finish this file as described in # https://sourceforge.net/p/lirc-remotes/wiki/Checklist/ # and make it available to others by sending it to # <lirc@bartelmus.de> # # This config file was automatically generated # using lirc-0.10.0(default) on Fri Sep 17 12:39:22 2021 # Command line used: -d /dev/lirc0 -f # Kernel version (uname -r): 3.16.72-46 # # Remote name (as of config file): mo_raw # Brand of remote device, the thing you hold in your hand: # Remote device model nr: # Remote device info url: # Does remote device has a bundled capture device e. g., a # usb dongle? : # For bundled USB devices: usb vendor id, product id # and device string (use dmesg or lsusb): # Type of device controlled # (TV, VCR, Audio, DVD, Satellite, Cable, HTPC, ...) : # Device(s) controlled by this remote: begin remote name mo_raw flags RAW_CODES|CONST_LENGTH eps 30 aeps 100 gap 107463 begin raw_codes name key_power 8956 4523 570 559 569 558 569 561 567 1687 568 559 568 559 569 560 568 559 568 1685 569 1685 569 1686 569 560 568 1685 569 1686 569 1685 569 1685 570 1686 569 1685 570 1686 568 562 566 1687 568 561 567 1685 569 1686 569 561 567 560 567 561 567 1686 568 561 567 1685 569 560 568 560 567 name key_menu 8985 4496 520 608 519 609 519 608 519 1734 521 608 519 611 517 608 520 608 519 1734 521 1733 522 1732 522 608 520 1733 521 1733 521 1733 522 1733 522 608 519 608 520 1733 522 631 496 1733 522 607 520 1733 522 1733 522 1733 521 1733 521 609 518 1734 521 635 493 1735 523 605 540 589 540 name key_exit 8956 4522 571 560 567 584 544 560 567 1686 572 557 568 558 569 562 566 560 568 1685 569 1686 569 1684 570 559 569 1684 570 1685 570 1685 569 1685 569 561 567 1686 568 560 567 561 567 1685 569 561 567 560 568 1686 568 1686 568 564 564 1686 568 1686 569 561 567 1685 569 1686 568 560 568 name key_up 8958 4523 570 559 568 560 567 562 565 1686 569 559 568 560 568 561 567 561 566 1684 571 1684 570 1684 570 560 568 1685 569 1687 568 1686 568 1685 570 560 567 1686 568 560 568 561 566 1686 569 584 543 560 568 1685 569 1686 569 584 543 1686 569 1685 569 560 568 1686 568 1686 572 581 544 name key_down 8957 4525 566 585 543 563 565 563 565 1685 569 585 543 561 567 560 567 561 566 1687 546 1708 546 1710 545 584 543 1710 545 1711 544 1712 543 1711 545 583 544 583 545 585 542 1711 544 1710 546 585 542 1710 545 1710 547 1708 545 1710 545 1709 546 585 542 584 544 1710 545 585 543 608 520 name key_left 8958 4525 544 584 543 583 545 585 543 1709 546 584 543 585 543 583 544 584 567 1687 571 1683 571 1685 570 558 570 1684 571 1684 571 1683 572 1684 571 1683 572 1682 572 1683 571 559 569 1684 570 559 569 559 569 1684 571 558 569 561 567 559 569 1684 570 561 567 1684 570 1685 570 583 544 name key_right 8936 4543 576 552 575 553 575 553 575 1678 577 552 576 553 574 554 574 577 554 1677 574 1679 577 1678 577 553 574 1679 577 1678 577 1678 577 1678 576 1679 576 1679 576 1678 577 1677 578 1678 577 554 574 553 575 1679 575 553 575 553 575 552 576 557 571 555 573 1679 577 1678 576 553 575 end raw_codes end remote |
irrecord -r 옵션을 주니 세세하게 내용이 다르게 생성된다.
그래도.. raw 옵션주고 만드는데 나중에 추가하기 편하려나? mode2로 생성할때도 raw로 나오니까?
이제 odroid c2에 IR LED 달고 출력도 되면 개꿀~!
'embeded > odroid' 카테고리의 다른 글
odroid c2 ADC (0) | 2021.09.19 |
---|---|
odroid c2 lircd output 성공 (0) | 2021.09.18 |
odroid c2 lirc (0) | 2021.09.14 |
odroid c2 i2c (0) | 2021.09.11 |
odroid c2 wiringpi pinout (0) | 2021.09.10 |