cd vim /home/hk/5linux/linux-3.14/ make menuconfig # 打开图形配置界面
1. USB support
我们首先进入USB support配置选项中:
然后开始进行自选项的配置:
1 2 3 4 5 6 7 8
Device Drivers ---> [*] USB support ---> <*> EHCI HCD (USB 2.0) support <*> EHCI support for Samsung S5P/EXYNOS SoC Series <*> USB Mass Storage support <*> USB3503 HSIC to USB20 Driver USB Physical Layer drivers ---> <*> Samsung USB 2.0 PHY controller Driver
2. SCSI device support
我们首先进入SCSI device support配置选项中:
然后开始进行自选项的配置:
1 2 3 4 5
Device Drivers ---> SCSI device support ---> <*> SCSI device support <*> SCSI disk support <*> SCSI generic support
Device Drivers ---> [*] USB support ---> <*> USB Serial Converter support ---> <*> USB Winchiphead CH341 Single Port Serial Driver <*> USB CP210x family of UART Bridge Controllers <*> USB Prolific 2303 Single Port Serial Driver
┌──────────────────────────── Search Results ─────────────────────────────┐ │ Symbol: USB_SERIAL_CH341 [=y] │ │ Type : tristate │ │ Prompt: USB Winchiphead CH341 Single Port Serial Driver │ │ Location: │ │ -> Device Drivers │ │ -> USB support (USB_SUPPORT [=y]) │ │ (1) -> USB Serial Converter support (USB_SERIAL [=y]) │ │ Defined at drivers/usb/serial/Kconfig:99 │ │ Depends on: USB_SUPPORT [=y] && USB [=y] && USB_SERIAL [=y] │
USB_SERIAL_PL2303
1 2 3 4 5 6 7 8 9 10
┌──────────────────────────── Search Results ─────────────────────────────┐ │ Symbol: USB_SERIAL_PL2303 [=y] │ │ Type : tristate │ │ Prompt: USB Prolific 2303 Single Port Serial Driver │ │ Location: │ │ -> Device Drivers │ │ -> USB support (USB_SUPPORT [=y]) │ │ (1) -> USB Serial Converter support (USB_SERIAL [=y]) │ │ Defined at drivers/usb/serial/Kconfig:510 │ │ Depends on: USB_SUPPORT [=y] && USB [=y] && USB_SERIAL [=y] │
USB_SERIAL_CP210X
1 2 3 4 5 6 7 8 9 10
┌──────────────────────────── Search Results ─────────────────────────────┐ │ Symbol: USB_SERIAL_CP210X [=y] │ │ Type : tristate │ │ Prompt: USB CP210x family of UART Bridge Controllers │ │ Location: │ │ -> Device Drivers │ │ -> USB support (USB_SUPPORT [=y]) │ │ (1) -> USB Serial Converter support (USB_SERIAL [=y]) │ │ Defined at drivers/usb/serial/Kconfig:132 │ │ Depends on: USB_SUPPORT [=y] && USB [=y] && USB_SERIAL [=y] │
[root@farsight]#[ 138.540000] usb 1-3.2: new full-speed USB device number 5 using exynos-ehci [ 138.655000] ch341 1-3.2:1.0: ch341-uart converter detected [ 138.665000] usb 1-3.2: ch341-uart converter now attached to ttyUSB0