Skip to content

Commit

Permalink
usb-modeswitch: Adding to moonbase.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis `stumbles` Veatch committed Jan 11, 2012
1 parent daf9af5 commit 99b921a
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
6 changes: 6 additions & 0 deletions utils/usb-modeswitch/BUILD
@@ -0,0 +1,6 @@
(

prepare_install &&
make install

) > $C_FIFO 2>&1
1 change: 1 addition & 0 deletions utils/usb-modeswitch/DEPENDS
@@ -0,0 +1 @@
depends usbutils
26 changes: 26 additions & 0 deletions 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

0 comments on commit 99b921a

Please sign in to comment.