参考资料:
tq移植手册09年版
1.在2.6.30.4 内核中,已经支持U盘,usb鼠标键盘了,所以我们这里只需简单配置就可以了。
2.make menuconfig 设置
- Device Driver->
-
S3CI device support->
-
<*>SCSI device support
-
[*]legacy /proc/scsi/support
-
<*>SCSI disk support
-
<*>SCSI CDROM support
-
-
[*]HID Devices ->
-
<*> USB Human Interface Device
-
[*] /dev/hiddev raw HID device support
-
[*]USB suppport->
-
<*> Support for host-side usb
-
[*] usb device filesystem
-
[*] usb de vice class-device
-
<*> usb mass stroage support
3.测试
- [\u@\h \W]# usb 1-1: new full speed USB device using s3c2410-ohci and address 2
-
usb 1-1: configuration #1 chosen from 1 choice
-
scsi0 : SCSI emulation for USB Mass Storage devices
-
scsi 0:0:0:0: Direct-Access iT1167B USB Flash Disk 0.00 PQ: 0 ANSI: 2
-
sd 0:0:0:0: [sda] 7892992 512-byte hardware sectors: (4.04 GB/3.76 GiB)
-
sd 0:0:0:0: Attached scsi generic sg0 type 0
-
sd 0:0:0:0: [sda] Write Protect is off
-
sd 0:0:0:0: [sda] Assuming drive cache: write through
-
sd 0:0:0:0: [sda] Assuming drive cache: write through
-
sda: sda1 ###注意这里
-
sd 0:0:0:0: [sda] Attached SCSI removable disk
-
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case
-
-
[\u@\h \W]# mount /dev/sda1 /mnt/udisk/
-
[\u@\h \W]# ls /mnt/udisk/
-
5浣欏▉鍏堢殑涓汉绠鍘?doc checkDisk
-
Raiden3闆风數3.rar ephonesetup
-
Setup_WebClient.exe ibm
-
YLMF_GhostXPSP3_201101_TN30.iso me
-
berkeley new
-
bootex.log 绠鍘?doc
-
[\u@\h \W]# umount /mnt/udisk/
-
[\u@\h \W]#
阅读(821) | 评论(0) | 转发(0) |