From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 24 May 2012 23:25:59 +0200 Subject: [U-Boot] Unable to use USB Keyboard on u-boot In-Reply-To: References: <201205191705.01892.marex@denx.de> Message-ID: <201205242325.59310.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Atul Kumar, > Hi Marek, > > Thanks for your reply. I have added the CC to "*u*-*boot*@ > lists.denx.de". Good, you've almost learn how to do it properly! Thanks! :-) > > On Saturday 19 May 2012 08:35 PM, Marek Vasut wrote: > > Dear Atul Kumar, > > Firstly, I'm slightly unhappy how you're deliberately ignoring anything I > tell you, especially about CCing the mailing list :-( > > > Hi Marek, > > I have tried to add some code here to enable usbkbd that is below. > > -if (strcmp(stdinname, DEVNAME)) -- > replaced with below code > > + if (strcmp(stdinname, DEVNAME) == 0) > + { > + // Can't use this, so set the stdin to usbkbd > instead > + setenv("stdin", "usbkbd"); > + } > > Where is this code, can you generate a proper patch? I can't locate it. > Also, why not use simple "setenv stdout usbkbd"? My fault, "setenv stdin usbkbd" obviously. Best regards, Marek Vasut