#!/bin/sh # This script works around an H5 radio quirk by disabling USB and # waiting for the radio to power up before re-enabling it. Note that # this will disable all USB devices connected to the USB host controller # until the reset is finished. USB device port is not affected. rmmod ohci_hcd mts-io-sysfs store radio-reset 0 sleep 8 modprobe ohci_hcd