由于Linux中对USB的驱动已经非常完善,这里只需要按照以下配置  就可以了,配置完后重新编译内核烧到开发板上

1、修改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、插入U盘。

       当系统启动后插入U盘就会出现一些信息,可以看到sda就是U盘设备了,sda1是U盘的一个分区。

        mount  /dev/sda1 /mnt/ -o utf8

        utf8 参数可以识别中文

 3、插入鼠标键盘

会有相应提示

GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