How to Disable/Enable Device Temporarily in Ubuntu

To disable a device temporarily in Ubuntu, we can use modprobe command.

To list the modules we can use:

sudo modprobe -l

If you get error like:

modprobe: invalid option -- 'l'

Then try this: 

sudo lsmod

For example to disable the webcam I can execute the below command:

sudo modprobe -r uvcvideo

When the computer restarted, the webcam will enabled again.

Or if you want to enable it without restart:

sudo modprobe uvcvideo

 

Reference: 

Share Share Editor: editor | Posted: 2013/02/06 | Views: 7196

Comments

10 + 7 =
Home | Search | Contact | Terms
Editor
radyo dinle aşı takvimi podcast multimedia blog bedava dinle izle kongreler online müzik dinle selected videos nasheed music videos