1. 11 4月, 2007 4 次提交
    • P
      USB HID: specify explicit size for hid_blacklist.quirks · 4cbe7d28
      Paul Walmsley 提交于
      Explicitly specify the size of the hid_blacklist quirks member, to guard
      against surprises on architectures where unsigned ints aren't 32 bits long.
      Signed-off-by: NPaul Walmsley <paul@booyaka.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      4cbe7d28
    • A
      USB HID: fix retry & reset logic · 5e2a55f2
      Alan Stern 提交于
      The USB HID driver fails to reset its error-retry timeout when there
      has been a long time interval between I/O errors with no successful URB
      completions in the meantime.  As a result, the very next error would
      trigger an immediate reset, even if it was a chance event occurring
      long after the previous error.
      
      More USB keyboards and mice than one might expect end up getting I/O
      errors. Almost always this results from hardware problems of one sort of
      another. For example, people attach the device to a USB extension cable,
      which degrades the signal.  Or they simply have poor quality cables to
      begin with. Or they use a KVM switch which doesn't handle USB messages
      correctly. Etc...
      
      There have been reports from several users in which these I/O
      errors would occur more or less randomly, at intervals ranging from
      seconds to minutes.  The error-handling code in hid-core.c was originally
      meant for situations where a single outage would persist for a few hundred
      ms (electromagnetic interference, for example).  It didn't work right when
      these more sporadic errors occurred, because of a flaw in the logic
      which this patch fixes.
      
      This patch (as873) fixes that oversight.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      5e2a55f2
    • J
      USB HID: consolidate vendor/product ids · 48b4554a
      Jiri Kosina 提交于
      The vendor/product IDs for the purposes of hid_blacklist got
      scathered around the hid-core.c in a rather random way over the
      time.
      
      Move all the related definitions at the beginning of the file,
      and make them sorted again. Sort also hid_blacklist properly.
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      48b4554a
    • J
      USB HID: move usbhid code from drivers/usb/input to drivers/hid/usbhid · 6db3dfef
      Jiri Kosina 提交于
      Separate usbhid code into dedicated drivers/hid/usbhid directory as
      discussed previously with Greg, so that it eases maintaineance process.
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      6db3dfef
  2. 06 4月, 2007 1 次提交
  3. 05 4月, 2007 13 次提交
  4. 04 4月, 2007 21 次提交
  5. 03 4月, 2007 1 次提交