Hi, this is a utility to setup IR control keymaps using the /proc/av7110_ir interface. just call # ./av7110_loadkeys [-i|--invert] [-a|--address ] keymapname.(rc5|rcmm) > /proc/av7110_ir If your IR receiver hardware inverts the signal, you should use the -i or --invert command line option. If you have two or more devices which use the same IR protocol, you should specify the -a or --address parameter. If the parameter is omitted, the driver listens to all device addresses. Some examples: Listen to *any* IR transmitter with uses the RC5 protocol: # ./av7110_loadkeys hauppauge.rc5 > /proc/av7110_ir Listen to RC5 transmitter with address 2: # ./av7110_loadkeys -a 2 hauppauge.rc5 > /proc/av7110_ir If you don't know the correct value for the -a parameter, take a look on the debug output of the driver (see below). Now you can test your hardware setup using evtest # ./evtest /dev/input/eventX where eventX is the IR input event device, usually event0 if you don't use USB mice or keyboards. ------------------------------------------------------------------------ Keymaps are in format: 0x00 KEY_0 0x01 KEY_1 0x42 KEY_HOME ------------------------------------------------------------------------ In order to write a new keymap you might want to see the raw key values in the kernel log. Use # insmod dvb-ttpci.o av7110_ir_debug=1 in order to enable some verbosity in the av7110_ir driver. Then watch the kernel log while pressing your remote control keys. When you don't see any messages in your kernel log you should check all electrical connections, the selected protocol (RC5 or RCMM?) and the inversion setting. You find a list of all linux input key identifiers in and "./input_fake.h". Please post new keymaps on the linux-dvb mailing list or send them to me . have fun! Holger t name='qt'>
path: root/FAQ (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2001-03-16[lcd4linux @ 2001-03-16 09:28:08 by ltoetsch]ltoetsch5-11/+35
bugfixes
2001-03-15[lcd4linux @ 2001-03-15 15:49:22 by ltoetsch]ltoetsch3-14/+27
fixed compile HD44780.c, cosmetics
2001-03-15[lcd4linux @ 2001-03-15 14:25:05 by ltoetsch]ltoetsch11-125/+278
added unread/total news
2001-03-15[lcd4linux @ 2001-03-15 11:10:53 by ltoetsch]ltoetsch1-1/+8
added quit/logout to pop/imap
2001-03-15[lcd4linux @ 2001-03-15 09:47:13 by reinelt]reinelt3-16/+31
some fixes to ppdef off-by-one bug in processor.c fixed
2001-03-15[lcd4linux @ 2001-03-15 09:13:22 by ltoetsch]ltoetsch1-2/+9
delay first exec for faster start
2001-03-14[lcd4linux @ 2001-03-14 16:47:41 by reinelt]reinelt3-41/+59
minor cleanups
2001-03-14[lcd4linux @ 2001-03-14 15:30:53 by reinelt]reinelt1-21/+34
make ppdev compatible to earlier kernels
2001-03-14[lcd4linux @ 2001-03-14 15:14:59 by reinelt]reinelt8-152/+365
added ppdev parallel port access
2001-03-14[lcd4linux @ 2001-03-14 13:19:29 by ltoetsch]ltoetsch16-128/+773
Added pop3/imap4 mail support
2001-03-13[lcd4linux @ 2001-03-13 08:34:15 by reinelt]reinelt6-29/+50
corrected a off-by-one bug with sensors
2001-03-13[lcd4linux @ 2001-03-13 08:03:41 by reinelt]reinelt3-1/+35
added missing autoheader files
2001-03-13[lcd4linux @ 2001-03-13 07:53:00 by reinelt]reinelt2-13/+15
added several files for the distribution
2001-03-13[lcd4linux @ 2001-03-13 07:41:22 by reinelt]reinelt3-2/+52
added NEWS file
2001-03-12[lcd4linux @ 2001-03-12 13:44:58 by reinelt]reinelt8-58/+232
new udelay() using Time Stamp Counters
2001-03-12[lcd4linux @ 2001-03-12 12:49:24 by reinelt]reinelt2-63/+71
even better configure handling...
2001-03-12[lcd4linux @ 2001-03-12 12:39:36 by reinelt]reinelt14-448/+830
reworked autoconf a lot: drivers may be excluded, #define's went to config.h
2001-03-09[lcd4linux @ 2001-03-09 16:24:30 by ltoetsch]ltoetsch2-155/+345
disable driver in configure
2001-03-09[lcd4linux @ 2001-03-09 15:04:53 by reinelt]reinelt3-103/+109
rename 'raster' to 'Text in Text.c added TOTO item
2001-03-09[lcd4linux @ 2001-03-09 14:30:01 by reinelt]reinelt1-0/+7
new ideas for TODO
2001-03-09[lcd4linux @ 2001-03-09 14:24:49 by ltoetsch]ltoetsch3-7/+18
exec: Scale_x ->Min/Max_x
2001-03-09[lcd4linux @ 2001-03-09 13:08:11 by ltoetsch]ltoetsch12-86/+384
Added Text driver
2001-03-09[lcd4linux @ 2001-03-09 12:14:24 by reinelt]reinelt4-21/+34
minor cleanups
2001-03-08[lcd4linux @ 2001-03-08 15:25:38 by ltoetsch]ltoetsch9-93/+214
improved exec
2001-03-08[lcd4linux @ 2001-03-08 09:02:04 by reinelt]reinelt4-133/+21
seti client cleanup
2001-03-08[lcd4linux @ 2001-03-08 08:39:54 by reinelt]reinelt2-4/+12
fixed two typos
2001-03-07[lcd4linux @ 2001-03-07 18:10:21 by ltoetsch]ltoetsch10-110/+319
added e(x)ec commands
2001-03-05[lcd4linux @ 2001-03-05 18:20:21 by reinelt]reinelt2-13/+25
TOTO list update
2001-03-04[lcd4linux @ 2001-03-04 15:01:12 by ltoetsch]ltoetsch1-3/+3
Added PNG
2001-03-02[lcd4linux @ 2001-03-02 20:18:12 by reinelt]reinelt3-36/+89
allow compile on systems without net/if_ppp.h