FtdiUsbSerialDxe


Little, Jack <jack.tay.little@...>
 

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

 


Nate DeSimone
 

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 <devel@edk2.groups.io> On Behalf Of Little, Jack
Sent: Wednesday, May 26, 2021 10:21 AM
To: 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

 


Nate DeSimone
 

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.little@...>
Sent: Thursday, May 27, 2021 8:49 AM
To: Desimone, Nathaniel L <nathaniel.l.desimone@...>; devel@edk2.groups.io
Cc: Desimone, Ashley E <ashley.e.desimone@...>
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.desimone@...>
Sent: Thursday, May 27, 2021 3:17 AM
To: devel@edk2.groups.io; Little, Jack <jack.tay.little@...>
Cc: Desimone, Ashley E <ashley.e.desimone@...>
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 <devel@edk2.groups.io> On Behalf Of Little, Jack
Sent: Wednesday, May 26, 2021 10:21 AM
To: 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

 


Little, Jack <jack.tay.little@...>
 

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.desimone@...>
Sent: Thursday, May 27, 2021 3:17 AM
To: devel@edk2.groups.io; Little, Jack <jack.tay.little@...>
Cc: Desimone, Ashley E <ashley.e.desimone@...>
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 <devel@edk2.groups.io> On Behalf Of Little, Jack
Sent: Wednesday, May 26, 2021 10:21 AM
To: 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

 


Little, Jack <jack.tay.little@...>
 

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.desimone@...>
Sent: Thursday, May 27, 2021 11:06 AM
To: Little, Jack <jack.tay.little@...>; devel@edk2.groups.io
Cc: Desimone, Ashley E <ashley.e.desimone@...>
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.little@...>
Sent: Thursday, May 27, 2021 8:49 AM
To: Desimone, Nathaniel L <nathaniel.l.desimone@...>; devel@edk2.groups.io
Cc: Desimone, Ashley E <ashley.e.desimone@...>
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.desimone@...>
Sent: Thursday, May 27, 2021 3:17 AM
To: devel@edk2.groups.io; Little, Jack <jack.tay.little@...>
Cc: Desimone, Ashley E <ashley.e.desimone@...>
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 <devel@edk2.groups.io> On Behalf Of Little, Jack
Sent: Wednesday, May 26, 2021 10:21 AM
To: 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

 


Little, Jack <jack.tay.little@...>
 

Hi Nathaniel,

 

FYI, I’ve created a Bugzilla for this issue. https://bugzilla.tianocore.org/show_bug.cgi?id=3444

 

Thanks,

Jack

 

From: Little, Jack
Sent: Thursday, May 27, 2021 11:26 AM
To: Desimone, Nathaniel L <nathaniel.l.desimone@...>; devel@edk2.groups.io
Cc: Desimone, Ashley E <ashley.e.desimone@...>
Subject: RE: FtdiUsbSerialDxe

 

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.desimone@...>
Sent: Thursday, May 27, 2021 11:06 AM
To: Little, Jack <jack.tay.little@...>; devel@edk2.groups.io
Cc: Desimone, Ashley E <ashley.e.desimone@...>
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.little@...>
Sent: Thursday, May 27, 2021 8:49 AM
To: Desimone, Nathaniel L <nathaniel.l.desimone@...>; devel@edk2.groups.io
Cc: Desimone, Ashley E <ashley.e.desimone@...>
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.desimone@...>
Sent: Thursday, May 27, 2021 3:17 AM
To: devel@edk2.groups.io; Little, Jack <jack.tay.little@...>
Cc: Desimone, Ashley E <ashley.e.desimone@...>
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 <devel@edk2.groups.io> On Behalf Of Little, Jack
Sent: Wednesday, May 26, 2021 10:21 AM
To: 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