Questions tagged [hotplug]

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

28 questions
12
votes
3 answers

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?
flickerfly
  • 7,509
9
votes
2 answers

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 up the drive and is recognized. Unfortunately,…
cgp
  • 303
6
votes
1 answer

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 device is plugged or unplugged. But configuring…
4
votes
1 answer

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 USB3.0 HDD into the slot nothing happens -…
Alex
  • 41
3
votes
1 answer

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 checked /proc/sys/kernel/hotplug , but its empty
3
votes
0 answers

startx hot plugging monitor

I have Ubuntu Server 18.04. I installed Xorg, plugged in my monitor and started my app like this: startx ./MyApplication It runs perfectly, but if I unplug my monitor, run the command and then plug my monitor again, Xorg cannot detect the…
Pourya
  • 41
  • 4
2
votes
1 answer

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 that I need kernel version 3.9 or higher, and I am…
Programster
  • 6,039
2
votes
0 answers

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 plug in. After following the instructions…
mitsos1os
  • 121
2
votes
0 answers

Boot error after upgrading to 23.04, pcie:hp: cannot get irq -1 for the hotplug controller

I upgraded from 22.10 to 23.04, now when I boot in to Ubuntu I get the error: pcie:hp: cannot get irq -1 for the hotplug controller pciehp: Notification initialization failed (-1) What's very strange is that I run Ubuntu recovery mode from GRUB, and…
2
votes
1 answer

How can gpsd correctly detect a usb GPS device when inserted after system boots?

I'm using gpsd 3.22 on Ubuntu 22.10 I have a GlobalSat BU-353-S4 USB GPS Receiver device that identifies as Bus 001 Device 008: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port / Mobile Action MA-8910P It is enumerated as /dev/ttyUSB0 The…
tim11g
  • 583
2
votes
1 answer

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?
Luis Alvarado
  • 216,643
2
votes
1 answer

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 and bring them up individually without…
jubjub
  • 23
2
votes
0 answers

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: ! change CapsLock to Escape clear Lock keycode 0x42…
red_trumpet
  • 1,969
1
vote
0 answers

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 other devices, including usb sticks, a GoPro and a…
Alwin
  • 33
1
vote
0 answers

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 flows away visually, but it does take the inputs. I…
rusty
  • 16,917
1
2