Hello,
   I test for several times and find that if add the following line, the KB and MassStorage will work,  
       InputContext->EP[0].EPType = ED_CONTROL_BIDIR;

   I don't know if the issue is brought in by the different of xHCI controllers or else.