People who code: we want your input. Take the Survey

Questions tagged [hot-plug]

The process of replacing or adding components without stopping or shutting down a computer system.

17 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
2k views

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

Because of some hot-plugging issue, similar to what talked of here, the TTY displays show a continuous stream of messages (which are also logged in the /var/log directory). Every text I key in flows ...
6
votes
2answers
1k views

On Linux, (how) can I “hot-unplug” memory?

This is what I've tried: sudo zsh -c 'echo offline >/sys/devices/system/memory/memory109/state'` and got the following error: zsh:echo:1: write error: device or resource busy Do I perhaps need ...
4
votes
0answers
273 views

Keep keyboard layout upon inserting external keyboard

I have a custom keyboard layout, that I enable using this commands: setxkbmap -verbose us -variant altgr-intl xmodmap -verbose /home/coub/.myxmodmap This works just fine, the thing is, that when I ...
4
votes
0answers
1k views

The proper way to turn off an external sata encolsure?

I have an e-sata external enclosure with a port expander and 4 sata disks in it that I use for periodic backups. I have what I think is a sound method for powering it off, but not sure if it is the ...
4
votes
0answers
417 views

Raspbian: how ifplugd works on lo and other interface

On my raspbian, I'm wondering why ifplugd (link detection daemon for ethernet devices) is also running on the lo the loopback interface. The ps command displays: /usr/sbin/ifplugd -i lo -q -f -u0 -...
3
votes
0answers
1k views

Automount local drives on boot and hot-plug

I am trying to automatically mount all readable internal and external drives on boot and on hot-plug if they are not already mounted, preferably as a non-root user. I cannot use fstab to do this ...
2
votes
1answer
569 views

XFCE with laptop that is often plugged/unplugged to different displays

at work I was given a ubuntu laptop with gnome and unity. However I ran in a few issues, for example the fact that I could not get the screen to lock after some time and other stuff. As I am a XFCE ...
2
votes
0answers
1k views

Configure external monitor with MacBook Air

I have a MacBook Air (13-inch, Early 2015) and I run Ubuntu 16.04 on it. Under Ubuntu I cannot detect the external monitor with the thunderbolt cable. Settings -> Displays doesn't show any other ...
1
vote
0answers
154 views

Service 'ifplugd' working erratically if ethernet cable unplugged at boot time

[Ubuntu kernel 18.04.4 5.4 arm64] I use a USB network card (with udev renaming to usb0). There is no issue if the UTP cable was connected at boot. In that case, I can unplug the UTP and plug it again. ...
1
vote
0answers
13 views

Swap disk driver on the fly

When recovering a failing hard drive, sometimes I need to switch between using uas and usb-storage. The way I do that is by piping the device port to unbind, setting the u flag in /sys/module/...
1
vote
0answers
61 views

mdev doesn't seem to be working on reboot

Our Linux Kernel is 3.10 running on an embedded mips processor with busybox. The init script has - echo "/sbin/mdev" > /proc/sys/kernel/hotplug mdev -s We have a rule to rename a network ...
1
vote
0answers
762 views

Blank screen after sleeping: hotplug event: connector link-state is BAD

In the past my laptop worked well, but for the past months I have had issues with the laptop screen not being able to wake up after certain events. Basically, after I suspend the laptop there is an ...
1
vote
0answers
120 views

Belkin thunderbold docking station with external monitor not working on macbook pro with Fedora 24?

I have a Macbook pro (late 2015) with a Belkin thunderbolt docking station. On that docking station, I have a screen connected to it via (mini) DisplayPort, along with other items (keyboard, mouse, ...
1
vote
0answers
900 views

udev rules fail to run a script on addition of usb device

Here is a simple rule I created in /etc/udev/rules.d/21-persistent-local.rules for my Seagate 500 GB expansion drive which uses a USB interface on a Debian machine running inside a VM. ACTION=="add",...
1
vote
0answers
206 views

Hotplug Device Driver Priority

Is it possible to have more than one driver for one purpose (eg. USB) included in the Linux kernel? If so, then how does the kernel decide which one to load?
0
votes
0answers
65 views

Auto config dhcp and allow-hotplug to all network interfaces

Lets suppose I have a debian system with 2 network interfaces which comes up with names ens3 and ens4. For the following I have the configuration in the /etc/network/interfaces files as follows, allow-...
0
votes
1answer
61 views

I cannot create symlink for USB mobile hard disk using udev

I have a problem on use udev: I want to realize USB hot plug on Ubuntu16.04, so I wrote a udev rule as follow: KERNEL=="sd[a-z]*", ACTION=="add",SUBSYSTEM=="block",SYMLINK+="USB",RUN+="/bin/sh /root/...