From owner-freebsd-virtualization@freebsd.org Sun Dec 11 21:01:35 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97857C72BF9 for ; Sun, 11 Dec 2016 21:01:35 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 324296E6 for ; Sun, 11 Dec 2016 21:01:35 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id uBBL1VcU089224 for ; Sun, 11 Dec 2016 22:01:31 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 59229EFB; Sun, 11 Dec 2016 22:01:31 +0100 (CET) Message-ID: <584DBEAA.1080502@omnilan.de> Date: Sun, 11 Dec 2016 22:01:30 +0100 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Unhandled ps2 keyboard keysym with UEFI-edk2-bootrom and bhyve(8) Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Sun, 11 Dec 2016 22:01:31 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2016 21:01:35 -0000 Dear all, booting guests with uefi-edk2 bootrom works great, thanks for that great support! Unfortunately the VNC part seems to have keyscan problems: Unhandled ps2 keyboard keysym 0xc4 Unhandled ps2 keyboard keysym 0xf6 Unhandled ps2 keyboard keysym 0xff7f Just to list a view... The really unfortunate problem is that some characters are completely missing, while others are just shifted (involving even meta keys). I haven't found any rule yet, it looks like a mixture of en-US and de-DE layout. Most unfortunate, I can't login because of the missing characters :-( So close yet so far... I haven't really looked into EDKII but saw that BhyvePkg/ (of sysutils/uefi-edk2-bhyve) doesn't include filesystem support. But what I'm really wondering about is how to influence boot order e.g. If I boot into the EFI shell (edk2-bootrom guest) and return with exit into the uefi firmware setup (still edk2-bootrom), I can select what to boot with the boot manager (also MBR booting via CSM works great, thanks thanks thanks!), and I can also save the settings, but they are lost if bhyve(8) terminates. There's /dev/vmm.io/host-bootrom, which I don't understand yet, but probably that's a way to feed the firmware? Thanks for any hints, -harry P.S.: Please set me CC, I'm not subscribed to virtualization