From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web08.12227.1623264003773680939 for ; Wed, 09 Jun 2021 11:40:04 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=mmDE1NsP; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0794add0d1=jack.tay.little@hpe.com) Received: from pps.filterd (m0150245.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 159IYJeu018949 for ; Wed, 9 Jun 2021 18:40:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=pps0720; bh=BOHyg7BehNrL1tQSPCmD/0XemzcPUtus9kn1aJHPf3M=; b=mmDE1NsPnMgXgQrIngLjrHeZQzYZUgB3iE/lY5T8LoJiafREQVbADOgNtwrTpPpWE+kf JxPBB4qatbUd3nxPJHXB8b/6yZ6mr3elrTnGK5qrzd3KUUmDb7gGFgExxtH0vLyIb9+P mUd+1ndyD76/vT2N/4eUltrEX3ArVfvpipSCLIugjMlfKboZCyNW/JCRlrwsFW7K3wKe TQALZjpS6NIxOq65FkiCc/omzXR5fIs3MNnaq14b3k37NfudTiEZtDJ6gPh2wsoCAJoE Sg0QQ3g+X5OIHFLByp/BZuLKzB5U3NDuMvGu8kXVQv3HyLT3kg8YhdhelH6k0Uax6qG9 5w== Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by mx0b-002e3701.pphosted.com with ESMTP id 39277ppwta-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 09 Jun 2021 18:40:02 +0000 Received: from G4W10204.americas.hpqcorp.net (g4w10204.houston.hpecorp.net [16.207.82.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g9t5008.houston.hpe.com (Postfix) with ESMTPS id 0ED1A56 for ; Wed, 9 Jun 2021 18:40:02 +0000 (UTC) Received: from G2W6311.americas.hpqcorp.net (16.197.64.53) by G4W10204.americas.hpqcorp.net (16.207.82.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 9 Jun 2021 18:40:01 +0000 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (15.241.52.12) by G2W6311.americas.hpqcorp.net (16.197.64.53) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 9 Jun 2021 18:40:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fC8IeS13ybk9toXpVhMhwxRURI192V6Lt4oHn9lKNKN055CgZwnWh0expRTbR/Ewk4kReYXF3SNEP4qUadU4KNy0VqeEcXWlyvtQsphDfUE+/wmop1TvKgIWb0yHN2g1kl0cEgoCngHXK3USyhT7QaQyRLFAX8kIyx1UloxVV7FnL8c0o8mFnQq5oolfeK7i+qhZn6w84kQlotZpt+AkdgDcYb8ds38mudV3j90p2WtxXS1Hyhs4sBIILxZ6abxjYOkOiuDv+rcwyGlkWP2iF0HQoYHdWOlsukQ3/YDGTjXLqk1PhkrF50UCokeXbDwmkVfVed+tTumxXVoL+pISHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lnNBYmIu+QZtrI7U5kq0PJDG+Z/WoTzn82urfywZJ+Q=; b=bgIsiEY4YnC9Xcpkkfa3IJZkjpn1AnHZHF5R4hG6cS7SMdo57LGL3gCNLBUEdbvAiI/tqaeV8Ow78YfSEKXUsreulPZCzYM7MRNSptuTHQ6WOVyjUPuXEdnaBM+nbmMpLQPqEK9dttDLg6GiEvXR11hMC9las5pKypWnBwyC82SwV1Umr6hTB6qd2m152o5O/MEOS/zTFWs7KifBHYqIb564Fqf764LpTrhGHMxjJ3cLgSqRjuiCNOtVsnpvo92sgupAbjDAwLDWzk+goqCEa7sBlrKKYiU+dG5Jwu+CEeKkcZq8cnqZvxrQG6e7fgpKrXbepC4RSKT1SbGnFVgYsA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from TU4PR8401MB0862.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7710::21) by TU4PR8401MB1229.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7715::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.25; Wed, 9 Jun 2021 18:39:59 +0000 Received: from TU4PR8401MB0862.NAMPRD84.PROD.OUTLOOK.COM ([fe80::95d9:e50d:fde:5685]) by TU4PR8401MB0862.NAMPRD84.PROD.OUTLOOK.COM ([fe80::95d9:e50d:fde:5685%7]) with mapi id 15.20.4195.030; Wed, 9 Jun 2021 18:39:59 +0000 From: "Little, Jack" To: "Desimone, Nathaniel L" , "devel@edk2.groups.io" CC: "Desimone, Ashley E" , "Nina, Aldo" Subject: Re: FtdiUsbSerialDxe Thread-Topic: FtdiUsbSerialDxe Thread-Index: AddSRVLV09B/BYbjTsGaxs2g89MnhQAiaqOAAA8y1uAAAXPMkAAAuGGwApKNPaA= Date: Wed, 9 Jun 2021 18:39:59 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=hpe.com; x-originating-ip: [2600:1700:d41:4aa0:543:b8b6:8d0d:91b5] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a69cb3b8-c7f2-49bf-df56-08d92b75fc91 x-ms-traffictypediagnostic: TU4PR8401MB1229: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:201; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5w9X4gUtQ00VGEf3gR2huhTdGjIsgJLFpBohDcbrVLf3nE/ADlWc9MntwrPQWktdMAwIyJhnGNi2fRlsJj0e3VidaIafZRKKqsca/+Q7EnKy3RHCnlWbvb2gy7cRXMx5EiAIEub0o9ssZwi8KF7UaRQFH7v4WSqWz4LtqhvCZcUse5K4PMM48HCZ6BziFBIPVxgks3Z+vmcjZABoW5B2GCcdYWtgOrOGo5jCXFlqHnpUwJR2aQMi8Q9Pth4GGHh4HHpf00qR7ZUudyLoQvY1IPoyvxMdTkuhMAjWmzwAwgWIltoZsgZSPZtK2JNk12x1C3b2eAYmEWPWcMb/QKCXzUvH/CF39EAm9fxp9f4mWntQD+7FmduDYoniaLDWGx71ArULcrjc4zF7+gug1RZbpScIpFAYoQdNjz44LE53yTHbNI+dEJS5r65kWEJpVjF3ass12NlTL3Tj7LLaoaXkXpoJsbQMkGUtMqnLN1AZo+bTbwEye8yt03CSucbVhX39uqlmr2EP5SGQwF9TNp/sE3UijzXIIYUpMPGlJjkg2LvwJBC7+saIz5U/F0juTsqddWbq2u7iCzQOmfpyQwRpGBG79n2Hnn2OWl+6bJYbRJ88TI6QEBqPSGteSq85z+MvztPRsRwRVLff2mOdkRm9WCcvZtWeTewwJA2G6b0HAKhA0FqgQn63QE+Q9YEkKVZjrYWxrIPPt5BD1V98Unvt9ASev90UbXs72WhMtzVrTzWa/K5g4NvJBHlwsItFHuwM x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TU4PR8401MB0862.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(136003)(346002)(376002)(396003)(39860400002)(366004)(3480700007)(9686003)(9326002)(38100700002)(110136005)(8936002)(76236003)(186003)(55016002)(2906002)(478600001)(966005)(33656002)(54906003)(83380400001)(122000001)(52536014)(6506007)(7696005)(53546011)(166002)(76116006)(316002)(8676002)(64756008)(66476007)(66446008)(66556008)(66946007)(4326008)(7116003)(5660300002)(86362001)(71200400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?o95yC4QPaZkYdCQLPeNdLftG2sqLLmil6I7AHTaRuR0j9NxHarx3M0jQHrVG?= =?us-ascii?Q?RfwLVWCRQH9NzanR5264C7fep3GtKpvJZjUnkhTOYKi1h++/KxSJ9NkuefBS?= =?us-ascii?Q?xMH8wvcXirxzQ3jRsmEhxxhrMXAqbPUR2F4o911XALtPdGjqLvH2AVkNd6Xl?= =?us-ascii?Q?0R/6hKhsOr5peXN2s3o7MjDHVr8q95izZEqokpZNmvQxRTWJmaDNMgdwcUsb?= =?us-ascii?Q?UhBKyElwr5fBAEt/c7yx3hxStQSBW+6Zlcz4fdRsxe5VK2wCra+I7nKHVtZH?= =?us-ascii?Q?Ri5VY7eyJZzjfRpCibX+xi+Q75R48a4+tbx8FntI+vESlhv82WPPG1CYNPDL?= =?us-ascii?Q?4KgExkyV14dXJaZBWr7SuJtaHh/Bsuf+e8AwlWKWXZ+FDkKmfNA+eEZ7Hhwc?= =?us-ascii?Q?PL6k+AkJTGVgw2QPP7IfLRUFqKvXwxnbTjMkKfx5QZwIiFWU+qyOo/Kt+FQO?= =?us-ascii?Q?9WaBxO0uvAQyqAat9rakqo7Bu1XXCdmSlI7t9muLh/uALzpYnIAYpGvLZkvS?= =?us-ascii?Q?q+XHaLsMdSg/BJlcpFz+Q7ScPaSx7v3WgRRUJQDbYwCD20aznVkp/yetiN/6?= =?us-ascii?Q?5PuYoDYbdAqrn3Ac6WOLJ/tT5WC1uyGmA0IkjsdgG7dvGsvgojH7NmiUJvqk?= =?us-ascii?Q?ekawtUcW2y0hXxITPcYUzBds/csy/DR8OYxH9OPPv+6wzAybt18nNtfOc2wj?= =?us-ascii?Q?X4fMRGeM2Csp56CioDwd0UM6lZ+KyXU4UGBiQgWbD0OgR8U3qGB8W1zEzzAG?= =?us-ascii?Q?xRw6dnBVsHMzEtyKWI/mYqft9sb1MtjyWdElsnCHMpKbjwnf85UaEuxnfL6/?= =?us-ascii?Q?TtjqT6X9FLf+Qf+8yky97ZzvnhrWe8hLBgnx9JXs3BxYmgtQ+ivB8cu5RMz9?= =?us-ascii?Q?KfLTx94xUADFj3mvrpc+Angy4QqUySZSd5douGOeFWLJ1XTNc1gDFnRduLTQ?= =?us-ascii?Q?iNuI+/XtzAOUiKUKWV24wic1rcmf0nimKdtd+XKqmyMRWF8HD1ynW56yQSZN?= =?us-ascii?Q?dkKYu5And78wEPAcqJQxY7rXIOSVWkiQtnKtcOo1scqz2d96iuUQv78Ovq0Q?= =?us-ascii?Q?Y2ATE8KAovKz7iWtgvKlyli+hpNvP3IQxDij8vjn0a74njo6WuOajlShYmwu?= =?us-ascii?Q?Ce+GVZpMsIB6lKIw/XrHzI7AjEDdFSGADU8EWHAByBcU0hTXBGqB1PyHmQtl?= =?us-ascii?Q?OsGp7vZctg6nn4Sz7hL6ZhYjlAdX1Rn4FnwlQWrCHIMafja50MZWAuP8uEhD?= =?us-ascii?Q?J93TJYsQlO19gejHq8hg2DE3HmOdKTWdAg5kq19dRejiz1pXobESFNvL6nGd?= =?us-ascii?Q?4JAyr9QXQlng8zwWZblYiNjufrVB+TaT/waUUiLbp18D/hYcH/hBI5e2qNsG?= =?us-ascii?Q?hgaNDP5vF65xX//T3m13vQKuxYl7?= X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TU4PR8401MB0862.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: a69cb3b8-c7f2-49bf-df56-08d92b75fc91 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jun 2021 18:39:59.6372 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DrIoeJ1GX6AcgUfGsqNBNYKW0YFSTcu8G6Nu6DEgUDmD2gooYSakG0yaL32POvsGZSZg+i4IkGf39Eiqw1nrNw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TU4PR8401MB1229 X-OriginatorOrg: hpe.com X-Proofpoint-GUID: e9U2VFDkyMH6vQlTM3M4xj5gQqMvgFiv X-Proofpoint-ORIG-GUID: e9U2VFDkyMH6vQlTM3M4xj5gQqMvgFiv X-Proofpoint-UnRewURL: 10 URL's were un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-06-09_07:2021-06-04,2021-06-09 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 clxscore=1015 malwarescore=0 suspectscore=0 lowpriorityscore=0 mlxlogscore=998 priorityscore=1501 phishscore=0 impostorscore=0 adultscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106090094 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_TU4PR8401MB086280B54FF3357296E57463AB369TU4PR8401MB0862_" --_000_TU4PR8401MB086280B54FF3357296E57463AB369TU4PR8401MB0862_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Nathaniel, FYI, I've created a Bugzilla for this issue. https://bugzilla.tianocore.or= g/show_bug.cgi?id=3D3444 Thanks, Jack From: Little, Jack Sent: Thursday, May 27, 2021 11:26 AM To: Desimone, Nathaniel L ; devel@edk2.gro= ups.io Cc: Desimone, Ashley E Subject: RE: FtdiUsbSerialDxe You may be right, I've seen that the EFI_DEVICE_ERROR comes from UsbIoCont= rolTransfer() where there is a conflict between the data length requested v= s. received. Thanks, Jack From: Desimone, Nathaniel L > Sent: Thursday, May 27, 2021 11:06 AM To: Little, Jack >= ; devel@edk2.groups.io Cc: Desimone, Ashley E > 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-platfo= rms 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 wi= th code from circa 2018 is that something in UsbBusDxe changed that broke F= tdiUsbSerialDxe. Thanks, Nate From: Little, Jack > Sent: Thursday, May 27, 2021 8:49 AM To: Desimone, Nathaniel L >; devel@edk2.groups.io Cc: Desimone, Ashley E > 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 > Sent: Thursday, May 27, 2021 3:17 AM To: devel@edk2.groups.io; Little, Jack > Cc: Desimone, Ashley E > 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 a= n 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 FTD= I chips like the FT232RL. Thanks, Nate From: 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 FtdiUsbSe= rialDxe driver? I am seeing errors during initialization when TerminalDrive= rBindingStart() tries to reset the FTDI device and gets EFI_DEVICE_ERROR. Thanks, Jack --_000_TU4PR8401MB086280B54FF3357296E57463AB369TU4PR8401MB0862_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Nathaniel,

 

FYI, I’ve created a Bugzilla for this issue. = https://b= ugzilla.tianocore.org/show_bug.cgi?id=3D3444

 

Thanks,

Jack

 

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

 

You may be right, I’ve seen that the EFI_DEVI= CE_ERROR comes from UsbIoControlTransfer() where there is a conflict betwee= n the data length requested vs. received.

 

Thanks,

Jack

 

From: Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>= ;
Sent: Thursday, May 27, 2021 11:06 AM
To: Little, Jack <jac= k.tay.little@hpe.com>; devel@edk2.groups.io
Cc: Desimone, Ashley E <ashley.e.desimone@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 b= roke during that move but it seems unlikely. The only other explanation I can think of for it working with code from c= irca 2018 is that something in UsbBusDxe changed that broke FtdiUsbSerialDx= e.

 

Thanks,

Nate

 

From: Little, Jack <jack.tay.little@hpe.com>
Sent: Thursday, May 27, 2021 8:49 AM
To: Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>; devel@edk2.groups.io
Cc: Desimone, Ashley E <ashley.e.desimone@intel.com>
Subject: RE: FtdiUsbSerialDxe

 

Hi Nate,

 

The same FTDI device works with the source from aro= und 05/23/2018, unsure of which chip is in there.

 

Thanks,

Jack

 

From: Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>= ;
Sent: Thursday, May 27, 2021 3:17 AM
To: devel@edk2.groups.io; Little, Jack <jack.tay.lit= tle@hpe.com>
Cc: Desimone, Ashley E <ashley.e.desimone@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://githu= b.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 <deve= l@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] w= hen using the FtdiUsbSerialDxe driver? I am seeing errors during initializa= tion when TerminalDriverBindingStart() tries to reset the FTDI device and g= ets EFI_DEVICE_ERROR.

 

Thanks,

Jack

 

--_000_TU4PR8401MB086280B54FF3357296E57463AB369TU4PR8401MB0862_--