Re: [PATCH 1/2] Increase HID_MAX_BUFFER_SIZE to 8KB to support additional, devices.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sure, I'll do that now (and do the same for my other unreviewed patch, which adds additional ioctls(). It's suprisingly frustratingly difficult to get Thunderbird to send a one-time unformatted plain-text email, as it seems to be a global setting that has to be changed.

I've given up on that and just set up git-send-email, which I've never used before but hope doesn't mangle anything.

Cheers!
- Dean

On 26/11/2020 12:12 am, Jiri Kosina wrote:
On Wed, 18 Nov 2020, Dean Camera wrote:

Currently the maximum HID report size which can be buffered by the
kernel is 8KB. This is sufficient for the vast majority of HID
devices on the market, as most HID reports are fairly small.

However, some unusual devices such as the Elgate Stream Deck exist
which use a report size slightly over 8KB for the image data that
is sent to the device. Reports these large cannot be buffered by
the regular HID subsystem currently, thus the only way to use such
device is to bypass the HID subsystem entirely.

This increases the maximum HID report size to 16KB, which should
cover all sanely designed HID devices.

Signed-off-by: Dean Camera <dean@xxxxxxxxxxxxxxxxxxxxx>

Dean,

thanks for the patch.

It has been whitespace-damaged by your mail client though. Could you
please fix that and resubmit?





[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux