いろいろなものの作り方をてきとうに紹介しています。
いっしょにものづくりに挑戦して、楽しんでいただけたらと思います。
田舎に暮らしていても、ほしい部品はすぐに届くし・・・
買ったら何か作らないと、眠らせておいたらもったいない!!
# 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
#
#
# This config file was automatically generated
# using lirc-0.9.3a(default) on Thu Jun 23 18:53:25 2016
# Command line used: -f -n
# Kernel version (uname -r): 3.18.7-3-ARCH
#
# Remote name (as of config file): dfremote
# 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 dfremote
flags RAW_CODES|CONST_LENGTH
eps 30
aeps 100
gap 108483
begin raw_codes
name play
8993 4484 602 530 602 541
584 515 623 530 597 528
570 530 602 530 602 532
578 1670 602 1652 600 1669
577 1671 602 1647 603 1675
573 532 602 1672 576 1671
602 532 578 1670 606 528
578 531 603 531 601 532
577 532 603 529 603 1647
605 528 605 1644 603 1672
576 1671 602 1647 603 1671
576
name next
9027 4480 605 532 602 532
581 530 604 530 604 532
578 532 604 530 603 532
579 1671 603 1647 603 1671
579 1670 603 1647 604 1670
579 531 604 1670 578 509
626 1671 577 1671 602 532
579 531 603 530 603 532
578 531 604 1670 578 531
605 529 602 1647 603 1671
578 1670 603 1647 607 1666
578
name prev
9028 4480 604 533 583 528
604 530 604 532 579 532
604 530 604 531 580 532
604 1671 579 1670 605 1647
604 1670 579 1672 602 1648
605 529 604 1647 605 530
603 532 580 1670 604 540
572 531 604 530 604 532
579 531 604 1670 580 1670
604 537 574 1670 604 1647
604 1671 579 1670 608 1643
604
name VOLup
9036 4487 601 529 604 532
579 532 604 530 604 532
578 532 604 530 604 533
578 1671 602 1648 603 1672
578 1671 606 1644 604 1675
575 531 603 1671 578 1671
604 532 578 531 603 531
602 533 578 531 604 530
602 533 578 532 603 1672
577 1670 602 1648 603 1670
579 1671 604 1647 603 1671
577
name VOLdown
8994 4482 602 536 596 533
587 530 592 530 601 532
577 531 602 530 600 533
576 1670 601 1647 602 1671
576 1670 601 1651 598 1670
576 532 601 1670 576 1669
602 532 577 531 601 1670
574 534 601 529 601 532
576 531 601 530 603 1649
597 1670 576 530 602 1670
576 1670 601 1650 598 1669
577
name powerdown
8977 4483 603 529 601 532
577 532 601 530 601 533
576 531 602 530 601 532
576 1670 602 1647 602 1670
579 1668 601 1648 601 1671
577 531 601 1673 575 531
602 528 602 532 577 531
602 530 600 533 576 531
602 531 600 1647 602 1670
577 1670 602 1647 602 1669
578 1670 602 1646 602 1670
577
name func/stop
8983 4484 603 529 602 532
577 532 601 531 601 532
576 532 602 530 602 532
577 1670 602 1647 601 1674
589 1657 601 1647 602 1671
577 531 602 1670 578 531
602 1672 575 532 602 530
602 531 578 530 602 531
601 540 568 1670 603 531
578 1670 601 1647 603 1670
577 1671 601 1647 603 1670
577
name up
9005 4486 603 529 603 532
577 532 603 530 603 532
578 531 604 529 602 532
578 1670 603 1645 603 1672
579 1670 603 1646 604 1674
574 531 603 1670 578 530
603 1671 576 531 603 1670
576 531 603 529 602 531
577 531 602 1670 577 531
602 1670 576 532 601 1671
576 1670 601 1648 600 1672
576
name down
8957 4513 574 530 603 529
602 531 578 531 601 531
601 532 575 533 606 527
602 1646 603 1670 577 1671
602 1647 606 1667 577 1669
603 532 577 1670 603 531
578 531 603 529 603 1647
602 529 603 533 576 532
601 530 602 1647 602 1671
577 1670 602 532 577 1670
603 1647 603 1671 577 1670
603
name eq
8931 4484 601 530 600 532
575 531 600 531 598 533
575 530 605 525 599 532
575 1670 601 1648 605 1671
580 1671 603 1647 605 1671
581 531 606 1670 580 1676
602 532 581 1671 605 1648
605 531 606 532 581 531
609 531 602 532 579 1671
603 533 579 531 604 1670
579 1671 603 1648 607 1669
578
name st/rept
8972 4485 600 532 600 532
577 531 601 531 600 533
575 532 600 531 599 538
571 1671 601 1646 601 1672
576 1670 600 1649 601 1671
576 531 602 1671 576 532
601 1672 576 1671 601 1648
602 531 601 532 577 532
602 530 601 1647 603 530
602 532 576 532 602 1670
576 1671 602 1648 602 1671
577
name 0
9018 4486 601 532 607 528
578 532 603 531 602 533
578 531 604 530 601 534
577 1671 606 1644 603 1671
584 1665 601 1648 603 1675
574 532 601 1670 580 532
602 531 602 1648 603 1670
579 531 603 531 601 532
579 532 602 1671 578 1672
625 508 579 541 593 1671
578 1670 603 1648 601 1676
574
name 1
8921 4483 599 531 597 532
573 531 598 530 598 532
573 531 598 531 597 532
573 1670 598 1647 600 1669
575 1671 599 1651 596 1671
574 531 601 1670 575 531
600 530 599 536 570 532
599 1670 575 532 599 530
597 532 575 1670 599 1647
599 1670 574 1670 598 532
574 1669 598 1647 599 1670
574
name 2
8896 4480 600 529 599 532
575 531 603 526 599 532
576 531 601 530 598 532
576 1670 600 1647 600 1667
571 1670 597 1647 597 1670
574 531 603 1666 575 1670
600 532 573 531 599 530
598 1646 605 525 600 532
576 531 599 530 599 1647
597 1672 573 1672 597 532
574 1670 597 1649 598 1670
575
name 3
8925 4483 601 533 594 533
573 531 599 530 599 532
575 531 596 534 599 531
575 1674 594 1647 599 1670
575 1670 598 1648 616 1655
575 532 601 1670 575 531
600 1670 574 531 602 528
598 1646 600 530 598 506
598 533 599 1670 575 531
603 1666 575 1670 601 532
576 1671 604 1647 609 1667
578
name 4
8978 4484 604 530 601 533
577 531 602 531 601 532
576 536 599 530 601 532
576 1671 601 1647 601 1672
574 1676 597 1648 601 1670
577 531 601 1671 575 535
598 530 600 1646 602 530
600 1647 601 531 600 532
576 535 597 1670 577 1671
601 531 575 1672 602 532
580 1668 601 1647 602 1670
577
name 5
8940 4484 603 531 578 531
603 530 601 533 578 531
604 530 603 533 580 531
604 1692 558 1683 593 1647
604 1671 578 1671 603 1649
602 531 602 1649 604 1669
577 532 603 1670 580 532
603 1670 578 531 602 531
603 533 578 530 604 1674
574 532 602 1672 577 531
604 1669 579 1671 605 1645
601
name 6
8962 4487 597 529 599 532
575 531 602 530 600 532
575 535 596 530 599 532
575 1670 599 1648 600 1671
576 1675 598 1646 603 1671
576 532 602 1670 581 528
601 1671 575 1671 598 533
575 1670 599 532 579 526
600 531 599 1647 602 530
599 534 576 1670 602 532
578 1670 600 1647 600 1671
575
name 7
8899 4479 597 532 572 531
597 530 596 536 568 531
596 531 596 532 571 532
596 1670 572 1672 595 1647
597 1670 572 1670 596 1646
598 530 596 1646 598 530
595 533 571 531 597 1669
573 1671 596 532 573 530
598 530 597 1645 602 1670
576 1671 603 527 574 531
599 1670 575 1670 598 1648
599
name 8
8893 4481 597 530 595 532
571 531 600 526 595 532
572 530 597 529 596 531
571 1670 595 1647 600 1666
571 1670 595 1647 595 1671
571 530 601 1665 570 1670
594 532 569 533 596 1669
571 1672 593 531 579 522
597 529 595 531 571 1670
595 1646 600 525 596 531
571 1670 594 1647 596 1669
572
name 9
8885 4480 594 531 595 532
571 531 596 529 596 535
567 531 597 529 595 532
571 1670 595 1647 596 1674
568 1669 596 1647 595 1671
571 531 596 1669 572 531
596 1670 569 533 596 1669
572 1670 600 528 571 531
596 529 596 1645 597 530
595 1646 597 530 598 528
572 1669 595 1647 596 1670
571
end raw_codes
end remote
begin
prog = irexec
button = play
config = mpc toggle
end
begin
prog = irexec
button = next
config = mpc next;mpc play
end
begin
prog = irexec
button = prev
config = mpc prev;mpc play
end
begin
prog = irexec
button = func/stop
config = mpc stop
end
begin
prog = irexec
button = VOLup
config = mpc volume +2
delay = 2
repeat = 4
end
begin
prog = irexec
button = VOLdown
config = mpc volume -2
delay = 2
repeat = 4
end
begin
prog = irexec
button = poweroff
config = poweroff
end
#dtoverlay=lirc-rpi #を削除
#dtparam=gpio_in_pin=2 #を削除 行末の数字を2へ変更
LIRCD_ARGS="--uinput"
DRIVER="default"
DEVICE="/dev/lirc0"
MODULES="lirc_rpi"
lirc_dev
lirc_rpi gpio_in_pin=2
options lirc_rpi gpio_in_pin=2
nano /usr/lib/systemd/system/irexec.service
[Unit]
Description=Start irexec daemon
Wants=lircd.service
After=network.target
[Service]
Type=simple
ExecStartPre=/usr/bin/sh -c "sleep 3"
ExecStart=/usr/bin/irexec /etc/conf.d/lircrc