)]}'
{
  "commit": "ac13ba2bd1698c0c65611aa97cfdf09acb194a13",
  "tree": "ff42ba8c470a88176abfbdd6786cb5ec41b67f68",
  "parents": [
    "3afe38f6c3c6525d529db8e0fee89d1ad1fc345d"
  ],
  "author": {
    "name": "Frank Yang",
    "email": "puilp0502@gmail.com",
    "time": "Fri Aug 21 03:16:50 2020 +0900"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Wed Dec 02 08:48:08 2020 +0100"
  },
  "message": "HID: cypress: Support Varmilo Keyboards\u0027 media hotkeys\n\n[ Upstream commit 652f3d00de523a17b0cebe7b90debccf13aa8c31 ]\n\nThe Varmilo VA104M Keyboard (04b4:07b1, reported as Varmilo Z104M)\nexposes media control hotkeys as a USB HID consumer control device, but\nthese keys do not work in the current (5.8-rc1) kernel due to the\nincorrect HID report descriptor. Fix the problem by modifying the\ninternal HID report descriptor.\n\nMore specifically, the keyboard report descriptor specifies the\nlogical boundary as 572~10754 (0x023c ~ 0x2a02) while the usage\nboundary is specified as 0~10754 (0x00 ~ 0x2a02). This results in an\nincorrect interpretation of input reports, causing inputs to be ignored.\nBy setting the Logical Minimum to zero, we align the logical boundary\nwith the Usage ID boundary.\n\nSome notes:\n\n* There seem to be multiple variants of the VA104M keyboard. This\n  patch specifically targets 04b4:07b1 variant.\n\n* The device works out-of-the-box on Windows platform with the generic\n  consumer control device driver (hidserv.inf). This suggests that\n  Windows either ignores the Logical Minimum/Logical Maximum or\n  interprets the Usage ID assignment differently from the linux\n  implementation; Maybe there are other devices out there that only\n  works on Windows due to this problem?\n\nSigned-off-by: Frank Yang \u003cpuilp0502@gmail.com\u003e\nSigned-off-by: Jiri Kosina \u003cjkosina@suse.cz\u003e\nSigned-off-by: Sasha Levin \u003csashal@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1689568b597d4e5bb8824ccbe679f627525bf2a4",
      "old_mode": 33188,
      "old_path": "drivers/hid/hid-cypress.c",
      "new_id": "12c5d7c96527a49251f8d1d0d69ec33161fa0596",
      "new_mode": 33188,
      "new_path": "drivers/hid/hid-cypress.c"
    },
    {
      "type": "modify",
      "old_id": "e18d796d985f82cd9fe1c9e69a4368758d41b4d1",
      "old_mode": 33188,
      "old_path": "drivers/hid/hid-ids.h",
      "new_id": "e9155f7c8c51cd7575ff6319330d4f8359b45218",
      "new_mode": 33188,
      "new_path": "drivers/hid/hid-ids.h"
    }
  ]
}
