X
X
XenTerSeO2015-11-15 02:54:41
ubuntu
XenTerSeO, 2015-11-15 02:54:41

How to disable a device in ubuntu?

How to disable 'display adapter' in ubuntu?
In windows, it was possible to disable the necessary device through the device manager:
4036c58aa6464bc19fdd9a46b2c4811a.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2015-11-15
@XenTerSeO

1) Run lspci, find the desired device in the output, look at its PCI address in the first column.
For example (I'm experimenting with a FireWire controller):

$ lspci
...
0d:00.3 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 PCIe IEEE 1394 Controller (rev 04)
...

2) Disable the device at the PCI bus level:
$ echo 1 | sudo tee /sys/bus/pci/devices/0000\:0d\:00.3/remove
1

Of course, this only works until a reboot.

A
amatory10, 2015-11-15
@amatory10

try this:
1) sudo lsmod - list of devices
2) sudo modprobe -r device - disable the required device.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question