On your Windows or Mac machine launch the My Harmony software and connect the remote control. If you are not using GDM to start your X, then substitute your normal method for starting X. Once the software has been configured you can either reboot(not my preferred method), or restart the software in the following order Passing the -m 0 option means all keycodes are captured. This means that the device will not be recognised as a keyboard by X, which would open the device and stop LIRC from using it. Passing the -g option ensures that only inputlirc/ LIRC will use this device. Passing the -c option allows modifier keys (shift/alt/ctrl/meta) to be captured. To configure inputlirc all that is needed is to edit the default file for it: Include "/usr/share/lirc/remotes/mceusb/" # Default configuration files for your hardware if any # Run "lircd -driver=help" for a list of supported drivers. #Don't start irexec, even if a good config file seems to exist. #Don't start lircmd even if there seems to be a good config file # Arguments which will be used when launching lircd LIRC is configured in the following files: ![]() If ir-keytable segfaults on this do not be alarmed - apparently it is something that happens and has no fix. Sudo ir-keytable -d /dev/input/myremote-p lirc,rc6 -w /etc/rc_keymaps/rc6_mce Write the new keytable to the device and reset the active protocols Sudo ir-keytable -d /dev/input/myremote -c Repeat delay = 500 ms, repeat period = 125 ms Supported protocols: unknown other lirc rc-5 jvc sony nec sanyo mce-kbd rc-6 sharp xmpīus: 3, vendor/product: 0471:0815, version: 0x0000 Running ir-keytable with no arguments provides a list of remote control devices and their capabilities:įound /sys/class/rc/rc0/ (/dev/input/event16) with: ![]() This gives you a keymap that you can customise, should you wish to rename any of the scancodes the remote is sending, or add new scancodes. So for using an RC-6 MCE remote in Debian perform the following:Ĭp /lib/udev/rc_keymaps/rc6_mce /etc/rc_keymaps/ In Debian these are stored in /lib/udev/rc_keymaps/. KERNEL="event*",ATTRS="0815",SYMLINK="input/myremote"' | sudo tee -append /etc/udev/rules.d/lesĬopy the default keytable for the remote you are emulating into /etc/rc_keymaps/. You can create a custom udev rule so that your receiver device ends up with a constant symlink in /dev/input/. You should also ensure that lircd, X, and inputlirc are not running. Determine which event device your receiver is mapping to. Once the file has downloaded install and launch the software.īefore you start you should know what type of receiver you have (this example is using an mceusb RC-6 receiver). From there select the relevant remote control device and click the "Get the App & Software" link. To install the My Harmony software on a Windows or MacOSX machine visit and click on the Set Up link at the top of the page. ![]() Sudo aptitude install lirc inputlirc ir-keytable evtest Also install evtest for testing purposes. You will need to install the LIRC, inputlirc, and ir-keytable software for your distribution. Installing Software MythTV Frontend Machine
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |