1. 30 Jul, 2004 9 commits
    • Alan Stern's avatar
      [PATCH] USB: Remove unneeded unusual_devs.h entry · a03ea9a5
      Alan Stern authored
      According to Jonas Fährmann, the very first entry in unusual_devs.h isn't
      needed.  In fact, I can't tell why it was there in the first place...
      unless some earlier device in the product line had incorrect descriptor
      values.
      
      
      On Mon, 26 Jul 2004, Jonas Fährmann wrote:
      
      > usb-storage: This device (03ee,0000,0045 S 02 P 00) has unneeded SubClass and Protocol entries in unusual_devs.h
      >    Please send a copy of this message to <linux-usb-devel@lists.sourceforge.net>
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      a03ea9a5
    • Ian Abbott's avatar
      [PATCH] USB: Add support for FT2232C chip to ftdi_sio · e618e934
      Ian Abbott authored
      This patch adds support for the FTDI FT2232C USB to dual serial port
      converter to the ftdi_sio driver.
      
      The patch is based on a fork of the 2.4 ftdi_sio driver by Steven
      Turner of FTDI, and a preliminary port of these changes to the 2.6
      ftdi_sio driver by Rus V. Brushkoff.  I've tidied it up and fixed a
      couple of things.
      
      I don't have a FT2232C to test it with, but Steven Turner of FTDI
      has tested it.  He mentioned a couple of known problems with the
      driver, but nothing to do with this patch.
      Signed-off-by: default avatarIan Abbott <abbotti@mev.co.uk>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      e618e934
    • Ian Abbott's avatar
      [PATCH] USB: ftdi_sio doesn't re-assert DTR modem control line · a43f8682
      Ian Abbott authored
      I've dredged up another old ftdi_sio patch that I never Cc'd to you
      the first time.  Please see Nathan's description below.
      
      It applies okay against your usb-2.6 tree, with or without the patch
      I posted yesterday to support the FT2232C chip and neither patch
      invalidates the other in any way.
      
      
      On 25/06/2004 21:56, Croy, Nathan wrote:
      > SUMMARY
      > =======
      > ftdi_sio never reasserts modem control lines once the baud has been set to
      > B0.
      >
      > DESCRIPTION
      > ===========
      > Setting the baud to B0 (hangup) drops DTR.  When the baud is raised again,
      > DTR is not raised.  This can cause a modem to ignore any commands sent to it
      > until the device is closed and reopened.  This renders minicom (and other
      > software) useless, unless you instruct the modem to ignore DTR.
      >
      > The following patch is intended to make ftdi_sio act like other serial
      > devices I have used (i.e. the standard serial ports (/dev/ttyS*) and
      > stallion ports (/dev/ttyE*)).  Upon setting the baud to something other than
      > B0, it ensures the modem control lines are set back to the way they were
      > when the port was opened.
      >
      > Thanks to Ian Abbott for confirming my suspicions:
      > http://sourceforge.net/mailarchive/forum.php?thread_id=4984710&forum_id=12120
      
      Nathan's email suffered from a line-folding bug (blame M$,
      probably!), so his patch came out corrupted. I'm reposting an
      uncorrupted version.
      
      
      Signed off by: Ian Abbott <abbotti@mev.co.uk>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      a43f8682
    • Harald Welte's avatar
      [PATCH] USB: Hackish fix for cyberjack driver · 0ca02093
      Harald Welte authored
      The following patch is in use by REINER-SCT customres for some time and
      works for them in about 90% of all cases.  I would really appreciate
      this going in before 2.6.8-final, since the device doesn't work at all
      with current 2.6.x driver.
      
      Changes:
      - bump version number
      - open interrupt endpoint in startup() rather than open
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      0ca02093
    • Andrew Morton's avatar
      [PATCH] USB: gcc-3.5 fixes · 23fba86c
      Andrew Morton authored
      From: Andi Kleen <ak@muc.de>
      
      Trivial gcc-3.5 build fixes.
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      23fba86c
    • David Brownell's avatar
      [PATCH] USB: usb hub docs and locktree() · 6c4a53ec
      David Brownell authored
      Please merge; the CONFIG_USB_SUSPEND patch depends on it.
      
      This hub patch:
      
       - updates internal docs about locking, matching current usage
         for device state spinlock and dev->serialize semaphore
      
       - adds locktree() to use with signaling that affect everything
         downstream of a given device ... right now just khubd uses it,
         but usb_reset_device() should too (not just with hub resets...)
      
       - adds hub_quiesce()/hub_reactivate() ... former is used now
         during shutdown, both are needed in suspend/resume paths
      
      Net change in behavior for current systems should be nothing.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      6c4a53ec
    • David Brownell's avatar
      [PATCH] USB: add CONFIG_USB_SUSPEND · 5104332e
      David Brownell authored
      This is the core of the USB_SUSPEND functionality.  Please merge.
      
      This adds an experimental CONFIG_USB_SUSPEND option, which supports the
      USB "suspend" state.  Linux-USB hosts have previously ignored that state.
      
          -	New driver API calls, usb_suspend_device() and its
      	sibling usb_resume_device().
      
          -	Access to those calls through sysfs, such as
      		echo -n 2 > power/state
      		echo -n 0 > power/state
      
      That can be used to reduce the power consumption of any given USB device,
      then re-activate it later.  Eventually, most USB device drivers should
      probably suspend idle USB devices.
      
      One problem with this patch:  USB drivers without suspend() callbacks
      may badly misbehave.  Right now only hub drivers know suspend().  If the
      driver core didn't self-deadlock when we try it, unbinding those drivers
      from those devices (then re-enumerating on resume) would be perfect...
      the current compromise is just to emit a warning message.
      
      In conjunction with host controller driver support (already merged for
      OHCI and EHCI), PCI host controllers will issue the PME# wakeup signal
      when a USB keyboard starts remote wakeup signaling.  (But the keyboard
      wasn't usable later, since HID doesn't try to suspend.)
      
      I understand some ACPI patches are circulating, and maybe already in
      the MM tree, to make a suspended system wake up given PME# signaling.
      It'd be great if someone made that work transparently with USB, but
      for now I'm told it'll need some sysfs setup first.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      5104332e
    • Alan Stern's avatar
      [PATCH] USB: Make removable-LUN support a non-test option in the g_file_storage driver · 8d784571
      Alan Stern authored
      This patch follows the suggestions sent by Todd Fischer and Diego Dompe
      for making removable-LUN support part of the normal non-testing version of
      the g_file_storage driver.  It also moves LUN device registration to the
      correct place and eliminates a code path that stalls the bulk-out pipe in
      a racy way.
      
      There are also some smaller changes: update some comments, add initial
      debugging support for USB suspend/resume, and miscellaneous code cleanups.
      Last but not least, the driver has been sufficiently stable for
      sufficiently long that it's fair to remove the "(DEVELOPMENT)" warning in
      Kconfig.
      Sent-by: default avatarTodd Fischer <toddf@cadenux.com>
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      8d784571
    • Alan Stern's avatar
      [PATCH] USB: Fix NULL-pointer bug in dummy_hcd · feb4edac
      Alan Stern authored
      This patch fixes a NULL-pointer-dereference bug in the dummy_hcd driver.
      It also makes the code slightly more elegant and removes an unnecessary
      buffer-overflow test.  Unfortunately it's still a little bit racy, but
      this is a fault it shares with other gadget controller drivers, like
      net2280.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      feb4edac
  2. 29 Jul, 2004 25 commits
  3. 28 Jul, 2004 6 commits