usb_modeswitch_dispatcher

mode switching tool for controlling "flip flop" USB devices

Install

All systems
curl cmd.cat/usb_modeswitch_dispatcher.sh
Debian Debian
apt-get install usb-modeswitch
Ubuntu
apt-get install usb-modeswitch
Alpine
apk add usb-modeswitch
Arch Arch Linux
pacman -S usb_modeswitch
image/svg+xml Kali Linux
apt-get install usb-modeswitch
CentOS
yum install usb_modeswitch
Fedora
dnf install usb_modeswitch
Windows (WSL2)
sudo apt-get update sudo apt-get install usb-modeswitch
Raspbian
apt-get install usb-modeswitch
Docker
docker run cmd.cat/usb_modeswitch_dispatcher usb_modeswitch_dispatcher powered by Commando

usb-modeswitch

mode switching tool for controlling "flip flop" USB devices

Several new USB devices have their proprietary Windows drivers onboard, especially WAN dongles. When plugged in for the first time, they act like a flash storage and start installing the driver from there. If the driver is already installed, the storage device vanishes and a new device, such as an USB modem, shows up. This is called the "ZeroCD" feature. On Debian, this is not needed, since the driver is included as a Linux kernel module, such as "usbserial". However, the device still shows up as "usb-storage" by default. usb-modeswitch solves that issue by sending the command which actually performs the switching of the device from "usb-storage" to "usbserial". This package contains the binaries and the brother scripts.

usb_modeswitch

Activating switchable USB devices on Linux.