# \[PATCH 0/4\] HID: implement new transport-driver callbacks

- From: Frank Praznik \<hidden\>
- Date: 2014-01-22 18:50:18 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2014/01/8922843
- Thread: https://ratatoskr.run/linux-input/2014/01/8922843/t.md

```text
These patches are originally the work of David Herrmann who suggested that I 
update and submit them as their functionality is required for some pending
patches to the hid-sony driver.

These patches implement the SET/GET_REPORT and raw intr OUTPUT requests for all
transport drivers.  It adds two callbacks to the hid_ll_driver struct:

int (*raw_request)(struct hid_device *hdev, unsigned char reportnum,
		   __u8 *buf, size_t len, unsigned char rtype, int reqtype);

int (*output_report)(struct hid_device *hdev, __u8 *buf, size_t len);

along with the necessary support fuctions in the USBHID, and HIDP drivers.

UHID is not converted yet.
```
