Home » LPI » 117-201 » Which of the following represents a USB mouse connected to the PC?
The Human Interface Device (HID) is being used, which of the following represents a USB mouse connected to the PC?
A. /dev/psaux
B. /dev/ttyS0
C. /dev/input/mice
D. /dev/usb/mouse0
E. /dev/ttyUSB0
Correct Answer: C
Explanation/Reference:
Explanation:
In the kernel configuration stage, you need to turn on USB Human Interface Device (HID) support and Mouse Support Do not turn on USB HIDBP Mouse support. Perform the normal kernel rebuild and installation steps. If you are installing as modules, you need to load theinput.o, hid.o and mousedev.o modules.
Plug in a USB mouse and check that your mouse has been correctly sensed by the kernel. If you don’t have a kernel message, look for the changes to /proc/bus/usb/devices.
Since USB supports multiple identical devices, you can have multiple mice plugged in. You can get each mouse seperately, or you can get them all mixed together. You almost always want the mixed version, and that is what will be used together. You need to set up a device node entry for the mixed mice. It is customary to create the entries for this device in the /dev/input/ directory. Use the following commands:
mkdir /dev/input
mknod /dev/input/mice c 13 63
Download Printable PDF. VALID exam to help you PASS.
|
|