[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH] Fix HID code for KEY_SYSRQ.


  • To: Troy Crosley <troycrosley@xxxxxxxxx>, "win-pv-devel@xxxxxxxxxxxxxxxxxxxx" <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Owen Smith <owen.smith@xxxxxxxxxx>
  • Date: Wed, 14 Oct 2020 09:02:49 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fgMkuB1XZhnvTrkCEQMUEBn/nfKOrQPd6VaVsMyk5pA=; b=UAZXgggifhvBwu4oFcDvh11td6g31DIDDReK7cTKqkJhpZRup/bliqMysVsP0TKREtQ2ftQqkAACskXXjjFV/bxd7vk4YJ90nQkuTuP8LRYgCXCBGSNDvaZ5jetW2cqAU49ySjRCGDY0vm/hehOrvWGo531rg2TTJasG0QsCSlXGAgEVdDjW3xIvjmi+0HTFVQHjc6oEHLsB+w52nzSh+AAc1chaD2yXfGZGGpCRnAEHL5emmt0PSGSg6PUCB7YSbFhJ1UyB60HAdEjLrgylS+mPvhTwhHI7A12thym5STuWksVCEMaUNZ72k8pHWL0qqUNMq0i9aRilphEvdNeRaQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FZSpR6T9mn7jNV3vd5KZdM6ksrYB4gzYPT7n0Xju4ZB2wuKFAsThQks9UBS8Q2pQkNnyxK/9bwGQS6b7ItYdjEqhzwaluMbxbHlu0tWvjuFaJ737Dp4NcH797dZHfUta96pEMhrVwuboemRIuJV5mtnn47wjV3lkT3v5VATFz5rTGBCesrxY2FnqYk06PFtY/Ya4qDqUuTljtwuGXk0p+bsOQqOfedESYJO4RPbL9WMupmBUFpxu6FYh4dfelFwTKom7WdEN94MTqWNBdcGUO93+IVh3WthaQs7aRkILrk8pFPAZquRuEHKWJtP0NHMgX86Gfv0ITv9blc7Jlq2csw==
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: "paul@xxxxxxx" <paul@xxxxxxx>, Ben Chalmers <ben.chalmers@xxxxxxxxxx>
  • Delivery-date: Wed, 14 Oct 2020 09:03:01 +0000
  • Ironport-sdr: 1AbIcd3qwfwERYPRpsc9fDHdwfx+y2yfGNYijSyTZRSS/r3vHrB+tm7st34GaakOqWfbh2HMBt umtFm8arRgaRr44WCqI6NIoh2A93Y6L6MR2SLlGqbBFNN1LedppY4e3LilgGlsuShmfVa5kqbw qD+sg2DEIjnAhQVGmd43yMldJ5aEhmJ+Hq8bLUk+wsT7ZMgM+8sB9lcP/NyVFlNF21/xFOxNm9 iT497Ak9PV6ezff3tfYltfEBQ2v9ewgchMROTyrjlkNF3DJ+1gKVDXO1BpuqxVkr8tmusofMTq oAs=
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>
  • Thread-index: AQHWoa/MqONPVR7WKky7Bs1Mhhi+aamWzZCw
  • Thread-topic: [PATCH] Fix HID code for KEY_SYSRQ.

I don't have a standard keyboard in front of me, but I think Pause/SysRq is the 
right labelling, and there is no current mapping to HID usage 0x46.

Acked-by: Owen Smith <owen.smith@xxxxxxxxxx>

> -----Original Message-----
> From: Troy Crosley <troycrosley@xxxxxxxxx>
> Sent: 13 October 2020 23:25
> To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> Cc: paul@xxxxxxx; Ben Chalmers <ben.chalmers@xxxxxxxxxx>; Owen Smith
> <owen.smith@xxxxxxxxxx>; Troy Crosley <troycrosley@xxxxxxxxx>
> Subject: [PATCH] Fix HID code for KEY_SYSRQ.
> 
> [CAUTION - EXTERNAL EMAIL] DO NOT reply, click links, or open attachments
> unless you have verified the sender and know the content is safe.
> 
> Signed-off-by: Troy Crosley <troycrosley@xxxxxxxxx>
> ---
>  src/xenvkbd/vkbd.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/xenvkbd/vkbd.h b/src/xenvkbd/vkbd.h index fa4cd7f..7cec2d0
> 100644
> --- a/src/xenvkbd/vkbd.h
> +++ b/src/xenvkbd/vkbd.h
> @@ -227,7 +227,7 @@ static const HID_DEVICE_ATTRIBUTES
> VkbdDeviceAttributes = {
>      DEFINE_USAGE(KEY_KPENTER, 0x58),            \
>      DEFINE_USAGE(KEY_RIGHTCTRL, 0xE4),          \
>      DEFINE_USAGE(KEY_KPSLASH, 0x54),            \
> -    DEFINE_USAGE(KEY_SYSRQ, 0x48),              \
> +    DEFINE_USAGE(KEY_SYSRQ, 0x46),              \
>      DEFINE_USAGE(KEY_PAUSE, 0x48),              \
>      DEFINE_USAGE(KEY_RIGHTALT, 0xE6),           \
>      DEFINE_USAGE(KEY_HOME, 0x4A),               \
> --
> 2.20.1
> 




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.