1. 24 Mar, 2009 4 commits
    • Pete Zaitcev's avatar
      usblp: continuously poll for status · dd44be6b
      Pete Zaitcev authored
      The usblp in 2.6.18 polled for status regardless if we actually needed it.
      At some point I dropped it, to save the batteries if nothing else.
      As it turned out, printers exist (e.g. Canon BJC-3000) that need prodding
      this way or else they stop. This patch restores the old behaviour.
      If you want to save battery, don't leave jobs in the print queue.
      
      I tested this on my printers by printing and examining usbmon traces
      to make sure status is being requested and printers continue to print.
      Tuomas Jäntti verified the fix on BJC-3000.
      Signed-off-by: default avatarPete Zaitcev <zaitcev@redhat.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      dd44be6b
    • Alan Stern's avatar
      USB: usb-storage: increase max_sectors for tape drives · 5c16034d
      Alan Stern authored
      This patch (as1203) increases the max_sector limit for USB tape
      drives.  By default usb-storage sets max_sectors to 240 (i.e., 120 KB)
      for all devices.  But tape drives need a higher limit, since tapes can
      and do have very large block sizes.  Without the ability to transfer
      an entire large block in a single command, such tapes can't be used.
      
      This fixes Bugzilla #12207.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Reported-and-tested-by: default avatarPhil Mitchell <philipm@sybase.com>
      Cc: stable <stable@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      5c16034d
    • 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 12 commits