1. 22 4月, 2008 2 次提交
    • P
      HID: fixup fullspeed interval on highspeed Afatech DVB-T IR kbd · f345c37c
      Pekka Sarnila 提交于
      Many vendors highspeed devices give erroneously fullspeed interval value in
      endpoint descriptor for interrupt endpoints. This quirk fixes up that by
      recalculating the right value for highspeed device.
      
      At the time of hid configuration this quirk calculates which highspeed interval
      value gives same interval delay as, or next smaller then, what it would be if
      the original value would be interpreted as fullspeed value. In subsequent urbs
      that new value is used instead.
      
      Forming the 'hid->name' in usb_hid_config() was moved up to accommodate more
      descriptive printk reporting the fixup.
      
      In this patch the quirk is set for one such device: Afatech DVB-T 2 infrared
      HID-keyboard. It reports value 16 which means 4,069s in highspeed while
      obviously 16ms was intended. In this case quirk calculates new value to be 8
      which gives when interpreted as highspeed value 16ms as wanted. The behavior of
      the device was verified to be what expected both before and after the patch.
      Signed-off-by: NPekka Sarnila <sarnila@adit.fi>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      f345c37c
    • J
      HID: fix build failure in hiddev_ioctl with gcc 3.2 · cf2a299e
      Jean Delvare 提交于
      Fix build failure in hiddev_ioctl with gcc 3.2:
      http://bugzilla.kernel.org/show_bug.cgi?id=10121
      
      The trick is to move the handling of ioctls which need to allocate
      memory to separate functions.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      cf2a299e
  2. 18 3月, 2008 5 次提交
  3. 14 2月, 2008 1 次提交
  4. 11 2月, 2008 3 次提交
  5. 28 1月, 2008 24 次提交
  6. 31 10月, 2007 4 次提交
  7. 20 10月, 2007 1 次提交