[OpenWrt-Devel] [LEDE-DEV] [PATCH, usbmode] Extend StandardEject sequence to include LUN 1

John Crispin john at phrozen.org
Mon Nov 14 02:04:36 EST 2016


Hi,

a slightly more elaborate description might be appropriate here

	John

On 08/11/2016 16:39, Benjamin Berg wrote:
> Also sending the eject command to LUN 1 is required for some D-Link devices.
> 
> Signed-off-by: Benjamin Berg <benjamin at sipsolutions.net>
> Signed-off-by: René van Weert <r.vanweert at sowifi.com>
> ---
>  switch.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/switch.c b/switch.c
> index b283561..587a2af 100644
> --- a/switch.c
> +++ b/switch.c
> @@ -161,6 +161,12 @@ static void handle_standardeject(struct usbdev_data *data, struct blob_attr **tb
>  		}, {
>  			"\x55\x53\x42\x43\x12\x34\x56\x79\x00\x00\x00\x00\x00\x00\x06\x1b"
>  			"\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 31
> +		}, {
> +			"\x55\x53\x42\x43\x12\x34\x56\x78\x00\x00\x00\x00\x00\x01\x06\x1e"
> +			"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 31
> +		}, {
> +			"\x55\x53\x42\x43\x12\x34\x56\x79\x00\x00\x00\x00\x00\x01\x06\x1b"
> +			"\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 31
>  		}
>  	};
>  
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list