From: Alan Ott Date: Tue, 18 Jan 2011 08:04:39 +0000 (-0500) Subject: HID: Add Support for Setting and Getting Feature Reports from hidraw X-Git-Tag: v2.6.39-rc1~429^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4dbde9da8ece42bbe4c70c26bac3b28dd6a3ddb;p=pandora-kernel.git HID: Add Support for Setting and Getting Feature Reports from hidraw Per the HID Specification, Feature reports must be sent and received on the Configuration endpoint (EP 0) through the Set_Report/Get_Report interfaces. This patch adds two ioctls to hidraw to set and get feature reports to and from the device. Modifications were made to hidraw and usbhid. New hidraw ioctls: HIDIOCSFEATURE - Perform a Set_Report transfer of a Feature report. HIDIOCGFEATURE - Perform a Get_Report transfer of a Feature report. Signed-off-by: Alan Ott Signed-off-by: Antonio Ospite Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed