Install latest/stable of abeato-usb-modeswitch
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install abeato-usb-modeswitch
Don't have snapd? Get set up for snaps.
USB_ModeSwitch is (surprise!) a mode switching tool for controlling 'multi-mode' USB devices. See https://www.draisberghof.de/usb_modeswitch/ for more details. Please find the source code for the snap at https://github.com/alfonsosanchezbeato/usb-modeswitch. Connect the interfaces, then run usb_modeswitch. For instace, for a device that we want to switch from VID:PID 19d2:2000 to 19d2:0066:
snap install abeato-usb-modeswitch
snap connect abeato-usb-modeswitch:hardware-observe
snap connect abeato-usb-modeswitch:raw-usb
sudo abeato-usb-modeswitch.usb-modeswitch -v 19d2 -p 2000 -V 19d2 -P 0066 \
-W -c /snap/abeato-usb-modeswitch/current/etc/usb_modeswitch.d/19d2:2000
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.