1. 05 2月, 2007 4 次提交
    • J
      HID: move away from DEBUG defines in favor of CONFIG_HID_DEBUG · dd64c151
      Jiri Kosina 提交于
      CONFIG_INPUT_DEBUG is non-existent option, so remove anything depending
      on it.
      
      Also, as we have new CONFIG_HID_DEBUG, this should be used on places
      where ifdef DEBUG was used before.
      
      Suggested by Adrian Bunk.
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      dd64c151
    • J
      HID: API - fix leftovers of hidinput API in USB HID · 7c379146
      Jiri Kosina 提交于
      hidinput_{open,close}() functions do not belong to usbhid, but
      to the generic HID layer. Move them, and fix hooks in struct
      hid_device, so that now the callbacks are done to transport-specific
      _open() functions, but not input_open() functions.
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      7c379146
    • J
      HID: hid debug from hid-debug.h to hid layer · c080d89a
      Jiri Kosina 提交于
      hid-debug.h contains a lot of code, and should not therefore
      be a header.
      
      This patch moves the code to generic hid layer as .c source, and
      introduces CONFIG_HID_DEBUG to conditionally compile it, instead
      of playing with #define DEBUG and including hid-debug.h.
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      c080d89a
    • A
      hid: quirk for multi-input devices with unneeded output reports · 5556feae
      Anssi Hannula 提交于
      Add new quirk HID_QUIRK_SKIP_OUTPUT_REPORTS to skip output reports
      when enumerating reports on a hid-input device. Add this quirk and
      HID_QUIRK_MULTI_INPUT to 0810:0001.
      
      PantherLord Twin USB Joystick, 0810:0001 has separate input reports
      for 2 distinct game controllers in the same interface, so it needs
      HID_QUIRK_MULTI_INPUT. However, the device also contains one output
      report per controller which is used to control the force feedback
      function, and we do not want those to appear as separate input
      devices as well. The simplest approach seems to be to add a quirk to
      skip output reports on 0810:0001, and allow the force feedback
      driver to handle those.
      Signed-off-by: NAnssi Hannula <anssi.hannula@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      5556feae
  2. 30 1月, 2007 1 次提交
    • J
      HID: fix pb_fnmode and move it to generic HID · 76398f96
      Jiri Kosina 提交于
      The apple powerbook people are used to switch the pb_fnmode
      setting at runtime through writing to sysfs, altering the
      module parameter value. This was broken for them in 2.6.20-rc1
      when generic HID layer was introduced, as the pb_fnmode flag
      was made per-hiddevice, instead of global variable.
      
      This patch moves the pb_fnmode module parameter from usbhid module
      to hid module, but apart from that retains backward compatibility
      with respect to changing the mode through sysfs.
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      76398f96
  3. 26 1月, 2007 2 次提交
  4. 22 1月, 2007 3 次提交
  5. 09 1月, 2007 1 次提交
  6. 08 1月, 2007 3 次提交
  7. 04 1月, 2007 2 次提交
  8. 14 12月, 2006 1 次提交
  9. 09 12月, 2006 7 次提交