--- bluez-utils-3.19/tools/hid2hci.c 2007-09-16 09:57:40.000000000 +0200 +++ bluez-utils-3.19/tools/hid2hci.c.new 2007-10-18 11:25:40.000000000 +0200 @@ -138,7 +138,7 @@ static int send_report(int fd, const cha uref.field_index = 0; uref.usage_index = i; uref.usage_code = 0xff000001; - uref.value = buf[i]; + uref.value = buf[i] & 0x000000ff; err = ioctl(fd, HIDIOCSUSAGE, &uref); if (err < 0) return err;