Hi Andrei, On Fri, Jan 24, 2014 at 10:56 AM, Andrei Emeltchenko <Andrei.Emeltchenko.news@xxxxxxxxx> wrote: > - for (i = 0; key_map[i].name != NULL; i++) > + for (i = 0; key_map[i].name != NULL; i++) { > ioctl(fd, UI_SET_KEYBIT, key_map[i].uinput); > + err = -errno; > + error("ioctl UI_SET_KEYBIT: %s (%d)", strerror(-err), -err); > + goto fail; > + } You seem to have missed the "if (ioctl(...) < 0)" above. Best Regards, -- Anderson Lizardo http://www.indt.org/?lang=en INdT - Manaus - Brazil -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html