The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
56 views

Does udev only check for matches on the first remove event?

ACTION=="add|remove",SUBSYSTEM=="tty", ATTRS{idVendor}=="XXXX", ATTRS{idProduct}=="XXXX",SYMLINK+="device", RUN+="/home/alvin/udev/test.sh" This is the command that works on add ...
4
votes
0answers
538 views

dmesg: pci BAR 7: can't assign io

I have VMware virtual machine running Debian Wheezy. I have compiled my own kernel 3.14. I have noticed dmesg is flooded with messages pci BAR 7: can't assign io (size 0x1000). I have no idea what ...
1
vote
1answer
26 views

Pushing changes to driver repos

My understanding of dkms is that its a way to dynamically manage all connected/disconnected device drivers on a Linux system. If that's correct, then I have to imagine that it allows you to configure ...
3
votes
0answers
190 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 ...
1
vote
0answers
319 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. ...
1
vote
0answers
46 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?
1
vote
1answer
36 views

What's hotplug?

Many questions are tagged : hot-plug . However , No wiki found in : Tag info I've read this: Modularized USB drivers are loaded by the generic /sbin/hotplug support in the ker- nel, which is ...
2
votes
1answer
573 views

Is it possible to simulate/force/fake an USB device unplug and replug on Linux?

So I've got a strange problem that I've been running onto. I've got a bitcoin usb miner, Bitfury, and I'm using CGMiner to mine. When I start the application, as root, the USB device is not detected ...
2
votes
0answers
320 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 ...
0
votes
1answer
127 views

Changing resolution : with X and without X

I'm working on an Ubuntu server without X and I would like to easily change the resolution. In order to do that, I have to specify GRUB_GFXPAYLOAD_LINUX=1280x800 in the file /etc/default/grub, then ...
3
votes
0answers
175 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 ...
2
votes
2answers
257 views

Detecting the device of a crypto mount

I have an external eSATA-hdd on an OpenSUSE 12.2 system. The external hdd has an LVM on a dm-crypt partition. I mount it by powering it up and then doing rescan-scsi-bus.sh cryptsetup -v luksOpen ...
2
votes
1answer
2k views

How to check if hot-swap or hot-plug are activated on my Linux machine

I have Ubuntu 12.04.1 LTS 64-bit on a PowerEdge 2900. My current setup has two 300GB disks (no RAID), but I want migrate the system to three new 600GB disks. I'm trying to connect the new disks, make ...
1
vote
2answers
83 views

What modules in the Linux source code take care of hot-pluggability?

Could someone shed more light on the code/modules that are responsible for the hot-pluggabilty of the hardware used in Linux machines?
30
votes
3answers
27k views

How can I safely remove a SATA disk from a running system?

I sometimes need to plug a disk into a disk bay. At other times, I have the very weird setup of connecting a SSD using a SATA-eSATA cable on my laptop while pulling power from a desktop. How can I ...
5
votes
2answers
3k views

VirtualBox guest: 16 CPUs detected but only 1 online

I am running VirtualBox (using the Qiime image http://qiime.org/install/virtual_box.html) The physical hardware is a 32 core machine. The virtual machine in VirtualBox has been given 16 cores. When ...
6
votes
4answers
4k views

How can I switch to my USB headset automagically when it's plugged in?

I'm running Funtoo Linux, a Gentoo derivative. My two new Plantronics USB headsets (one wired, one wireless) work nicely. I plug one in, ALSA notices it, and if I manually set an application to use ...
2
votes
2answers
2k views

How do you force Linux to detect a PS/2 device (e.g. mouse) on demand?

I plugged in a PS/2 mouse while inside my Gnome desktop, but Linux doesn't recognize it. Linux will only recognize the PS/2 mouse if it is plugged in before booting the machine (like a normal ...
1
vote
4answers
4k views

cfgmgr like command under Linux?

cfgmgr is a command under AIX/ksh that checks for new hardware; e.g. new HDD's that have been added without a shutdown. Question: Are there any similar commands under Linux? If "fdisk -l" doesn't ...
19
votes
2answers
10k views

What happens when a USB drive is plugged in?

What is the flow of USB events from kernel space to user space? I get a popup on my desktop when I plug in a USB drive -- what is the sequence of events that leads from detecting the new USB drive to ...