You are not logged in.

#1 2009-11-07 14:47:28

z.s.tar.gz
Member
From: Rural Florida
Registered: 2008-12-12
Posts: 298

Point in right direction: Mapping remote control to keyboard

I just purchased a generic hp remote control/infared usb dongle, and I'm wondering how I can map it to the gnome multimedia keys and/or keyboard keys so I can use it with exaile/vlc/whatever.

Both definitely work, and lsusb shows that it's plugged in, but I really don't know where to go from there.

Last edited by z.s.tar.gz (2009-11-07 18:16:53)


I need to find a way out so everyone can find their way out.
Resregietd Lunix Uesr: 485581

Offline

#2 2009-11-07 18:26:12

z.s.tar.gz
Member
From: Rural Florida
Registered: 2008-12-12
Posts: 298

Re: Point in right direction: Mapping remote control to keyboard

Ok. So after some more research, this says that xev can be used in addition to a configuration file to map events to keys.

New problem: xev doesn't return anything for my remote. I probably need drivers for it then, right? What kind of drivers does an IR reciever use?

Edit: Lirc seems to be what I need.

Edit: irrecord gives me this output every time:

$ sudo irrecord /etc/lirc/lircd.conf
irrecord: file "/etc/lirc/lircd.conf" does not contain valid data

I thought irrecord was supposed to make a config file, but I guess not.

Edit: it does, I was just doing it wrong. You have to use

# irrecord -d /dev/lirc0 ~/tempfile.conf

Now that I have a config file, I just need to map it to keys.

Last edited by z.s.tar.gz (2009-11-07 19:28:29)


I need to find a way out so everyone can find their way out.
Resregietd Lunix Uesr: 485581

Offline

Board footer

Powered by FluxBB