Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Re: TwinHan IR remote and receiver problem - SOLVED

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


JNeave at spursolutions

Apr 6, 2006, 1:08 AM

Post #1 of 1 (2663 views)
Permalink
Re: TwinHan IR remote and receiver problem - SOLVED

Hi,



Well, I got it all working!



Turns out I just didn't know how to write the lircrc file, or where to
put it.



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
the remote

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
itself.

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:



begin

prog=mythtv

button=ch+

repeat=3

config=Up

end



Put the file in the right place and it worked, after getting a working
init.d script.



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
<http://marc.theaimsgroup.com/?l=linux-usb-users&m=111484865511480&w=2>
, 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. :)



Thanks,



Jim.


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.

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.