UsbKbDxe driver in MdeModulePkg/Bus/Usb handles usb key board devices. Note we don’t parse its HID descriptor in this driver, we only use SET_REPORT request to enable Keyboard’s LED.
If you need to parse HID items, you can refer to the logic in usb mouse driver and write a new one. PS: UefiUsbLib in MdePkg/Library provides some library APIs to provide HID services. From: cruxpot [mailto:crux...@gmail.com] Sent: Wednesday, August 05, 2015 05:10 To: Tian, Feng Cc: Ulysses Mckibbens; edk2-de...@lists.sourceforge.net Subject: Re: [edk2] HID descriptor parsing Hi Tian, Which driver handles the keyboard devices? we did see that in the mouse driver. On Aug 3, 2015 6:08 PM, "Tian, Feng" <feng.t...@intel.com<mailto:feng.t...@intel.com>> wrote: UsbBusDxe driver is a bus driver who is used to enumerate attached devices and start their corresponding device drivers. So you couldn’t see HID parser in UsbBus driver. You have to see it in usb device drivers. UsbMouseDxe/MouseHid.c is such sample for how parsing HID items. From: Ulysses Mckibbens [mailto:zergrusher2...@gmail.com<mailto:zergrusher2...@gmail.com>] Sent: Tuesday, August 04, 2015 00:20 To: edk2-de...@lists.sourceforge.net<mailto:edk2-de...@lists.sourceforge.net> Subject: [edk2] HID descriptor parsing Hi, Where is the HID descriptor parsed in the UsbBusDxe driver? I am using a Minnowboard Max with 0.81 firmware and I am trying to debug the HID descriptor attributes for a device I'm writing a driver for. Any pointers? ------------------------------------------------------------------------------ _______________________________________________ edk2-devel mailing list edk2-de...@lists.sourceforge.net<mailto:edk2-de...@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel