Hi Jaben,

  Thanks for your reply.

Please check the below test report. 

1) Launch the application that displays the Key Uni code and Scan code using 
Conplitter readKey function. The application comes out when the "Enter" Key is 
pressed
2) Pressed "a", "b", "c","d","Enter Key"(many times)
3) We could see the application displays some of the key uni code and scan code 
that pressed  
4) Once application detects the Enter Key , it comes back to Shell command 
prompt. In the shell command prompt we are able to see what ever key missed by 
the application 

I think this would confirm that Shell does the readkey when the application is 
active. Is it not?

Thanks,
Ramesh


-----Original Message-----
From: Carsey, Jaben [mailto:jaben.car...@intel.com] 
Sent: Friday, October 18, 2013 8:16 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ConsoleIn behavior with Shell

You could put break points in the shell code that does the console in reading 
and see if it's getting activity during your application's run.

You can also run the "edit" command.  If that application can catch the 
keystrokes, instead of the shell, then I think it could confirm that the shell 
is not hindering the capture.

-Jaben

-----Original Message-----
From: Ramesh R. [mailto:rame...@ami.com]
Sent: Thursday, October 17, 2013 9:50 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ConsoleIn behavior with Shell

Thanks Jaben. Can we send our application source and is it possible to check it 
on your side? Or is there any other way that we can prove, Shell is not reading 
the key when the application is active?. 

Thanks,
Ramesh

-----Original Message-----
From: Carsey, Jaben [mailto:jaben.car...@intel.com]
Sent: Thursday, October 17, 2013 10:28 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ConsoleIn behavior with Shell

I do not believe that the shell's ReadKey is being called during your 
application's operation.  The thread from the shell is in your application at 
that time.  I would guess that the ReadKey gets called after your application 
ends and then it handles the information from the key that was pressed during 
the application's time.

-Jaben

-----Original Message-----
From: Ramesh R. [mailto:rame...@ami.com]
Sent: Thursday, October 17, 2013 9:39 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ConsoleIn behavior with Shell

Hi All & Jaben,

  Do you have any comments on the below observation?

Thanks,
Ramesh

-----Original Message-----
From: Ramesh R. [mailto:rame...@ami.com]
Sent: Friday, October 11, 2013 11:01 PM
To: edk2-devel@lists.sourceforge.net
Cc: Rashmi Prakash
Subject: Re: [edk2] ConsoleIn behavior with Shell

Hi Jaben,

   This FileInterfaceStdInRead. C  file having function FileInterfaceStdInRead, 
which is reading Key data with wait for event  and even after I am my  in 
application, FileInterfaceStdInRead function 's ReadKey is working .I checked 
this by printing messages with each call to ReadKey of FileInterfaceStdInRead 
function. So while coming Back to  shell we can see this message with key 
pressed. By this we can say when application is running, shell's  ReadKey is 
also responding.

  Could you please provide your comments on this?

Thanks,
Ramesh

-----Original Message-----
From: Carsey, Jaben [mailto:jaben.car...@intel.com]
Sent: Monday, October 07, 2013 10:30 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ConsoleIn behavior with Shell

Ramesh,

Once your application is run, the shell's thread is waiting for it to complete. 
 Unless a CTRL-C or CTRL-S comes via the events, there is nothing happening 
inside the shell.  

Your application is started around line 1607 in shell.c 

-Jaben

-----Original Message-----
From: Ramesh R. [mailto:rame...@ami.com]
Sent: Monday, October 07, 2013 9:52 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ConsoleIn behavior with Shell

Jaben,

   We could see the same behavior on all the shell versions. We are just 
launching the application from shell. Not doing any other things. 

Could you please tell me where( file name) are we stopping Shell ReadKey 
Function while launching the Application? Or How are you saying " The shell 
does not read from console in while your application is running"

Thanks,
Ramesh


-----Original Message-----
From: Carsey, Jaben [mailto:jaben.car...@intel.com]
Sent: Monday, October 07, 2013 10:16 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ConsoleIn behavior with Shell

Ramesh,

I cannot think of why that would happen.  Which revision of the shell are you 
using?

Is there anything odd about the launch of the application?  For example 
redirecting input to/from a file or anything like that?

-Jaben

-----Original Message-----
From: Ramesh R. [mailto:rame...@ami.com]
Sent: Monday, October 07, 2013 9:28 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ConsoleIn behavior with Shell

Hi Jaben,

  Thanks Jaben.  We are getting the Key using System table ConIn like how 
Internal EDIT command gets the Keystroke.

To reproduce the issue on your side,

1) Boot to Shell Prompt.
2) Launch UEFI OS installation
3) It would ask "Press any key to proceed installation" . This time press any 
key, sometime you would see it won't proceed with installation and once it 
comes back from Shell prompt you would see the same Key gets printed .

Thanks,
Ramesh

-----Original Message-----
From: Carsey, Jaben [mailto:jaben.car...@intel.com]
Sent: Monday, October 07, 2013 9:24 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ConsoleIn behavior with Shell

Ramesh,

The shell does not read from console in while your application is running.  It 
will read any characters left in the buffer when your application closes.

The internal Edit command gets keystrokes via:
    Status = gST->ConIn->ReadKeyStroke (gST->ConIn, &Key);

How are you reading the keystrokes?  Which SimpleTextIn protocol instance are 
you using?

-Jaben

-----Original Message-----
From: Ramesh R. [mailto:rame...@ami.com]
Sent: Monday, October 07, 2013 8:25 AM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] ConsoleIn behavior with Shell

Hi,

   We have shell Application that would read the ConsoleIn ( Keyboard) device 
data on every 500ms. Most of the time application is not receiving the data by 
using SimpletextEx ReadKey Protocol, Looks like Shell gets the data before 
application does. The reason why we are saying Shell gets the data because we 
are able to see all the ConsoleIn device data printed once we come back to 
Shell Prompt. 

Could you please provide your comments on this behavior?

Thanks,
Ramesh


The information contained in this message may be confidential and proprietary 
to American Megatrends, Inc.  This communication is intended to be read only by 
the individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  Please 
promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and 
then delete or destroy all copies of the transmission.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

The information contained in this message may be confidential and proprietary 
to American Megatrends, Inc.  This communication is intended to be read only by 
the individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  Please 
promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and 
then delete or destroy all copies of the transmission.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

The information contained in this message may be confidential and proprietary 
to American Megatrends, Inc.  This communication is intended to be read only by 
the individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  Please 
promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and 
then delete or destroy all copies of the transmission.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

The information contained in this message may be confidential and proprietary 
to American Megatrends, Inc.  This communication is intended to be read only by 
the individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  Please 
promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and 
then delete or destroy all copies of the transmission.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

The information contained in this message may be confidential and proprietary 
to American Megatrends, Inc.  This communication is intended to be read only by 
the individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  Please 
promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and 
then delete or destroy all copies of the transmission.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

The information contained in this message may be confidential and proprietary 
to American Megatrends, Inc.  This communication is intended to be read only by 
the individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  Please 
promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and 
then delete or destroy all copies of the transmission.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

The information contained in this message may be confidential and proprietary 
to American Megatrends, Inc.  This communication is intended to be read only by 
the individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  Please 
promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and 
then delete or destroy all copies of the transmission.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to