diff --git a/bin/usb-client b/bin/usb-client index 679a21c..97f7cb4 100755 Binary files a/bin/usb-client and b/bin/usb-client differ diff --git a/bin/usb-relay b/bin/usb-relay index a803d9a..61279f8 100755 Binary files a/bin/usb-relay and b/bin/usb-relay differ diff --git a/internal/usbip/server.go b/internal/usbip/server.go index 9f62f6a..090055d 100644 --- a/internal/usbip/server.go +++ b/internal/usbip/server.go @@ -381,15 +381,6 @@ func (s *Server) handleCmdSubmit(r io.Reader, hdr *URBHeader, retChan chan<- []b log.Printf("[usbip-server] SET_INTERFACE(iface=%d, alt=%d) OK", wIndex, wValue) } - case bmRequestType == 0x00 && bRequest == 0x09: - // SET_CONFIGURATION (Standard, Device recipient) - if err := s.handle.SetConfiguration(uint32(wValue)); err != nil { - log.Printf("[usbip-server] SET_CONFIGURATION(%d) failed: %v", wValue, err) - status = -32 - } else { - log.Printf("[usbip-server] SET_CONFIGURATION(%d) OK", wValue) - } - case bmRequestType == 0x02 && bRequest == 0x01 && wValue == 0x0000: // CLEAR_FEATURE(ENDPOINT_HALT) (Standard, Endpoint recipient) if err := s.handle.ClearHalt(uint32(wIndex)); err != nil {