Say Y here if you want support for keyboards of Apple iBooks, PowerBooks,
MacBooks, MacBook Pros and Apple Aluminum.
+++config HID_APPLEIR
+++ tristate "Apple infrared receiver"
+++ depends on (USB_HID)
+++ ---help---
+++ Support for Apple infrared remote control. All the Apple computers from
+++ 2005 onwards include such a port, except the unibody Macbook (2009),
+++ and Mac Pros. This receiver is also used in the Apple TV set-top box
+++ prior to the 2010 model.
+++
+++ Say Y here if you want support for Apple infrared remote control.
+++
config HID_AUREAL
tristate "Aureal"
-- - depends on USB_HID
++ + depends on HID
---help---
Support for Aureal Cy se W-01RN Remote Controller and other Aureal derived remotes.
init_waitqueue_head(&hdev->debug_wait);
INIT_LIST_HEAD(&hdev->debug_list);
+ ++ mutex_init(&hdev->debug_list_lock);
sema_init(&hdev->driver_lock, 1);
+++ sema_init(&hdev->driver_input_lock, 1);
return hdev;
}
return -ENODEV;
}
- sent_bytes = hdev->hid_output_raw_report(hdev, (u8 *) dj_report,
- sizeof(struct dj_report),
- HID_OUTPUT_REPORT);
+ for (i = 0; i < report->field[0]->report_count; i++)
+ report->field[0]->value[i] = data[i];
+
-- usbhid_submit_report(hdev, report, USB_DIR_OUT);
++ + hid_hw_request(hdev, report, HID_REQ_SET_REPORT);
- return (sent_bytes < 0) ? sent_bytes : 0;
+ return 0;
}
static int logi_dj_recv_query_paired_devices(struct dj_receiver_dev *djrcv_dev)