[Bug 321939] GARNOME 2.12.1 fails on HAL for HID_MAX_USAGES undeclared



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=321939
 GARNOME | general | Ver: unspecified


Bastiaan Wakkie changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gnome wakkie org




------- Comment #2 from Bastiaan Wakkie  2005-12-22 08:36 UTC -------
Have the same problem in Mandrake 10.1.

I also found a comment in the linux-kernel archive that relates to the same
problem of an undefined HID_MAX_USAGES:
http://www.ussg.iu.edu/hypermail/linux/kernel/0403.2/0619.html

So it is declared in a different file: hid.h

But for now in order to continue I just the following line in the hiddev.h
file:
/* hiddev_usage_ref_multi is used for sending multiple bytes to a control.
 * It really manifests itself as setting the value of consecutive usages */

#define HID_MAX_USAGES 1024 /* completely bogus... but a fix for me */

struct hiddev_usage_ref_multi {
        struct hiddev_usage_ref uref;
        __u32 num_values;
        __s32 values[HID_MAX_USAGES];
};


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]