Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B98FAC433EF for ; Mon, 27 Jun 2022 12:27:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 510F883C70; Mon, 27 Jun 2022 14:27:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.b="Sxy5cC5J"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B6E1584282; Mon, 27 Jun 2022 14:27:46 +0200 (CEST) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 759DB83AE6 for ; Mon, 27 Jun 2022 14:27:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kory.maincent@bootlin.com Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id C26742000A; Mon, 27 Jun 2022 12:27:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1656332864; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=q4UHKgwhCnjED8ZEjEWTZVL9q8bXEX0QfcrIv8ugZ54=; b=Sxy5cC5JVG6Np8H+HSKt5y+cXtUKC7JXMtOR4RtUhSzUv9MwTa17W7ePcXJpEq4KejXyEU 81+lB6+rRLJdxDWdZdz2XMJ6Rp55J5zRDP43OF6cjfs7uVOUydF6kuQs4EbvsyW/Y97wvf C+xnYkg4JsLJkyC9VP1nXZ50sr8QQbKOVhy8Eqq867k5In7m5WTRg/Nr/6mOWkzaOE4lbd koIKCuPb6+VHAjDVZ9cZgFX1aHZTofyun91nYaUl1P22lBAjvyItoAGuYnczx/eLN6y+PR 0BW5tf02K0ATSows55ybSNSUYFafI3RrxE+y5cSMgkppyz70zScJ2s1yN6fh1Q== Date: Mon, 27 Jun 2022 14:27:42 +0200 From: =?UTF-8?B?S8O2cnk=?= Maincent To: Marek Vasut Cc: u-boot@lists.denx.de, thomas.petazzoni@bootlin.com Subject: Re: [PATCH] usb: kbd: allow probing even if usbkbd not in stdin Message-ID: <20220627142742.4ae28501@kmaincent-XPS-13-7390> In-Reply-To: References: <20220622085931.1205590-1-kory.maincent@bootlin.com> <0ac21e40-3295-4dbd-22b3-253846b98a47@denx.de> <20220627120332.23bd6bcf@kmaincent-XPS-13-7390> Organization: bootlin X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On Mon, 27 Jun 2022 13:39:03 +0200 Marek Vasut wrote: > >> Can you document the usecase in a bit more detail ? =20 > >=20 > > My usecase is to get a key press from the USB keyboard and do some thing > > about it in board_init. I do not want to multiplex the keyboard input to > > stdin but I still want to read character from it. =20 >=20 > All right, understood, both. Thanks for clarification. >=20 > I applied this to usb/next , I hope that's OK ? Great! Thanks! K=C3=B6ry