--- lirc-0.8.0pre4/daemons/hw_hiddev.c 2005-08-31 22:13:25 +0400 +++ lirc-0.8.0pre4/daemons/hw_hiddev.c.new 2006-01-20 16:12:59 +0300 @@ -12,6 +12,12 @@ * */ +/* + * The following is a work around for a problem in 2.6 kernel + * linux/hiddev.h file that is fixed in 2.6.9 + */ +#define HID_MAX_USAGES 1024 + #ifdef HAVE_CONFIG_H # include #endif