# Re: \[PATCH v3\] HID: Add full support for Logitech Unifying receivers

- From: Dmitry Torokhov \<dmitry.torokhov@gmail.com\>
- Date: 2011-09-09 18:28:15 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2011/09/3762379
- Thread: https://ratatoskr.run/linux-input/2011/08/3756757/t.md

```text
On Thu, Sep 01, 2011 at 02:43:32PM +0200, Benjamin Tissoires wrote:
> > +
> > +       usbhid_submit_report(dj_rcv_hiddev, &report, USB_DIR_OUT);
> 
> This is not working when the receiver is paired to a keyboard. When
> the session launches, Gnome try to send leds commands to the keyboard
> and this results in an oops.
> 
> Using a  pointer to the struct hid_report solves the crash.
> 
> However, Dmitry, you told us about a DMA stack problem. Can you give
> us a better way to handle that?
> 

Actually it is OK, usbhid_submit_report internally allocates DMA_safe
memory for raw report and copies the data for you.

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
