IguanaIR

From MythTV Official Wiki
Revision as of 22:16, 1 July 2010 by Thedaver (talk | contribs)

Jump to: navigation, search

The IguanaIR is a Serial- or USB-based IR Transceiver by Iguanaworks.

The vendor maintains a wiki documentation site.

The IguanaIR requires a specific driver (at least for USB model). LIRC must also have support for that driver compiled-in, as noted on the vendor support site.


Example files from a working Mythbuntu 9.10 / Myth 0.23 / iguanaIR 4-channel USB

/etc/lirc/hardware.conf

# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="None"
REMOTE_MODULES=""
REMOTE_DRIVER=""
REMOTE_DEVICE=""
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""
DRIVER="iguanaIR"
DEVICE="/dev/iguanaIR/0"
#Chosen IR Transmitter
TRANSMITTER="My IguanaIR custom config"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER="iguanaIR"
TRANSMITTER_DEVICE="/dev/iguanaIR/0"
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF="pace/dct50x.conf"
TRANSMITTER_LIRCD_ARGS=""
#Enable lircd
START_LIRCD="true"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"
#Try to load appropriate kernel modules
LOAD_MODULES="true"
# Default configuration files for your hardware if any
LIRCMD_CONF=""
#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""


/etc/lirc/lircd.conf

include "/usr/share/lirc/extras/transmitters/pace/dc50xv2.conf"
include "/usr/share/lirc/extras/transmitters/motorola/dct2244.conf"

/usr/share/lirc/extras/transmitters/pace/dc50xv2.conf

# Please make this file available to others
#
# this config file was automatically generated
# using lirc-0.8.6-CVS(default) on Mon Jan 11 21:34:36 2010
#
# contributed by Kirk Bocek
#
# brand: Comcast Branded Motorola DTA100 and Pace DC50X
# model no. of remote control: Unknown, Comcast Label
# devices being controlled by this remote: Motorola DTA100 & Pace DC50X
#
# These are a couple of the cheap digital converters being provided by
# Comcast as part of their analog shutdown. DTA100 information here:
#
# http://www.motorola.com/Business/US-EN/Business+Product+and+Services/TV+Video+Distribution/Customer+Premises+Equipment+%28Set-tops%29/All-Digital+QAM+Set-tops/DTA100_US-EN
# 
# This remote also has power and volume buttons. You can program these
# to control your TV. But these DTAs *do* have internal volume and mute
# controls. The power button, however, is only for your TV and has no
# effect on the DTA.
#
# Because this remote use the XMP protocol, this config requires
# lirc 0.8.6 or later.
#
# Generated by starting with the generic XMP protocol configuration:
# http://lirc.sourceforge.net/remotes/generic/XMP
# and then using irrecord to add the keys.
#
# V.2 - Added Volume Up and Volume Down
# V.3 - Confirmed operation with Pace DC50X. Changed strings to
# conform with standard strings used in lirc 0.8.6.
#
begin remote
# name MotorolaDTA100-PaceDC50X
name dc50x
bits 24
flags XMP
eps 20
aeps 300
#
one 0 137
zero 250 710
ptrail 250
pre_data_bits 32
pre_data 0x170F443E
post_data_bits 8
post_data 0x0
pre 250 12921
gap 81698
toggle_bit_mask 0x0
#
begin codes
1 0x1E0001
2 0x1D0002
3 0x1C0003
4 0x1B0004
5 0x1A0005
6 0x190006
7 0x180007
8 0x170008
9 0x160009
0 0x1F0000
KEY_CHANNELDOWN 0x11000E
KEY_CHANNELUP 0x12000D
KEY_MUTE 0x13000C
KEY_VOLUMEDOWN 0x14000B
KEY_VOLUMEUP 0x15000A
KEY_LANGUAGE 0x150082
KEY_INFO 0x170026
KEY_ENTER 0x180025
KEY_LAST 0x190051
end codes
#
end remote