Tag Info

Hot answers tagged

1

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.


1

Ok, it's been a long time, but I'll still answer my question with the best option I found as of now. The best way is to create a udev rule, associated with some scripts (that will create / remove directories and mount / unmount removable devices), and attached to partition udev device event type. 1 - Creating add / remove scripts Add this script ...


1

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