Welcome! Log In Create A New Profile

Advanced

Save input data from a USB HID device on Linux Kernel

Posted by MrkarlosM 
Save input data from a USB HID device on Linux Kernel
July 13, 2017 07:32PM
I am trying to modify the xpad driver for reading and saving the input data from a Xbox 360 controller.

[github.com]

In the

Quote
xpad_probe

static int xpad_probe(struct usb_interface *intf, const struct usb_device_id *id)


I've tried to use copt_to_user to copy the data and later being read by an application, but it doesn´t work, is there any Linux kernel usbcore command which can help me?
Author:

Your Email:


Subject:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 13 plus 8?
Message: