From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web09.9348.1622132746376800793 for ; Thu, 27 May 2021 09:25:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=jnFpxZJg; 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.147.86, mailfrom: prvs=07816a7c27=jack.tay.little@hpe.com) Received: from pps.filterd (m0150241.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 14RGDsxK022358 for ; Thu, 27 May 2021 16:25:45 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=aNj4WhZp5+AwN+s9iv78cdmC5qbP9gs4kBooHhc8KvI=; b=jnFpxZJg1p9uGqKJfWZP1TcxMHdn295EALyU88PbK9OFy8kXL8JItzqTpFOAo/VLEkyd jdUWf0TWjhV/vODatpnlz5ggFlbsxc5dmo+DsH1AXqgpRIbrjqXEQcA/FIIr7o9jnguy H0zHDAv2hVwM83isx+SEmHYAmKIU4RLVxzMWGQjUvLB60mRm/OuqWK2gbshqUjOJzVaO x6euns3DxpzP/AydGGDNZ6ULwzm4ZJ3hEYR/njIy8848urEJwPqfXyxt4C+4CeldfLsT qM98snzSuugMiJZ7FQwXh/zlJ9N9mxmja3Ea7HFnjTn5LLbqLeG7lsCyckbeQgrDcsG8 Dg== Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) by mx0a-002e3701.pphosted.com with ESMTP id 38tctts9m7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 27 May 2021 16:25:45 +0000 Received: from G1W8108.americas.hpqcorp.net (g1w8108.austin.hp.com [16.193.72.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3425.houston.hpe.com (Postfix) with ESMTPS id AF3CCC7 for ; Thu, 27 May 2021 16:25:44 +0000 (UTC) Received: from G1W8107.americas.hpqcorp.net (2002:10c1:483b::10c1:483b) by G1W8108.americas.hpqcorp.net (2002:10c1:483c::10c1:483c) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 27 May 2021 16:25:44 +0000 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (15.241.52.13) by G1W8107.americas.hpqcorp.net (16.193.72.59) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 27 May 2021 16:25:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IKRichfDqlw9tE7BgIoLO94fdP+x/xY3nuYD5pzxbI8wXP85CHhXA4oCDZMVbMr4B7hnLs1SxU65fMCXcKaf5JuP5943MpD3fUxOe0tlkfDe37Rx208H9syDzjR47xHzkWFbiJK3q9anGfrTk2MfpRVMHJhfP/RjaA73EEiRbBhlb526T88hrHb4EFPMVhkzVdoFk8aeWw4TQYbzJbHBxRjUgrhXCXa2xEOLqH+py4n4JzzA5QmN6EMI+r+u33O9ZeMZ1E9XomIlLelK34zA3ZGgvPa2MreWAyQ9RPsesRdeJ1P9kfPl/AXuS8mjp6V+MFM1eBgdJWzttYAiLg4UKg== 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=6B5s4m30btBqOO4n37NI2lFKbJ2mznS5t2LyGcrWPCc=; b=CWQd28UkVWnfIvV8dYZVuZL/dzzlRhbZ7slOorUZGGVSRObW4cDGdomd81nT4ubsWIDHa+tA8sBJFFVwYXIaM8Llvppe2n/bQ4c62tl9ba32uzUkyHraTzw6RgJHlXQggUe7RROQtsHk9zqM2b9kPquHM+w88axJBDkj+c8/YEuVbfZsERKxF1+Ms48GZGY5VVk50ubZJhHbcsvnY/HjIgZ667ZJKlTocH36TziOvLhXyqLWO6+Qw5nW2CnbMavwvqYMdhLJPKG+aMlt2O7YXGyIczv8xJd8qbQW0tBumOqp55gHNlCbPrgVG8P0h/ZQXJoOCpkG6F8e4x5P6i9oLw== 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 TU4PR8401MB0416.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:770c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.20; Thu, 27 May 2021 16:25:42 +0000 Received: from TU4PR8401MB0862.NAMPRD84.PROD.OUTLOOK.COM ([fe80::dde6:f768:528d:f8d5]) by TU4PR8401MB0862.NAMPRD84.PROD.OUTLOOK.COM ([fe80::dde6:f768:528d:f8d5%8]) with mapi id 15.20.4173.021; Thu, 27 May 2021 16:25:42 +0000 From: "Little, Jack" To: "Desimone, Nathaniel L" , "devel@edk2.groups.io" CC: "Desimone, Ashley E" Subject: Re: FtdiUsbSerialDxe Thread-Topic: FtdiUsbSerialDxe Thread-Index: AddSRVLV09B/BYbjTsGaxs2g89MnhQAiaqOAAA8y1uAAAXPMkAAAuGGw Date: Thu, 27 May 2021 16:25:42 +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:a8d4:3994:925f:789f] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f4bd6113-4bce-443c-92b8-08d9212c1276 x-ms-traffictypediagnostic: TU4PR8401MB0416: 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: aDEKiRKGAGmLBLxC1LnT1nKJP5TEbloUZWp6gQ3+bm1byzM9b5lUR78BoB/FL4KDGk/0zJ0kqG/ydLuTqhUJ6EScZki+STrNhaEF/K+LXEGwHBAI8wLdWRfTXfZmJWy2Re95tJv1XD0nhIUQxYJ1Ifvf+0uX+eRNX9BRJnEeInlBoy76i9dV1IEp1U4zawzBpPgIIhV6pTSSJUCgtHEKY2Az7Hu03S0pDlek24IfatD/LulW22kWmU55puEvy9RC1u6CdamWJO42W+PxwGbNrg1CQuUhi01ciAnheOgDJe+Cp+PbmxDZYkPbBSRbVybnuuxQST4e4CEZzAw7Jayt1I/iwkF+CoCEFRswDhwvec4FgAtNZ2135etcrIkUw1uAwhGXMQ/lvH7sZCjzDiRvEJS7bbrl7s7hphkPPcoXgMkbvoq648SB72P/ynGUgvufP6+5S9NEIwSHvn0dFHqf7ielAKIMfCbrosJCuwdb05ZutxKGZ+JmUCfSTSHw9lkQcYgBnJ+Vq//fhmlLpZrjcFNdfiA4Ky2g1ju8zdlQFvSrcf46cfMMgJXZGtXa4WTE0GhoDGmZlDWVtDBYT9Kb10oyh8TukfHwwkNwy5xDbWXdHKNRcgQzDzf2eJ7+UsIO4m23gH34oizLXlLB6jA6NjlaBapUjNHCB9tBTjphAG6U1j9Y2FnD6a9ZT59S65vL2nHDU19ThhYSa9uFKxFUyg== 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:(346002)(396003)(376002)(39860400002)(366004)(136003)(8676002)(3480700007)(110136005)(4326008)(76116006)(83380400001)(33656002)(7696005)(2906002)(76236003)(7116003)(5660300002)(8936002)(9686003)(52536014)(66946007)(64756008)(66446008)(53546011)(6506007)(166002)(122000001)(55016002)(316002)(38100700002)(86362001)(478600001)(966005)(66556008)(71200400001)(186003)(66476007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?q2gMsY599fvB2z4ANvYVEZnP7BXEmxyHnoN9svcpE1WWNFH7CR0KVhYj8Qhr?= =?us-ascii?Q?3Kl+CprbI+HfykeXY3e87t7nS/1W/oBch41wl5K+5En8YJv5RQHxFGICgkJy?= =?us-ascii?Q?p+qFO3L4Bk//L+aZBxVj2UL6XYdF7ouO+Ad5F6jhNqFvDRxqQraCgjfueUo9?= =?us-ascii?Q?zYK/CAluEPbB+wsuksIgPXFJD8jnLqG5Vw3YB3q5dSuZ1WCdG55+pq9hB+Ab?= =?us-ascii?Q?9gD6zkcUT++xlGiuoHReVsclSPKm28V74KBtryqMQc48mlpcmzqRU0zK41Hg?= =?us-ascii?Q?5aNq6ARbwsrWfdOOzkXbTqMLgrqSRlVJ+uDO3djI2lQB+HOvw+kHeEX63zJq?= =?us-ascii?Q?TI9p8R+kzOMKnyBiTQM6xnf4tcOJAjByBUxCIq0g0+linkS+E2fsHX6tYHTH?= =?us-ascii?Q?xBUOq/r6eVe73WR75+qieYSo3LGmDIJaeVjrkHglW275d99Pe5MI2+091UXU?= =?us-ascii?Q?iUI+nwTqYkzaosdnm52soR+sIuBY4ZH87YhIFC1F9AO+8R6iw8N2d9nzNMBg?= =?us-ascii?Q?7hlHUz9DvoPCQYI+2VQVpjE7VCFUAQXI3eCadhU6jx9IlynDqTaKr1RAZffW?= =?us-ascii?Q?EUjMu7pTS/drI2kpfBUpJJXDS0gGKJ5u9NErjcZJNvjOLWEgA1c+q7uXS9mY?= =?us-ascii?Q?WqHGQ8ygfX09IP0jXgbLODJUzCF3HEzI9wdpYR6IZ8yTq+85b/GZZtLUzTH3?= =?us-ascii?Q?z4R1vHc7qqeTLI+JfV0MiBJgUjXYk5Vq+PsycusbpLBhGsfYAM64xM2CF9Oe?= =?us-ascii?Q?ZUek8lAdsoNAAnAOgw7hvFp+hNkIBvHdfF7udsK54G/H1NET8MxQYYG6IL8A?= =?us-ascii?Q?9ncdi3pweIUph5SUyPpm4guHgZAKwOvoPzJWQmOzzygJKsg4IuxUCOTOPZVz?= =?us-ascii?Q?ml+JdbvR7UPBfx3QYydC6UMl5UvBUS+DFaOMSI4vqBHCZJ3SuReoTJOirNYe?= =?us-ascii?Q?jHbMS/eV3VN7eUvoyqL4IhcxiQZTxh2olPRfh+MWEKNiz+V+h5yf1wAzjKCr?= =?us-ascii?Q?GLykmT4aTXqZxO9t1n5DujQ+tHFilOhNmpttVN+wFuh7IuAFWqAlyrkReaGT?= =?us-ascii?Q?9tgN49U4mNmGytbZ4SUToG2M0q3uSm+SDyCAdxoDSlUwTsIXou2tmtkm+oyl?= =?us-ascii?Q?57yluNWUPQ/dsds9fw+pbGMOixSADQK1tq0f9fZ+QP1jIyaQos90+qzunM/+?= =?us-ascii?Q?nkkfWVK93kAM8mD3PktQq77YVfkcOXXuDDoCfYlfNnhd51xT1mp+fuKZq407?= =?us-ascii?Q?cQVVBCmqBTxlUkJy0jXyIbNcNSLZNZs5XqFJHWBlFfhTeA6EYanDSgymrTbs?= =?us-ascii?Q?kDpmotjK9XAbjmAaCupRptAZ+hKhDrFdlVkPhNKg54QwsIzpx81si2tDgZgR?= =?us-ascii?Q?2ZTsJdn0CCesF3wyrEzpPh7fOlMl?= x-ms-exchange-transport-forked: True X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TU4PR8401MB0862.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: f4bd6113-4bce-443c-92b8-08d9212c1276 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 May 2021 16:25:42.0364 (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: hUBzDqKKojfO7eism1Pxng5MOALjAq2V9mksQEj8RVffCjU168+tMzFLRzdUiouUuM4481/3Ff85SjMj2MepYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TU4PR8401MB0416 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: rc7qrWIHrPcZdSMi5i6__ZcN3qAw9qYW X-Proofpoint-GUID: rc7qrWIHrPcZdSMi5i6__ZcN3qAw9qYW 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-05-27_09:2021-05-27,2021-05-27 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 phishscore=0 adultscore=0 bulkscore=0 malwarescore=0 mlxlogscore=892 priorityscore=1501 suspectscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105270105 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_TU4PR8401MB0862B8C337F7DE89E86B4E6FAB239TU4PR8401MB0862_" --_000_TU4PR8401MB0862B8C337F7DE89E86B4E6FAB239TU4PR8401MB0862_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable You may be right, I've seen that the EFI_DEVICE_ERROR comes from UsbIoContr= olTransfer() where there is a conflict between the data length requested vs= . 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_TU4PR8401MB0862B8C337F7DE89E86B4E6FAB239TU4PR8401MB0862_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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 <jack.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_TU4PR8401MB0862B8C337F7DE89E86B4E6FAB239TU4PR8401MB0862_--