Re: Communicating with usb devices


Guomin Jiang
 

You can locate UsbIo protocol, the prototype is described in UEFI Spec.

You can check it first.

-----Original Message-----
From: discuss@edk2.groups.io <discuss@edk2.groups.io> On Behalf Of
alireza0101sadeghpour@gmail.com
Sent: Monday, October 19, 2020 7:57 PM
To: discuss@edk2.groups.io
Subject: [edk2-discuss] Communicating with usb devices

Hi All,
I am a newbie in EFI development. Currently I have a requirement of
enumerating attached USB devices, communicating with them and etc.

However, after spending a day, I could not able to crack this thing. i can see
that in MdePkg and MdeModulePkg exists some driver for communicating
with usb devices but i can't figure out how should i use them.

I appreciate it if anyone could give me an example code or something like
that for communicating with usb devcies.

thanks



Join discuss@edk2.groups.io to automatically receive all group messages.