[mythtv-users] NOVA-T-500 Remote
Bruce Richardson
itsbruce at workshy.org
Sat Feb 16 14:42:47 UTC 2008
On Sat, Feb 16, 2008 at 12:06:16PM +0000, Ben Coates wrote:
> Hi, has anyone got this remote working properly?
>
> On my remote, 1,2,3,4,5,6,7,8,9,0 and the UP and DOWN arrows work, but
> nothing else does..
That sounds as if you don't have lirc working. In the absence of a
working lirc, the evdev driver will recognise the Hauppauge IR receiver
as a device that sends keypresses and translates its keypress events
into keycodes. This would be great and potentially make lirc redundant,
except that most of the keycodes are ignored by the X keyboard driver,
as you have seen. The only way to get all the remote buttons generating
useful keycodes would be either to remap the keycodes generated at the
USB evdev level or do do a lot of hacking on the configuration files of
the XKB component of X. Unfortunately, the Hauppauge IR doesn't support
keycode maps and the second option is simply scary.
So get lirc working. If you manage that, then lircd grabs the IR output
before it goes to the X keyboard system. It's much safer and less
intrusive to be configuring your remote at that level than messing with
kernel devices or X internals. lirc also offers the advantage that you
can have the same remote button generate different keypresses
for each application, or even have one button change the whole keyboard
mapping for the remote (it's called "modes" in the lirc documentation.)
>
> Anyone had any joy? I'm a bit new to lirc
Make sure lirc is using the dev/input driver and is pointing to the
correct device in /dev/input/. In the long run, you need to add a udev
rule to create a symlink with a consistent name, because you cannot
count on the Hauppauge device always having the same eventN number.
Something like
KERNEL=="input*", ATTRS{name}=="IR-receiver inside an USB DVB receiver", SYMLINK+="input/dvb-ir"
which would mean that the Hauppauge receiver would always be on
/dev/input/dvb-ir
--
Bruce
I must admit that the existence of Disneyland (which I know is real)
proves that we are not living in Judea in AD 50. -- Philip K. Dick
More information about the mythtv-users
mailing list