* http://en.wikipedia.org/wiki/Infrared_blaster# * http://www.hifi-review.com/151867-philips-sbc-hc205.html# InfraRed 2009 ===== ToDo ===== * http://ubuntuforums.org/showthread.php?p=11933104#post11933104# XBoX * http://hackedgadgets.com/2009/06/26/hampton-bay-air-conditioner-ir-remote-control-reverse-engineer/# [[diy]] * http://code.google.com/p/nslu2-jukebox/wiki/PhpLcdMenu * http://www.lirc.org * http://packages.qa.debian.org/l/lirc.html * [[ARMv5]] [[XBox]] port * http://www.cnx-software.com/2016/06/28/broadlink-rm-mini-3-is-a-10-wifi-ir-blaster-for-home-automation/# GateWay * https://www.takara.fr/takara/23-lecteurs-dvd-salon# takara kdv101w DvD ZoraN based zr36976pqcg VaddiS 976 ===== USAGE ==== sudo dpkg-reconfigure lirc && sudo invoke-rc.d lirc restart ; irw [ ok ] Stopping remote control daemon(s): LIRC:. [ ok ] Stopping remote control daemon(s): LIRC:. [ ok ] Loading LIRC modules:. [ ok ] Starting remote control daemon(s) : LIRC :. 00000000000000c4 00 KEY_POWER chunghop-rm-l968e-VCR-1080-xbox1 ==== rc emiter ==== See http://rzr.online.fr/q/InfraRed ==== rc reciever ==== @tag: [[elec.fr]] [[todo]] http://www.unixgarden.com/index.php/embarque/recepteur-infra-rouge-pour-linux http://en.wikipedia.org/wiki/RS-232 http://en.wikipedia.org/wiki/D-subminiature DCD (1) RTS (7) GND (5) _____________ \(5)4 3 2(1)/ \ 9 8(7)6 / \_______/ * TSOP1738 * http://en.wikipedia.org/wiki/Voltage_regulator 78L05 * http://viewer.zoho.com/docs/qdLqbh * http://www.conrad.fr/webapp/wcs/stores/servlet/ProductDisplay?catalogId=10001&storeId=10001&langId=-2&partNumber=1043961&ItemHighLightId=219651&ns_campagne=&ns_mchannel=affiliation&ns_source=effiliation&ns_linkname=183024&ns_fee=0 * https://learn.adafruit.com/using-an-ir-remote-with-a-raspberry-pi-media-center/overview ==== SOFTWARE ==== * Hack: http://www.mediaboxblog.co.uk/blog1.php/2008/05/22/howto-home-brew-ir-receiver-for-lirc * http://lirc.sourceforge.net/remotes/microsoft/Xbox# XBoX * http://www.mythtv.org/wiki/XBOX_DVD_IR_Receiver# RCA DVD player codes lsusb ; # Bus 002 Device 003: ID 045e:0284 Microsoft Corp. Xbox DVD Playback Kit dpkg -L lirc | grep '/usr/share/lirc/remotes/microsoft/' wget -O- http://lirc.sourceforge.net/remotes/microsoft/Xbox | sudo tee /etc/lirc/lircd.conf sudo modprobe -vr xpad sudo modprobe -v lirc_atiusb # CONFIG_RC_ATI_REMOTE sudo dpkg-reconfigure lirc && sudo invoke-rc.d lirc restart # [ ok ] Loading LIRC modules:. # [....] Starting remote control daemon(s) : LIRC :Driver `UNCONFIGURED' not supported. # (...) sudo lircd --driver=help irw # sudo m-a a-i --text lirc-modules # sudo /usr/sbin/lircd -n -u --driver=atilibusb sudo xxd -c 1 /dev/lirc0 0000000: c4 .. # OfF button VCR Mode 1080 0000004: c3 .. # DisplaY = Ok sudo ln -fs lirc0 /dev/lirc && sudo mode2 --raw code: 0xd0 sudo irrecord -d /dev/lirc0 tmp # will translate to keycodes # not working : exit grep Name /proc/bus/input/devices ToDo: chunghop xbox rm-l968e * http://www.raspberrypi.org/phpBB3/search.php?keywords=045e%3A0284 ==== RX : XBOX ==== Once Pluged : lsudb ; dmesg Bus 002 Device 003: ID 045e:0284 Microsoft Corp. Xbox DVD Playback Kit usb 2-1: new full speed USB device number 3 using orion-ehci input: Generic X-Box pad as /devices/platform/orion-ehci.1/usb2/2-1/2-1:1.0/input/input3 evbug: Connected device: input3 (Generic X-Box pad at usb-orion-ehci.1-1/input0) usbcore: registered new interface driver xpad So we need to black list ModulE : sudo grep xpad /etc/modprobe.d/blacklist.conf blacklist xpad modprobe -vr xpad rmmod xpad rmmod ff_memless * http://ubuntuforums.org/showpost.php?p=11422009&postcount=19# XBoX it works !!! ToDo DocuumenT sudo apt-get build-dep lirc sudo apt-get install git dialog automake autoconf libtool make # apt-src install lirc git clone git://lirc.git.sourceforge.net/gitroot/lirc/lirc cd lirc/ wget http://old.nabble.com/attachment/31787507/0/lirc_0.9.1_lirc_xbox_driver.patch patch -p1 <./lirc_0.9.1_lirc_xbox_driver.patch mkdir linux touch linux/smp_lock.h ./autogen.sh && ./configure -with-driver=userspace make -C drivers/lirc_xbox/ sudo make -C drivers/lirc_xbox/ install sudo apt-get purge lirc sudo apt-get install lirc [13636.849728] usb 2-1.2: USB disconnect, device number 9 [13638.838755] usb 2-1.2: new full-speed USB device number 10 using ehci_hcd [13639.043274] [13639.043275] lirc_xbox: XBOX DVD Dongle USB remote driver for LIRC $Revision: 0.01 $ [13639.043278] lirc_xbox: Jason Martin [13639.043348] lirc_xbox 2-1.2:1.0: lirc_dev: driver lirc_xbox registered at minor = 0 [13639.043351] lirc_xbox[10]: on usb2:10 [13639.043367] usbcore: registered new interface driver lirc_xbox modinfo lirc_xbox filename: /lib/modules/3.3.6lenovog470+/misc/lirc_xbox.ko license: GPL author: Jason Martin description: XBOX DVD Dongle USB remote driver for LIRC srcversion: AC1B3EF03F88EA8DF2E6C97 alias: usb:vFFFFpFFFFd*dc*dsc*dp*ic*isc*ip* alias: usb:v045Ep0284d*dc*dsc*dp*ic*isc*ip* alias: usb:v040Bp6521d*dc*dsc*dp*ic*isc*ip* depends: lirc_dev vermagic: 3.3.6lenovog470+ SMP mod_unload modversions parm: debug:Debug enabled or not (default: 0) (bool) parm: mask:Set channel acceptance bit mask (default: 0xFFFF) (int) parm: unique:Enable channel-specific codes (default: 0) (bool) parm: repeat:Repeat timeout (1/100 sec) (default: 10) (int) * http://search.gmane.org/?query=xbox&author=&group=gmane.comp.hardware.lirc&sort=date&DEFAULTOP=and&xP=Zxbox&xFILTERS=Gcomp.hardware.lirc---A * http://old.nabble.com/lirc_xbox-patch-for-lirc-0.9.1-td31787507.html# PatcH * http://ubuntuforums.org/showthread.php?t=1743470&page=4 * http://dangerousprototypes.com/forum/viewtopic.php?f=29&t=2737# BuilD * http://sourceforge.net/mailarchive/message.php?msg_id=27630788# XBoX * http://sourceforge.net/mailarchive/message.php?msg_id=27319193# 2011-04 modprobe -v lirc_xbox debug=1 [14917.219851] lirc_dev: IR Remote Control driver registered, major 250 [14917.221017] [14917.221021] lirc_xbox: XBOX DVD Dongle USB remote driver for LIRC $Revision: 0.01 $ [14917.221031] lirc_xbox: Jason Martin [14917.221038] lirc_xbox: debug mode enabled: $Id: lirc_xbox.c,v 1.88 2011/06/05 11:11:11 jmartin Exp $ [14917.221085] lirc_xbox[7]: usb_remote_probe: dev:ffff88023111e800, intf:ffff8801ebcffc00, id:ffffffffa0204478) [14917.221094] lirc_xbox[7]: scanning remote_list... [14917.221099] lirc_xbox[7]: remote type = XBOX DVD Dongle [14917.221106] lirc_xbox[7]: adding remote to list [14917.221114] lirc_xbox[7]: processing endpoint 0 [14917.221123] lirc_xbox[7]: acceptable inbound endpoint (0x81) found (maxp=8 len=6) [14917.221133] lirc_xbox[7]: adding ep=0x81 to list [14917.221678] lirc_xbox 2-1.2:1.0: lirc_dev: driver lirc_xbox registered at minor = 0 [14917.221689] lirc_xbox[7]: on usb2:7 [14917.221708] lirc_xbox[7]: usb_remote_probe: dev:ffff88023111e800, intf:ffff8801ebcf9400, id:ffffffffa0204478) [14917.221713] lirc_xbox[7]: scanning remote_list... [14917.221717] lirc_xbox[7]: prior instance found. [14917.221758] usbcore: registered new interface driver lirc_xbox [14965.532394] lirc_xbox[7]: set use inc [14965.532403] lirc_xbox[7]: linking iep 0x81 (ffff880215c872a0) [14965.539504] lirc_xbox[7]: data received 00 06 d0 01 ff ff (ep=0x81 length=6) [14973.311448] lirc_xbox[7]: data received 00 06 d0 01 6f bb (ep=0x81 length=6) lsmod | grep -e Used -e lirc Module Size Used by lirc_xbox 11769 0 lirc_dev 11478 1 lirc_xbox Silent irw ? * http://forum.xbmc.org/showthread.php?tid=100687 * http://mizupc8.bio.mie-u.ac.jp/pukiwiki/index.php?XBOX%2FDVD%20IR%20Receiver @TaG: XBoX ===== TX : XBOX ===== 1+3+4+2+5+2+10 = 27 keys DISPLAY REVERSE PLAY FORWARD SKIP- STOP PAUSE SKIP+ TITLE INFO UP LEFT SELECT RIGHT DOWN MENU BACK 1 2 3 4 5 6 7 8 9 0 {{https://farm4.staticflickr.com/3173/2897880635_e6b95d4754_o.jpg}} ===== LIRC ===== sudo apt-get install module-assistant # lirc-modules-source sudo m-a a-i --text lirc /usr/src/modules/lirc-modules/lirc_dev.c:35:28: fatal error: linux/autoconf.h: No such file or directory KDIR=/usr/local/src/project/linux/src/linux KHEADERDIR=/usr/src/linux-headers-3.3.6lenovog470+/ sudo ln -fs $KHEADERDIR/include/linux/generated/autoconf.h $KDIR/include/linux/ # ln -fs /usr/src/linux-headers-3.3.6lenovog470+/include/generated/autoconf.h /mnt/sda5/local/volatile.dir/usr/local/src/project/linux/src/linux/include/linux/autoconf.h touch $KDIR/include/linux/smp_lock.h /usr/src/modules/lirc-modules/lirc_dev.c:329:8: error: ‘plugin_lock’ undeclared (first use in this function) find /lib/modules/3.3.0-trunk-amd64/ -iname "lirc*" /lib/modules/3.3.0-trunk-amd64/kernel/drivers/media/rc/lirc_dev.ko /lib/modules/3.3.0-trunk-amd64/kernel/drivers/staging/media/lirc /lib/modules/3.3.0-trunk-amd64/kernel/drivers/staging/media/lirc/lirc_bt829.ko /lib/modules/3.3.0-trunk-amd64/kernel/drivers/staging/media/lirc/lirc_sasem.ko /lib/modules/3.3.0-trunk-amd64/kernel/drivers/staging/media/lirc/lirc_imon.ko /lib/modules/3.3.0-trunk-amd64/kernel/drivers/staging/media/lirc/lirc_zilog.ko /lib/modules/3.3.0-trunk-amd64/kernel/drivers/staging/media/lirc/lirc_serial.ko /lib/modules/3.3.0-trunk-amd64/kernel/drivers/staging/media/lirc/lirc_sir.ko /lib/modules/3.3.0-trunk-amd64/kernel/drivers/staging/media/lirc/lirc_ttusbir.ko /lib/modules/3.3.0-trunk-amd64/kernel/drivers/staging/media/lirc/lirc_igorplugusb.ko sudo /usr/local/sbin/lircd -n -L /dev/stderr -d /dev/lirc0 -H atilibusb May 13 23:11:13 lap lircd: lircd(atilibusb) ready, using /var/run/lirc/lircd lircd: lircd(atilibusb) ready, using /var/run/lirc/lircd May 13 23:11:17 lap lircd: accepted new client on /var/run/lirc/lircd lircd: accepted new client on /var/run/lirc/lircd May 13 23:11:17 lap lircd: couldn't find a compatible USB device lircd: couldn't find a compatible USB device May 13 23:11:17 lap lircd: WARNING: Failed to initialize hardware lircd: WARNING: Failed to initialize hardware # cat ~/.lircrc begin prog = irexec button = 1 # config = xterm &\n end * https://bugs.archlinux.org/task/27947# AtiUsb * https://www.cnx-software.com/2016/10/30/getting-started-with-rabbitmax-flex-iot-and-automation-hat-for-raspberry-pi/ * https://github.com/alexbain/lirc_node# ===== ALT ===== * http://irda.sourceforge.net/ ===== RC IR PROG LEARN ===== chunghop rm-l968e * http://www.chunghop.com/en/products_view.asp?id=313 * http://www.chunghop.com/pics/shuom_2007828113536.zip#RM-L968E.jpg * http://www.chunghop.com/pics/shuom_2007828113536.zip#RM-L968E-2.jpg ed2k://|file|RM-L968E.pdf|10898016|bb2b519ccbf898268294b05da02257ad| chunghop rm-l968e / VCR / 1080 irrecord /etc/lirc/lircd.conf cat /etc/lirc/lircd.conf begin remote name /etc/lirc/lircd.conf bits 8 eps 30 aeps 100 one 0 0 zero 0 0 gap 63981 toggle_bit_mask 0x0 begin codes KEY_POWER 0xC4 end codes end remote * http://files.remotecentral.com/ftp/others/chunghop/rml968e-manual.zip * http://files.remotecentral.com/ftp/others/chunghop/rml968e-manual.zip#RM-L968E/RM-L968E.pdf * http://rzr.online.fr/x/pdf/http://programaremote.com/download/rm-l968epdf SonY : * 1029 . 1030 , 1071 , 1073 , 1074 , 1075 . 1098 , 1102 , 1113 , 1114 , 1115 , 1116 , 1117 , 1118 , 1119 , 1120 , 1121 , 1122, 1123 , 1182 , 1183 , 1184 , 1247 * 4010 , 4011 , 4012, 4023 , 4055 , 4056 , 4071 , 4155 , 4156 , 4157, 4160 , 4161 , 4178 * 0028 , 0119 , 0126 , 0127 , 0128 , 0129 , 0130 , 0182 , 0199 , 0228 , 0269 , 0316 , 0317 , 0344 , 0345 , 0346 , 0347 , 0348 , 0376 , 0446 , 0460 , 0461 , 0462 , 0493 , 0502 , 0514 , 0607 , 0631 , 0632 , 0633 , 0634 , 0659 , 0695 , 0703 , 0748 , 0760 , 0802, 0891 , 0892 , 0893 , 0894 * http://lirc.sourceforge.net/remotes/sony/RM-S6 {{http://www.chunghop.com//pics/pic4_2008424115151.jpg}} ===== HARDWARE ===== * IR Receiver Modules for Remote Control Systems * http://www.adafruit.com/products/157 * http://www.adafruit.com/datasheets/tsop382.pdf# IR sensor - TSOP38238 * https://learn.adafruit.com/using-an-ir-remote-with-a-raspberry-pi-media-center?view=all ===== MISC ===== * http://www.infracam.com/html/FR/aboutinfrared.htm # [[Camera]] * http://furrtek.free.fr/?a=xpand# JokE * http://files.remotecentral.com/view/201-369-1/chunghop_rm-l968e.html#files# ed2k://|file|RM-L968E.pdf|10898016|bb2b519ccbf898268294b05da02257ad|/ * https://www.espruino.com/Pico+Infrared# JavaScript McU InfraRed * https://blog.hackster.io/ir-remote-control-decoding-with-an-attiny85-f5949883773b# [[i2c]] McU * https://www.crcpress.com/Optical-Wireless-Communications-IR-for-Wireless-Connectivity/Ramirez-Iniguez-Idrus-Sun/p/book/9780849372094# ===== MORE ===== @TaG:[[Science]] [[rc]] [[Electronique]] [[Remote]] [[Control]] JukeBox LIrC InfraRed EmiteR {{http://p.globalsources.com/IMAGES/PDT/B1061066809/Remote-Control-Toys.jpg}}