From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z8P84-0008AL-2H for mharc-grub-devel@gnu.org; Fri, 26 Jun 2015 04:36:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8P80-00088m-Tl for grub-devel@gnu.org; Fri, 26 Jun 2015 04:36:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8P7w-00018K-Li for grub-devel@gnu.org; Fri, 26 Jun 2015 04:36:52 -0400 Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:34004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8P7w-000183-Df for grub-devel@gnu.org; Fri, 26 Jun 2015 04:36:48 -0400 Received: by lagx9 with SMTP id x9so59392826lag.1 for ; Fri, 26 Jun 2015 01:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=hKNL9jbgsrMt0sxUa+k17vbj5Ca7tP3h1aEilLfTugo=; b=EGjV3EdPO/LQTLZtufxy0apuF7E4IyHL6EH6c8nMJtYM8kbbA4DQjNwvMMRClu368U FV7/mX+ssKYMcIl+Q1F67rSfmHIf/kJZ12brCG5DVsZMn0sngpJU6Eln2Hlh2QSE6tsI /uVGIkWDC2u6WPJtNxesEUvmbSANlWDkFEGKPoZCuP2cup7eP9vVEXSOebrK86d8ONek XhrEG+NPYzj6E8jDxeH/mkDu/6ZNDzu7w4S/6JxgwAE4N1CysIQDlppkPjoD8+I8Gm0T ewX8kQOenVqb/nLPFPMp73HbAAAcytK1fGMhqNt7yyS3Mup4loaZzNZsI0I4zcgv8tX1 5PqQ== X-Received: by 10.152.29.234 with SMTP id n10mr451676lah.101.1435307807526; Fri, 26 Jun 2015 01:36:47 -0700 (PDT) Received: from opensuse.site (ppp91-76-14-38.pppoe.mtu-net.ru. [91.76.14.38]) by mx.google.com with ESMTPSA id w10sm7896218laz.6.2015.06.26.01.36.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jun 2015 01:36:46 -0700 (PDT) Date: Fri, 26 Jun 2015 11:36:45 +0300 From: Andrei Borzenkov To: "Fajar A. Nugraha" Subject: Re: grub2 and touch screen Message-ID: <20150626113645.6312a81d@opensuse.site> In-Reply-To: References: <20150626111446.04b9ebe9@opensuse.site> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.28; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::235 Cc: The development of GNU GRUB , Theodore Christophe X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2015 08:36:54 -0000 =D0=92 Fri, 26 Jun 2015 15:27:35 +0700 "Fajar A. Nugraha" =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Fri, Jun 26, 2015 at 3:14 PM, Andrei Borzenkov w= rote: > > =D0=92 Wed, 24 Jun 2015 14:06:42 +0200 > > Theodore Christophe =D0=BF=D0=B8=D1=88= =D0=B5=D1=82: > > > >> hello all, > >> > >> First of all, thank-you for your works. > >> > >> I have installed Fedora21 on my laptop (Medion all in one) with dual > >> boot, and every-thing is working fine. > >> Grub2 give me the choice between win8.1 and FC21, and other rescue. > >> > >> BUT when I use my laptop as touch pad (by removing the screen), with no > >> keyboard, I could not select the boot I want to use. Fedora is the > >> default and the touch screen is working fine after. > >> > >> Do you think that grub can manage the touch screen (something like two > >> button win81 and FC21) ? > >> > > > > Somebody would need to write driver for it (assuming it is technically > > possible in firmware at all). I think I have seen reports that using > > hardware buttons worked for selecting menu entries, but it may be > > hardware dependent. > > > > As Michael, I think adding support for hardware buttons looks more > > promising. >=20 >=20 > How does grub currently support the hardware buttons? >=20 It does not, in the sense there is no explicit code to do it I'm aware of. It just relies on EFI to return character (key stroke). > On Asus T300 Chi, the EFI boot menu reads volume + and - buttons as up > and down, while windows button function as "enter". However grub reads > volume + as "enter" as well, so I only have volume - (down) for moving > between menu entries. >=20 To debug it access to hardware is needed, which is why it is quite hard to fix such things. If you are willing to debug it, file bug report on savannah, we'll need to dump read keystroke information to find out what you hardware returns. I do not see anything in grub code that would account for it at the first glance.