Questions tagged [hotplug]

31 questions
29
votes
4 answers

Can I connect and disconnect a SATA harddrive while my computer is running?

I have a SATA hard drive that says it supports hot-plugging. Does that mean I can actually connect it to power and a SATA plug while my computer is running? Would be handy, but seems kind of scary... Hardware details: Motherboard: Gigabyte,…
Svish
  • 41,258
14
votes
4 answers

How to configure `eth0` to retry `dhclient` when unplugged and replugged?

I'm working on a linux gadget. I want it to get DHCP if I plug in the network cable after it has booted up already or if the network cable unplugged and replugged. One solution is to run a script such as this (which works,…
root-aj
  • 981
11
votes
1 answer

System doesn't detect hot-plugged display port(through thunderbolt connector)

My external display(connected to my laptop through thunderbolt) works fine if connected before boot-up. However, once it's unplugged or disconnected by any means, xrandr won't detect the reconnected monitor anymore. I am running Arch Linux, using…
Chong
  • 586
10
votes
1 answer

Is it possible to power off a PCIe video card/slot? (eg. hot-plug)

I'm looking at building a system that supports VT-d so I can pass through a high powered loud video card to a Xen/KVM/whatever VM (host will be Linux based). However, when I'm not using the VM I want to turn the video card off so its fan does not…
CR.
  • 278
10
votes
1 answer

Linux: CPU core shutdown instead of sleep state

In Linux you can shut down CPU cores (or physical CPU's) with echo 0 > /sys/devices/system/cpu/cpu1/online Assuming that the hardware fully turn off the CPU and cuts power to it would it not be better to disabled the cores entirely instead of…
Waxhead
  • 1,300
10
votes
2 answers

Is it safe to hot-plug a DVI cable?

Is it safe to unplug a monitor connected via a DVI cable to a computer that's powered on?
Nathan Osman
  • 2,372
9
votes
3 answers

How to mount removable media in /media/

I have a Debian sid system (Wheezy) (and same question for arch as well), without any desktop environment (and no Xorg at all). I can mount my SD-cards, USB sticks, external HDD manually with mount / umount with the suitable entries in /etc/fstab…
cblab
  • 301
8
votes
2 answers

Trigger off rsync by just plugging in a USB drive?

I'd like to know if it's possible to automatically mount, and fire up rsync to sync a USB drive with a directory? Specifically, I'd like to copy as much data as the drive can hold and only delete the oldest files if space is needed. I would assume…
7
votes
6 answers

Issues with Thunderbolt hotplugging and unplugging in Ubuntu Linux 15.10

I have a Dell Precision M3800 and an OWC Thunderbolt 2 Dock. They both work together beautifully and everything seems to just work. I haven't tried the FireWire yet, but the Ethernet, USB3, DisplayPort and sound work great out of the box. My system…
Amias
  • 268
  • 1
  • 3
  • 9
4
votes
2 answers

SATA hot plug has no effect in Windows

I have one hard drive inserted into a mobile rack. The hard drive is connected to the SATA port, which is configured with Hot Plug ON. However, I cannot see any way to flush buffers of this drive or something in the tray. Why is this? OS: Windows…
Dims
  • 13,414
4
votes
2 answers

Is it safe to add or remove any type of device while in sleep mode?

Is it safe to add (plug in) or remove (unplug) any device while Windows is in sleep (a.k.a. standby, a.k.a. suspend) mode? What type of devices can be added or removed in this manner? Can you do this with all type of devices like internal PATA/SATA…
4
votes
3 answers

Hot plug HDMI connection doesn't work on Ubuntu

I am using elementaryOS Loki (OS based on Ubuntu) on Dell Inspiron 15 Gaming 7566. Althought HDMI connection is working for both my screen and TV, it works only when I reboot the computer with HDMI connected and device on (so I need to reboot every…
4
votes
1 answer

CPU cores remain offline after hotplug

When my UPS triggers an "on-battery" event, I want all cores to switch off to conserve power. The PC has 8 cores on two chips, UPS batteries need replacement every 3 months because of high current peaks. To alleviate my cost of ownership the…
davide
  • 261
4
votes
1 answer

What does “SATA ESP” (“Set SATA PORT1 to External SATA Port”) do?

I am looking in my Asus motherboard's EFI setup screen for an option to enable SATA hotplug. I couldn't find such an option, but I did find a set of per-port options labeled “SATA ESP on PORT1” described as “Set SATA PORT1 to External SATA Port”.…
binki
  • 1,227
3
votes
1 answer

Windows get moved to the primary monitor after waking from standby with mixed DisplayPort and DVI-D dual-monitor setup

Problem Description I am using the following setup: nVidia GeForce GTX 680 Dell UP3214Q (Ultra-HD, 3840x2160, run in its native resolution, connected via DisplayPort 1.2, i.e. DisplayPort on GTX --> mini-DisplayPort on monitor, setup as…
Jinxed
  • 276
1
2 3