From: Antonio Ospite <ospite@studenti.unina.it>
Date: Tue, 24 Jan 2012 09:27:25 +0000 (+0100)
Subject: Document usb_modeswitch command to change the device mode
X-Git-Tag: v0.1.0~21
X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/2834def5028d10f92190600875ab999c768d6ce9?hp=-c

Document usb_modeswitch command to change the device mode
---

2834def5028d10f92190600875ab999c768d6ce9
diff --git a/README.asciidoc b/README.asciidoc
index 8f40a1f..02a88b3 100644
--- a/README.asciidoc
+++ b/README.asciidoc
@@ -31,6 +31,13 @@ designs, usually having two modes:
  - USB Mass Storage mode (ProductID: ''1101'')
  - Generic bulk data transfer mode (ProductID: ''c101'')
 
+The mode can be switched with the command:
+
+ $ sudo usb_modeswitch \
+   --default-vendor 0x1de1 \
+   --default-product 0x1101 \
+   --message-content 55534243087052890000000000000cff020000000000000000000000000000
+
 Examples of devices based on AM7XXX are:
 
   - Acer Series C pico projectors (C20 C110 C112 C120):