config.txt
dtoverlay=lirc-rpi,gpio_in_pin=18,debug=on
으로 설정하니 예전 5.0.4랑 차이가 없는 것으로 보인다.
gpio-18은 언제 쯤 나오려나.. ㅠㅠ
OpenELEC:~ # modprobe lirc_rpi debug=1 OpenELEC:~ # cat /sys/kernel/debug/gpio GPIOs 0-53, platform/3f200000.gpio, pinctrl-bcm2835: gpio-35 (led1 ) in hi gpio-47 (led0 ) out lo OpenELEC:~ # cat /proc/interrupts CPU0 CPU1 CPU2 CPU3 16: 0 0 0 0 ARMCTRL 16 bcm2708_fb dma 24: 35 0 0 0 ARMCTRL 24 DMA IRQ 25: 1414 0 0 0 ARMCTRL 25 DMA IRQ 32: 28402 0 0 0 ARMCTRL 32 dwc_otg, dwc_otg_pcd, dwc_otg_hcd:usb1 49: 0 0 0 0 ARMCTRL 49 3f200000.gpio:bank0 50: 0 0 0 0 ARMCTRL 50 3f200000.gpio:bank1 65: 28 0 0 0 ARMCTRL 65 ARM Mailbox IRQ 66: 37570 0 0 0 ARMCTRL 66 VCHIQ doorbell 75: 1 0 0 0 ARMCTRL 75 84: 5247 0 0 0 ARMCTRL 84 mmc0 99: 7986 6287 9505 6913 ARMCTRL 99 arch_timer 466: 0 0 0 0 pinctrl-bcm2835 18 lirc_rpi FIQ: usb_fiq IPI0: 0 0 0 0 CPU wakeup interrupts IPI1: 0 0 0 0 Timer broadcast interrupts IPI2: 9274 26365 21700 11433 Rescheduling interrupts IPI3: 1 3 5 5 Function call interrupts IPI4: 3 1 0 1 Single function call interrupts IPI5: 0 0 0 0 CPU stop interrupts IPI6: 1 0 0 0 IRQ work interrupts IPI7: 0 0 0 0 completion interrupts Err: 0 OpenELEC:~ # dmesg | grep -i lirc [ 5.758491] lirc_dev: IR Remote Control driver registered, major 248 [ 5.784692] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned. [ 5.786415] lirc_rpi: to_irq 466 [ 6.679084] lirc_rpi: auto-detected active high receiver on GPIO pin 18 [ 6.679548] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0 [ 6.679576] lirc_rpi: driver registered! [ 6.917559] input: lircd as /devices/virtual/input/input1 [ 7.945875] lirc_rpi: Interrupt 466 obtained [ 7.945897] lirc_rpi: in init_timing_params, freq=38000 pulse=13157, space=13158 OpenELEC:~ # lsmod | grep irc lirc_rpi 5882 3 lirc_dev 7578 1 lirc_rpi rc_core 14603 1 lirc_dev |
'embeded > raspberry pi' 카테고리의 다른 글
class 6 SDHC 굽는 속도 (0) | 2015.05.24 |
---|---|
어허허 파워드 허브를 사야하나? -_- (0) | 2015.05.23 |
openELEC 5.0.8 (0) | 2015.05.12 |
wiring Pi (0) | 2015.05.12 |
UHS 지원여부? (0) | 2015.05.11 |