You may be right, I've seen that the EFI_DEVICE_ERROR comes from UsbIoControlTransfer() where there is a conflict between the data length requested vs. received.
Thanks, Jack From: Desimone, Nathaniel L <nathaniel.l.desim...@intel.com> Sent: Thursday, May 27, 2021 11:06 AM To: Little, Jack <jack.tay.lit...@hpe.com>; devel@edk2.groups.io Cc: Desimone, Ashley E <ashley.e.desim...@intel.com> Subject: RE: FtdiUsbSerialDxe Hi Jack, To my knowledge, the code hasn't been touched at all since 2013 other than being moved from edk2 to edk2-platforms. The move from edk2 to edk2-platforms did happen in 2019, so perhaps something broke during that move but it seems unlikely. The only other explanation I can think of for it working with code from circa 2018 is that something in UsbBusDxe changed that broke FtdiUsbSerialDxe. Thanks, Nate From: Little, Jack <jack.tay.lit...@hpe.com<mailto:jack.tay.lit...@hpe.com>> Sent: Thursday, May 27, 2021 8:49 AM To: Desimone, Nathaniel L <nathaniel.l.desim...@intel.com<mailto:nathaniel.l.desim...@intel.com>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io> Cc: Desimone, Ashley E <ashley.e.desim...@intel.com<mailto:ashley.e.desim...@intel.com>> Subject: RE: FtdiUsbSerialDxe Hi Nate, The same FTDI device works with the source from around 05/23/2018, unsure of which chip is in there. Thanks, Jack From: Desimone, Nathaniel L <nathaniel.l.desim...@intel.com<mailto:nathaniel.l.desim...@intel.com>> Sent: Thursday, May 27, 2021 3:17 AM To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Little, Jack <jack.tay.lit...@hpe.com<mailto:jack.tay.lit...@hpe.com>> Cc: Desimone, Ashley E <ashley.e.desim...@intel.com<mailto:ashley.e.desim...@intel.com>> Subject: RE: FtdiUsbSerialDxe Hi Jack, I believe that driver has only been tested with the FT232AM, which has not been manufactured for several years now. Ashley (cc'd) implemented it as an intern project in 2013: https://github.com/tianocore/edk2/commit/3f1484f There probably needs to be some work done to get it running with newer FTDI chips like the FT232RL. Thanks, Nate From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of Little, Jack Sent: Wednesday, May 26, 2021 10:21 AM To: devel@edk2.groups.io<mailto:devel@edk2.groups.io> Subject: [edk2-devel] FtdiUsbSerialDxe Hi, Are there any known bugs with [edk2-stable202002] when using the FtdiUsbSerialDxe driver? I am seeing errors during initialization when TerminalDriverBindingStart() tries to reset the FTDI device and gets EFI_DEVICE_ERROR. Thanks, Jack -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#75823): https://edk2.groups.io/g/devel/message/75823 Mute This Topic: https://groups.io/mt/83106838/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-