TechniSat TTS35AI IR remote working with XBMC

TechniSat TTS35AI IR remote working with XBMC

Just so happens that I had one of these over from another project

include “/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb”

Login to via the command prompt

type the following
sudo nano /etc/lirc/lircd.conf

change the following line

include “/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb”

to look like

#include “/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb”
include “/usr/share/lirc/remotes/technisat/TTS35AI”

then ctrl x to save and Y

then

sudo /etc/lirc/hardware.conf

# /etc/lirc/hardware.conf
#
#Chosen Remote Control
#REMOTE=”Windows Media Center Remotes (new version Philips et al.)”
#REMOTE_MODULES=”lirc_dev lirc_mceusb2″
#REMOTE_DRIVER=””
#REMOTE_DEVICE=”/dev/lirc0″
#REMOTE_LIRCD_CONF=”mceusb/lircd.conf.mceusb”

#REMOTE_LIRCD_ARGS=””

REMOTE=”None”
REMOTE_MODULES=”lirc_serial”
REMOTE_DRIVER=””
REMOTE_DEVICE=”/dev/lirc0″
REMOTE_LIRCD_CONF=””
REMOTE_LIRCD_ARGS=””

then ctrl x to save and Y

sudo nano

scroll to the end of the file and above </lircmap>

add the following

<remote device=”usb-Formosa21_USB_IR_Receiver-event-ir”>
<pause>KEY_7</pause>
<stop>KEY_8</stop>
<forward>KEY_1</forward>
<reverse>KEY_2</reverse>
<left>KEY_LEFT</left>
<right>KEY_RIGHT</right>
<up>KEY_UP</up>
<down>KEY_DOWN</down>
<select>KEY_ENTER</select>
<!– OK –>
<start>KEY_V</start>
<!– EXIT –>
<title>KEY_F2</title>
<!– MENU –>
<info>KEY_I</info>
<!– INFO –>
<skipplus>KEY_F9</skipplus>
<!– >>| –>
<skipminus>KEY_R</skipminus>
<!– |<< –>
<display>KEY_T</display>
<!– Toggle Fullscreen –>
<record>KEY_4</record>
<volumeplus>KEY_F5</volumeplus>
<volumeminus>KEY_F7</volumeminus>
<channelplus>KEY_P</channelplus>
<channelminus>KEY_F</channelminus>
<mute>KEY_M</mute>
<back>KEY_E</back>
<!– PREV –>
<menu>KEY_5</menu>
<!– GUIDE –>
<power>KEY_S</power>
<mymusic>KEY_F6</mymusic>
<!– GREEN –>
<myvideo>KEY_F8</myvideo>
<!– BLUE –>
</remote>

then ctrl X and Y to save

from the command line

sudo apt=get install inputlirc

then edit inputlirc with the follwing command

sudo nano /etc/default/inputlirc

replace the contenets of the file with

# Options to be passed to inputlirc.
EVENTS=”/dev/input/by-id/usb-Formosa21_USB_IR_Receiver-event-ir”
OPTIONS=”-g -m 0″

then ctrl x and Y to save

type cd / usr/share/lirc/remotes/technisat
then issue the following command

sudo wget http://lirc.sourceforge.net/remotes/technisat/TTS35AI

/usr/share/lirc/remotes/technisat

TechniSat TS35 remote as /etc/lirc/lircd.conf

#
# this config file was automatically generated
# using lirc-0.7.1pre2(any) on Mon Jul 4 22:11:52 2005
#
# contributed by
#
# brand: Technisat
# model no. of remote control: TTS35AI
# devices being controlled by this remote: Skystar 2.6D
#

begin remote

name Technisat_TTS35AI.conf
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100

one 882 803
zero 882 803
plead 905
gap 112766
toggle_bit 2

begin codes
Power 0x1A8C
Mute 0x1A8D
1 0x1281
2 0x1A82
3 0x1283
4 0x1A84
5 0x1285
6 0x1A86
7 0x1287
8 0x1A88
9 0x1289
0 0x1A80
-/– 0x128A
A/B 0x1AA3
Red 0x0AAB
Green 0x02AC
Yellow 0x0AAD
Blue 0x02AE
OK 0x0A97
Up 0x12A0
Down 0x1AA1
Left 0x1291
Right 0x1A90
SFI 0x12AF
Exit 0x1AA2
INFO 0x028F
# Prog+ 0x1AA0
# Prog- 0x12A1
TV/Radio 0x0293
# Volume+ 0x1A90
# Volume- 0x1291
Menu 0x0A92
Hilfe 0x1A8F
TXT 0x12BC
STOP 0x1AA9
EXT 0x12B8
HILFE2 0x0AB6
end codes

end remote

hardware settings for lirc as /etc/lirc/hardware.conf

# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE=”None”
REMOTE_MODULES=”lirc_serial”
REMOTE_DRIVER=””
REMOTE_DEVICE=”/dev/lirc0″
REMOTE_LIRCD_CONF=””
REMOTE_LIRCD_ARGS=””

#Chosen IR Transmitter
TRANSMITTER=”None”
TRANSMITTER_MODULES=””
TRANSMITTER_DRIVER=””
TRANSMITTER_DEVICE=””
TRANSMITTER_LIRCD_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=””

Author: