From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02olkn0818.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe44::818]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5807721A04807 for ; Fri, 31 Mar 2017 05:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6tiQb2N1VFtHcZipU5+lKWwTq+2/854Sp6j48Mfv2TA=; b=LKLniSeCiUgZ12TlK+Jhzp+s5lMiYqmJdAleF3H76V1KYJ+nGrrb3pNZwtGVE7Cqk4sB8wyMDpLFNfOwoUurxBNPiQExyiACUu1kalRs1tOzRol9rY6ri1N2lnuT0joxeCEhHccLAh2MLMDECr2aN4KkrNNl3HuKougQR0B5/JFX5Umd8G/DsZmYgxuw31n/gF/53IT+lCEmhj0vtiMfdGoVHvDrX7955dWaZD7nA2R+2INUcStuUXEM4YbeP9MbasNxYg8p1zLQ6lHuwDhjVmovZ1fLDQY3YR69LEmnSnnJCwLiC22qGTpTXZUDUReD9nqSDZlQvtW86WPulYn99w== Received: from SN1NAM02FT053.eop-nam02.prod.protection.outlook.com (10.152.72.54) by SN1NAM02HT232.eop-nam02.prod.protection.outlook.com (10.152.72.176) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1005.5; Fri, 31 Mar 2017 12:26:23 +0000 Received: from MWHPR11MB1822.namprd11.prod.outlook.com (10.152.72.54) by SN1NAM02FT053.mail.protection.outlook.com (10.152.72.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.5 via Frontend Transport; Fri, 31 Mar 2017 12:26:22 +0000 Received: from MWHPR11MB1822.namprd11.prod.outlook.com ([10.175.53.137]) by MWHPR11MB1822.namprd11.prod.outlook.com ([10.175.53.137]) with mapi id 15.01.1005.015; Fri, 31 Mar 2017 12:26:23 +0000 From: Amit kumar To: "edk2-devel@lists.01.org" Thread-Topic: [edk2] DisconnectController API not working. Thread-Index: AQHSqhffn/F9h+mYjkqyjCjXnsf+AA== Date: Fri, 31 Mar 2017 12:26:22 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: lists.01.org; dkim=none (message not signed) header.d=none;lists.01.org; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:1D59FF508F366BAB4D2C06F332DAC8FF56A1F8B80AFE73D96EF5A800E358DB19; UpperCasedChecksum:0C115CA1FEA1A74B0F689D496F488448DDE7B566754721E9A0572C39DD1B783E; SizeAsReceived:7929; Count:40 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [j936wIG6Nax7/hd0TjAkwTLBbCI3NdvM] x-microsoft-exchange-diagnostics: 1; SN1NAM02HT232; 5:iaOJSbZ7cFuGNmC4tKpcMyLbCjPxuGYGG0cWV64cZsr8RUrykoQOXoOhcAmFuJhs5ZiKOU7Sctoj64RhSxTBZjSxv8UfwvMlCnJuPv7VOlBXGqlshIJ5iig9+lkuOhQ876KXpB7MVPbaCqWUcwzg/Q==; 24:luh9PIvv96o5RtgFxXnAQVPoynvwGDG/i7TxSA9PJ7D8KqHMTE245H4Rx0J2TesAs0H1gxC0llJ82FKQK8NV8SoYRrE9nyb3IgJBOlIOcQY=; 7:2o6e2gONpEky8X61NU+VNoQEngpjTguXVNrXKxv8Knhc68cMDWWayNVNZdbAT8RFAev6RuuNOOzRXEdjRsJT8J9peSN6v5mEJmgA8pz+r8NRV46woFMhdhswj1poDBruelIMHY88U8yS4pW/T+9e6YcticEYwjHbEkD0fa13UPBkod5IaBVw62lkFjLwtyOJFIP88cHg9AQRAGQ6F1JQWReTdlEmNXgkJUoRESORFSrxQg/aymGDk1cXFFHFh26g1FqMtL/FTuBr3ep+1/h9i2fbAejYgLdnpnjyfr44NoJaZkPENW4fBe7ciGfXc9qf x-incomingheadercount: 40 x-eopattributedmessage: 0 x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:SN1NAM02HT232; H:MWHPR11MB1822.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: d2db5502-22f3-4580-9081-08d4783124ac x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031322274)(1601125374)(1603101448)(1701031045); SRVR:SN1NAM02HT232; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:SN1NAM02HT232; BCL:0; PCL:0; RULEID:; SRVR:SN1NAM02HT232; x-forefront-prvs: 02638D901B spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Mar 2017 12:26:22.7870 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1NAM02HT232 Subject: DisconnectController API not working. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2017 12:26:24 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi ,=20 I am trying to disconnect a controller from the usb mass storage driver, fo= r which i am using =A0 Status =3D gBS->DisconnectController ( ControllerHandle, NULL, NULL ); after the call i get Status =3D SUCCESS , but when i run drivers command in= shell, i find it still being manged by the same old driver handle. Although when i run disconnect command from shell (e.g disconnect 163 ...ou= tput disconnect(163,0,0):Status =3D SUCCESS)=20 it works as expected and detaches the controller from the driver. Can some body point me out what could be the reason. =