[PATCH dfu-util] dfuse: Add a reference to ST's protocol description

2011-11-13 Thread Tormod Volden
From: Tormod Volden Signed-off-by: Tormod Volden --- src/dfuse.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/dfuse.c b/src/dfuse.c index f091bda..c5807e0 100644 --- a/src/dfuse.c +++ b/src/dfuse.c @@ -1,5 +1,6 @@ /* This implements the ST Microsystems DFU ext

[PATCH dfu-util] main: List alternate interfaces in DFU mode

2011-11-13 Thread Tormod Volden
From: Tormod Volden in the case there are several and the user did not specify one. This can be useful if the device does not expose its alternate interfaces in run-time mode, but only in DFU mode. Also adjusted a warning message to clarify that we do not set the alternate interface in run-time

[PATCH dfu-util] main: Simplify --detach handling by reusing existing code

2011-11-13 Thread Tormod Volden
From: Tormod Volden Signed-off-by: Tormod Volden --- Hi, I have some issues with the recent --detach option addition: * It duplicates the existing detach code * It sends requests to an interface without claiming it first * It resets the device without checking bitWillDetach Can't we simply do