31 May, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 3029 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

21 Feb, 2019

1 commit


28 Feb, 2017

1 commit

  • Fix typos and add the following to the scripts/spelling.txt:

    comsume||consume
    comsumer||consumer
    comsuming||consuming

    I see some variable names with this pattern, but this commit is only
    touching comment blocks to avoid unexpected impact.

    Link: http://lkml.kernel.org/r/1481573103-11329-19-git-send-email-yamada.masahiro@socionext.com
    Signed-off-by: Masahiro Yamada
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Masahiro Yamada
     

19 Sep, 2016

3 commits

  • Add a dedicated, fixed report descriptor for the second version of KYE
    MousePen i608X graphics tablet. The descriptor fixes pressure and
    drawing area ranges.

    Signed-off-by: Nikolai Kondrashov
    Reviewed-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Nikolai Kondrashov
     
  • Rename the device ID macro for the second version of KYE MousePen i608x
    graphics tablet to have "V" in its name to signify that "2" is a
    version.

    I.e. USB_DEVICE_ID_KYE_MOUSEPEN_I608X_2 ->
    USB_DEVICE_ID_KYE_MOUSEPEN_I608X_V2

    This also makes applying additional fixes from DIGImend easier.

    Signed-off-by: Nikolai Kondrashov
    Reviewed-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Nikolai Kondrashov
     
  • Remove comments with broken links to tablet descriptions from
    hid-kye/uclogic/waltop drivers.

    They pointed to now dead DIGImend project wiki at sf.net. Even though
    the DIGImend project still hosts descriptions, now at
    digimend.github.io, it's better to avoid them going stale again, and let
    anyone interested search the web instead.

    Signed-off-by: Nikolai Kondrashov
    Reviewed-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Nikolai Kondrashov
     

17 Feb, 2015

1 commit


29 Dec, 2014

1 commit

  • New Genius MousePen i608X devices have a new id 0x501a instead of the
    old 0x5011 so add a new #define with "_2" appended and change required
    places.

    The remaining two checkpatch warnings about line length
    being over 80 characters are present in the original files too and this
    patch was made in the same style (no line break).

    Just adding a new id and changing the required places should make the
    new device work without any issues according to the bug report in the
    following url.

    This patch was made according to and fixes:
    https://bugzilla.kernel.org/show_bug.cgi?id=67111

    Signed-off-by: Giedrius Statkevičius
    Signed-off-by: Jiri Kosina

    Giedrius Statkevičius
     

21 Aug, 2014

1 commit

  • There are a few very theoretical off-by-one bugs in report descriptor size
    checking when performing a pre-parsing fixup. Fix those.

    Cc: stable@vger.kernel.org
    Reported-by: Ben Hawkes
    Reviewed-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Jiri Kosina
     

02 Dec, 2013

1 commit

  • The change to support Genius Manticore Keyboard also changed behaviour
    for Genius Gx Imperator Keyboard, as there is no break between the
    cases. This is presumably a mistake.

    Reported by Coverity as CID 1134029.

    Fixes: 4a2c94c9b6c0 ('HID: kye: Add report fixup for Genius Manticore Keyboard')
    Signed-off-by: Ben Hutchings
    Signed-off-by: Jiri Kosina

    Ben Hutchings
     

21 Nov, 2013

2 commits

  • The manticore keyboard requires that all usb EP are opened at least
    once to be fully functional. The third EP forwards to the user space
    some vendor specific information about the keyboard state, but are useless
    currently for the kernel.

    Opening them and closing them makes the keyboard responsive again.

    Reported-and-tested-by: Adam Kulagowski
    Signed-off-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     
  • Genius Manticore Keyboard presents the same problem in its report
    descriptors than Genius Gila Gaming Mouse and Genius Imperator Keyboard.
    Use the same fixup.

    Reported-and-tested-by: Adam Kulagowski
    Signed-off-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     

15 Jul, 2013

1 commit


04 Jul, 2013

