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