Re: [edk2] DisconnectController API not working.

2017-06-29 Thread TVKR
>> >> On Wed, Jun 28, 2017 at 1:23 PM, Amit kumar wrote: >> >> >> >> EFI_STATUS >> EFIAPI >> UefiMain ( >> IN EFI_HANDLEImageHandle, >> IN EFI_SYSTEM_TABLE *SystemTable >> ) >> { >> EFI_STATUS Status; >> >

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread TVKR
S Status; > > > gBS->DisconnectController ( > ConvertHandleIndexToHandle (0x175), > ConvertHandleIndexToHandle (0x176), > NULL); > return (Status); > > } > > > -- > *From:* edk2-devel on behalf of Amit > k

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread Amit kumar
ent:* Wednesday, June 28, 2017 11:41:53 PM *To:* TVKR *Cc:* edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org> *Subject:* Re: [edk2] DisconnectController API not working. Try this; just a quick thing EFI_STATUS EFIAPI UefiMain ( IN EFI_HANDLEImageHandle, IN EFI_SYSTEM_TABLE

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread Andrew Fish
gt;> Cc: edk2-devel@lists.01.org >> Subject: Re: [edk2] DisconnectController API not working. >> >> Yes, the shell's in-built command disconnect (disconnect 175 176) worked >> but DisconnectController call from the application still did not work. >>

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread TVKR
dle (0x176), >NULL); >return (Status); > > } > > > -- > *From:* edk2-devel on behalf of Amit > kumar > *Sent:* Wednesday, June 28, 2017 11:41:53 PM > *To:* TVKR > *Cc:* edk2-devel@lists.01.org > *Subject:* Re: [edk2] DisconnectController API

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread Amit kumar
tus); } From: edk2-devel on behalf of Amit kumar Sent: Wednesday, June 28, 2017 11:41:53 PM To: TVKR Cc: edk2-devel@lists.01.org Subject: Re: [edk2] DisconnectController API not working. Try this; just a quick thing EFI_STATUS EFIAPI UefiMain ( IN EFI_HAN

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread Amit kumar
ULL); return (Status); } From: TVKR Sent: Wednesday, June 28, 2017 11:31:46 PM To: Amit kumar Cc: edk2-devel@lists.01.org Subject: Re: [edk2] DisconnectController API not working. Yes, the shell's in-built command disconnect (disconnect 175 176) wo

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread TVKR
lly (no errors reported on >> screen). >> >> On Wed, Jun 28, 2017 at 12:50 PM, Amit kumar >> wrote: >> >>> Did it hang ? >>> -- >>> *From:* TVKR >>> *Sent:* Wednesday, June 28, 2017 10:45:13 PM >>>

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread TVKR
uot; in UEFI shell ? > -- > *From:* TVKR > *Sent:* Wednesday, June 28, 2017 11:21:34 PM > > *To:* Amit kumar > *Cc:* edk2-devel@lists.01.org > *Subject:* Re: [edk2] DisconnectController API not working. > > Sorry, I wasn't clear in my last email. No it did not hang. T

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread Amit kumar
okay, os tell me , did you try "disconnect 175 176" in UEFI shell ? From: TVKR Sent: Wednesday, June 28, 2017 11:21:34 PM To: Amit kumar Cc: edk2-devel@lists.01.org Subject: Re: [edk2] DisconnectController API not working. Sorry, I wasn't clear i

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread TVKR
:* Wednesday, June 28, 2017 10:45:13 PM > *To:* Amit kumar > *Cc:* edk2-devel@lists.01.org > > *Subject:* Re: [edk2] DisconnectController API not working. > > Thanks for the suggestion Amit. I tried the reconnect -r but it doesn't > seem to help. > > On Wed, Jun 28

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread Amit kumar
Did it hang ? From: TVKR Sent: Wednesday, June 28, 2017 10:45:13 PM To: Amit kumar Cc: edk2-devel@lists.01.org Subject: Re: [edk2] DisconnectController API not working. Thanks for the suggestion Amit. I tried the reconnect -r but it doesn't seem to help

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread TVKR
the >> ControllerHandle passed and it looks correct. Were you able to resolve this >> eventually? >> >> Yes i was able to resolve it. It might be helpful if you can tell me the >> output of dh -d command. >> >> Thanks >> >> Amit >> >>

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread Amit kumar
t; Sent: Wednesday, June 28, 2017 6:06:11 PM To: edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>; akami...@hotmail.com<mailto:akami...@hotmail.com> Subject: Re: [edk2] DisconnectController API not working. BTW, I ported the disconnect code (under ShellPkg\Library\UefiShellDr

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread TVKR
e it. It might be helpful if you can tell me the > output of dh -d command. > > Thanks > > Amit > > > -- > *From:* TVKR > *Sent:* Wednesday, June 28, 2017 6:06:11 PM > *To:* edk2-devel@lists.01.org; akami...@hotmail.com > > *Subject:* Re: [edk2] DisconnectCont

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread Amit kumar
the output of dh -d command. Thanks Amit From: TVKR Sent: Wednesday, June 28, 2017 6:06:11 PM To: edk2-devel@lists.01.org; akami...@hotmail.com Subject: Re: [edk2] DisconnectController API not working. BTW, I ported the disconnect code (under ShellPkg\Library\UefiShellDriver

Re: [edk2] DisconnectController API not working.

2017-06-28 Thread TVKR
> > Sent: Wednesday, April 5, 2017 8:21:36 AM > To: Andrew Fish; Amit kumar > Cc: edk2-devel at lists.01.org > <https://lists.01.org/mailman/listinfo/edk2-devel>; Tian, Feng > Subject: RE: [edk2] DisconnectController API not working. > > Kumar, > > Do "map -

Re: [edk2] DisconnectController API not working.

2017-06-27 Thread TVKR
dk2-devel>] On Behalf Of Amit kumar Sent: Tuesday, April 4, 2017 12:07 AM To: Tian, Feng https://lists.01.org/mailman/listinfo/edk2-devel>> Cc: edk2-devel at lists.01.org <https://lists.01.org/mailman/listinfo/edk2-devel> Subject: Re: [edk2] DisconnectController API not working.

Re: [edk2] DisconnectController API not working.

2017-04-04 Thread Amit kumar
No i am not trying to disconnect USB controller in use. From: Tian, Feng Sent: Wednesday, April 5, 2017 8:21:36 AM To: Andrew Fish; Amit kumar Cc: edk2-devel@lists.01.org; Tian, Feng Subject: RE: [edk2] DisconnectController API not working. Kumar, Do "m

Re: [edk2] DisconnectController API not working.

2017-04-04 Thread Tian, Feng
edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Andrew Fish Sent: Tuesday, April 4, 2017 12:07 AM To: Amit kumar Cc: edk2-devel@lists.01.org Subject: Re: [edk2] DisconnectController API not working. > On Apr 3, 2017, at 2:58 AM, Amit kumar wrote: > > Hi Andrew , >

Re: [edk2] DisconnectController API not working.

2017-04-03 Thread Andrew Fish
mit Kumar > > > From: af...@apple.com on behalf of Andrew Fish > > Sent: Friday, March 31, 2017 10:42:08 PM > To: Amit kumar > Cc: edk2-devel@lists.01.org > Subject: Re: [edk2] DisconnectController API not working. > > > On M

Re: [edk2] DisconnectController API not working.

2017-04-03 Thread Amit kumar
From: af...@apple.com on behalf of Andrew Fish Sent: Friday, March 31, 2017 10:42:08 PM To: Amit kumar Cc: edk2-devel@lists.01.org Subject: Re: [edk2] DisconnectController API not working. On Mar 31, 2017, at 5:26 AM, Amit kumar mailto:akami...@hotmail.com>>

Re: [edk2] DisconnectController API not working.

2017-03-31 Thread Andrew Fish
> On Mar 31, 2017, at 5:26 AM, Amit kumar wrote: > > > Hi , > > I am trying to disconnect a controller from the usb mass storage driver, for > which i am using > >Status = gBS->DisconnectController ( > ControllerHandle, > NULL, >

[edk2] DisconnectController API not working.

2017-03-31 Thread Amit kumar
Hi , I am trying to disconnect a controller from the usb mass storage driver, for which i am using   Status = gBS->DisconnectController ( ControllerHandle, NULL, NULL );