1. 22 Jun, 2015 1 commit
  2. 18 Jun, 2015 2 commits
  3. 01 Jun, 2015 3 commits
  4. 29 May, 2015 1 commit
  5. 28 May, 2015 3 commits
  6. 26 May, 2015 1 commit
  7. 25 May, 2015 1 commit
    • Herton R. Krzesinski's avatar
      HID: usbhid: add Chicony/Pixart usb optical mouse that needs QUIRK_ALWAYS_POLL · 7250dc3f
      Herton R. Krzesinski authored
      I received a report from an user of following mouse which needs this quirk:
      
      usb 1-1.6: USB disconnect, device number 58
      usb 1-1.6: new low speed USB device number 59 using ehci_hcd
      usb 1-1.6: New USB device found, idVendor=04f2, idProduct=1053
      usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
      usb 1-1.6: Product: USB Optical Mouse
      usb 1-1.6: Manufacturer: PixArt
      usb 1-1.6: configuration #1 chosen from 1 choice
      input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/input/input5887
      generic-usb 0003:04F2:1053.16FE: input,hidraw2: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:00:1a.0-1.6/input0
      
      The quirk was tested by the reporter and it fixed the frequent disconnections etc.
      
      [jkosina@suse.cz: reorder the position in hid-ids.h]
      Signed-off-by: default avatarHerton R. Krzesinski <herton@redhat.com>
      Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      7250dc3f
  8. 20 May, 2015 1 commit
  9. 18 May, 2015 2 commits
  10. 13 May, 2015 1 commit
  11. 12 May, 2015 2 commits
    • Sean Young's avatar
      HID: core: remove phidgets from ignore list · d0091f57
      Sean Young authored
      Once there were kernel drivers for some of the phidgets devices, and for
      those kernel drivers to work the hid system needed exceptions. Now the
      kernel drivers are long gone in favour of the user-space drivers.
      
      The user-space drivers support many more phidget devices and uses libusb.
      The udev rules set up permissions so that the kernel hid driver can be
      unbound from libusb, as it does for many devices not in hid_ignore_list.
      
      http://www.phidgets.com/docs/OS_-_LinuxSigned-off-by: default avatarSean Young <sean@mess.org>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      d0091f57
    • Srinivas Pandruvada's avatar
      HID: hid-sensor-hub: Fix debug lock warning · 2d94e522
      Srinivas Pandruvada authored
      When CONFIG_DEBUG_LOCK_ALLOC is defined, mutex magic is compared and
      warned for (l->magic != l), here l is the address of mutex pointer.
      In hid-sensor-hub as part of hsdev creation, a per hsdev mutex is
      initialized during MFD cell creation. This hsdev, which contains, mutex
      is part of platform data for the a cell. But platform_data is copied
      in platform_device_add_data() in platform.c. This copy will copy the
      whole hsdev structure including mutex. But once copied the magic
      will no longer match. So when client driver call
      sensor_hub_input_attr_get_raw_value, this will trigger mutex warning.
      So to avoid this allocate mutex dynamically. This will be same even
      after copy.
      Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      2d94e522
  12. 07 May, 2015 18 commits
  13. 27 Apr, 2015 1 commit
  14. 23 Apr, 2015 1 commit
  15. 14 Apr, 2015 2 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid · 8de29a35
      Linus Torvalds authored
      Pull HID updates from Jiri Kosina:
      
       - quite a few firmware fixes for RMI driver by Andrew Duggan
      
       - huion and uclogic drivers have been substantially overlaping in
         functionality laterly.  This redundancy is fixed by hid-huion driver
         being merged into hid-uclogic; work done by Benjamin Tissoires and
         Nikolai Kondrashov
      
       - i2c-hid now supports ACPI GPIO interrupts; patch from Mika Westerberg
      
       - Some of the quirks, that got separated into individual drivers, have
         historically had EXPERT dependency.  As HID subsystem matured (as
         well as the individual drivers), this made less and less sense.  This
         dependency is now being removed by patch from Jean Delvare
      
       - Logitech lg4ff driver received a couple of improvements for mode
         switching, by Michal Malý
      
       - multitouch driver now supports clickpads, patches by Benjamin
         Tissoires and Seth Forshee
      
       - hid-sensor framework received a substantial update; namely support
         for Custom and Generic pages is being added; work done by Srinivas
         Pandruvada
      
       - wacom driver received substantial update; it now supports
         i2c-conntected devices (Mika Westerberg), Bamboo PADs are now
         properly supported (Benjamin Tissoires), much improved battery
         reporting (Jason Gerecke) and pen proximity cleanups (Ping Cheng)
      
       - small assorted fixes and device ID additions
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (68 commits)
        HID: sensor: Update document for custom sensor
        HID: sensor: Custom and Generic sensor support
        HID: debug: fix error handling in hid_debug_events_read()
        Input - mt: Fix input_mt_get_slot_by_key
        HID: logitech-hidpp: fix error return code
        HID: wacom: Add support for Cintiq 13HD Touch
        HID: logitech-hidpp: add a module parameter to keep firmware gestures
        HID: usbhid: yet another mouse with ALWAYS_POLL
        HID: usbhid: more mice with ALWAYS_POLL
        HID: wacom: set stylus_in_proximity before checking touch_down
        HID: wacom: use wacom_wac_finger_count_touches to set touch_down
        HID: wacom: remove hardcoded WACOM_QUIRK_MULTI_INPUT
        HID: pidff: effect can't be NULL
        HID: add quirk for PIXART OEM mouse used by HP
        HID: add HP OEM mouse to quirk ALWAYS_POLL
        HID: wacom: ask for a in-prox report when it was missed
        HID: hid-sensor-hub: Fix sparse warning
        HID: hid-sensor-hub: fix attribute read for logical usage id
        HID: plantronics: fix Kconfig default
        HID: pidff: support more than one concurrent effect
        ...
      8de29a35
    • Krzysztof Kozlowski's avatar
      ACPI / battery: Fix doubly added battery on system suspend · 31f7dc79
      Krzysztof Kozlowski authored
      Commit 297d716f ("power_supply: Change ownership from driver to
      core") inverted the logic in battery_notify().  As an effect already
      present battery was re-added on each system suspend or hibernation.
      
          WARNING: CPU: 0 PID: 303 at ../fs/sysfs/dir.c:31 sysfs_warn_dup+0x68/0x80()
          sysfs: cannot create duplicate filename '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/PNP0C0A:00/power_supply/BAT0'
          CPU: 0 PID: 303 Comm: rtcwake Not tainted 4.0.0-ARCH-02621-g07e6253af953 #48
          Call Trace:
            sysfs_create_dir_ns+0x8d/0xa0
            kobject_add_internal+0xb6/0x370
            kobject_add+0x6f/0xd0
            device_add+0x120/0x6c0
            __power_supply_register+0x145/0x290
            power_supply_register_no_ws+0x10/0x20
            sysfs_add_battery+0x84/0xc5 [battery]
            battery_notify+0x45/0x6b [battery]
            notifier_call_chain+0x4f/0x80
            __blocking_notifier_call_chain+0x4b/0x70
            blocking_notifier_call_chain+0x16/0x20
            pm_notifier_call_chain+0x1a/0x40
            pm_suspend+0x3ed/0x4e0
      Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
      Reported-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Acked-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Reviewed-By: default avatarSebastian Reichel <sre@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      31f7dc79