USB keyboard polling failed for some keyboards on PowerPC 5020.
This was caused by requesting only 4 bytes of data from keyboards that
produce an 8 byte HID report.
Signed-off-by: Adrian Cox
---
common/usb_kbd.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common
currences of this magic number 8 by replacing it with
> USB_KBD_PDATA_SIZE so the could should also be easier to read.
I've tested your extended patch, and it does fix the problem for me. I agree
that adding USB_KBD_PDATA_SIZE
does improve readability.
Thanks and regards,
Adrian Cox
__
Add endian support macros to interrupt transfers in the EHCI driver, to allow
operation on PowerPC.
Signed-off-by: Adrian Cox
---
drivers/usb/host/ehci-hcd.c | 50 +--
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/drivers/usb/host
Add endian support macros to interrupt transfers in the EHCI driver, to allow
operation on PowerPC.
Signed-off-by: Adrian Cox
---
drivers/usb/host/ehci-hcd.c | 50 +--
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/drivers/usb/host
the only
> place that
> mentions the high-speed HID device report size limit.
How about renaming to USB_KBD_BOOT_REPORT_SIZE? We know that the keyboard
report will
be 8 bytes because we explicitly set the keyboard into boot protocol
(Appendix B of HID 1.11: "The report may n
Update the EHCI driver to support interrupt transfers on PowerPC.
Signed-off-by: Adrian Cox
---
Changes in v2:
- Whitespace and line length fixes for checkstyle
drivers/usb/host/ehci-hcd.c | 56 ---
1 file changed, 31 insertions(+), 25 deletions
USB keyboard polling failed for some keyboards on PowerPC 5020.
This was caused by requesting only 4 bytes of data from keyboards that
produce an 8 byte HID report.
Signed-off-by: Adrian Cox
Signed-off-by: Wolfgang Denk
Cc: Marek Vasut
---
Changes in v3:
- Fixed checkstyle warnings
7 matches
Mail list logo