[Lunar-commits] <moonbase> usb-modeswitch: Adding to moonbase.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Wed Jan 11 13:44:38 CET 2012
commit 99b921a6a0f324be5183a8501b8daeb4d1cd9982
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Wed Jan 11 07:44:38 2012 -0500
usb-modeswitch: Adding to moonbase.
---
utils/usb-modeswitch/BUILD | 6 ++++++
utils/usb-modeswitch/DEPENDS | 1 +
utils/usb-modeswitch/DETAILS | 26 ++++++++++++++++++++++++++
3 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/utils/usb-modeswitch/BUILD b/utils/usb-modeswitch/BUILD
new file mode 100644
index 0000000..6b6d9ac
--- /dev/null
+++ b/utils/usb-modeswitch/BUILD
@@ -0,0 +1,6 @@
+(
+
+ prepare_install &&
+ make install
+
+) > $C_FIFO 2>&1
diff --git a/utils/usb-modeswitch/DEPENDS b/utils/usb-modeswitch/DEPENDS
new file mode 100644
index 0000000..283ed92
--- /dev/null
+++ b/utils/usb-modeswitch/DEPENDS
@@ -0,0 +1 @@
+depends usbutils
diff --git a/utils/usb-modeswitch/DETAILS b/utils/usb-modeswitch/DETAILS
new file mode 100644
index 0000000..6b34357
--- /dev/null
+++ b/utils/usb-modeswitch/DETAILS
@@ -0,0 +1,26 @@
+ MODULE=usb-modeswitch
+ VERSION=1.2.1
+ SOURCE=$MODULE-$VERSION.tar.bz2
+ SOURCE_URL=http://www.draisberghof.de/usb_modeswitch/
+ SOURCE_VFY=sha1:a0d27f8624a4d4dcd5b1d05652cc0830e9e3d2a9
+ WEB_SITE=http://www.draisberghof.de/usb_modeswitch/
+ ENTERED=20120111
+ UPDATED=20120111
+ SHORT="mode switching tool for controlling USB gear"
+
+PSAFE=no
+cat << EOF
+USB_ModeSwitch is (surprise!) a mode switching tool for controlling "flip flop" (multiple device) USB gear.
+
+More and more USB devices (especially high-speed WAN stuff, based on cell phone chipsets containing that
+feature) have their MS Windows drivers onboard; when plugged in for the first time they act like a flash
+storage and start installing the driver from there. After installation (and on every consecutive plugging)
+the driver switches the mode internally, the storage device vanishes (in most cases), and a new device (like
+an USB modem) shows up. Modem maker "Option" calls that feature "ZeroCD (TM)" since it eliminates the need
+for shipping a separate driver carrier.
+
+USB_ModeSwitch makes this process easy to handle by taking the important parameters from a configuration file
+and doing all the initialization and communication stuff, with heavy help from "libusb".
+It is mainly used automatically - via udev events and rules - to do the switch without any user interaction.
+But it can also be run as a command line tool, usually when trying to make unknown devices work with it.
+EOF
More information about the Lunar-commits
mailing list