Lircmap.xml for Twinhan remote
#1
Since this was a bit timeconsuming to make, I thought I'd post a copy of my config here. The remote doesn't have up/down/left/right so I've used Ch+ as up, Ch- as down, Vol- as left and Vol+ as right. Rewind/Forward can be used to adjust the volume.

in ~/.xbmc/userdata/Lircmap.xml
Code:
<remote device="TwinHanRemote">
        <display>fullscreen</display>
        <power>power</power>
        <one>1</one>
        <two>2</two>
        <three>3</three>
        <four>4</four>
        <five>5</five>
        <six>6</six>
        <seven>7</seven>
        <eight>8</eight>
        <nine>9</nine>
        <record>rec</record>
        <zero>0</zero>
        <myvideo>favorite</myvideo>
        <volumeminus>rewind</volumeminus>
        <volumeplus>forward</volumeplus>
        <up>ch+</up>
        <left>vol-</left>
        <select>play</select>
        <right>vol+</right>
        <down>ch-</down>
        <menu>recall</menu>
        <stop>stop</stop>
        <pause>pause</pause>
        <mute>mute</mute>
<!-- <cancel>cancel</cancel> -->
<!-- <capture>capture</capture> -->
<!-- <preview>preview</preview> -->
        <info>epg</info>
        <recordedtv>recordlist</recordedtv>
<!-- <tab>tab</tab> -->
        <title>teletext</title>
    </remote>

/etc/lircd.conf
Code:
begin remote
name  TwinHanRemote
bits           32
eps            30
aeps          100
one             0     0
zero            0     0
gap          115899
toggle_bit      0
     begin codes
         fullscreen               0x8001002C
         power                    0x8001001D
         1                        0x80010002
         2                        0x80010003
         3                        0x80010004
         4                        0x80010005
         5                        0x80010006
         6                        0x80010007
         7                        0x80010008
         8                        0x80010009
         9                        0x8001000A
         0                        0x8001000B
         rec                      0x80010066
         favorite                 0x8001002F
         rewind                   0x80010017
         forward                  0x80010031
         ch+                      0x80010068
         ch-                      0x8001006D
         vol-                     0x8001006C
         vol+                     0x80010067
         recall                   0x8001002E
         play                     0x8001001C
         stop                     0x8001006B
         pause                    0x80010014
         mute                     0x80010032
         cancel                   0x80010001
         capture                  0x80010019
         preview                  0x80010025
         epg                      0x80010012
         recordlist               0x80010026
         tab                      0x8001000F
         teletext                 0x8001001E
     end codes
end remote

Lirc settings (Gentoo specific):

/etc/conf.d/lircd
Code:
LIRCD_OPTS="-H devinput -d /dev/input/by-id/usb-Twinhan_Tech_Remote_Control_1111111-event-kbd"

Hope that helps!
Reply
#2
thank you. i'm going to test it as soon as possible over an archlinux distro and xbmc live on a usb pen.

i'm trying to understand if it is possible to use the twinhan usb cable-irda receiver and an xbox dvd remote.

it seems to me that twinhand remote has a kind of firmware which make it spoke only with his remote... is it possible?

i've used the xbox remote a lot of time ad i find it very confortable. now i'm planning to install xbmc on a htpc and i'm trying to figure how to implement a generic irda receiver (i have one from twinhan and another from technotrend dvb-s card) with xbmc classic remote
Reply
#3
lircmap added to svn. cheers
Reply

Logout Mark Read Team Forum Stats Members Help
Lircmap.xml for Twinhan remote0