1. 08 1月, 2011 2 次提交
  2. 10 12月, 2010 1 次提交
    • J
      HID: Add and use hid_<level>: dev_<level> equivalents · 4291ee30
      Joe Perches 提交于
      Neaten current uses of dev_<level> by adding and using
      hid specific hid_<level> macros.
      
      Convert existing uses of dev_<level> uses to hid_<level>.
      Convert hid-pidff printk uses to hid_<level>.
      
      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_<level> can be used by them.
      Fix bad indentation in hid-core hid_input_field function
      that calls extract() function above.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      4291ee30
  3. 21 6月, 2010 2 次提交
  4. 31 5月, 2010 2 次提交
  5. 25 5月, 2010 1 次提交
    • S
      HID: roccat: propagate special events of roccat hardware to userspace · 206f5f2f
      Stefan Achatz 提交于
      Module roccat is a char device used to report special events of roccat hardware
      to userland. These events include requests for on-screen-display of profile or
      dpi settings or requests for execution of macro sequences that are not stored
      in device. The information in these events depends on hid device implementation
      and contains data that is not available in a single hid event or else hidraw
      could have been used.
      
      It is inspired by hidraw, but uses only one circular buffer for all readers.
      The device is as generic as possible so that the functionality is usable by all
      (kone and upcomming) roccat device drivers.
      Signed-off-by: NStefan Achatz <erazor_de@users.sourceforge.net>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      206f5f2f
  6. 24 5月, 2010 1 次提交
    • S
      HID: fix hid-roccat-kone for bin_attr API change · 5f277629
      Stephen Rothwell 提交于
      After merging the driver-core tree, today's linux-next build (x86_64
      allmodconfig) produced these warnings:
      
      drivers/hid/hid-roccat-kone.c:694: warning: initialization from incompatible pointer type
      drivers/hid/hid-roccat-kone.c:696: warning: initialization from incompatible pointer type
      drivers/hid/hid-roccat-kone.c:701: warning: initialization from incompatible pointer type
      drivers/hid/hid-roccat-kone.c:703: warning: initialization from incompatible pointer type
      drivers/hid/hid-roccat-kone.c:708: warning: initialization from incompatible pointer type
      drivers/hid/hid-roccat-kone.c:710: warning: initialization from incompatible pointer type
      drivers/hid/hid-roccat-kone.c:715: warning: initialization from incompatible pointer type
      drivers/hid/hid-roccat-kone.c:717: warning: initialization from incompatible pointer type
      drivers/hid/hid-roccat-kone.c:722: warning: initialization from incompatible pointer type
      drivers/hid/hid-roccat-kone.c:724: warning: initialization from incompatible pointer type
      drivers/hid/hid-roccat-kone.c:729: warning: initialization from incompatible pointer type
      drivers/hid/hid-roccat-kone.c:731: warning: initialization from incompatible pointer type
      
      Introduced by commit 867040163f10f2b52b45bc573f330d6eb28f5914 ("sysfs:
      add struct file* to bin_attr callbacks") from the driver-core tree
      interacting with commit 14bf62cd ("HID:
      add driver for Roccat Kone gaming mouse") from the hid tree.
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      5f277629
  7. 19 5月, 2010 3 次提交
  8. 18 5月, 2010 1 次提交
  9. 30 3月, 2010 1 次提交
  10. 22 3月, 2010 1 次提交
    • S
      HID: add driver for Roccat Kone gaming mouse · 14bf62cd
      Stefan Achatz 提交于
      This Patch adds support for Kone gaming mouse from Roccat.
      It provides access to profiles, settings, firmware, weight,
      actual settings etc. through sysfs attributes.
      Event handling of this mouse differs from standard hid behaviour
      in that tilt button press is reported in each move event which
      results in strange behaviour if not handled by the driver.
      
      This is a heavily reworked version of the previously introduced driver.
      The changes include most of the previously raised concerns,
      memory leak and other fixes, code cleanups, adoption of additional
      achieved knowlege about the hardware and is (IMHO) a much better version
      than before even when I exchanged reduced USB-IO with a bigger memory
      consumption.
      
      I refused to implement one mentioned point:
      Removing the 'just-because-we-can' attributes. Motivation:
      Reading the clipped in weight: I'm no gamer and can't determine the
      usefulness of this feature but if the manufacturer implements such a
      feature it might make sense to someone and I would unwillingly limit the
      functionality besides its such a small feature.
      Reading the actual profile and dpi settings: Here I can testify that one
      can get lost of the actual settings when switching back and forth.
      The manufacturers windows driver has the ability for on-screen-display
      of the values and there is a mouse in the market that has an lcd on the
      underside of it to show these values. So I think this feature makes sense
      not only for me and shouldn't be removed.
      Signed-off-by: NStefan Achatz <erazor_de@users.sourceforge.net>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      14bf62cd