I'm looking for a way to see all the devices (e.g. touchpad etc.) and to enable/disable them.
Asked
Active
Viewed 1.2k times
2 Answers
3
type xinput and see the device id
$ xinput
To disable the device, type this line
$ xinput --disable xx xx adalah id device
To enable device, type this line
$ xinput --enable xx
Tejas Lotlikar
- 2,985
user1134613
- 31
1
Linux works different than Windows, and as such, a unified place to enable/disable devices is not available. This is also due to different mechanisms that drivers my use. Some drivers come directly with the kernel and can (or cannot) be disabled by blacklisting modules. Other drivers are working on Xorg and can be enabled/disabled by configuration files or installing/removing packages, etc.
If you have a specific need to disable a device, post here and specific answers for your device may be given.
vanadium
- 97,564