1. 04 Mar, 2021 3 commits
  2. 02 Mar, 2021 1 commit
    • KyungWoon Cho's avatar
      fix vhci(ude) BSOD when processing partial urbr · 2c593a54
      KyungWoon Cho authored
      BSOD seemed to occur sometimes while a partial urbr is processed. See #222.
      There was a race condition between store_urbr_partial() and urbr cancellation.
      This commit will unmark cancelable before processing a partial urbr in order to
      avoid such a race.
      2c593a54
  3. 13 Feb, 2021 9 commits
    • Samo Pogačnik's avatar
      Headers caching bugfix. · 2c87ee4d
      Samo Pogačnik authored
      My speculation of skipping IN TRANSFER CMD_SUBMIT packets was
      wrong. Now all CMD_SUBMIT packet directions are being cached and
      if a cache entry is overwritten (cache too small, ...), the cache
      retrival returns original packet header direction value.
      2c87ee4d
    • Samo Pogačnik's avatar
      Replaced caching of transfer dir and fixed dump. · 3156daa2
      Samo Pogačnik authored
      This is a 'usbip_header_basic' cache to hold transfer direction of
      all OUT CMD_SUBMIT packets. Cache info is used when RET_SUBMIT
      packets with the same sequence number arrive.
      The transfer direction, EP address and device ID are not provided
      in return RET_SUBMIT packets from Linux, when used as an USBIP
      server.
      
      Cache entries of this cache are never deleted. The cache entry
      location is simply overwritten on every sequence number being
      increased by the number of all cache entry locations.
      This cache has constant cache entry R/W access time (no search).
      3156daa2
    • Samo Pogačnik's avatar
      Do not fetch data from OUT ISO RET_SUBMIT packets. · 299984b7
      Samo Pogačnik authored
      The data buffer is not present in RET_SUBMIT packets of OUT ISOCH
      transfers.
      299984b7
    • Samo Pogačnik's avatar
      Corrected occasoinal system exceptions. · e896fc07
      Samo Pogačnik authored
      e896fc07
    • KyungWoon Cho's avatar
      fix release build error · adf7a076
      KyungWoon Cho authored
      adf7a076
    • KyungWoon Cho's avatar
      usbip.exe supports port checking · 6b3e7d82
      KyungWoon Cho authored
      Attached port can be checked if it is still connected or not by using
      port command of usbip.exe with '-p' option. An external program can
      diffentiate with an exit code. #186
      6b3e7d82
    • KyungWoon Cho's avatar
      support non-blocking attach · 57a5c2f9
      KyungWoon Cho authored
      The prior attach command was blocked not showing a command prompt.
      This behavior used to lead a user to misunderstand that attach command
      does not work. So, a new attacher.exe is introduced to execute a
      forward routine in a separate process. As a side benefit, attach
      command is able to report an assigned port. A new attach command has
      '-t' option, which displays a port number only. It would be helpful
      to write an external script or program to utilize usbip.exe.
      
      related issues: #202, #186
      57a5c2f9
    • KyungWoon Cho's avatar
      Simplify resource files · e2196f7c
      KyungWoon Cho authored
      Resource files of userspace tools are only required for version
      information. All unnecessary stuff are cleared out.
      e2196f7c
    • KyungWoon Cho's avatar
      vhci(ude) port cleanup when attach exits abruptly · 86dbee9b
      KyungWoon Cho authored
      When usbip.exe was killed abruptly, a port of vhci(ude) was not
      reclaimed. Thus vhci(ude) calls plugout at UDE cleanup routine
      if not called. Ctrl+C in attach command does not suffer from this
      problem. In that case, unplugging is called by a forwarder by
      catching a signal.
      86dbee9b
  4. 26 Jan, 2021 1 commit
  5. 18 Jan, 2021 2 commits
  6. 15 Jan, 2021 9 commits
  7. 14 Jan, 2021 5 commits
  8. 13 Jan, 2021 4 commits
  9. 10 Jan, 2021 2 commits
  10. 03 Jan, 2021 1 commit
    • KyungWoon Cho's avatar
      a more safe way to detach an actively running vusb · b1d980a0
      KyungWoon Cho authored
      When a device is actively running with iso transfer, detach process is
      used to be freezed. This is due to that iso transfers are requested
      to the plugged-out device. Therefore, let an invalidated vusb deny
      a subsequent request.
      b1d980a0
  11. 02 Jan, 2021 3 commits