由於Linux中對USB的驅動已經非常完善,這裡只需要按照以下配置 就可以了,配置完後重新編譯內核燒到開發板上
1、修改make menuconfig
System Type -->
<*> S3C2410 USB function support
Input core support --><*> support for S3C2410 USB character device emulation
<*>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、插入U盤。
當系統啟動後插入U盤就會出現一些信息,可以看到sda就是U盤設備了,sda1是U盤的一個分區。
mount /dev/sda1 /mnt/ -o utf8
utf8 參數可以識別中文
3、插入鼠標鍵盤
會有相應提示