[PATCH v4] usb:gadget:hid: {GET,SET} PROTOCOL Support

2017-07-19 Thread Abdulhadi Mohamed
. Signed-off-by: Abdulhadi Mohamed <abdulahha...@gmail.com> --- V4: Replaced patch message to correctly describe changes and added descriptions about previous revisions v3: Fixed formatting/whitespace errors using checkpatch.pl v2: Added HID protocol macros for clarity as per

[PATCH v3] usb:gadget:hid: {GET,SET} PROTOCOL Support

2017-07-19 Thread Abdulhadi Mohamed
driver to have any impact. This version fixes all previous formatting errors. Signed-off-by: Abdulhadi Mohamed <abdulahha...@gmail.com> --- drivers/usb/gadget/function/f_hid.c | 17 - include/linux/hid.h | 6 ++ 2 files changed, 22 insertions(+), 1 de

Re: [PATCH v2 RESEND] usb:gadget:hid: {GET,SET} PROCOTOL Support

2017-07-18 Thread Abdulhadi Mohamed
On Tue, Jul 18, 2017 at 10:17:24PM +0200, Greg KH wrote: > On Tue, Jul 18, 2017 at 08:47:58PM +0100, Abdulhadi Mohamed wrote: > > The current HID function driver doesn't support GET_PROCOTOL and > > SET_PROCOTOL commands, which are required to operate the HID gadgets in > >

[PATCH v2 RESEND] usb:gadget:hid: {GET,SET} PROCOTOL Support

2017-07-18 Thread Abdulhadi Mohamed
by older BIOSes. Signed-off-by: Abdulhadi Mohamed <abdulahha...@gmail.com> --- drivers/usb/gadget/function/f_hid.c | 17 - include/linux/hid.h | 6 ++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/drivers/usb/gadget/function/f_hid.c b/drive

[PATCH v2] usb:gadget:hid: {GET,SET} Protocol support

2017-06-30 Thread Abdulhadi Mohamed
The current HID function driver doesn't support GET_PROCOTOL and SET_PROCOTOL commands, which are required to operate the HID gadgets in BOOT mode. This change implements this feature for devices that have the same implementation for REPORT and BOOT mode Signed-off-by: Abdulhadi Mohamed

[PATCH v2] usb:gadget:hid: Remote wakeup support

2017-06-30 Thread Abdulhadi Mohamed
driver to have any impact. Signed-off-by: Abdulhadi Mohamed <abdulahha...@gmail.com> --- drivers/usb/gadget/function/f_hid.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/function/f_hid.c b/drivers/usb/gadget/function/f_hid.c index c60b882..eeb01bd 100644 --- a/d

[PATCH] usb:gadget:hid: Remote wakeup support

2017-06-30 Thread Abdulhadi Mohamed
driver to have any impact. Signed-off-by: Abdulhadi Mohamed <abdulahha...@gmail.com> --- drivers/usb/gadget/function/f_hid.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/function/f_hid.c b/drivers/usb/gadget/function/f_hid.c index c60b882..eeb01bd 100644 --- a/d

usb:gadget:hid: [PATCH] Remote Wakeup Support

2017-06-27 Thread Abdulhadi Mohamed
to have any impact. Signed-off-by: Abdulhadi Mohamed <abdulahha...@gmail.com> --- drivers/usb/gadget/function/f_hid.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/function/f_hid.c b/drivers/usb/gadget/function/f_hid.c index c60b882..eeb01bd 100644 --- a/drivers/usb/

usb:gadget:hid: [PATCH] {SET,GET} protocol support

2017-06-27 Thread Abdulhadi Mohamed
The current HID function driver doesn't support GET_PROCOTOL and SET_PROCOTOL commands, which are required to operate the HID gadget in BOOT mode. This change implements this feature for devices that have the same implementation for REPORT and BOOT mode Signed-off-by: Abdulhadi Mohamed <abdula

[PATCH] {GET,SET} PROCOTOL Support

2017-06-23 Thread Abdulhadi Mohamed
the current HID function dirver doesn't support GET_PROCOTOL and SET_PROCOTOL commands, which are required to operate the HID gadget in BOOT mode. This change implements this feature for devices that have the same implementation for REPORT and BOOT mode Signed-off-by: Abdulhadi Mohamed <abdula

[PATCH] usb:gadget:hid: This patch adds support for set_protocol and get_protocol for remote wakeup

2017-06-20 Thread Abdulhadi Mohamed
This patch is required to implement the set_procotol and get_procotol commands for HID gadgets to interact with the BIOS using the BOOT protocol according to the HID specification. These two commands are also required to implement remote wake up for HID gadgets once the BIOS takes control of

Boot mode Support for HID gadget

2017-06-19 Thread Abdulhadi Mohamed
for my linux gadget if required. Best Regards, Abdulhadi Mohamed -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this

FW: Unable to perform remote wakeup of host with USB HID Composite Device

2017-06-19 Thread Abdulhadi Mohamed
for my linux gadget if required. Best Regards, Abdulhadi Mohamed -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

FW: Unable to perform remote wakeup of host with USB HID Composite Device

2017-06-06 Thread Abdulhadi Mohamed
Hi I apologize in advance for this is my first email using this mailing list but I could really use some help. I have connected a composite USB device running the 4.0 Linux kernel to a PC running Ubuntu. One of its functions is to act as a HID device for mouse and keyboard to control the