1. 03 Apr, 2002 8 commits
    • Greg Kroah-Hartman's avatar
      USB · 893d7090
      Greg Kroah-Hartman authored
      Updated the CREDITS, Config.help, Config.in, and Makefile to be up to date
      with the last round of USB changes.
      893d7090
    • David Brownell's avatar
      USB ohci driver fixes · e8ee53e8
      David Brownell authored
        
         - An oopsable bug affecting unlink of interrupt
           transfers. Fix mirrors one done ages ago for ISO.
           (Original patch by Matt Hughes)
         - Better cleanup on init failure (Matthew Frederickson)
         - fixes the problem Stuart reported, where interrupt urbs
           couldn't be unlinked from their completion handlers, and it
           also makes OHCI return the correct status code for async
           unlink requests (-EINPROGRESS not zero).
      e8ee53e8
    • Stuart Lynne's avatar
      USB safe_serial · 791d5027
      Stuart Lynne authored
      added safe_serial driver
      tweaks to the driver done by greg@kroah.com to get things to work on 2.5
      791d5027
    • Vojtech Pavlik's avatar
      USB 64bit fixes · afd98826
      Vojtech Pavlik authored
      afd98826
    • Romain Liévin's avatar
      USB tiusb · 15e1d2dc
      Romain Liévin authored
      added tiusb driver
      some tweaks to the driver done by greg@kroah.com
      15e1d2dc
    • Johannes Erdfelt's avatar
      USB UHCI driver · ab6aa6cd
      Johannes Erdfelt authored
      The patch ensures that uhci.c doesn't use urb->status after the
      completion callback if it doesn't need to.
      ab6aa6cd
    • Petko Manolov's avatar
      USB rtl8150 driver · 68b47b98
      Petko Manolov authored
      fix the "small packet" problem and debug messages cleanup
      68b47b98
    • Greg Kroah-Hartman's avatar
      USB HID driver · e027fe1c
      Greg Kroah-Hartman authored
      removed CONFIG_USB_HIDDEV #ifdefs in the driver.
      e027fe1c
  2. 01 Apr, 2002 1 commit
  3. 28 Mar, 2002 7 commits
    • Paul Stewart's avatar
      USB hiddev interface · 810a5ac9
      Paul Stewart authored
      updated the version number due the previous changes
      810a5ac9
    • David Brownell's avatar
      USB hcd driver updates · 95a376f3
      David Brownell authored
        
        - Nitpickey bugfix to root hub config descriptors ... can't use
          the same one for high and full speed, since the encoding
          is different (255 ms FS == 0xff, 256 ms HS == 0x12).
        - Related, force period to 1/4 second rather than doing
          any sanity checking for the roothub timer (from Georg)
        - Don't "giveback" urbs on submit path errors (from Georg)
          ... means they don't get completion callbacks
        - Additional error checks on URB data (from Georg)
        - Uses <linux/completion.h> for unlink synchronization
        - The "already unlinking" error case is reported like other
          unlinking errors (not as success)
        - Ripped out urb->next handling ... it wasn't compatible
          with the ISO loop model, and at this point I believe it
          should be completely replaced with queuing urbs inside
          of the HCDs.  (Every HCD handles it for ISO, UHCI needs
          a magic flag to enable it for bulk ...)
      95a376f3
    • David Brownell's avatar
      USB audio driver · 6567edc6
      David Brownell authored
        
      - Makes "audio" set the urb->interval in its periodic URBs,
        so it can submit through the hcd framework. 
      6567edc6
    • Ganesh Varadarajan's avatar
      USB serial core · 7bcd06de
      Ganesh Varadarajan authored
      Module count of a serial converter driver is currently not
      decremented if a disconnect happens while the tty is held open.
      The fix is to close the device in usb_serial_disconnect() so that
      module refcounts are properly updated.
      7bcd06de
    • Greg Kroah-Hartman's avatar
      USB io_edgeport driver update · dec341de
      Greg Kroah-Hartman authored
      fixes to let io_edgeport work properly as a usb serial console
      dec341de
    • Greg Kroah-Hartman's avatar
      USB uhci bug fix. · 7e6ec117
      Greg Kroah-Hartman authored
      use proper GFP flag setting for submitting a urb.
      7e6ec117
    • Greg Kroah-Hartman's avatar
      USB serial config.in changes · 5facf0a0
      Greg Kroah-Hartman authored
      - make serial console only selectable if the code is not a module.
      - removed lots of CONFIG_EXPERMENTAL dependancies as the drivers have been stable for some time now.
      5facf0a0
  4. 27 Mar, 2002 4 commits
    • Greg Kroah-Hartman's avatar
      USB serial console support added · 98b49016
      Greg Kroah-Hartman authored
      98b49016
    • David Brownell's avatar
      USB core sanity check · 55920e90
      David Brownell authored
        
        Periodically folk have run into problems where usb-ohci oopses
        due to device refcount bugs ...
          
        This is a minor patch to move the sanity check out of usb-ohci
        into the generic bits of usbcore.    There are comments that
        suggest a path for a more comprehensive approach too.
          
        Applies cleanly against 2.5.7 and I've been testing with it
        for a while.  I can't think of any reason it shouldn't also go
        into 2.4, beyond the patch not applying cleanly there ... :)
      55920e90
    • David Brownell's avatar
      USB ohci-hcd driver update · be860b8f
      David Brownell authored
        
            - bugfix: control endpoints can't stall
            - bugfix: remove bogus intr unlink optimization,
                by sharing intr/iso code
            - bugfix: iso submit uses urb->interval
            - removed iso urb->next ring logic
                (belongs in hcd layer if anywhere)
            - simplify/shorten/correct completion handling
            - in debug, labels setup packets as such
            - bring CVS ids back up to date
      be860b8f
    • Johannes Erdfelt's avatar
      [PATCH] USB uhci bugfix · 538e72ad
      Johannes Erdfelt authored
      The issue was that the poisoning would posing the data *before* it gave
      it to us as well, but I didn't clear out a pointer (qh->urbp) and later
      dereferenced it.
      
      Thanks for the report again and for the pci_pool patch so I could
      troubleshoot it.
      
      JE
      538e72ad
  5. 26 Mar, 2002 2 commits
    • Petko Manolov's avatar
      USB pegasus driver · dc00b7a3
      Petko Manolov authored
      semaphore cleanup and proper link detection
      dc00b7a3
    • David Brownell's avatar
      USB ohci-hcd update · 34e02698
      David Brownell authored
      It updates the "ohci-hcd" driver to address two issues, one            
      of which could potentially have caused oopses.  First, it takes
      out calls to usb_dec_dev_use() on the submit error path; that's
      already done elsewhere.  (Noted by Georg Acher.)  Second,
      it removes some pointless diagnostics.  One is for schedule
      overrun interrupts, the other is for accessing the frame counter.
      34e02698
  6. 25 Mar, 2002 1 commit
    • Johannes Erdfelt's avatar
      [PATCH] 2.4.19-pre3 uhci.c zero packet · bcb7d7c4
      Johannes Erdfelt authored
      Don't know if you saw this on the list or not. Here's a patch which
      fixes zero packet support for uhci.c
      
      - Setup the TD correctly, we weren't shifting the null data size
      - Only add the zero packet if the transfer was a multiple of the
        endpoint of the size
      
      JE
      bcb7d7c4
  7. 23 Mar, 2002 1 commit
  8. 22 Mar, 2002 3 commits
  9. 21 Mar, 2002 4 commits
    • Oliver Neukum's avatar
      USB kaweth driver · f0c3878e
      Oliver Neukum authored
      added optus@home uep1045a driver to the list of supported devices.
      f0c3878e
    • Greg Kroah-Hartman's avatar
      USB serial drivers · e1127c36
      Greg Kroah-Hartman authored
      changes due to open_count being handled by the usb-serial core code.
      e1127c36
    • Greg Kroah-Hartman's avatar
      USB serial driver core · 9fb1cce0
      Greg Kroah-Hartman authored
      - Moved all manipulation of port->open_count into the core.  Now the
        individual driver's open and close functions are called only when the
        first open() and last close() is called.  Making the drivers a bit
        smaller and simpler.
      - Fixed a bug if a driver didn't have the owner field set.
      9fb1cce0
    • Greg Kroah-Hartman's avatar
      USB visor driver · 16c12b0b
      Greg Kroah-Hartman authored
      Added support for the Palm m130 device, thanks to Udo Eisenbarth
      <udo.eisenbarth@web.de> for the information.
      16c12b0b
  10. 20 Mar, 2002 2 commits
  11. 19 Mar, 2002 4 commits
    • Oliver Neukum's avatar
      USB hpusbscsi driver · f7148255
      Oliver Neukum authored
      Port changes from 2.4:
        We do request_sense ourselves to comply with
        the scanner command set
      f7148255
    • Greg Kroah-Hartman's avatar
      USB proc_usb_info.txt · c32692c6
      Greg Kroah-Hartman authored
      documented the fact that the interval is not always reported in ms.
      c32692c6
    • David Brownell's avatar
      USB usbfs periodic endpoint/bandwidth reporting · ac5a7740
      David Brownell authored
      This is an updated version of a patch I sent around a
      while back.  It's against 2.5.7-pre1 (so presumably is
      fine on 2.5.7), and addresses feedback against that
      earlier patch.
        
      It's bugfixes, mostly for highspeed support, to what
      /proc/bus/usb/devices shows:
        
      - Shows isochronous periods correctly (logarithmic
        encoding, possibly 1/2/4 microframes if highspeed)
      - Likewise for high-speed interrupt periods (similar)
      - Makes high bandwidth endpoints look like they
        just do bigger packets (up to 3 KBytes/uframe)
      - Shows highspeed bandwidth correctlly (80% reserved,
        vs 90% reserved for full/low speed).
      ac5a7740
    • Ganesh Varadarajan's avatar
      USB ipaq driver · 9c5c07fb
      Ganesh Varadarajan authored
      Don't submit urbs while holding spinlocks. Not strictly required in
      2.5.x, but it's always better to do less while holding a spinlock.
      Also a good idea to keep 2.{4,5}.x drivers in sync.
      9c5c07fb
  12. 18 Mar, 2002 3 commits
    • Johannes Erdfelt's avatar
      [PATCH] uhci.c 2.4.19-pre3 interrupt deadlock · e4bd5f50
      Johannes Erdfelt authored
      Unfortunately, I left out one line from my spinlock cleanup patch
      recently.
      
      As a result, using interrupt URB's could cause a deadlock on SMP
      kernels.
      
      This should fix the deadlock Greg reported.
      
      JE
      e4bd5f50
    • Johannes Erdfelt's avatar
      [PATCH] uhci.c 2.4.19-pre3 erroneous completion callback · 0a615934
      Johannes Erdfelt authored
      uhci.c would call the completion callback when the call to submit_urb
      failed. This is a rare situation.
      
      This patch only calls the completion handler if the URB successfully
      completed immediately (as in the case of talking to the virtual root
      hub).
      
      JE
      0a615934
    • Johannes Erdfelt's avatar
      [PATCH] uhci.c 2.4.19-pre3 kmem_cache_alloc flags · 40bb0d53
      Johannes Erdfelt authored
      My previous patch which cleaned up some of the spinlocks, moved one of
      the spinlocks around a call to kmem_cache_alloc. It would sometimes
      erroneously call it with GFP_KERNEL.
      
      This patch fixes the problem by always calling it with GFP_ATOMIC.
      Thanks to Greg for pointing this out to me.
      
      JE
      40bb0d53