Linux2.6.34 USB driver (USB flash drive, USB mouse, keyboard)

Source: Internet
Author: User

Because the USB driver in Linux is already very complete,You only need to follow the following configuration. After the configuration, recompile the kernel and install it on the Development Board.

1. Modify make menuconfig

System type -->

<*> S3C2410 USB Function Support

<*> Support for S3C2410 USB character device emulation

Input core support -->

<*> Input core support

<*> Keyboard support

<*> Mouse support

SCSI device support --->

<> Raid transport class

<*> SCSI Device Support

<> SCSI target support

[*] Legacy/proc/SCSI/support

* ** SCSI support type (disk, tape, CD-ROM )***

<*> SCSI disk support

<> SCSI tape support

<> SCSI onstream SC-x0 tapesupport

<> Scsi cdrom support

<*> SCSI generic support

<> SCSI media changer support

 

[*] Hid devices --->

--- Hid Devices

-*-Generic hid support

[]/Dev/hidraw raw HID device support

* ** USB input devices ***

<*> USB Human Interface Device (full hid) Support

[] PID Device Support

[*]/Dev/hiddev raw HID device support

 

[*] USB support --->

{*} Support for host-side USB

[] USB verbose debug messages

[] USB announce new devices

* ** Miscellaneous USB options ***

[*] USB device filesystem

[*] USB device class-devices (Deprecated)

<*> Ohci hcd support

<*> USB Mass Storage support

--- USB Human Interface Devices (HID)

<*> USB Human Interface Devices (full hid) Support

[*]/Dev/hiddev raw HID device support (experimental)


2. Insert a USB flash drive.

After the system is started, some information will appear when you insert a USB flash disk. We can see that SDA is a USB flash drive device and sda1 is a partition of the USB flash drive.

Mount/dev/sda1/mnt/-O utf8

Utf8 can recognize Chinese Characters

3. Insert the mouse and keyboard

There will be a prompt

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.