nerdexam
CompTIA

XK0-005 · Question #112

A user has connected a Bluetooth mouse to a computer, but it is not working properly. Which of the following commands should the systems administrator use to fix the issue?

The correct answer is C. modprobe -r bluetooth. If a Bluetooth mouse is not working correctly, attempting to resolve the issue by reloading the Bluetooth kernel module is a common troubleshooting step.

Troubleshooting

Question

A user has connected a Bluetooth mouse to a computer, but it is not working properly. Which of the following commands should the systems administrator use to fix the issue?

Options

  • Alsmod -i bluetooth
  • Binsmod bluetooth
  • Cmodprobe -r bluetooth
  • Ddepmod -i bluetooth

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    11% (3)
  • C
    81% (22)
  • D
    4% (1)

Why each option

If a Bluetooth mouse is not working correctly, attempting to resolve the issue by reloading the Bluetooth kernel module is a common troubleshooting step.

Alsmod -i bluetooth

`lsmod -i bluetooth` would list information about loaded modules, specifically the 'bluetooth' module if it were loaded, but it does not perform any action to fix an issue.

Binsmod bluetooth

`insmod bluetooth` would attempt to load the `bluetooth` kernel module directly, but `modprobe` is generally preferred for loading modules as it handles dependencies, and just loading it again without removing it first might not fix a misbehaving module.

Cmodprobe -r bluetoothCorrect

The `modprobe -r bluetooth` command attempts to unload the `bluetooth` kernel module and any modules that depend on it. This action effectively resets the module's state, and often, temporarily unloading and then allowing the system to automatically reload the module can resolve communication glitches or driver-related issues without requiring a full system reboot.

Ddepmod -i bluetooth

`depmod -i bluetooth` would generate module dependency information, but it does not load, unload, or interact with the running kernel to resolve a device issue.

Concept tested: Linux kernel module troubleshooting (`modprobe -r`)

Source: https://man7.org/linux/manpages/man8/modprobe.8.html

Topics

#Kernel Modules#modprobe#Bluetooth#System Troubleshooting

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice