1. 24 Mar, 2009 2 commits
    • David Brownell's avatar
      USB: gadget: fix rndis regression · 090b9011
      David Brownell authored
      Restore some code that was wrongly dropped from the RNDIS
      driver, and caused interop problems observed with OpenMoko.
      
      The issue is with hardware which needs help conforming to part
      of the USB 2.0 spec (section 8.5.3.2); some can automagically
      send a ZLP in response to an unexpected IN, but not all chips
      will do that.  We don't need to check the packet length ourselves
      the way earlier code did, since the UDC must already check it.
      But we do need to tell the UDC when it must force a short packet
      termination of the data stage.
      
      (Based on a patch from Aric D. Blumer <aric at sdgsystems.com>)
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: stable <stable@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      090b9011
    • Alan Stern's avatar
      USB: add quirk to avoid config and interface strings · 1662e3a7
      Alan Stern authored
      Apparently the Configuration and Interface strings aren't used as
      often as the Vendor, Product, and Serial strings.  In at least one
      device (a Saitek Cyborg Gold 3D joystick), attempts to read the
      Configuration string cause the device to stop responding to Control
      requests.
      
      This patch (as1226) adds a quirks flag, telling the kernel not to
      read a device's Configuration or Interface strings, together with a
      new quirk for the offending joystick.
      Reported-by: default avatarMelchior FRANZ <melchior.franz@gmail.com>
      Tested-by: default avatarMelchior FRANZ <melchior.franz@gmail.com>
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Cc: stable <stable@kernel.org>  [2.6.28 and 2.6.29, nothing earlier]
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      1662e3a7
  2. 23 Mar, 2009 11 commits
  3. 22 Mar, 2009 6 commits
  4. 21 Mar, 2009 2 commits
  5. 20 Mar, 2009 5 commits
  6. 19 Mar, 2009 14 commits