Hi All, This is the 4th attempt for a Logitech mouse M560 hid driver. In the previous attempt I didn't check carefully the arguments of the function m560_raw_event() this leaded sometime to a system crash. On the basis of the feedback received, I made some cleanup to the code. The patch is against v4.1-rc1. Special thanks to Antonio and Benjamin for their support and testing. BR G.Baroncelli Changelog: - v1 first issue - v2 accepted Benjamin Tissoires suggestions - v3 use input_report*() function instead of rewriting the hid-report - v4 add check of the arguments in m560_raw_event() -- gpg @keyserver.linux.it: Goffredo Baroncelli <kreijackATinwind.it> Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 -- gpg @keyserver.linux.it: Goffredo Baroncelli <kreijackATinwind.it> Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html