[edk2] Fwd: For USB devices, what's the difference between QEMU and real machine?

2016-05-31 Thread Iru Cai
ot even documented in UEFI Spec. Thanks > Feng > > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Iru Cai > Sent: Wednesday, June 1, 2016 9:53 AM > To: edk2-devel@lists.01.org > Subject: [edk2] For USB devices, what's th

[edk2] For USB devices, what's the difference between QEMU and real machine?

2016-05-31 Thread Iru Cai
Hi, I wrote a USB CCID driver and it works on QEMU with OVMF. However, I found it fail on real machines. First I boot a laptop with UEFI support to UEFI shell. Then I load the driver and insert the CCID device (I'm using a Yubikey 4), and I can see the driver successfully run the DriverBindingSta

Re: [edk2] Driver dependency on boot

2016-05-20 Thread Iru Cai
to [Depex]. > UefiLib EfiCreateProtocolNotifyEvent() API can help to create it. > > Thanks > Liming > > -Original Message- > > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Iru > > Cai > > Sent: Thursday, May 19, 2016 2:35 PM > > To: edk

[edk2] Driver dependency on boot

2016-05-18 Thread Iru Cai
Hi, I'm having some dependency problem when developing on edk2. I've written a CCID device driver which provides a protocol EFI_CCID_PROTOCOL with GUID gEfiCcidProtocolGuid. And I have another application called ccidboot to be run on boot that uses gEfiCcidProtocolGuid, I set the module type as DX