配置内核,支持USB:
Device drivers --->
SCSI Device support --->
<*>SCSI device support
[*] legacy /proc/scsi/ support
<*>SCSI disk support
[*] HID Devices --->
<*>USB Human Interface Device (full HID) support
[*] /dev/hiddev raw HID device support
[*] USB support --->
<*>Support for Host-side USB
[*] USB device filesystem
[*] USB device class-devices (DEPRECATED)
<*>USB Monitor
<*>OHCI HCD support
<*>USB Mass Storage support
说明:USB Human Interface Device (full HID) support 是对 USB 鼠标键盘的支持
SCSI disk support 和 USB Mass Storage support 是对 U 盘的支持
Linux的UART驱动建立在TTY驱动程序之上,程序源代码主要在</driver/tty/serial/>目录下。如果从TTY开始对UART驱动进行分析将会很复杂,而实现一个芯片的UART驱动,无需接触TTY,所以建议不涉及TTY驱动,而仅限定在Serial子系统中。具体参考ZLG《嵌入式Linux开发教程(下册)》第8章。欢迎分享,转载请注明来源:内存溢出
评论列表(0条)