Questions tagged [hotplug]

The ability of hardware and drivers to allow plugging in and then using hardware without rebooting the system.

Filter by
Sorted by
Tagged with
2
votes
1answer
32 views

Netplan add VLAN on the fly?

On 18.04, I have figured out how to get bonds, vlans, and bridges all working similarly to ifupdown. However, I am running a KVM server, and need the ability to add tagged vlan interfaces on the fly ...
0
votes
0answers
36 views

Thunderbolt 1 port doesn't recognize Thunderbolt 2 drive on boot

I am looking to find a way to execute the logic the thunderbolt system executes when it detects a newly hot-plugged hard drive (block device). I can get my drive recognized, and it works fine, just ...
1
vote
0answers
53 views

Running xmodmap when new keyboard is plugged in

When I plug an external keyboard into my laptop (which runs Xubuntu 18.04), I have to run xmodmap ~/.Xmodmap to apply the changes to the second keyboard also. This bothers me. Here is my .Xmodmap: ! ...
0
votes
0answers
57 views

Config hotplug on 18.10

I read the tutorial that This system uses files stored in /etc/hotplug to control the configuration of specific USB devices. In particular, /etc/hotplug/usb.usermap contains a database of USB ...
1
vote
1answer
80 views

Gnome Disks utility locked HDD

I've been using Lubuntu testbench to format many HDD prior to sale. I have been using the Gnome Disks utility to make sure the disks leave my company clean and all of my data is erased. I chose to ...
0
votes
1answer
227 views

Detecting USB port connection

I am writing a console application in C++. So far my code can detect if my device (linux) has been connected to another device (usually windows) via TCPIP. Once I open Putty on my Windows to connect ...
1
vote
0answers
152 views

Dell thunderbolt only loads on boot (no hotplug)

I have a dell thunderbolt usb-C dock, and it only appears to work on boot. I have a display, keyboard and mouse plugged in. If I boot with the thunderbolt plugged, all is well, but if I hotplug, I ...
1
vote
0answers
288 views

Not all USB devices automatically mounted when hot-plugged Ubuntu 17.10

I'm running Ubuntu 17.10 and my iPhone and Kobo tablet (neither PTP nor MTP) won't be automatically mounted and shown in Nautilus when I plug them in. I can only mount and open these manually. All ...
-2
votes
1answer
45 views

If I (Theoretically, never actually would) pulled out the boot disk of a Ubuntu 16.04 machine, what would happen as it began to fail? [duplicate]

Obviously it will stop working.. but what would go first, how long till it halts etc. Lets say we're at the desktop with no running programs. Assuming disk is not hot-pluggable.
0
votes
1answer
2k views

Ubuntu 16.04 - Install PCI Hotplug Capability

I'm trying to achieve hotplugging of memory in KVM guests by following this tutorial: Memory hotplug with Qemu/KVM and libvirt. I managed to complete it but nothing happens. The tutorial tells me ...
0
votes
1answer
326 views

cpu hotplug for ubuntu

by doing for file in /sys/devices/system/cpu/cpu*/online; do echo 0 > $file; done we set the cpus offline. is there a script to do the hotplug work, detect cpu usage and above a % set cpus ...
6
votes
3answers
13k views

How do you hotplug enable new CPU and RAM in a Virtual Machine

I am running Ubuntu in a virtual machine and I'd like to add CPU and RAM without rebooting the device. How can I hotplug this new virtual hardware?
0
votes
1answer
58 views

Keyboard / usb detachment alert?

I'm in a fun security-battle with a co-worker, where we each try to attach each others system in order to send out an email to all other co-workers in which they are invited to come and have a sweet ...
2
votes
0answers
728 views

Cannot start Wireless HotSpot on USB adapter plug in (with udev rule)

I really need help on this matter. I have a PC with Lubuntu 14.10 and a Wireless USB stick TP-Link TL-WN722N and I want to create a wireless hotspot that automatically gets started upon wireless USB ...
1
vote
0answers
448 views

How to prevent kernel or any broadcast messages from flooding the TTYs?

Is there a way to stop the ttys from being flooded by the kernel messages? The display shows a continuous stream of messages (which are also logged in the /var/log directory). Every text I key in ...
5
votes
1answer
4k views

eSata “HotPlugged” Drive Not Recognized

So, I have an Optiplex 780 with esata on the back. Under windows, I'm able to hotplug any ol' hard drive using my Thermaltake eSata USB Docking Station. As soon as I plug in the eSata cable, it spins ...
1
vote
0answers
747 views

USB audio device not fully working after hotplug

Since upgrading (from 12.04) to 14.04.1, when I hotplug my USB headset, it does not work right. It won't show up in capture controls, sometimes not even in playback devices. I have to fiddle with ...
0
votes
1answer
65 views

Should drive names be constant?

I am hot plugging two hard drives into 5 SATA controllers. And each time I see them as /dev/sda and /dev/sdc. Why? How will I configure RAID host swap if drives can change names depending on plug ...
3
votes
1answer
11k views

How can I run code whenever a USB device is (un)plugged, without requiring root permissions?

I have a script that I wish to run whenever I plug/unplug a mouse or keyboard to my USB port. There is already plenty of documentation on how to configure udev rules to run arbitrary scripts when a ...
1
vote
1answer
3k views

missing sbin/hotplug in Ubuntu

Im using Ubuntu and I cannot find /sbin/hotplug. Did anything replace it? How does it handle hotplugging? I read that kernel calls it for notifying user space when an hotplug event happens. I also ...
0
votes
1answer
627 views

Difference between “removable drive hot-plugged” and “removable media inserted”?

On Xubuntu's "Removable Drives and Media" settings, I see two items that can each be checked on/off that seem very similar. Can someone explain what the difference is? Under the "Storage" tab are [ ...
3
votes
1answer
6k views

hot-plugging USB 3.0 drive NOT working in ubuntu 12.04

I have dell E6520 laptop with latest ubuntu 12.04. I also have the EC (ExpressCard) with the USB3.0 ports. The card is recognized by ubuntu (I can see in in lspci), but when I plug in the external ...
2
votes
1answer
4k views

Does Ubuntu 12.04 support Hot plugging

I have a motherboard that supports Hot plugging and a Power Supply that also supports this. Does Ubuntu support doing a Hard Drive Hot plugging?