JNeave at spursolutions
Apr 6, 2006, 1:08 AM
Post #1 of 1
Re: TwinHan IR remote and receiver problem - SOLVED
Well, I got it all working!
Turns out I just didn't know how to write the lircrc file, or where to
To get this (or any) USB IR HID device to work with mythtv:
1) Compiled lirc with devinput as the driver (under Other)
2) Faffed about trying cat /dev/input/eventX until I found one that was
3) Used irremote --device /dev/input/eventX to configure lircd.conf for
the keypresses on the remote. It's quite (almost) able to figure it out
This also required some hand editing as some of the buttons were
multiple key presses (eg, Ctrl+Alt+F6 for power) and not all the keys
were unique in the file. I just dumped some output from irremote to a
file and picked out unique ones for each key.
At this point everything was working in irw, but not myth. I have just
copied lircrc.example to /home/james
4) All I had to do then was write things like:
Put the file in the right place and it worked, after getting a working
Now, I thought that I would have problems with lirc and keyboard
messages turning up twice to mythtv, but as it turns out according to
this post here
, lirc automatically disables keyboard input from the device.
So once you know what you're doing, it's bloody simple :)
Now I just need to get my DVB-T EPG to XMLTV bridge working (not started
that yet) and I can start learning how to use the damn thing. :)
The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful.
The contents of an attachment to this email may contain software viruses that could damage your own computer systems. Whilst The Spur Group of Companies has taken every precaution to minimise the risk, we cannot accept liability for any damage that you sustain as a result of software viruses.