Re: [PATCH v2] HID: Add Support for Setting and Getting FeatureReports from hidraw

From: Antonio Ospite
Date: Thu Jun 10 2010 - 06:52:05 EST

On Wed, 9 Jun 2010 11:54:28 -0400
Alan Ott <alan@xxxxxxxxxxx> wrote:

> 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 <alan@xxxxxxxxxxx>

Tested-by: Antonio Ospite <ospite@xxxxxxxxxxxxxxxxx>


Antonio Ospite

PGP public key ID: 0x4553B001

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Attachment: pgp00000.pgp
Description: PGP signature