1. 12 7月, 2010 3 次提交
  2. 21 6月, 2010 2 次提交
  3. 04 6月, 2010 1 次提交
    • J
      HID: check for HID_QUIRK_IGNORE during probing · e5a2a04c
      Jindrich Makovicka 提交于
      While the hardcoded ignore list is checked in hid_add_device(), the
      user supplied ignore flags are not. Thus, the IGNORE quirk (0x0004)
      cannot be used to stop usbhid from binding devices like iBuddy, which
      has been recently removed from the ignore list due to product ID
      conflict.
      
      This patch adds the user quirk check to hid_add_device(), and makes
      hid_add_device() return -ENODEV when HID_QUIRK_IGNORE bit is set.
      
      HID_QUIRK_NO_IGNORE still takes precedence over HID_QUIRK_IGNORE.
      
      With the patch, iBuddy works properly using libusb when the following
      option is added to modprobe.d:
      
      options usbhid quirks=0x1130:0x0002:0x0004
      Signed-off-by: NJindrich Makovicka <makovick@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      e5a2a04c
  4. 31 5月, 2010 17 次提交
  5. 30 5月, 2010 17 次提交