On Sun, Dec 25, 2016 at 8:09 AM, Raz Manor wrote:
>
> I had a problem with the net2280 driver- reading from an endpoint resulted
> with a wrong read size in some cases.
>
> I found the problem and fixed it, and I wanted to publish the fix. However,
> I have no push access, and I couldn't find who
This patch adds recovery from false busy state on concurrent attach
operation.
The procedure of attach operation is as below.
1) Find an unused port in /sys/devices/platform/vhci_hcd/status.
(userspace)
2) Request attach found port to driver through
/sys/devices/platform/vhci_hcd/attach. (use
> -Original Message-
> From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org]
> Sent: 2016年12月24日 2:05
> To: Peter Rosin
> Cc: linux-ker...@vger.kernel.org; Alan Stern ;
> linux-usb@vger.kernel.org; Wenyou Yang - A41535
>
> Subject: Re: [PATCH v2 REGRESSION RESEND] usb: ohci-at91:
Implementation of new connect operation. This is linked as a part of
usbip command. With this patch, usbip command has following operations.
bind
unbind
list (local/remote)
attach
detach
port
connect ... this patch
In device side node, this binds a device internally, sends an export
requ
Refactoring to attach and detach operation to reuse common portion to
application(vhci)-side daemon.
The new application(vhci)-side daemon executes same procedures as
attach and detach. Most of common code to access vhci has been
implemented in VHCI userspace wrapper(libsrc/vhci_driver.c) but l
Dear all,
This series of patches adds exporting device operation to USB/IP.
NOTE:
This patch set modifies only userspace codes in tools/usb/usbip.
Existing operation is still available.
New operation will not be enabled unless new daemon is started.
1. Background
The motivation of this series i
Refactoring to the daemon to reuse common portion for new application
side daemon. It's divided into two portions.
usbipd.c : common code for both device and application side daemon.
usbipd_dev.c : device-side specific code extracted from usbipd.c.
To do so, host driver dependent headers and dec
Implementation of new disconnect operation. This is linked as a part of
usbip command. With this patch, usbip command has following operations.
bind
unbind
list (local/remote)
attach
detach
port
connect ... previous patch
disconnect ... this patch
In device side node, this sends an un-ex
Modifications to host driver wrapper and its related operations (i.e.
bind/unbind).
usbip_get_device() method was not used. The implementation of the
method searches a bound devices list by list index. The position in the
list is meaningless for any operations so it is assumed not to be used
i
This patch set implements operations to export and unexport device
using pre-defined but un-used export and un-export request and reply.
This patch modifies export and un-export reply in
tools/usb/usbip/src/usbip_network.h. The 'returncode' of each response
is removed. The status is set in op_c
Correction to wording inconsistency around import and export in
usbip_list.c regarding output title, help and function names.
'exported' was used for devices bound in remote and to be attached with
'import' request. This patch set uses pre-defined 'export' request to
connect device.
To avoid m
This patch is the new application(vhci)-side daemon specific code.
The daemons are consisting three files.
usbip.c : common code.
usbip_dev.c: device(stub)-side specific code.
usbip_app.c: application(vhci)-side specific code - this patch.
Here, device-side daemon is EXISTING-1 and application-si
This patch adds export and un-export request/response to
Documentation/usb/usbip_protocol.txt.
The definition of the structs has been defined in original code of
tools/usb/usbip/usbip_network.h but not described in the document.
Adding the request and response, words 'server' and 'client' are
This patch adds function and usage of new connect operation, disconnect
operation and application(vhci)-side daemon to README and manuals.
At this point, the wording, 'server' and 'client' are ambiguous in
several place.
For existing attach command, the daemon runs device side machine and
atta
Modification to the userspace tools including usbip/libsrc and
usbip/src.
Changed corresponding to new vhci_sysfs.c.
nports in sysfs is used to get total number of ports.
Old get_nports() ignores the last status line because
udev_device_get_sysattr_value() drops last new line. New version use
This series of patches extends number of ports limitaion in application
(vhci) side.
Driver portion of static extension has been merged at 4.9-rc1. 1/2
modifies userspace tools. It's effective not only for static extension
but also for dynamic. 2/2 modifies driver for dynamic extenstion.
1. Ba
Modification for dynamic device registration and unregistration.
1. kernel config
Following parameters are added.
USBIP_VHCI_HC_PORTS: Number of ports per USB/IP virtual host
controller. The default is 8 - same as current VHCI_NPORTS.
USBIP_VHCI_MAX_HCS: Muximum number of USB/IP virtual host co
17 matches
Mail list logo