Re: [PATCH 1/2] input: usb: hid: Bump maximum global item tag report size to 128 bytes

From
Marek Vasut <marex@denx.de>
Date
2012-08-15 11:56:51
Reply to
Jiri Kosina, 2012-08-15
Dear Jiri Kosina,
On Sun, 5 Aug 2012, Marek Vasut wrote:
quoted
The Freescale i.MX28 BootROM USB recovery mode implements the USB HID
protocol, yet the global item tag report size is 128. Linux checks if
this is 96 as of now, see [1]. This causes Linux to refuse to communicate
with this device, making it impossible to use the recovery mode.

This is not a standard HID device per se, but rather a software emulation
implemented within the BootROM code and realized through USB OTG-capable
port switched to device mode present on the device.

Previous attempt to discuss this issue dates back to 2011, see [2]. There
has been not much response. Also noteworthy is the [3], where there seems
to be a pointing device that has issue similar to this one.

The tool making use of the USB recovery mode is available at [4].

[1] http://comments.gmane.org/gmane.linux.kernel.input/22328
[2] http://www.spinics.net/lists/linux-usb/msg43463.html
[3] https://bbs.archlinux.org/viewtopic.php?pid=1141340
[4] http://git.bfuser.eu/?p=marex/mxsldr.git;a=summary

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chen Peter <redacted>
Cc: Greg KH <redacted>
Cc: Jiri Kosina <redacted>
I have not admit I don't remember where the original limit came from --
the spec doesn't mandate it as far as I can tell.

I am queueing this patch now for next merge window. Thanks.
[...]

Thanks!

Best regards,
Marek Vasut
Thread (4 messages) 4 messages, 3 authors, last reply 2012-08-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help