[mythtv-users] IR Man and Myth TV
Cliff Draper
Cliff.Draper at Sun.com
Sat Apr 19 00:03:14 UTC 2003
From: RJV <miracle at procyon.com>
Date: Fri, 18 Apr 2003 16:31:20 -0700 (PDT)
> I've got a LM 9.1 box running MythTV.
I assume "LM" is a linux distro. I'm running Debian Stable.
> I've purchased an irman (www.evation.com/irman) and I have managed to get
> the remote and the computer talking using the directions in the readmes.
That's what I have too. I've been pretty happy with it.
> I'm now, however, stuck. Does anyone know what the next steps are to get
> the irman stuff talking to mythtv? Thanks.
You need to (1) setup the configuration for lirc, (2) tell lirc what
to do with MythTV, then (3) run irxevent.
1. I had to create /etc/lirc/hardware.conf and /etc/lirc/lircd.conf.
The values in lircd.conf came from running a test program and
pressing keys on the remote (I think it was test_io or test_func).
See attachments.
2. Create ~/.lircrc as I think the MythTV docs say. Something like:
begin
prog = irxevent
button = Escape
config = Key Escape CurrentWindow
end
...
3. % irxevent &
Cliff Draper Sun Microsystems, Forte Tools
My opinions may or may not reflect those of my employer.
---------------------------- food for thought ---------------------------
"He who lives by fighting with an enemy has an interest in the
preservation of the enemy's life." - Friedrich Wilhelm Nietzsche
-------------- next part --------------
# lircd.conf automatically generated by irman2lirc
#
# brand: Irman
# model: All models
# devices: remotes from /tmp/irman.conf
#
begin remote
name irman
bits 48
flags SPACE_ENC
eps 30
aeps 100
one 1024 3072
zero 1024 2048
ptrail 1024
pre_data_bits 16
pre_data 0xffff
post_data_bits 0
post_data 0x0
gap 65536
repeat_bit 0
begin codes
Space 0x077000000000
Pause 0x0000065000000000
ChannelUp 0x067000000000
ChannelDown 0x066000000000
Escape 0x0041000000000
Menu 0x042000000000
MenuUp 0x049000000000
MenuRight 0x04b000000000
MenuDown 0x04a000000000
MenuLeft 0x048000000000
Enter 0x004e000000000
Info 0x004f000000000
Edit 0x0043000000000
PageUp 0x004d000000000
PageDown 0x004c000000000
JumpForward 0x0061000000000
JumpBack 0x0074000000000
0 0x055000000000
1 0x054000000000
2 0x057000000000
3 0x056000000000
4 0x051000000000
5 0x050000000000
6 0x053000000000
7 0x052000000000
8 0x05d000000000
9 0x05c000000000
end codes
end remote
-------------- next part --------------
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""
#Dont start lircmd even if there seams to be a good config file
#START_LIRCMD=false
#Try to load appropriate kernel modules
LOAD_MODULES=true
DRIVER="irman"
DEVICE="/dev/ttyS0"
MODULES=""
# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""
More information about the mythtv-users
mailing list