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
0 answers
1k views

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 ...
attakreakt's user avatar
2 votes
1 answer
527 views

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 ...
tim11g's user avatar
  • 557
1 vote
3 answers
7k views

Error while booting PC: pciehp: Cannot get irq -1 for the hotplug controller

I've installed Ubuntu on a new PC with GigaByte mother board, SSD and HDD disks. After installation, when I boot the system I'm getting the following two lines of error: pcieport 0000:00:1c.0: pciehp: ...
Riccardo's user avatar
1 vote
0 answers
108 views

Thunderbolt SSD hot plug failure on Intel NUC11TNBi7 with Ubuntu 20.04.3 (kernel 5.13)

we're having problems with hot plugging of thunderbolt SSDs with the Intel NUC11TNBi7. Operating system is Ubuntu 20.04.3 (Kernel 5.13) with latest BIOS version (0062). If the system is booted with ...
Russell Newman's user avatar
0 votes
0 answers
129 views

We use a debug device connected to USB but we can't get bidirectional communication

We use Totalphase Cheetah devices to program SPI parts on end-point devices, however, the Cheetah device won't communicate yielding "ERROR: Unable to find any Cheetah Adapters! Verify that Total ...
BDANIEL's user avatar
1 vote
0 answers
2k views

HDMI force hotplug

is there any way how to enable HDMI force hotplug feature in Ubuntu 18/20 like with config.txt parameter hdmi_force_hotplug=1 on RaspberryPi? For clarification about what I mean by HDMI hotplug: HDMI ...
Rohlik's user avatar
  • 130
3 votes
0 answers
266 views

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 ...
Pourya 's user avatar
2 votes
1 answer
1k 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 ...
jubjub's user avatar
  • 23
2 votes
0 answers
978 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: ! ...
red_trumpet's user avatar
  • 1,849
1 vote
1 answer
3k 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 ...
Jestem Łukasz's user avatar
0 votes
1 answer
450 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 ...
miceandmon's user avatar
1 vote
0 answers
259 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 ...
Brydon Gibson's user avatar
1 vote
0 answers
385 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 ...
Alwin's user avatar
  • 33
-2 votes
1 answer
51 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.
iam4k33m's user avatar
2 votes
1 answer
4k 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 ...
Programster's user avatar
  • 5,871
0 votes
1 answer
793 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 ...
Pavlos Theodorou's user avatar
10 votes
3 answers
34k 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?
flickerfly's user avatar
  • 7,269
0 votes
1 answer
89 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 ...
Rob Audenaerde's user avatar
2 votes
0 answers
959 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 ...
mitsos1os's user avatar
  • 121
1 vote
0 answers
818 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 ...
rusty's user avatar
  • 16.3k
9 votes
2 answers
7k 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 ...
cgp's user avatar
  • 303
1 vote
0 answers
855 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 ...
Joshua Kugler's user avatar
0 votes
1 answer
72 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 ...
Dims's user avatar
  • 1,803
6 votes
1 answer
17k 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 ...
Denilson Sá Maia's user avatar
3 votes
1 answer
4k 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 ...
Zhani Baramidze's user avatar
0 votes
1 answer
1k 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 [ ...
user29020's user avatar
  • 533
4 votes
1 answer
7k 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 ...
Alex's user avatar
  • 41
2 votes
1 answer
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?
Luis Alvarado's user avatar