Hot answers tagged hot-plug
Neither udev nor DKMS can be adequately described as “a way to dynamically manage all connected/disconnected device drivers on a Linux system”. Udev dynamically manages devices, not drivers — it creates entries in /dev when a device is plugged in. DKMS is about drivers, but it has nothing to do with locating a driver for a device: it's a way to compile ...
From the kernel documentation: The hotplug mechanism asynchronously notifies userspace when hardware is inserted, removed, or undergoes a similar significant state change. There is an event variable for modules, called DRIVER, that suggests a driver for handling the hotplugged device.
Unload your USB HCI kernel modules (anything *hci_hcd and *usb*) and reload them. This is the only reliable way to actually cut the power to the USB ports. There are other less severe method to achieve the same thing, but they are not guaranteed to work depending on how your device fails.
As Caleb mentioned, PulseAudio lets you migrate streams from one device to another. To switch automatically, rather than manually through pavucontrol, add the module-switch-on-connect module to your PulseAudio configuration as described here: http://askubuntu.com/questions/158241/automatically-change-sound-input-output-device/158250#158250
Only top voted, non community-wiki answers of a minimum length are eligible