Allow the Linux kernel 2.6.24 to support usb mouse on the Development Board

Source: Internet
Author: User
Let the Linux kernel 2.6.24 support usb mouse on the Development Board-general Linux technology-Linux programming and kernel information. The following is a detailed description. This afternoon, we modified menuconfig for the previously ported Linux kernel 2.6.24 which could not detect the USB mouse. the USB mouse of the new kernel was under the kernel drivers/hid/usbhid directory, with the file name: usbmouse. c. If you need to modify the mouse driver, check this file. For now, my Development Board does not need to customize special operations on the mouse driver. Therefore, when the 2410 configuration file is used by default, make menuconfig and select Device Drivers --> select HID Devices ---> enter usb hid Boot Protocol drivers ---> see usb hidbp Mouse (simple Boot) support, select it, if this option is not displayed, you have selected additional items in the preceding step. You can see it in the kconfig file that you opened.

Menu "usb hid Boot Protocol drivers"
Depends on USB! = N & USB_HID! = Y
Config USB_KBD
Tristate "usb hidbp Keyboard (simple Boot) support"
Depends on USB & INPUT
--- Help ---
Say Y here only if you are absolutely sure that you don't want
To use the generic HID driver for your USB keyboard and prefer
To use the keyboard in its limited Boot Protocol mode instead.
This is almost certainly not what you want. This is mostly
Useful for embedded applications or simple keyboards.
To compile this driver as a module, choose M here:
Module will be called usbkbd.
If even remotely unsure, say N.
Config USB_MOUSE
Tristate "usb hidbp Mouse (simple Boot) support"
Depends on USB & INPUT
--- Help ---
Say Y here only if you are absolutely sure that you don't want
To use the generic HID driver for your USB mouse and prefer
To use the mouse in its limited Boot Protocol mode instead.
This is almost certainly not what you want. This is mostly
Useful for embedded applications or simple mice.
To compile this driver as a module, choose M here:
Module will be called usbmouse.
If even remotely unsure, say N.
Endmenu

After the selection, make zImage is ready, burn the Development Board, restart, you can see that the mouse driver is detected, the original error is missing.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.