1 commit

  • Genius Gila Gaming Mouse presents an obviously wrong report descriptor.
    the Consumer control (report ID 3) is the following:
    0x05, 0x0c, // Usage Page (Consumer Devices) 105
    0x09, 0x01, // Usage (Consumer Control) 107
    0xa1, 0x01, // Collection (Application) 109
    0x85, 0x03, // Report ID (3) 111
    0x19, 0x00, // Usage Minimum (0) 113
    0x2a, 0xff, 0x7f, // Usage Maximum (32767) 115
    0x15, 0x00, // Logical Minimum (0) 118
    0x26, 0xff, 0x7f, // Logical Maximum (32767) 120
    0x75, 0x10, // Report Size (16) 123
    0x95, 0x03, // Report Count (3) 125
    0x81, 0x00, // Input (Data,Arr,Abs) 127
    0x75, 0x08, // Report Size (8) 129
    0x95, 0x01, // Report Count (1) 131
    0x81, 0x01, // Input (Cnst,Arr,Abs) 133
    0xc0, // End Collection 135

    So the first input whithin this report has a count of 3 but a usage range
    of 32768. So this value is obviously wrong as it should not be greater than
    the report count.

    Fixes:
    https://bugzilla.redhat.com/show_bug.cgi?id=959721

    Signed-off-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     

25 Feb, 2013

1 commit

  • This allows the hid drivers to be independent from the transport layer.

    The patch was constructed by replacing all occurences of
    usbhid_submit_report() by its hid_hw_request() counterpart.
    Then, drivers not requiring USB_HID anymore have their USB_HID
    dependency cleaned in the Kconfig file.

    Finally, few drivers still depends on USB_HID. Many of them
    are requiring the io wait callback. They are found in the next patch.

    Signed-off-by: Benjamin Tissoires
    Reviewed-by: Mika Westerberg

    For the sensor-hub part:
    Tested-by: Mika Westerberg
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     

03 Jan, 2013

1 commit

  • Use the new module_hid_driver macro in all HID drivers that have
    a simple register/unregister init/exit.

    This also converts the hid drivers that test for a failure of
    hid_register_driver() and report the failure. Using module_hid_driver
    in those drivers removes the failure message.

    Signed-off-by: H Hartley Sweeten
    Signed-off-by: Jiri Kosina

    H Hartley Sweeten
     

28 Feb, 2012

1 commit


10 Dec, 2010

1 commit

  • Neaten current uses of dev_ by adding and using
    hid specific hid_ macros.

    Convert existing uses of dev_ uses to hid_.
    Convert hid-pidff printk uses to hid_.

    Remove err_hid and use hid_err instead.

    Add missing newlines to logging messages where necessary.
    Coalesce format strings.

    Add and use pr_fmt(fmt) KBUILD_MODNAME ": " fmt

    Other miscellaneous changes:

    Add const struct hid_device * argument to hid-core functions
    extract() and implement() so hid_ can be used by them.
    Fix bad indentation in hid-core hid_input_field function
    that calls extract() function above.

    Signed-off-by: Joe Perches
    Signed-off-by: Jiri Kosina

    Joe Perches
     

10 Aug, 2010

1 commit

  • Update hid_driver's report_fixup prototype to allow changing report
    descriptor size and/or returning completely different report descriptor.
    Update existing usage accordingly.

    This is to give more freedom in descriptor fixup and to allow having a whole
    fixed descriptor in the code for the sake of readability.

    Signed-off-by: Nikolai Kondrashov
    Signed-off-by: Jiri Kosina

    Nikolai Kondrashov
     

23 Jul, 2009

1 commit


30 Mar, 2009

2 commits

  • This removal was scheduled and there is no problem with later
    distros to adapt for the new bus, thanks to aliases.

    module-init-tools map files are deprecated nowadays, so that
    the patch which introduced hid ones into the m-i-t won't be
    accepted and hence there is no reason for leaving compat stuff in.

    Signed-off-by: Jiri Slaby
    Cc: Jiri Kosina
    Signed-off-by: Jiri Kosina

    Jiri Slaby
     
  • This device sends several buttons in a separate field, which is
    wrongly described in the report descriptor. Fix it in the following
    way:

    - change led usage page to button
    - report size 8 count 1 becomes report size 1 count 8
    - the button usage range changed to 4-7 (the mouse has three buttons in
    a different field already).

    Reported-by: Tomas Hanak
    Signed-off-by: Jiri Kosina

    Jiri Kosina